Function at 0x426160
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x7b92f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x80], eax
nop
mov al, byte [esi]
test al, al
jne 0x4262e4
cmp dword [esi + 0x2a0], 0
je 0x42654c
test al, al
jne 0x4262e4
mov ecx, dword [esi + 0x2a0]
xor eax, eax
add ecx, dword [esi + 0x29c]
mov edx, dword [esi + 0x290]
test edx, edx
je 0x4261bf
mov edx, dword [edx]
test edx, edx
je 0x4261bf
mov eax, dword [edx]
lea edx, [ecx - 1]
test eax, eax
je 0x4261d6
mov eax, dword [eax]
test eax, eax
je 0x4261d6
mov eax, dword [eax]
test eax, eax
je 0x4261d6
mov eax, dword [eax]
jmp 0x4261d8
xor eax, eax
mov ecx, dword [eax + 8]
lea edi, [esi + 0x258]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
push dword [eax + ecx*4]
mov ecx, edi
call fcn.00421fc0
mov eax, dword [esi + 0x2a0]
mov ecx, dword [esi + 0x29c]
dec eax
add ecx, eax
mov eax, dword [esi + 0x298]
dec eax
and ecx, eax
mov eax, dword [esi + 0x294]
mov ecx, dword [eax + ecx*4]
call fcn.00409590
add dword [esi + 0x2a0], 0xffffffff
jne 0x42622a
mov dword [esi + 0x29c], 0
push edi
lea ecx, [ebp - 0x4c]
call fcn.00421f20
cmp dword [esi + 0x288], 0
jne 0x426297
push 1
xor eax, eax
mov dword [ebp - 8], 7
push 0x7916e4
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
call fcn.004098c0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00422190
push eax
lea ecx, [ebp - 0x4c]
call fcn.00421fc0
lea ecx, [ebp - 0x7c]
call fcn.00409590
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x4262bb
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00409d10
jmp 0x4262bb
lea eax, [esi + 0x278]
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00422190
push eax
lea ecx, [ebp - 0x4c]
call fcn.00421fc0
lea ecx, [ebp - 0x7c]
call fcn.00409590
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
lea ebx, [esi + 4]
cmovae eax, dword [ebp - 0x4c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x4c]
mov dword [esi + 0x254], eax
mov byte [esi], 1
call fcn.00409590
jmp 0x42630e
lea ebx, [esi + 4]
push ebx
push dword [esi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42630e
push dword [esi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esi + 0x254], 0xffffffff
xor eax, eax
cmp dword [esi + 0x254], 0xffffffff
jne 0x4263d7
mov byte [esi], al
lea edi, [esi + 0x278]
mov dword [ebp - 0x54], eax
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x50], 7
cmp edi, eax
je 0x426180
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x426351
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00409d10
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x426369
mov eax, dword [edi]
jmp 0x42636b
mov eax, edi
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x64]
push eax
mov ecx, edi
call fcn.0040d640
mov eax, dword [ebp - 0x50]
cmp eax, 8
jb 0x426180
mov ecx, dword [ebp - 0x64]
inc eax
cmp eax, 0x7fffffff
ja 0x426580
add eax, eax
cmp eax, 0x1000
jb 0x4263c9
test cl, 0x1f
jne 0x426580
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x426580
sub ecx, eax
cmp ecx, 4
jb 0x426580
cmp ecx, 0x23
ja 0x426580
mov ecx, eax
push ecx
call fcn.0044cbb0
add esp, 4
jmp 0x426180
lea edi, [esi + 0x30]
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
cmp word [edi], ax
jne 0x4263f5
xor ecx, ecx
jmp 0x42640f
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426400
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x1c]
call fcn.004098c0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00421f50
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x426478
mov ecx, dword [ebp - 0x1c]
inc eax
cmp eax, 0x7fffffff
ja 0x426580
add eax, eax
cmp eax, 0x1000
jb 0x42646f
test cl, 0x1f
jne 0x426580
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x426580
sub ecx, eax
cmp ecx, 4
jb 0x426580
cmp ecx, 0x23
ja 0x426580
mov ecx, eax
push ecx
call fcn.0044cbb0
add esp, 4
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.00432c20
test al, al
je 0x426494
lea ecx, [ebp - 0x34]
call fcn.00409590
jmp 0x426180
xor eax, eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
cmp word [edi], ax
jne 0x4264b1
xor ecx, ecx
jmp 0x4264c5
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4264b6
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x1c]
call fcn.004098c0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [esi + 0x258]
call fcn.00422190
push eax
lea ecx, [ebp - 0x34]
call fcn.00421fc0
lea ecx, [ebp - 0x7c]
call fcn.00409590
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x426508
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00409d10
mov eax, dword [ebx]
test al, 0x10
je 0x426536
cmp byte [esi + 0x270], 0
je 0x42652d
test eax, 0x400
jne 0x42652d
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 0x290]
call fcn.004267b0
test byte [esi + 0x274], 2
jmp 0x42653d
test byte [esi + 0x274], 1
jne 0x426556
lea ecx, [ebp - 0x34]
call fcn.00409590
jmp 0x426180
mov ecx, dword [ebp - 0x80]
call fcn.00421fa0
jmp 0x42656a
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x34]
push eax
call fcn.00421f20
lea ecx, [ebp - 0x34]
call fcn.00409590
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x80]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00496e21
mov esp, ebp
pop ebp
ret 4
call fcn.004b8cb1
int3