Function at 0x470e60
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545731
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x58d038]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x348], ebx
mov esi, ecx
mov dword [ebp - 0x34c], edi
mov dword [ebp - 0x360], ebx
mov dword [ebp - 0x35c], ebx
mov dword [ebp - 0x358], ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x10], ebx
jne 0x470ece
lea eax, [ebp - 0x360]
push eax
mov ecx, edi
call fcn.00405e30
jmp 0x4714cb
push 0x24c
lea ecx, [ebp - 0x33c]
push ebx
push ecx
mov dword [ebp - 0x340], ebx
call fcn.00480280
add esp, 0xc
push 0xffffffffffffffff
push 0x54bf94
lea ecx, [ebp - 0x48]
call fcn.0046f7b0
mov edi, eax
lea edx, [ebp - 0x2c]
push esi
push edx
mov byte [ebp - 4], 1
call fcn.0041a730
push edi
push eax
lea eax, [ebp - 0xd4]
push eax
mov byte [ebp - 4], 2
call fcn.0046eae0
add esp, 0x14
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x470f33
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00480102
add esp, 4
mov edi, 7
xor edx, edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
mov byte [ebp - 4], 5
cmp dword [ebp - 0x34], esi
jb 0x470f59
mov eax, dword [ebp - 0x48]
push eax
call fcn.00480102
add esp, 4
xor ecx, ecx
push 0xffffffffffffffff
mov word [ebp - 0x48], cx
push 0x558ff4
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
call fcn.0046f7b0
push eax
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0x9c]
push eax
mov byte [ebp - 4], 6
call fcn.0046eae0
add esp, 0xc
mov byte [ebp - 4], 8
cmp dword [ebp - 0xdc], esi
jb 0x470fad
mov ecx, dword [ebp - 0xf0]
push ecx
call fcn.00480102
add esp, 4
mov eax, dword [ebp - 0x9c]
xor edx, edx
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xe0], ebx
mov word [ebp - 0xf0], dx
cmp dword [ebp - 0x88], esi
jae 0x470fd6
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0x340]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x350], eax
cmp eax, 0xffffffff
jne 0x47104f
mov esi, dword [ebp - 0x34c]
lea edx, [ebp - 0x360]
push edx
mov ecx, esi
call fcn.00405e30
cmp dword [ebp - 0x88], 8
jb 0x47101b
mov eax, dword [ebp - 0x9c]
push eax
call fcn.00480102
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0xc0], 8
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
jb 0x471048
mov edx, dword [ebp - 0xd4]
push edx
call fcn.00480102
add esp, 4
mov eax, esi
jmp 0x4714cd
test byte [ebp - 0x340], 0x10
je 0x4712fc
xor eax, eax
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], ax
lea ecx, [ebp - 0x314]
push 0xffffffffffffffff
push ecx
mov byte [ebp - 4], 9
call fcn.00481733
add esp, 8
push eax
lea eax, [ebp - 0x314]
xor edx, edx
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
call fcn.00401b70
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xa
call fcn.00402560
cmp dword [ebp - 0x6c], esi
jb 0x4710c6
mov edx, dword [ebp - 0x80]
push edx
call fcn.00480102
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
xor ecx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
push 0xffffffffffffffff
push 0x54b85c
mov byte [ebp - 4], 0xc
call fcn.00481733
add esp, 8
push eax
xor edx, edx
push 0x54b85c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.00401b70
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xd
call fcn.00402560
cmp dword [ebp - 0x18], esi
jb 0x47112c
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00480102
add esp, 4
or dword [ebp - 0x348], 2
mov ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x47113e
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0xb8]
cmp dword [ebp - 0xa4], esi
jae 0x471152
lea eax, [ebp - 0xb8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x471178
cmp dx, bx
je 0x471174
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x471178
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x471152
xor eax, eax
jmp 0x47117d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4711fe
xor edx, edx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
push 0xffffffffffffffff
push 0x558fec
mov dword [ebp - 4], 0xf
call fcn.00481733
add esp, 8
xor ecx, ecx
push eax
mov word [ebp - 0x2c], cx
push 0x558fec
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
call fcn.00401b70
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x10
call fcn.00402560
cmp dword [ebp - 0x18], esi
jb 0x4711de
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00480102
add esp, 4
or dword [ebp - 0x348], 4
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0xb8]
call fcn.0046e260
mov byte [ebp - 0x341], bl
test al, al
je 0x471205
mov byte [ebp - 0x341], 1
test byte [ebp - 0x348], 4
je 0x471232
and dword [ebp - 0x348], 0xfffffffb
cmp dword [ebp - 0x50], esi
jb 0x471226
mov edx, dword [ebp - 0x64]
push edx
call fcn.00480102
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
test byte [ebp - 0x348], 2
mov dword [ebp - 4], 0xb
je 0x47125a
and dword [ebp - 0x348], 0xfffffffd
cmp dword [ebp - 0x34], esi
jb 0x47125a
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00480102
add esp, 4
cmp byte [ebp - 0x341], bl
je 0x47127e
mov byte [ebp - 4], 8
cmp dword [ebp - 0xa4], esi
jb 0x471401
mov edx, dword [ebp - 0xb8]
push edx
jmp 0x4713f9
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x47128a
test al, 1
je 0x471262
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xd4]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.0046eae0
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x11
call fcn.0041a730
add esp, 0x14
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0x12
call fcn.00473710
cmp dword [ebp - 0x18], esi
jb 0x4712d6
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00480102
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], esi
jb 0x471262
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00480102
add esp, 4
jmp 0x471262
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x47130c
test al, 2
je 0x471401
xor eax, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
lea ecx, [ebp - 0x314]
push 0xffffffffffffffff
push ecx
mov byte [ebp - 4], 0x13
call fcn.00481733
add esp, 8
push eax
lea eax, [ebp - 0x314]
xor edx, edx
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
call fcn.00401b70
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x14
call fcn.00402560
cmp dword [ebp - 0x50], esi
jb 0x47136a
mov edx, dword [ebp - 0x64]
push edx
call fcn.00480102
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 0x15
call fcn.0046eae0
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 0x16
call fcn.0041a730
add esp, 0x14
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0x17
call fcn.00473710
cmp dword [ebp - 0x18], esi
jb 0x4713c3
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00480102
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x6c], esi
jb 0x4713e0
mov edx, dword [ebp - 0x80]
push edx
call fcn.00480102
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x34], esi
jb 0x471401
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00480102
add esp, 4
mov eax, dword [ebp - 0x350]
lea edx, [ebp - 0x340]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47104f
mov ecx, dword [ebp - 0x350]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x34c]
lea edx, [ebp - 0x360]
push edx
mov ecx, edi
call fcn.00405e30
cmp dword [ebp - 0x88], 8
jb 0x471456
mov eax, dword [ebp - 0x9c]
push eax
call fcn.00480102
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0xc0], 8
mov esi, 7
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
jb 0x471488
mov edx, dword [ebp - 0xd4]
push edx
call fcn.00480102
add esp, 4
mov dword [ebp - 0xc0], esi
mov esi, dword [ebp - 0x360]
xor eax, eax
mov dword [ebp - 0xc4], ebx
mov word [ebp - 0xd4], ax
cmp esi, ebx
je 0x4714cb
mov ecx, dword [ebp - 0x34c]
mov eax, dword [ebp - 0x35c]
push ecx
lea edx, [ebp - 0x354]
push edx
push eax
push esi
call fcn.004025e0
push esi
call fcn.00480102
add esp, 0x14
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00480264
mov esp, ebp
pop ebp
ret 8