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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x5065d0]
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.004ab5d0
add esp, 0xc
mov edx, edi
call fcn.00476b3a
test eax, eax
je 0x41b239
or eax, 0xffffffff
jmp 0x41b52a
lea eax, [ebp - 0x148]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x14c], eax
je 0x41b231
push 0x114
push 1
call fcn.004aa454
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
mov dword [ebp - 0x150], ebx
jne 0x41b27a
push dword [ebp - 0x14c]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x41b231
lea esi, [ebx + 0x10]
push edi
mov ecx, 0x104
mov eax, esi
call fcn.00476b6c
pop ecx
mov edx, esi
call fcn.00477617
call fcn.004776b8
mov eax, esi
call fcn.00476eac
call fcn.00477260
and dword [ebx + 0xc], 0
and dword [ebx + 4], 0
mov esi, 0x140
push esi
push 0x33
mov dword [ebx + 8], 0x32
call fcn.004aa454
test eax, eax
pop ecx
pop ecx
mov dword [ebx], eax
jne 0x41b2df
push dword [ebp - 0x14c]
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call fcn.004aa2a8
pop ecx
jmp 0x41b231
mov eax, dword [ebp + 0xc]
and eax, 0x200000
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0
je 0x41b303
test byte [ebp - 0x148], 0x10
jne 0x41b38d
test dword [ebp + 0xc], 0x800000
je 0x41b315
test byte [ebp - 0x148], 0x10
je 0x41b38d
test dword [ebp + 0xc], 0x400000
je 0x41b34c
lea eax, [ebp - 0x11c]
push 0x4c9390
push eax
call fcn.004ab3bf
test eax, eax
pop ecx
pop ecx
je 0x41b38d
lea eax, [ebp - 0x11c]
push 0x4ce750
push eax
call fcn.004ab3bf
test eax, eax
pop ecx
pop ecx
je 0x41b38d
mov eax, dword [ebx + 8]
cmp dword [ebx + 4], eax
jl 0x41b36f
imul eax, eax, 0x280
add eax, esi
push eax
push dword [ebx]
call fcn.004ad207
test eax, eax
pop ecx
pop ecx
je 0x41b3a8
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 0x41b2ed
push dword [ebp - 0x14c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebx + 4]
test eax, eax
jg 0x41b3c8
push dword [ebx]
call fcn.004aa2a8
pop ecx
jmp 0x41b2d3
test byte [ebp + 0xc], 1
mov edi, 0x100000
je 0x41b3f0
test dword [ebp + 0xc], edi
je 0x41b3df
push 0x41b003
jmp 0x41b3e4
push fcn.0041afeb
push esi
push eax
push dword [ebx]
call fcn.004acc10
add esp, 0x10
test byte [ebp + 0xc], 2
je 0x41b415
test dword [ebp + 0xc], edi
je 0x41b402
push 0x41b032
jmp 0x41b407
push 0x41b01b
push esi
push dword [ebx + 4]
push dword [ebx]
call fcn.004acc10
add esp, 0x10
test byte [ebp + 0xc], 4
je 0x41b43a
test dword [ebp + 0xc], edi
je 0x41b427
push 0x41b060
jmp 0x41b42c
push 0x41b049
push esi
push dword [ebx + 4]
push dword [ebx]
call fcn.004acc10
add esp, 0x10
test byte [ebp + 0xc], 8
je 0x41b45f
test dword [ebp + 0xc], edi
je 0x41b44c
push 0x41b08e
jmp 0x41b451
push 0x41b077
push esi
push dword [ebx + 4]
push dword [ebx]
call fcn.004acc10
add esp, 0x10
test byte [ebp + 0xc], 0x10
je 0x41b484
test dword [ebp + 0xc], edi
je 0x41b471
push 0x41b101
jmp 0x41b476
push 0x41b0a5
push esi
push dword [ebx + 4]
push dword [ebx]
call fcn.004acc10
add esp, 0x10
test byte [ebp + 0xc], 0x20
je 0x41b4a9
test dword [ebp + 0xc], edi
je 0x41b496
push 0x41b15d
jmp 0x41b49b
push 0x46b4d3
push esi
push dword [ebx + 4]
push dword [ebx]
call fcn.004acc10
add esp, 0x10
test byte [ebp + 0xc], 0x40
je 0x41b4ce
test dword [ebp + 0xc], edi
je 0x41b4bb
push 0x41b1d6
jmp 0x41b4c0
push fcn.0041b174
push esi
push dword [ebx + 4]
push dword [ebx]
call fcn.004acc10
add esp, 0x10
mov edi, dword [ebp - 0x158]
test edi, edi
je 0x41b4eb
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 [0x51ed98]
test eax, eax
jne 0x41b4fe
call fcn.0046aaee
mov dword [0x51ed98], eax
push ebx
mov ebx, eax
call fcn.0046aba0
cmp dword [0x51ed98], 0
pop ecx
jne 0x41b524
mov esi, dword [ebp - 0x150]
push dword [esi]
call fcn.004aa2a8
pop ecx
push esi
jmp 0x41b2d4
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aaeb5
leave
ret