Function at 0x433570
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x700
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x24c
lea ecx, [ebp - 0x6d8]
push 0
push ecx
mov dword [ebp - 0x6e4], eax
mov dword [ebp - 0x6dc], 0
call fcn.004c5470
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x41a]
push eax
mov word [ebp - 0x41c], dx
call fcn.004c5470
add esp, 0xc
lea ecx, [ebp - 0x438]
call fcn.00433000
cmp dword [ebp - 0x424], 0
jne 0x4335fa
cmp dword [ebp - 0x420], 8
jb 0x4338a0
mov ecx, dword [ebp - 0x434]
push ecx
jmp 0x433898
mov eax, dword [ebp - 0x434]
mov ebx, 8
cmp dword [ebp - 0x420], ebx
jae 0x433613
lea eax, [ebp - 0x434]
push 0x51c634
push eax
push 0x51b990
lea edx, [ebp - 0x41c]
push 0x103
push edx
call fcn.004c2807
add esp, 0x14
lea eax, [ebp - 0x6dc]
push eax
lea ecx, [ebp - 0x41c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x6e0], eax
cmp eax, 0xffffffff
je 0x433889
mov ecx, 0x51bd0c
lea eax, [ebp - 0x6b0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x433686
test dx, dx
je 0x433682
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x433686
add eax, 4
add ecx, 4
test dx, dx
jne 0x433660
xor eax, eax
jmp 0x43368b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x433866
mov ecx, 0x51bd10
lea eax, [ebp - 0x6b0]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4336c6
test dx, dx
je 0x4336c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4336c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4336a0
xor eax, eax
jmp 0x4336cb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x433866
test byte [ebp - 0x6dc], 0x10
je 0x433866
sub esp, 0x1c
mov esi, esp
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
lea eax, [ebp - 0x6b0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x433702
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x6b0]
call fcn.004017f0
lea edi, [ebp - 0x454]
call fcn.004338c0
cmp dword [ebp - 0x440], 0
jne 0x433751
cmp dword [ebp - 0x43c], ebx
jb 0x433866
mov ecx, dword [ebp - 0x450]
push ecx
call fcn.004c097a
add esp, 4
jmp 0x433866
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x212]
push eax
mov word [ebp - 0x214], dx
call fcn.004c5470
mov eax, dword [ebp - 0x434]
add esp, 0xc
cmp dword [ebp - 0x420], ebx
jae 0x433783
lea eax, [ebp - 0x434]
lea ecx, [ebp - 0x6b0]
push ecx
push eax
push 0x51b990
lea edx, [ebp - 0x214]
push 0x103
push edx
call fcn.004c2807
add esp, 0x14
lea eax, [ebp - 0x214]
lea ecx, [ebp - 0x700]
call fcn.00401520
lea eax, [ebp - 0x700]
call fcn.0044e800
test al, al
sete bl
cmp dword [ebp - 0x6e8], 8
jb 0x4337dd
mov eax, dword [ebp - 0x6fc]
push eax
call fcn.004c097a
add esp, 4
test bl, bl
jne 0x433856
xor ecx, ecx
mov eax, 7
push 0xffffffffffffffff
mov dword [ebp - 0x474], eax
mov dword [ebp - 0x458], eax
xor eax, eax
push ecx
mov dword [ebp - 0x478], ecx
mov dword [ebp - 0x45c], ecx
lea ecx, [ebp - 0x454]
xor edx, edx
mov word [ebp - 0x46c], ax
push ecx
lea eax, [ebp - 0x470]
mov word [ebp - 0x488], dx
call fcn.004018f0
lea edx, [ebp - 0x48c]
push edx
lea eax, [ebp - 0x214]
call fcn.0040aa60
mov ebx, dword [ebp - 0x6e4]
lea eax, [ebp - 0x48c]
push eax
call fcn.00434200
lea esi, [ebp - 0x48c]
call fcn.00411e90
lea esi, [ebp - 0x454]
call fcn.0040f420
mov ebx, 8
mov esi, dword [ebp - 0x6e0]
lea ecx, [ebp - 0x6dc]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x433655
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x420], ebx
jb 0x4338a0
mov edx, dword [ebp - 0x434]
push edx
call fcn.004c097a
add esp, 4
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c0985
mov esp, ebp
pop ebp
ret 4