Function at 0x42ba68
Capabilities:
Enumerate files on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x5c4e68]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x148], 0
push ebx
push esi
push edi
push 0x13c
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x144]
mov edi, ecx
push 0
push eax
mov dword [ebp - 0x150], edi
call fcn.005117f0
add esp, 0xc
mov edx, edi
call fcn.004c3b34
test eax, eax
je 0x42babf
or eax, 0xffffffff
jmp 0x42bdd6
lea eax, [ebp - 0x148]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x14c], eax
je 0x42bab7
mov esi, 0x114
push esi
push 1
call fcn.00511988
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
jne 0x42bb0a
push esi
push edi
push str.:5:FindFirstFileOrdered___s___FAILED:_calloc__d__FAILED.
call fcn.004265da
add esp, 0xc
push dword [ebp - 0x14c]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x42bab7
lea esi, [ebx + 0x10]
push edi
mov ecx, 0x104
mov eax, esi
call fcn.004c3b66
pop ecx
mov edx, esi
call fcn.004c470f
call fcn.004c47b0
mov eax, esi
call fcn.004c3eab
call fcn.004c425f
and dword [ebx + 0xc], 0
and dword [ebx + 4], 0
mov esi, 0x140
push esi
push 0x33
mov dword [ebx + 8], 0x32
call fcn.00511988
test eax, eax
pop ecx
pop ecx
mov dword [ebx], eax
jne 0x42bb83
mov eax, dword [ebx + 8]
add eax, esi
push eax
push edi
push str.:5:FindFirstFileOrdered___s___FAILED:_calloc2__d__FAILED.
call fcn.004265da
add esp, 0xc
push dword [ebp - 0x14c]
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call fcn.00511758
pop ecx
jmp 0x42bab7
mov eax, dword [ebp + 0xc]
and eax, 0x200000
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0
je 0x42bba7
test byte [ebp - 0x148], 0x10
jne 0x42bc37
test dword [ebp + 0xc], 0x800000
je 0x42bbb9
test byte [ebp - 0x148], 0x10
je 0x42bc37
test dword [ebp + 0xc], 0x400000
je 0x42bbf0
lea eax, [ebp - 0x11c]
push 0x5320c4
push eax
call fcn.00512a33
test eax, eax
pop ecx
pop ecx
je 0x42bc37
lea eax, [ebp - 0x11c]
push 0x5435fc
push eax
call fcn.00512a33
test eax, eax
pop ecx
pop ecx
je 0x42bc37
mov eax, dword [ebx + 8]
cmp dword [ebx + 4], eax
jl 0x42bc13
imul eax, eax, 0x280
add eax, esi
push eax
push dword [ebx]
call fcn.005111ee
test eax, eax
pop ecx
pop ecx
je 0x42bc54
shl dword [ebx + 8], 1
mov dword [ebx], eax
mov edi, dword [ebx + 4]
imul edi, edi, 0x140
add edi, dword [ebx]
push 0x50
pop ecx
lea esi, [ebp - 0x148]
rep movsd dword es:[edi], dword [esi]
inc dword [ebx + 4]
mov edi, dword [ebp - 0x150]
mov esi, 0x140
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 0x14c]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42bb91
jmp 0x42bc6a
mov eax, dword [ebx + 8]
lea eax, [eax + eax + 1]
push eax
push edi
push str.:FindFirstFileOrdered___s___FAILED:_realloc___FAILED_to_allocate__d_file_slots.
call fcn.004265da
add esp, 0xc
push dword [ebp - 0x14c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebx + 4]
test eax, eax
jg 0x42bc8a
push dword [ebx]
call fcn.00511758
pop ecx
jmp 0x42bb77
test byte [ebp + 0xc], 1
mov edi, 0x100000
je 0x42bcb2
test dword [ebp + 0xc], edi
je 0x42bca1
push 0x42b883
jmp 0x42bca6
push fcn.0042b86b
push esi
push eax
push dword [ebx]
call fcn.00511d40
add esp, 0x10
test byte [ebp + 0xc], 2
je 0x42bcd7
test dword [ebp + 0xc], edi
je 0x42bcc4
push 0x42b8b2
jmp 0x42bcc9
push 0x42b89b
push esi
push dword [ebx + 4]
push dword [ebx]
call fcn.00511d40
add esp, 0x10
test byte [ebp + 0xc], 4
je 0x42bcfc
test dword [ebp + 0xc], edi
je 0x42bce9
push 0x42b8e0
jmp 0x42bcee
push 0x42b8c9
push esi
push dword [ebx + 4]
push dword [ebx]
call fcn.00511d40
add esp, 0x10
test byte [ebp + 0xc], 8
je 0x42bd21
test dword [ebp + 0xc], edi
je 0x42bd0e
push 0x42b90e
jmp 0x42bd13
push 0x42b8f7
push esi
push dword [ebx + 4]
push dword [ebx]
call fcn.00511d40
add esp, 0x10
test byte [ebp + 0xc], 0x10
je 0x42bd46
test dword [ebp + 0xc], edi
je 0x42bd33
push 0x42b981
jmp 0x42bd38
push 0x42b925
push esi
push dword [ebx + 4]
push dword [ebx]
call fcn.00511d40
add esp, 0x10
test byte [ebp + 0xc], 0x20
je 0x42bd6b
test dword [ebp + 0xc], edi
je 0x42bd58
push 0x42b9dd
jmp 0x42bd5d
push 0x4d1e33
push esi
push dword [ebx + 4]
push dword [ebx]
call fcn.00511d40
add esp, 0x10
test byte [ebp + 0xc], 0x40
je 0x42bd90
test dword [ebp + 0xc], edi
je 0x42bd7d
push 0x42ba56
jmp 0x42bd82
push fcn.0042b9f4
push esi
push dword [ebx + 4]
push dword [ebx]
call fcn.00511d40
add esp, 0x10
mov edi, dword [ebp - 0x154]
test edi, edi
je 0x42bdad
mov esi, dword [ebx + 0xc]
imul esi, esi, 0x140
add esi, dword [ebx]
push 0x50
pop ecx
rep movsd dword es:[edi], dword [esi]
inc dword [ebx + 0xc]
mov eax, dword [0x5e01d0]
test eax, eax
jne 0x42bdc0
call fcn.004a8f27
mov dword [0x5e01d0], eax
push ebx
call fcn.004a9020
cmp dword [0x5e01d0], 0
pop ecx
je 0x42bc7d
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051291c
leave
ret