Function at 0x430310
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a1918
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x4eed38]
xor eax, esp
mov dword [esp + 0x26c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eed38]
xor eax, esp
push eax
lea eax, [esp + 0x284]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x298]
mov esi, dword [esp + 0x294]
push 0xffffffffffffffff
xor edi, edi
push edi
mov ecx, ebx
call fcn.0045e6e9
push esi
lea ecx, [esp + 0x20]
call fcn.00402530
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x290], edi
call fcn.004015b0
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
push 0x5c
push esi
mov byte [esp + 0x298], 1
call fcn.00482892
add esp, 0xc
cmp eax, edi
jne 0x4303a6
or eax, 0xffffffff
jmp 0x4303aa
sub eax, esi
sar eax, 1
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.00401a60
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x290], 2
call fcn.00401c20
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4303f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.udisk_img_.bin
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004185a0
push 0x24c
lea eax, [esp + 0x44]
push edi
push eax
mov byte [esp + 0x2a4], 3
mov dword [esp + 0x48], edi
call fcn.00482280
mov edx, dword [esp + 0x38]
add esp, 0x18
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
mov esi, 1
cmp ebp, 0xffffffff
je 0x4305e0
test esi, esi
je 0x4305d9
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x28]
call fcn.00402530
mov esi, eax
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x290], 4
call fcn.00402530
mov edx, dword [esi]
mov ecx, dword [edx - 0xc]
add ecx, 0xfffffffc
push ecx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
mov byte [esp + 0x294], 5
call fcn.00401a60
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x28c], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4304b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x28c], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4304e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x28]
cmp dword [edi - 0xc], 0xd
jne 0x430594
call fcn.00459da6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4305cf
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x5c]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x4a8e54
push eax
mov byte [esp + 0x29c], 9
call fcn.00401ce0
mov ecx, dword [esp + 0x2c]
xor eax, eax
add esp, 0x10
test ecx, ecx
setne al
test eax, eax
je 0x4305cf
push ecx
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00483f2d
add esp, 8
test eax, eax
je 0x43056c
mov eax, dword [ebx + 8]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, ebx
call fcn.0045e9e3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28c], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430594
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, eax
lea eax, [edi - 0x10]
mov byte [esp + 0x28c], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x430446
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x430446
push 0x80004005
call fcn.00401150
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x20]
mov esi, dword [ebx + 8]
add eax, 0xfffffff0
mov byte [esp + 0x28c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43060b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x28c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430633
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x28c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43065e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x284]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.004820da
add esp, 0x27c
ret 8