Function at 0x10002f20
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e56b
mov eax, dword fs:[0]
push eax
mov eax, 0x12c0
call fcn.10006420
mov eax, dword [0x100272a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x10027288], 0xffffffff
jne 0x100035c3
mov dword [0x10027288], 0
mov dword [0x100773a0], 0
mov dword [ebp - 0x12a4], 0xffffffff
mov eax, dword [str.DLC]
mov dword [ebp - 0x1010], eax
mov ecx, dword [0x1001f220]
mov dword [ebp - 0x100c], ecx
mov edx, dword [0x1001f224]
mov dword [ebp - 0x1008], edx
lea eax, [ebp - 0x1278]
push eax
lea ecx, [ebp - 0x1010]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x12a4], eax
cmp dword [ebp - 0x12a4], 0xffffffff
je 0x100035c3
mov edx, dword [ebp - 0x1278]
and edx, 0x10
je 0x1000359a
mov dword [ebp - 0x1290], 0x1001f228
lea eax, [ebp - 0x124c]
mov dword [ebp - 0x128c], eax
mov ecx, dword [ebp - 0x128c]
mov dx, word [ecx]
mov word [ebp - 0x12a6], dx
mov eax, dword [ebp - 0x1290]
cmp dx, word [eax]
jne 0x10003050
cmp word [ebp - 0x12a6], 0
je 0x10003044
mov ecx, dword [ebp - 0x128c]
mov dx, word [ecx + 2]
mov word [ebp - 0x12a8], dx
mov eax, dword [ebp - 0x1290]
cmp dx, word [eax + 2]
jne 0x10003050
add dword [ebp - 0x128c], 4
add dword [ebp - 0x1290], 4
cmp word [ebp - 0x12a8], 0
jne 0x10002fea
mov dword [ebp - 0x12b4], 0
jmp 0x1000305b
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x12b4], ecx
mov edx, dword [ebp - 0x12b4]
mov dword [ebp - 0x12c4], edx
cmp dword [ebp - 0x12c4], 0
jne 0x10003075
jmp 0x1000359a
mov dword [ebp - 0x1298], 0x1001f22c
lea eax, [ebp - 0x124c]
mov dword [ebp - 0x1294], eax
mov ecx, dword [ebp - 0x1294]
mov dx, word [ecx]
mov word [ebp - 0x12aa], dx
mov eax, dword [ebp - 0x1298]
cmp dx, word [eax]
jne 0x100030f1
cmp word [ebp - 0x12aa], 0
je 0x100030e5
mov ecx, dword [ebp - 0x1294]
mov dx, word [ecx + 2]
mov word [ebp - 0x12ac], dx
mov eax, dword [ebp - 0x1298]
cmp dx, word [eax + 2]
jne 0x100030f1
add dword [ebp - 0x1294], 4
add dword [ebp - 0x1298], 4
cmp word [ebp - 0x12ac], 0
jne 0x1000308b
mov dword [ebp - 0x12b8], 0
jmp 0x100030fc
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x12b8], ecx
mov edx, dword [ebp - 0x12b8]
mov dword [ebp - 0x12c8], edx
cmp dword [ebp - 0x12c8], 0
jne 0x10003116
jmp 0x1000359a
lea ecx, [ebp - 0x1028]
call fcn.10001b30
mov dword [ebp - 4], 0
push str.DLC_
lea ecx, [ebp - 0x1028]
call fcn.100021e0
lea eax, [ebp - 0x124c]
push eax
lea ecx, [ebp - 0x1028]
call fcn.10002300
push str.content.xbx
lea ecx, [ebp - 0x1028]
call fcn.10002300
push 0x1001f25c
lea ecx, [ebp - 0x1028]
call fcn.10004f90
push eax
call fcn.10009e4d
add esp, 8
mov dword [ebp - 0x1280], eax
cmp dword [ebp - 0x1280], 0
jne 0x10003199
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.100020a0
jmp 0x1000359a
lea ecx, [ebp - 0x124c]
mov dword [ebp - 0x12b0], ecx
mov edx, dword [0x10027288]
shl edx, 0xa
add edx, 0x100773a8
mov dword [ebp - 0x129c], edx
mov eax, dword [ebp - 0x129c]
mov dword [ebp - 0x12cc], eax
mov ecx, dword [ebp - 0x12b0]
mov dx, word [ecx]
mov word [ebp - 0x1286], dx
mov eax, dword [ebp - 0x129c]
mov cx, word [ebp - 0x1286]
mov word [eax], cx
mov edx, dword [ebp - 0x12b0]
add edx, 2
mov dword [ebp - 0x12b0], edx
mov eax, dword [ebp - 0x129c]
add eax, 2
mov dword [ebp - 0x129c], eax
cmp word [ebp - 0x1286], 0
jne 0x100031c6
push 0
push 2
mov ecx, dword [ebp - 0x1280]
push ecx
call fcn.1000b8e6
add esp, 0xc
push str._All_
mov edx, dword [ebp - 0x1280]
push edx
call fcn.10003fb0
add esp, 8
push 0x10068260
mov eax, dword [ebp - 0x1280]
push eax
call fcn.10002d80
add esp, 8
push 0x10068260
mov ecx, dword [ebp - 0x1280]
push ecx
call fcn.10002d80
add esp, 8
imul edx, dword [0x10027288], 0x68
add edx, 0x10074b38
push edx
push str.TitleID_X
push 0x10068260
call fcn.10005b10
add esp, 0xc
push 0x10068260
mov eax, dword [ebp - 0x1280]
push eax
call fcn.10002d80
add esp, 8
push 0x10068260
mov ecx, dword [ebp - 0x1280]
push ecx
call fcn.10002d80
add esp, 8
push 0x10068260
mov edx, dword [ebp - 0x1280]
push edx
call fcn.10002d80
add esp, 8
push 0x10068260
mov eax, dword [ebp - 0x1280]
push eax
call fcn.10002d80
add esp, 8
push 0x10068260
mov ecx, dword [ebp - 0x1280]
push ecx
call fcn.10002d80
add esp, 8
push 0x10068260
mov edx, dword [ebp - 0x1280]
push edx
call fcn.10002d80
add esp, 8
imul eax, dword [0x10027288], 0x68
add eax, 0x10074b00
push eax
push str.OfferingID_I64X
push 0x10068260
call fcn.10005b10
add esp, 0xc
push 0x10068260
mov ecx, dword [ebp - 0x1280]
push ecx
call fcn.10002d80
add esp, 8
push 0x10068260
mov edx, dword [ebp - 0x1280]
push edx
call fcn.10002d80
add esp, 8
push 0x10068260
mov eax, dword [ebp - 0x1280]
push eax
call fcn.10002d80
add esp, 8
push 0x10068260
mov ecx, dword [ebp - 0x1280]
push ecx
call fcn.10002d80
add esp, 8
push 0x10068260
mov edx, dword [ebp - 0x1280]
push edx
call fcn.10002d80
add esp, 8
mov dword [ebp - 0x1284], 0
jmp 0x10003393
mov eax, dword [ebp - 0x1284]
add eax, 2
mov dword [ebp - 0x1284], eax
cmp dword [ebp - 0x1284], 0x28
jge 0x100034a7
mov ecx, 1
imul edx, ecx, 0xa
mov eax, dword [ebp - 0x1284]
mov cl, byte [edx + eax + 0x10068260]
mov byte [ebp - 0x1279], cl
mov edx, 1
imul eax, edx, 0xa
mov ecx, dword [ebp - 0x1284]
mov dl, byte [eax + ecx + 0x10068261]
mov byte [ebp - 0x127a], dl
movsx eax, byte [ebp - 0x1279]
cmp eax, 0x30
jl 0x100033fe
movsx ecx, byte [ebp - 0x1279]
cmp ecx, 0x39
jg 0x100033fe
movsx edx, byte [ebp - 0x1279]
sub edx, 0x30
mov byte [ebp - 0x1279], dl
movsx eax, byte [ebp - 0x1279]
cmp eax, 0x41
jl 0x10003426
movsx ecx, byte [ebp - 0x1279]
cmp ecx, 0x46
jg 0x10003426
movsx edx, byte [ebp - 0x1279]
sub edx, 0x37
mov byte [ebp - 0x1279], dl
movsx eax, byte [ebp - 0x127a]
cmp eax, 0x30
jl 0x1000344e
movsx ecx, byte [ebp - 0x127a]
cmp ecx, 0x39
jg 0x1000344e
movsx edx, byte [ebp - 0x127a]
sub edx, 0x30
mov byte [ebp - 0x127a], dl
movsx eax, byte [ebp - 0x127a]
cmp eax, 0x41
jl 0x10003476
movsx ecx, byte [ebp - 0x127a]
cmp ecx, 0x46
jg 0x10003476
movsx edx, byte [ebp - 0x127a]
sub edx, 0x37
mov byte [ebp - 0x127a], dl
movsx ecx, byte [ebp - 0x1279]
shl ecx, 4
movsx edx, byte [ebp - 0x127a]
add ecx, edx
imul esi, dword [0x10027288], 0x68
mov eax, dword [ebp - 0x1284]
cdq
sub eax, edx
sar eax, 1
mov byte [esi + eax + 0x10074b1c], cl
jmp 0x10003384
mov eax, 2
imul ecx, eax, 0
mov dword [ebp - 0x12bc], ecx
cmp dword [ebp - 0x12bc], 0x4000
jae 0x100034c3
jmp 0x100034c8
call fcn.10006124
xor edx, edx
mov eax, dword [ebp - 0x12bc]
mov word [eax + 0x1006a260], dx
mov dword [ebp - 0x12a0], 0
jmp 0x100034f2
mov ecx, dword [ebp - 0x12a0]
add ecx, 1
mov dword [ebp - 0x12a0], ecx
cmp dword [ebp - 0x12a0], 0x14
jge 0x1000352b
imul edx, dword [0x10027288], 0x68
mov eax, dword [ebp - 0x12a0]
movzx ecx, byte [edx + eax + 0x10074b1c]
push ecx
push 0x1006a260
push str._s_02X
push 0x1006a260
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x100034e3
mov edx, 2
imul eax, edx, 0x28
mov dword [ebp - 0x12c0], eax
cmp dword [ebp - 0x12c0], 0x4000
jae 0x10003547
jmp 0x1000354c
call fcn.10006124
xor ecx, ecx
mov edx, dword [ebp - 0x12c0]
mov word [edx + 0x1006a260], cx
mov eax, dword [ebp - 0x1280]
push eax
call fcn.1000b259
add esp, 4
mov ecx, dword [0x100773a0]
add ecx, 1
mov dword [0x100773a0], ecx
mov edx, dword [0x10027288]
add edx, 1
mov dword [0x10027288], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.100020a0
lea eax, [ebp - 0x1278]
push eax
mov ecx, dword [ebp - 0x12a4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10002fc5
mov edx, dword [ebp - 0x12a4]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp + 8]
cmp eax, dword [0x10027288]
jle 0x100035d2
xor eax, eax
jmp 0x100035fd
push str.DLC_
mov ecx, 0x100b73ac
call fcn.100021e0
mov ecx, dword [ebp + 8]
shl ecx, 0xa
add ecx, 0x100773a8
push ecx
mov ecx, 0x100b73ac
call fcn.10002300
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10006407
mov esp, ebp
pop ebp
ret