Function at 0x430a50
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45e4aa
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x472100]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x472100]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x24c
lea eax, [esp + 0x34]
push ebx
push eax
mov dword [esp + 0x2c], 0x80004005
mov dword [esp + 0x38], ebx
call fcn.00413cd0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00401b40
mov dword [esp + 0x290], ebx
mov edx, dword [0x474db4]
mov eax, dword [edx + 0xc]
mov ecx, 0x474db4
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x14]
push ecx
lea eax, [ebx + 1]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x294], 1
call fcn.00401330
mov eax, dword [eax]
mov ecx, 0x4664d4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x430b27
cmp dx, bx
je 0x430b23
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x430b27
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x430b01
xor eax, eax
jmp 0x430b2c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
mov eax, dword [esp + 0x18]
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x430b51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x430b66
push 1
push 0x4664d8
lea ecx, [esp + 0x1c]
push ecx
call fcn.00401850
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
mov ebx, 0x4664dc
call fcn.00401420
add esp, 8
lea edi, [esp + 0x1c]
mov byte [esp + 0x290], 2
call fcn.00401500
mov byte [esp + 0x290], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430bb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x28], eax
je 0x430d12
mov ecx, 0x4664e0
lea eax, [esp + 0x58]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x430c06
test dx, dx
je 0x430c02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x430c06
add eax, 4
add ecx, 4
test dx, dx
jne 0x430be0
xor eax, eax
jmp 0x430c0b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x430cef
mov ecx, 0x4664e4
lea eax, [esp + 0x58]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x430c46
test dx, dx
je 0x430c42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x430c46
add eax, 4
add ecx, 4
test dx, dx
jne 0x430c20
xor eax, eax
jmp 0x430c4b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x430cef
mov al, byte [esp + 0x2c]
test al, 2
jne 0x430cef
test al, 0x10
lea ebx, [esp + 0x58]
je 0x430c9c
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00401420
add esp, 8
mov byte [esp + 0x290], 3
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 8]
push esi
call eax
mov edi, eax
mov byte [esp + 0x290], 1
mov eax, dword [esp + 0x18]
jmp 0x430ccf
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00401420
add esp, 8
mov byte [esp + 0x290], 4
mov eax, dword [eax]
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push eax
push esi
call edx
mov edi, eax
mov byte [esp + 0x290], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430ceb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x430d12
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x430bd3
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
jmp 0x430d16
mov esi, dword [esp + 0x20]
mov byte [esp + 0x290], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x430d3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x290], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430d69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.00410ae1
mov esp, ebp
pop ebp
ret 8