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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x4e22e4]
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 - 0x158], eax
lea eax, [ebp - 0x144]
push 0
push eax
mov edi, ecx
call fcn.00401f80
add esp, 0xc
mov edx, edi
call fcn.00439e45
test eax, eax
je 0x48df4f
or eax, 0xffffffff
jmp 0x48e240
lea eax, [ebp - 0x148]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x14c], eax
cmp eax, 0xffffffff
je 0x48df47
push 0x114
push 1
call fcn.00401a3a
mov ebx, eax
pop ecx
pop ecx
mov dword [ebp - 0x150], ebx
test ebx, ebx
jne 0x48df90
push dword [ebp - 0x14c]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x48df47
lea esi, [ebx + 0x10]
push edi
mov ecx, 0x104
mov eax, esi
call fcn.00438c78
pop ecx
mov edx, esi
call fcn.004399f2
call fcn.00439946
mov eax, esi
call fcn.00438ab1
call fcn.0043abb5
and dword [ebx + 0xc], 0
and dword [ebx + 4], 0
mov esi, 0x140
push esi
push 0x33
mov dword [ebx + 8], 0x32
call fcn.00401a3a
pop ecx
pop ecx
mov dword [ebx], eax
test eax, eax
jne 0x48dff5
push dword [ebp - 0x14c]
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call fcn.00401a00
pop ecx
jmp 0x48df47
mov eax, dword [ebp + 0xc]
and eax, 0x200000
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0
je 0x48e019
test byte [ebp - 0x148], 0x10
jne 0x48e0a3
test dword [ebp + 0xc], 0x800000
je 0x48e02b
test byte [ebp - 0x148], 0x10
je 0x48e0a3
test dword [ebp + 0xc], 0x400000
je 0x48e062
lea eax, [ebp - 0x11c]
push 0x4ae7fc
push eax
call fcn.00401811
pop ecx
pop ecx
test eax, eax
je 0x48e0a3
lea eax, [ebp - 0x11c]
push 0x4b1e08
push eax
call fcn.00401811
pop ecx
pop ecx
test eax, eax
je 0x48e0a3
mov eax, dword [ebx + 8]
cmp dword [ebx + 4], eax
jl 0x48e085
imul eax, eax, 0x280
add eax, esi
push eax
push dword [ebx]
call fcn.0040402c
pop ecx
pop ecx
test eax, eax
je 0x48e0be
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 esi, 0x140
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 0x14c]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x48e003
push dword [ebp - 0x14c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebx + 4]
test eax, eax
jg 0x48e0de
push dword [ebx]
call fcn.00401a00
pop ecx
jmp 0x48dfe9
test byte [ebp + 0xc], 1
mov edi, 0x100000
je 0x48e106
test dword [ebp + 0xc], edi
je 0x48e0f5
push 0x48c8e5
jmp 0x48e0fa
push fcn.0048c8ff
push esi
push eax
push dword [ebx]
call fcn.00403880
add esp, 0x10
test byte [ebp + 0xc], 2
je 0x48e12b
test dword [ebp + 0xc], edi
je 0x48e118
push 0x48c8b3
jmp 0x48e11d
push 0x48c8cc
push esi
push dword [ebx + 4]
push dword [ebx]
call fcn.00403880
add esp, 0x10
test byte [ebp + 0xc], 4
je 0x48e150
test dword [ebp + 0xc], edi
je 0x48e13d
push 0x48c881
jmp 0x48e142
push 0x48c89a
push esi
push dword [ebx + 4]
push dword [ebx]
call fcn.00403880
add esp, 0x10
test byte [ebp + 0xc], 8
je 0x48e175
test dword [ebp + 0xc], edi
je 0x48e162
push 0x48c84f
jmp 0x48e167
push 0x48c868
push esi
push dword [ebx + 4]
push dword [ebx]
call fcn.00403880
add esp, 0x10
test byte [ebp + 0xc], 0x10
je 0x48e19a
test dword [ebp + 0xc], edi
je 0x48e187
push 0x48c797
jmp 0x48e18c
push 0x48c7f3
push esi
push dword [ebx + 4]
push dword [ebx]
call fcn.00403880
add esp, 0x10
test byte [ebp + 0xc], 0x20
je 0x48e1bf
test dword [ebp + 0xc], edi
je 0x48e1ac
push 0x48c761
jmp 0x48e1b1
push 0x48c77b
push esi
push dword [ebx + 4]
push dword [ebx]
call fcn.00403880
add esp, 0x10
test byte [ebp + 0xc], 0x40
je 0x48e1e4
test dword [ebp + 0xc], edi
je 0x48e1d1
push 0x48d916
jmp 0x48e1d6
push fcn.0048cbba
push esi
push dword [ebx + 4]
push dword [ebx]
call fcn.00403880
add esp, 0x10
mov edi, dword [ebp - 0x158]
test edi, edi
je 0x48e201
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 [0x4fa740]
test eax, eax
jne 0x48e214
call fcn.00444592
mov dword [0x4fa740], eax
push ebx
mov ebx, eax
call fcn.00444541
cmp dword [0x4fa740], 0
pop ecx
jne 0x48e23a
mov esi, dword [ebp - 0x150]
push dword [esi]
call fcn.00401a00
pop ecx
push esi
jmp 0x48dfea
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret