Function at 0x402620
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x422c38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], ebp
lea ecx, [esp + 0x60]
mov dword [esp + 0x224], ebp
call fcn.00405949
mov eax, dword [esp + 0x22c]
mov byte [esp + 0x224], 1
cmp dword [eax - 8], ebp
je 0x402b95
lea ecx, [esp + 0x22c]
push ecx
call fcn.00403660
add esp, 4
test eax, eax
jne 0x402691
push 0x5c
lea ecx, [esp + 0x230]
call fcn.0041ac2a
push ebp
lea ecx, [esp + 0x80]
call fcn.004010b0
lea ecx, [esp + 0x24]
mov byte [esp + 0x224], 2
call fcn.0041a741
mov edi, 1
mov byte [esp + 0x224], 3
mov dword [esp + 0x4c], edi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x20], edi
mov bl, 0xb
jmp 0x4026d5
mov edi, 1
lea ecx, [esp + 0x30]
call fcn.0041a741
mov eax, dword [esp + 0x20]
mov byte [esp + 0x224], 4
cmp eax, edi
jne 0x402713
lea edx, [esp + 0x22c]
push 0x42a0b8
lea eax, [esp + 0x5c]
push edx
push eax
call fcn.0041aae3
or dword [esp + 0x14], edi
mov byte [esp + 0x224], 5
jmp 0x40273a
lea ecx, [esp + 0x22c]
push 0x42a0b0
lea edx, [esp + 0x58]
push ecx
push edx
call fcn.0041aae3
or dword [esp + 0x14], 2
mov dword [esp + 0x224], 6
push eax
lea ecx, [esp + 0x34]
call fcn.0041a985
mov al, byte [esp + 0x14]
mov dword [esp + 0x224], 5
test al, 2
je 0x40276a
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x54]
and al, 0xfd
mov dword [esp + 0x14], eax
call fcn.0041a88c
mov al, byte [esp + 0x14]
mov dword [esp + 0x224], 4
test al, 1
je 0x402790
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x58]
and al, 0xfe
mov dword [esp + 0x14], eax
call fcn.0041a88c
lea ecx, [esp + 0x10]
call fcn.0041a741
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0xdc]
push eax
push ecx
mov byte [esp + 0x22c], 7
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x402ad8
mov dword [esp + 0x4c], 0
lea edx, [esp + 0x108]
lea eax, [esp + 0x22c]
push edx
lea ecx, [esp + 0x54]
push eax
push ecx
call fcn.0041aae3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x228], 8
call fcn.0041a985
lea ecx, [esp + 0x50]
mov byte [esp + 0x224], 7
call fcn.0041a88c
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0041a751
mov ecx, esi
call fcn.00403440
push ecx
test eax, eax
mov ecx, esp
je 0x402838
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], esp
push eax
call fcn.0041a751
call fcn.00404810
jmp 0x40284b
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], esp
push edx
call fcn.0041a751
call fcn.00404070
add eax, 0xfffffff0
add esp, 4
cmp eax, 5
ja case.default.0x40285a
jmp dword [eax*4 + 0x402cdc]
mov eax, dword [esi + 0x68]
test eax, eax
je case.default.0x40285a
jmp 0x402886
mov eax, dword [esi + 0x6c]
test eax, eax
je case.default.0x40285a
jmp 0x402886
mov eax, dword [esi + 0x70]
test eax, eax
je case.default.0x40285a
lea ecx, [esp + 0x2c]
call fcn.0041a741
lea ecx, [esp + 0x28]
mov byte [esp + 0x224], 9
call fcn.0041a741
lea ecx, [esp + 0x1c]
mov byte [esp + 0x224], 0xa
call fcn.0041a741
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x22c], bl
call fcn.0041a751
mov ecx, esi
call fcn.00403440
test eax, eax
je 0x4028f1
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0041a751
call fcn.00404b80
jmp 0x40290c
lea eax, [esp + 0x2c]
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0041a751
call fcn.00403e20
add esp, 8
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.00402d00
test eax, eax
je 0x402a02
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0041a751
mov ecx, esi
call fcn.00403440
test eax, eax
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, esp
je 0x40296d
lea edx, [esp + 0x24]
mov dword [esp + 0x20], esp
push edx
call fcn.0041a751
call fcn.00404b80
mov eax, dword [esp + 0x40]
add esp, 8
inc eax
mov dword [esp + 0x38], eax
jmp 0x40298c
lea edx, [esp + 0x24]
mov dword [esp + 0x20], esp
push edx
call fcn.0041a751
call fcn.00403e20
mov eax, dword [esp + 0x48]
add esp, 8
inc eax
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x48]
call fcn.0041a741
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
lea eax, [esp + 0x54]
push 0x75
push eax
mov byte [esp + 0x238], 0xc
call fcn.004158a0
add esp, 0x14
lea ecx, [esp + 0x48]
lea edx, [esp + 0x5c]
push 0x42a0ac
push ecx
push edx
call fcn.0041aae3
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x228], 0xd
call fcn.0041ac3f
lea ecx, [esp + 0x5c]
mov byte [esp + 0x224], 0xc
call fcn.0041a88c
mov byte [esp + 0x224], bl
lea ecx, [esp + 0x48]
jmp 0x402a82
lea ecx, [esp + 0x34]
call fcn.0041a741
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
lea eax, [esp + 0x40]
push 0x76
push eax
mov byte [esp + 0x238], 0xe
call fcn.004158a0
mov ecx, dword [esp + 0x48]
add esp, 0x14
push 0
push 0
push ecx
call fcn.0041e972
lea edx, [esp + 0x34]
push 0x42a0ac
lea eax, [esp + 0x48]
push edx
push eax
call fcn.0041aae3
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x228], 0xf
call fcn.0041ac3f
lea ecx, [esp + 0x44]
mov byte [esp + 0x224], 0xe
call fcn.0041a88c
inc ebp
mov byte [esp + 0x224], bl
lea ecx, [esp + 0x34]
call fcn.0041a88c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x224], 0xa
call fcn.0041a88c
lea ecx, [esp + 0x28]
mov byte [esp + 0x224], 9
call fcn.0041a88c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x224], 7
call fcn.0041a88c
lea ecx, [esp + 0xdc]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4027c7
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov byte [esp + 0x224], 4
call fcn.0041a88c
lea ecx, [esp + 0x30]
mov byte [esp + 0x224], 3
call fcn.0041a88c
mov eax, dword [esp + 0x20]
inc eax
cmp eax, 2
mov dword [esp + 0x20], eax
jle 0x4026d0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x402bc4
lea ecx, [esp + 0x20]
call fcn.0041a741
mov edx, dword [esp + 0x22c]
lea eax, [esp + 0x20]
push edx
push 0x7a
push eax
mov byte [esp + 0x230], 0x10
call fcn.004158a0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push 0
push 0
push ecx
call fcn.0041e972
lea ecx, [esp + 0x20]
mov byte [esp + 0x224], 3
call fcn.0041a88c
lea ecx, [esp + 0x24]
mov byte [esp + 0x224], 2
call fcn.0041a88c
lea ecx, [esp + 0xd8]
mov byte [esp + 0x224], 0x11
call fcn.0041a88c
lea ecx, [esp + 0x7c]
mov byte [esp + 0x224], 1
call fcn.00416a47
lea ecx, [esp + 0x60]
mov byte [esp + 0x224], 0
call fcn.004059ad
lea ecx, [esp + 0x22c]
mov dword [esp + 0x224], 0xffffffff
call fcn.0041a88c
xor eax, eax
jmp 0x402cc0
lea ecx, [esp + 0x3c]
call fcn.0041a741
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push ebp
push edx
push eax
lea ecx, [esp + 0x48]
mov bl, 0x12
push 0x7b
push ecx
mov byte [esp + 0x238], bl
call fcn.004158a0
add esp, 0x14
lea edx, [esp + 0x3c]
lea eax, [esp + 0x44]
push edx
push 0x42a0ac
push eax
call fcn.0041ab57
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x228], 0x13
call fcn.0041ac3f
lea ecx, [esp + 0x44]
mov byte [esp + 0x224], bl
call fcn.0041a88c
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0041a751
lea ecx, [esp + 0x80]
call fcn.004011c0
lea ecx, [esp + 0x7c]
call fcn.00416d63
lea ecx, [esp + 0x3c]
mov byte [esp + 0x224], 3
call fcn.0041a88c
lea ecx, [esp + 0x24]
mov byte [esp + 0x224], 2
call fcn.0041a88c
lea ecx, [esp + 0xd8]
mov byte [esp + 0x224], 0x14
call fcn.0041a88c
lea ecx, [esp + 0x7c]
mov byte [esp + 0x224], 1
call fcn.00416a47
lea ecx, [esp + 0x60]
mov byte [esp + 0x224], 0
call fcn.004059ad
lea ecx, [esp + 0x22c]
mov dword [esp + 0x224], 0xffffffff
call fcn.0041a88c
mov eax, 1
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x218
ret 4