Function at 0x4026c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x41ec53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x60]
mov dword [esp + 0x224], edi
call fcn.00406942
mov eax, dword [esp + 0x22c]
mov byte [esp + 0x224], 1
cmp dword [eax - 8], edi
je 0x402c5a
lea ecx, [esp + 0x22c]
push ecx
call fcn.00403740
add esp, 4
test eax, eax
jne 0x402731
push 0x5c
lea ecx, [esp + 0x230]
call fcn.00419792
push edi
lea ecx, [esp + 0x80]
call fcn.004010a0
mov edx, dword [0x428fc0]
mov dword [esp + 0x24], edx
mov ebp, 1
mov dword [esp + 0x38], edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x40], edi
mov dword [esp + 0x20], ebp
mov bl, 0xe
jmp 0x402766
mov ebp, 1
mov eax, dword [0x428fc0]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
mov byte [esp + 0x224], 4
cmp eax, ebp
jne 0x4027a4
lea ecx, [esp + 0x22c]
push 0x427108
lea edx, [esp + 0x5c]
push ecx
push edx
call fcn.0041964b
or dword [esp + 0x18], ebp
mov byte [esp + 0x224], 5
jmp 0x4027cb
lea eax, [esp + 0x22c]
push 0x427100
lea ecx, [esp + 0x58]
push eax
push ecx
call fcn.0041964b
or dword [esp + 0x18], 2
mov dword [esp + 0x224], 6
push eax
lea ecx, [esp + 0x38]
call fcn.004194ef
mov al, byte [esp + 0x18]
mov dword [esp + 0x224], 5
test al, 2
je 0x4027fb
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x54]
and al, 0xfd
mov dword [esp + 0x18], eax
call fcn.00419402
mov al, byte [esp + 0x18]
mov dword [esp + 0x224], 4
test al, 1
je 0x402821
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x58]
and al, 0xfe
mov dword [esp + 0x18], eax
call fcn.00419402
mov edx, dword [0x428fc0]
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0xdc]
push eax
push ecx
mov byte [esp + 0x22c], 7
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x402b9c
mov dword [esp + 0x48], 0
lea edx, [esp + 0x108]
lea eax, [esp + 0x22c]
push edx
lea ecx, [esp + 0x54]
push eax
push ecx
call fcn.0041964b
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x228], 8
call fcn.004194ef
lea ecx, [esp + 0x50]
mov byte [esp + 0x224], 7
call fcn.00419402
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00419177
mov ecx, esi
call fcn.00403500
push ecx
test eax, eax
mov ecx, esp
je 0x4028ca
lea eax, [esp + 0x18]
mov dword [esp + 0x14], esp
push eax
call fcn.00419177
call fcn.004052e7
jmp 0x4028dd
lea edx, [esp + 0x18]
mov dword [esp + 0x14], esp
push edx
call fcn.00419177
call fcn.00404530
add eax, 0xfffffff0
add esp, 4
cmp eax, 7
ja case.0x4028ec.22
jmp dword [eax*4 + 0x402da0]
mov eax, dword [esi + 0x68]
test eax, eax
je case.0x4028ec.22
jmp 0x402918
mov eax, dword [esi + 0x6c]
test eax, eax
je case.0x4028ec.22
jmp 0x402918
mov eax, dword [esi + 0x70]
test eax, eax
je case.0x4028ec.22
mov eax, dword [0x428fc0]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov byte [esp + 0x22c], 0xb
call fcn.00419177
mov ecx, esi
call fcn.00403500
test eax, eax
je 0x40296a
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00419177
call fcn.00405745
jmp 0x402985
lea eax, [esp + 0x2c]
lea edx, [esp + 0x14]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00419177
call fcn.004042a4
add esp, 8
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.00402dc0
test eax, eax
je 0x402a87
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00419177
mov ecx, esi
call fcn.00403500
test eax, eax
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, esp
je 0x4029e6
lea edx, [esp + 0x24]
mov dword [esp + 0x18], esp
push edx
call fcn.00419177
call fcn.00405745
mov eax, dword [esp + 0x40]
add esp, 8
inc eax
mov dword [esp + 0x38], eax
jmp 0x402a05
lea edx, [esp + 0x24]
mov dword [esp + 0x18], esp
push edx
call fcn.00419177
call fcn.004042a4
mov eax, dword [esp + 0x48]
add esp, 8
inc eax
mov dword [esp + 0x40], eax
mov eax, dword [0x428fc0]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
lea ecx, [esp + 0x3c]
push 0x75
push ecx
mov byte [esp + 0x238], 0xc
call fcn.004149bf
add esp, 0x14
lea ecx, [esp + 0x30]
push 0xffffffffffffffff
call fcn.0041980e
lea edx, [esp + 0x30]
push 0x4270fc
lea eax, [esp + 0x60]
push edx
push eax
call fcn.0041964b
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x228], 0xd
call fcn.004197a7
lea ecx, [esp + 0x5c]
mov byte [esp + 0x224], 0xc
call fcn.00419402
mov byte [esp + 0x224], 0xb
lea ecx, [esp + 0x30]
jmp 0x402b46
mov ecx, dword [0x428fc0]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x4c]
push 0x4270f8
push edx
lea ecx, [esi + 0x64]
mov byte [esp + 0x22c], bl
call fcn.00414631
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x228], 0xf
call fcn.004194ef
lea ecx, [esp + 0x4c]
mov byte [esp + 0x224], bl
call fcn.00419402
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x76
push eax
call fcn.004149bf
add esp, 0x14
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.0041980e
mov ecx, dword [esp + 0x10]
push 0
push 0
push ecx
call fcn.0041c86b
lea edx, [esp + 0x10]
push 0x4270fc
lea eax, [esp + 0x48]
push edx
push eax
call fcn.0041964b
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x228], 0x10
call fcn.004197a7
lea ecx, [esp + 0x44]
mov byte [esp + 0x224], bl
call fcn.00419402
inc edi
mov byte [esp + 0x224], 0xb
lea ecx, [esp + 0x10]
call fcn.00419402
lea ecx, [esp + 0x1c]
mov byte [esp + 0x224], 0xa
call fcn.00419402
lea ecx, [esp + 0x28]
mov byte [esp + 0x224], 9
call fcn.00419402
lea ecx, [esp + 0x2c]
mov byte [esp + 0x224], 7
call fcn.00419402
lea ecx, [esp + 0xdc]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x402859
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x224], 4
call fcn.00419402
lea ecx, [esp + 0x34]
mov byte [esp + 0x224], 3
call fcn.00419402
mov eax, dword [esp + 0x20]
inc eax
cmp eax, 2
mov dword [esp + 0x20], eax
jle 0x402761
mov eax, dword [esp + 0x48]
test eax, eax
je 0x402c89
mov edx, dword [0x428fc0]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x22c]
lea ecx, [esp + 0x20]
push eax
push 0x7a
push ecx
mov byte [esp + 0x230], 0x11
call fcn.004149bf
mov edx, dword [esp + 0x2c]
add esp, 0xc
push 0
push 0
push edx
call fcn.0041c86b
lea ecx, [esp + 0x20]
mov byte [esp + 0x224], 3
call fcn.00419402
lea ecx, [esp + 0x24]
mov byte [esp + 0x224], 2
call fcn.00419402
lea ecx, [esp + 0xd8]
mov byte [esp + 0x224], 0x12
call fcn.00419402
lea ecx, [esp + 0x7c]
mov byte [esp + 0x224], 1
call fcn.004158f0
lea ecx, [esp + 0x60]
mov byte [esp + 0x224], 0
call fcn.0040697f
lea ecx, [esp + 0x22c]
mov dword [esp + 0x224], 0xffffffff
call fcn.00419402
xor eax, eax
jmp 0x402d85
mov eax, dword [0x428fc0]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
push edi
push ecx
push edx
lea eax, [esp + 0x48]
mov bl, 0x13
push 0x7b
push eax
mov byte [esp + 0x238], bl
call fcn.004149bf
add esp, 0x14
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x44]
push ecx
push 0x4270fc
push edx
call fcn.004196bf
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x228], 0x14
call fcn.004197a7
lea ecx, [esp + 0x44]
mov byte [esp + 0x224], bl
call fcn.00419402
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call fcn.00419177
lea ecx, [esp + 0x80]
call fcn.004011b0
lea ecx, [esp + 0x7c]
call fcn.00415c12
lea ecx, [esp + 0x3c]
mov byte [esp + 0x224], 3
call fcn.00419402
lea ecx, [esp + 0x24]
mov byte [esp + 0x224], 2
call fcn.00419402
lea ecx, [esp + 0xd8]
mov byte [esp + 0x224], 0x15
call fcn.00419402
lea ecx, [esp + 0x7c]
mov byte [esp + 0x224], 1
call fcn.004158f0
lea ecx, [esp + 0x60]
mov byte [esp + 0x224], 0
call fcn.0040697f
lea ecx, [esp + 0x22c]
mov dword [esp + 0x224], 0xffffffff
call fcn.00419402
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