Function at 0x438de3
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x56b5ae
call fcn.00524444
sub esp, 0x2f4
mov eax, dword [0x61d784]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x50], eax
xor ebx, ebx
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], ebx
call fcn.00479de5
mov eax, dword [0x61d784]
mov dword [ebp - 0x20], eax
push dword [ebp + 8]
lea eax, [ebp - 0x19c]
mov byte [ebp - 4], 2
push eax
call fcn.005254b0
push dword [ebp + 0xc]
lea eax, [ebp - 0x19c]
push eax
call fcn.005254c0
add esp, 0x10
lea eax, [ebp - 0x300]
push eax
lea eax, [ebp - 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x28], eax
mov edi, bind
cmp eax, 0xffffffff
je 0x4392db
cmp byte [ebp - 0x2d4], 0x2e
jne 0x438e8a
cmp byte [ebp - 0x2d3], 0x2e
je 0x43943a
cmp byte [ebp - 0x2d3], bl
je 0x43943a
mov eax, dword [ebp - 0x300]
and eax, 0x10
cmp al, 0x10
je 0x43943a
mov eax, dword [ebp + 8]
cmp byte [eax], bl
jne 0x438eb5
push dword [ebp + 0xc]
lea eax, [ebp - 0x19c]
push eax
call fcn.005254b0
pop ecx
pop ecx
jmp 0x438ed8
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.005254b0
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.005254c0
add esp, 0x10
lea ecx, [ebp - 0x98]
call fcn.005459d2
cmp dword [esi + 0x2b0], ebx
mov byte [ebp - 4], 4
jne 0x438f1a
mov eax, dword [0x62ae3c]
mov eax, dword [eax + 0x364]
cmp eax, ebx
je 0x438f1a
push dword [eax + 0x158]
lea eax, [ebp - 0x19c]
push eax
call fcn.00526f30
pop ecx
test eax, eax
pop ecx
je 0x43942e
cmp dword [ebp + 0x1c], ebx
je 0x43916d
push ebx
lea eax, [ebp - 0x19c]
push 0x40
push eax
lea ecx, [ebp - 0x8c]
call fcn.0053f31e
mov eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x1c], eax
or eax, 0xffffffff
push eax
push ebx
push ebx
push ebx
push eax
push eax
push ebx
push ebx
push dword [ebp + 0x20]
lea ecx, [ebp - 0x1c]
push 1
push dword [esi + 0x290]
push dword [esi + 0x28c]
push dword [esi + 0x284]
push ecx
push dword [ebp + 0x10]
push edi
push eax
push ebx
lea eax, [ebp - 0x8c]
push ebx
push eax
call fcn.004d43dc
add esp, 0x54
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
call fcn.0047a07c
mov eax, dword [ebp - 0x30]
and eax, dword [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x4392a6
push ebx
lea eax, [ebp - 0x19c]
push 2
push eax
lea ecx, [ebp - 0x8c]
call fcn.0053f31e
cmp eax, ebx
je 0x4390e5
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + 0x20], ebx
push dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
je 0x438fd0
call fcn.00524463
pop ecx
shl eax, 1
jmp 0x438fd6
call fcn.00525390
pop ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
cdq
sub ecx, eax
mov eax, dword [ebp - 0x2c]
sbb eax, edx
cmp eax, ebx
jg 0x438ffb
jl 0x438ff7
cmp ecx, ebx
jae 0x438ffb
xor ecx, ecx
xor eax, eax
push 1
lea edx, [ebp - 0x1c]
push dword [esi + 0x2c8]
push ebx
push 1
push dword [ebp + 0x20]
push ebx
push dword [esi + 0x290]
push dword [esi + 0x28c]
push ebx
push ebx
push 0xffffffffffffffff
push dword [esi + 0x284]
push dword [ebp - 0x14]
push dword [ebp + 0x18]
push edx
push dword [ebp + 0x10]
push edi
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x8c]
push ecx
push eax
call fcn.004d4386
add dword [esi + 0x2a8], eax
add esp, 0x54
cmp dword [esi + 0x2b4], ebx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
je 0x4390da
push 0x5b85a8
lea ecx, [ebp - 0x44]
call fcn.0053ebbd
push eax
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 5
call fcn.0053ee58
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.0053eb4f
lea eax, [ebp - 0x1c0]
push 0xa
push eax
push dword [ebp - 0x60]
call fcn.00525629
add esp, 0xc
lea ecx, [ebp - 0x4c]
push eax
call fcn.0053ebbd
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.0053ef67
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
call fcn.0053eb4f
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push 1
mov ecx, esi
push dword [ebp - 0x24]
call fcn.00441a27
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.0053eb4f
inc dword [esi + 0x2ac]
jmp 0x43929b
mov eax, dword [0x61d784]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
push 0x40
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.00545796
push 0x41
lea ecx, [ebp - 0x18]
call fcn.00545796
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0053ede4
mov eax, dword [eax]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x58], eax
call fcn.00401e47
cmp eax, ebx
jne 0x439132
xor eax, eax
jmp 0x439135
mov eax, dword [eax + 0x1c]
push 0x30
push dword [ebp - 0x14]
push dword [ebp - 0x58]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
call fcn.0053eb4f
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0053eb4f
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0053eb4f
jmp 0x4392a6
cmp dword [ebp + 0x14], ebx
jne 0x4391c5
mov eax, dword [esi + 0x1cc]
push 0x622c94
push eax
call fcn.00524dbe
pop ecx
test eax, eax
pop ecx
je 0x43919a
lea eax, [esi + 0x1cc]
lea ecx, [ebp - 0x20]
push eax
call fcn.0053ec88
jmp 0x4391a9
lea eax, [ebp - 0x19c]
lea ecx, [ebp - 0x20]
push eax
call fcn.0053ecd8
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push 1
mov ecx, esi
push dword [ebp - 0x20]
call fcn.00441a27
inc dword [esi + 0x29c]
jmp 0x4392a6
push ebx
lea eax, [ebp - 0x19c]
push 0x40
push eax
lea ecx, [ebp - 0x8c]
call fcn.0053f31e
mov eax, dword [esi + 0x1cc]
cmp dword [ebp + 0x20], ebx
push 0x622c94
push eax
je 0x439244
call fcn.00524dbe
pop ecx
test eax, eax
pop ecx
je 0x439227
push ebx
push 1
push dword [esi + 0x290]
mov eax, dword [esi + 0x1cc]
push dword [esi + 0x28c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x8c]
push ebx
push eax
mov ecx, esi
call fcn.0043a87c
jmp 0x43929b
push ebx
push 1
push dword [esi + 0x290]
lea eax, [ebp - 0x19c]
push dword [esi + 0x28c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
jmp 0x439211
call fcn.00524dbe
pop ecx
test eax, eax
pop ecx
je 0x43926c
push ebx
push 1
push dword [esi + 0x290]
mov eax, dword [esi + 0x1cc]
push dword [esi + 0x28c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
jmp 0x439287
push ebx
push 1
push dword [esi + 0x290]
lea eax, [ebp - 0x19c]
push dword [esi + 0x28c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x8c]
push ebx
push eax
mov ecx, esi
call fcn.00439545
lea ecx, [ebp - 0x8c]
call fcn.0047a07c
mov ecx, esi
call fcn.0043bc20
cmp eax, ebx
je 0x43942e
mov eax, dword [esi + 0x288]
mov dword [esi + 0x2a0], 1
add esi, 0x288
mov dword [0x625980], eax
mov byte [ebp - 4], 2
mov dword [esi], ebx
call fcn.00545a10
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0053eb4f
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], bl
call fcn.00479e1c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0053eb4f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x1c
mov dword [ebp - 4], 2
call fcn.00545a10
lea eax, [ebp - 0x300]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x439456
mov eax, dword [ebp - 0x28]
jmp 0x438e5f
or eax, 0xffffffff
jmp 0x438e5f