Function at 0x47ca10
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61b167
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x6ec7c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0xa8]
push str.CCustomManager::ListAllLanguages
mov dword [ebp - 0x400], esi
call fcn.00562ae0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x700e60]
mov dword [ebp - 4], 0
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x6fd7b4]
cmp eax, dword [ecx + 4]
jg 0x47d0b5
cmp dword [0x6fd7b0], 0
je 0x47caa6
cmp esi, 0x6fd7ac
je 0x47d08f
mov eax, dword [0x6fd7ac]
mov ecx, esi
push eax
push dword [eax]
call fcn.00476af0
jmp 0x47d08f
lea eax, [ebp - 0x58]
push eax
call fcn.004c2ff0
push 0x64b974
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push eax
call fcn.00414120
add esp, 0x10
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 4
cmp ecx, 7
jbe 0x47cb05
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47cafb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47cafb
call dword [0x63e2e0]
push ecx
push edx
call fcn.00604b8c
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x5c], 7
lea ecx, [ebp - 0x3f8]
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x70]
cmova eax, dword [ebp - 0x70]
push ecx
push eax
mov dword [ebp - 0x44], 7
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x404], eax
cmp eax, 0xffffffff
je 0x47d03f
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x3cc]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47cb60
sub ecx, edx
lea eax, [ebp - 0x3cc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00414450
push 0xffffffffffffffff
push 0x64b980
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00435820
mov esi, dword [ebp - 0x30]
lea edx, [ebp - 0x40]
xor edi, edi
cmp eax, 0xffffffff
cmovne edi, eax
cmp dword [ebp - 0x2c], 7
cmova edx, dword [ebp - 0x40]
test esi, esi
je 0x47cbd7
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x2e
lea ecx, [edx + ecx*2]
je 0x47cbce
cmp ecx, edx
je 0x47cbd7
sub ecx, 2
cmp word [ecx], 0x2e
jne 0x47cbc1
sub ecx, edx
sar ecx, 1
cmp ecx, 0xffffffff
jne 0x47cbd9
mov ecx, esi
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
cmp esi, edi
jb 0x47d104
sub esi, edi
lea eax, [ebp - 0x40]
cmp esi, ecx
cmovb ecx, esi
cmp dword [ebp - 0x2c], 7
push ecx
cmova eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x58]
lea eax, [eax + edi*2]
push eax
call fcn.00414450
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x47cc4f
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47cc45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d06b
push ecx
push edx
call fcn.00604b8c
add esp, 8
movups xmm0, xmmword [ebp - 0x58]
mov esi, dword [ebp - 0x400]
lea eax, [ebp - 0x40]
push eax
movups xmmword [ebp - 0x40], xmm0
mov ecx, esi
movq xmm0, qword [ebp - 0x48]
movq qword [ebp - 0x30], xmm0
call fcn.0047e180
lea eax, [ebp - 0x3f8]
push eax
push dword [ebp - 0x404]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x47cfde
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x3cc]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47ccb0
sub ecx, edx
lea eax, [ebp - 0x3cc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00414450
cmp dword [ebp - 0x14], 7
lea edi, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmova edi, dword [ebp - 0x28]
mov byte [ebp - 4], 6
mov dword [ebp - 0x3fc], esi
test esi, esi
je 0x47cd9c
push 0x100
lea eax, [ebp - 0x1a8]
push 0
push eax
call fcn.0060ddfb
add esp, 0xc
mov ecx, 0x64b980
mov edx, 0x100
nop
movzx eax, word [ecx]
cmp ax, dx
jae 0x47cd5b
movzx eax, al
add ecx, 2
mov byte [ebp + eax - 0x1a8], 1
cmp ecx, 0x64b984
jne 0x47cd10
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
lea ecx, [edi + ecx*2]
nop dword [eax]
movzx eax, word [ecx]
cmp ax, dx
jae 0x47cd52
cmp byte [ebp + eax - 0x1a8], 0
jne 0x47cd96
cmp ecx, edi
je 0x47cd9c
sub ecx, 2
jmp 0x47cd40
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
lea ecx, [edi + ecx*2]
nop dword [eax]
movzx esi, word [ecx]
mov edx, 2
mov eax, 0x64b980
nop dword [eax]
cmp word [eax], si
je 0x47cd96
add eax, 2
sub edx, 1
jne 0x47cd80
cmp ecx, edi
je 0x47cd9c
sub ecx, 2
jmp 0x47cd70
sub ecx, edi
sar ecx, 1
jmp 0x47cd9f
or ecx, 0xffffffff
mov edi, dword [ebp - 0x3fc]
lea edx, [ebp - 0x28]
xor esi, esi
cmp ecx, 0xffffffff
cmovne esi, ecx
cmp dword [ebp - 0x14], 7
cmova edx, dword [ebp - 0x28]
test edi, edi
je 0x47cde7
or ecx, 0xffffffff
lea eax, [edi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x2e
lea ecx, [edx + ecx*2]
je 0x47cdde
cmp ecx, edx
je 0x47cde7
sub ecx, 2
cmp word [ecx], 0x2e
jne 0x47cdd1
sub ecx, edx
sar ecx, 1
cmp ecx, 0xffffffff
jne 0x47cde9
mov ecx, edi
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
cmp edi, esi
jb 0x47d104
sub edi, esi
lea eax, [ebp - 0x28]
cmp edi, ecx
cmovb ecx, edi
cmp dword [ebp - 0x14], 7
push ecx
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
lea eax, [eax + esi*2]
push eax
call fcn.00414450
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x47ce5f
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47ce55
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47caf5
push ecx
push edx
call fcn.00604b8c
add esp, 8
movups xmm0, xmmword [ebp - 0x58]
mov ecx, dword [ebp - 0x400]
movups xmmword [ebp - 0x28], xmm0
cmp dword [ecx + 4], 0x7ffffff
movq xmm0, qword [ebp - 0x48]
mov eax, dword [ecx]
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x408], eax
je 0x47d10e
mov dword [ebp - 0x418], ecx
push 0x20
mov byte [ebp - 4], 7
mov dword [ebp - 0x414], 0
call fcn.0060388f
mov edi, eax
lea ecx, [ebp - 0x28]
lea esi, [edi + 8]
mov dword [ebp - 0x414], edi
xorps xmm0, xmm0
add esp, 4
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp - 0x14], 7
mov eax, dword [ebp - 0x18]
cmova ecx, dword [ebp - 0x28]
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x40c], eax
cmp eax, 0x7ffffffe
ja 0x47d109
cmp eax, 7
ja 0x47cf05
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
movups xmm0, xmmword [ecx]
movups xmmword [esi], xmm0
jmp 0x47cf5f
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x47cf16
mov eax, accept
jmp 0x47cf21
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x3fc], eax
lea eax, [ebp - 0x3fc]
push eax
push esi
call fcn.00414360
mov edx, dword [ebp - 0x40c]
mov ecx, dword [ebp - 0x3fc]
mov dword [esi + 0x14], ecx
mov dword [esi], eax
lea ecx, [edx*2 + 2]
mov dword [esi + 0x10], edx
push ecx
push dword [ebp - 0x410]
push eax
call fcn.0060ddef
add esp, 0x14
mov ecx, dword [ebp - 0x408]
mov esi, dword [ebp - 0x400]
mov dword [ebp - 0x414], 0
mov byte [ebp - 4], 5
inc dword [esi + 4]
mov eax, dword [ecx + 4]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov dword [ecx + 4], edi
mov dword [eax], edi
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x47cfc3
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47cfb9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47caf5
push ecx
push edx
call fcn.00604b8c
add esp, 8
lea eax, [ebp - 0x3f8]
push eax
push dword [ebp - 0x404]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47cc90
cmp esi, 0x6fd7ac
je 0x47cff5
mov eax, dword [esi]
mov ecx, 0x6fd7ac
push eax
push dword [eax]
call fcn.00476af0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x47d02b
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47d021
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d06b
push ecx
push edx
call fcn.00604b8c
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x47d07b
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47d071
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47d071
call dword [0x63e2e0]
push ecx
push edx
call fcn.00604b8c
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
lea ecx, [ebp - 0xa8]
call fcn.005630c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00604ed9
mov esp, ebp
pop ebp
ret
push 0x6fd7b4
call fcn.00604e75
add esp, 4
cmp dword [0x6fd7b4], 0xffffffff
jne 0x47ca7d
push 0x20
mov byte [ebp - 4], 1
call fcn.0060388f
push 0x63aa90
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [0x6fd7ac], eax
call fcn.00604de4
push 0x6fd7b4
mov byte [ebp - 4], 0
call fcn.00604e24
add esp, 0xc
jmp 0x47ca7d
call fcn.00417f30
call fcn.00417f10
push str.list_too_long
call fcn.00605e1f
int3