Function at 0x402400
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a50b1
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x4ccecc]
xor eax, esp
mov dword [esp + 0x4b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ccecc]
xor eax, esp
push eax
lea eax, [esp + 0x4cc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4dc]
push 0x206
xor ebp, ebp
mov edi, ecx
lea edx, [esp + 0x2c2]
xor ecx, ecx
push ebp
push edx
mov dword [esp + 0x20], eax
mov word [esp + 0x2c8], cx
call fcn.00455040
mov eax, 7
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ebp
mov word [esp + 0x54], cx
mov dword [esp + 0x4d4], ebp
xor edx, edx
mov dword [esp + 0x4c], eax
mov eax, edi
mov word [esp + 0x38], dx
mov dword [esp + 0x48], ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4024a0
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [esp + 0x38]
call fcn.004093f0
mov byte [esp + 0x4d4], 1
mov eax, dword [esp + 0x48]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x4024d3
call fcn.0044ea2b
mov eax, dword [esp + 0x38]
mov ebx, 8
cmp dword [esp + 0x4c], ebx
jae 0x4024e6
lea eax, [esp + 0x38]
cmp word [eax + esi*2], 0x5c
je 0x4024fd
push 1
mov eax, 0x4b60e8
lea ecx, [esp + 0x38]
call fcn.00409310
push 0x250
lea eax, [esp + 0x70]
push ebp
push eax
call fcn.00455040
lea edx, [esp + 0x2c8]
add esp, 0xc
mov eax, edi
sub edx, edi
jmp 0x402520
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bp
jne 0x402520
lea eax, [esp + 0x2bc]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x402540
mov ecx, dword [0x4b60ec]
mov edx, dword [0x4b60f0]
mov dword [eax], ecx
mov cx, word [0x4b60f4]
mov dword [eax + 4], edx
lea edx, [esp + 0x6c]
mov word [eax + 8], cx
push edx
lea eax, [esp + 0x2c0]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4025c2
cmp dword [esp + 0x4c], ebx
jb 0x402595
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00442977
add esp, 4
xor edx, edx
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebp
mov word [esp + 0x38], dx
cmp dword [esp + 0x68], ebx
jb 0x4025bb
mov eax, dword [esp + 0x54]
push eax
call fcn.00442977
add esp, 4
xor eax, eax
jmp 0x40267d
cmp word [esp + 0x98], 0x2e
je 0x402628
lea ecx, [esp + 0x34]
push ecx
lea ebx, [esp + 0x9c]
lea esi, [esp + 0x1c]
call fcn.0040b8f0
add esp, 4
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x58]
mov byte [esp + 0x4dc], 2
call fcn.004083f0
mov byte [esp + 0x4d4], 1
cmp dword [esp + 0x30], 8
jb 0x402615
mov edx, dword [esp + 0x1c]
push edx
call fcn.00442977
add esp, 4
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x50]
push eax
call fcn.00407b30
mov ebx, 8
lea ecx, [esp + 0x6c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4025c2
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x4c], ebx
jb 0x402652
mov edx, dword [esp + 0x38]
push edx
call fcn.00442977
add esp, 4
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebp
mov word [esp + 0x38], ax
cmp dword [esp + 0x68], ebx
jb 0x402678
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00442977
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x4cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4b0]
xor ecx, esp
call fcn.0044e200
add esp, 0x4c4
ret 4