Function at 0x4b81e0
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, edx
mov ebp, ecx
test edi, edi
je case.default.0x4b8291
mov eax, dword [edi + 0x60]
test eax, eax
je 0x4b8205
push 0xffffffffffffffff
push dword [eax + 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0xc4]
xor ebx, ebx
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4b8216
mov ebx, dword [eax]
mov eax, dword [edi + 0x60]
test eax, eax
je 0x4b822a
push 0
push 1
push dword [eax + 0x3c]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
cmp dword [edi + 0x80], 0
jne 0x4b8280
push 0x20
call fcn.0058d200
add esp, 4
mov dword [edi + 0x80], eax
test eax, eax
je 0x4b86cd
xorps xmm0, xmm0
movups xmmword [eax], xmm0
push 0xffff
movups xmmword [eax + 0x10], xmm0
call fcn.0058d200
mov ecx, dword [edi + 0x80]
add esp, 4
mov dword [ecx + 4], eax
test eax, eax
je 0x4b870e
mov eax, dword [edi + 0x80]
mov dword [eax + 0xc], 0xffff
mov ecx, dword [edi + 0x80]
mov eax, dword [ecx]
cmp eax, 3
ja case.default.0x4b8291
jmp dword [eax*4 + 0x4b87d4]
mov eax, dword [esp + 0x2c]
cmp eax, 3
jl case.default.0x4b8291
mov ebx, 2
cmp eax, ebx
jle case.default.0x4b8291
mov ecx, dword [esp + 0x24]
cmp byte [ecx + ebx - 2], 0xd
jne 0x4b82c4
cmp byte [ebx + ecx - 1], 0xa
je 0x4b82d1
inc ebx
cmp ebx, eax
jl 0x4b82b6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 1
lea eax, [ebx - 2]
xor edx, edx
push 0x61e6f4
push eax
call fcn.004b0490
mov esi, eax
add esp, 0xc
lea eax, [esp + 0x1c]
mov ecx, dword [esi]
push 0x10
push eax
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
mov byte [edx + ecx], 0
mov ecx, dword [esi]
push dword [ecx]
call fcn.00593897
mov ecx, dword [edi + 0x80]
add esp, 0xc
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [eax], ebx
mov ecx, dword [edi + 0x80]
mov eax, dword [ecx + 0x18]
neg eax
sbb eax, eax
add eax, 3
mov dword [ecx], eax
mov ecx, esi
call fcn.004b06c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp dword [esp + 0x2c], 2
jl case.default.0x4b8291
mov eax, dword [esp + 0x28]
mov dword [eax], 2
mov eax, dword [edi + 0x80]
mov dword [eax], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov ebp, dword [esp + 0x2c]
mov esi, ebp
cmp ebp, dword [ecx + 0x18]
mov eax, dword [ecx + 0x10]
cmovge esi, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x14]
je 0x4b83f2
mov edx, dword [ecx + 8]
lea eax, [edx + ebp]
cmp eax, dword [ecx + 0xc]
jle 0x4b83c4
sub edx, dword [ecx + 0xc]
lea eax, [edx + ebp]
mov edx, 0xffff
cmp eax, edx
cmovg edx, eax
mov eax, dword [ecx + 0xc]
add eax, edx
mov dword [esp + 0x18], edx
push eax
push dword [ecx + 4]
call fcn.00591c5f
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4b874f
mov eax, dword [edi + 0x80]
mov dword [eax + 4], ecx
mov eax, dword [edi + 0x80]
mov ecx, dword [esp + 0x18]
add dword [eax + 0xc], ecx
mov ecx, dword [edi + 0x80]
mov edx, dword [esp + 0x24]
push esi
push edx
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
sub edx, eax
add ecx, eax
call fcn.00401000
mov eax, dword [edi + 0x80]
add esp, 8
add dword [eax + 8], esi
xor eax, eax
jmp 0x4b83f7
mov eax, 1
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x4b85a3
cmp dword [ebx + 0x54], 0
je 0x4b85a3
cmp dword [edi + 0x78], 0
jne 0x4b85a3
test eax, eax
mov dword [esp + 0x14], 0
lea eax, [edi + 0xe8]
push eax
push dword [ebx + 0x38]
push dword [ebx + 0x34]
push 0
je 0x4b852a
push esi
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x3c]
mov eax, dword [ebx + 0x54]
push dword [edi + 0xa0]
push 0
push edi
call eax
mov ecx, dword [esp + 0x3c]
add esp, 0x28
mov eax, dword [edi + 0x80]
test ecx, ecx
jne 0x4b84f2
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0x80]
mov dword [eax + 0x14], esi
mov edx, dword [edi + 0x80]
mov ecx, dword [edx + 8]
mov ebx, dword [edx + 0xc]
lea eax, [ecx + ebp]
cmp eax, ebx
jle 0x4b84c3
sub ecx, ebx
lea eax, [ecx + ebp]
mov ebp, 0xffff
cmp eax, 0xffff
cmovg ebp, eax
lea eax, [ebx + ebp]
push eax
push dword [edx + 4]
call fcn.00591c5f
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4b8790
mov eax, dword [edi + 0x80]
mov dword [eax + 4], ecx
mov eax, dword [edi + 0x80]
add dword [eax + 0xc], ebp
mov ecx, dword [edi + 0x80]
mov edx, dword [esp + 0x24]
push esi
push edx
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
sub edx, eax
add ecx, eax
call fcn.00401000
mov eax, dword [edi + 0x80]
add esp, 8
add dword [eax + 8], esi
jmp 0x4b859f
cmp ecx, esi
je 0x4b8507
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0x80]
mov dword [eax + 0x14], esi
jmp 0x4b85a3
mov dword [eax + 0x10], 0
mov eax, dword [edi + 0x80]
mov dword [eax + 0x14], 0
mov eax, dword [edi + 0x80]
mov dword [eax + 8], 0
jmp 0x4b85a3
mov ecx, dword [edi + 0x80]
mov eax, dword [ecx + 8]
sub eax, dword [ecx + 0x10]
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
add eax, dword [ecx + 0x10]
push eax
push dword [edi + 0xa0]
mov eax, dword [ebx + 0x54]
push 0
push edi
call eax
mov ecx, dword [edi + 0x80]
add esp, 0x28
mov ebx, dword [esp + 0x14]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp ebx, eax
jne 0x4b858d
mov dword [ecx + 0x10], 0
mov eax, dword [edi + 0x80]
mov dword [eax + 0x14], 0
mov eax, dword [edi + 0x80]
mov dword [eax + 8], 0
jmp 0x4b859f
lea eax, [edx + ebx]
mov dword [ecx + 0x10], eax
mov ecx, dword [edi + 0x80]
mov eax, dword [ecx + 8]
mov dword [ecx + 0x14], eax
mov dword [esp + 0x14], esi
mov ecx, dword [edi + 0x80]
mov eax, dword [esp + 0x14]
sub dword [ecx + 0x18], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov dword [ecx], eax
mov eax, dword [edi + 0x80]
cmp dword [eax + 0x18], 0
jne case.default.0x4b8291
mov dword [eax], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x2c]
cmp eax, 2
jl case.default.0x4b8291
mov edx, dword [esp + 0x24]
mov esi, 2
nop
cmp byte [edx + esi - 2], 0xd
jne 0x4b85fe
cmp byte [esi + edx - 1], 0xa
je 0x4b860b
inc esi
cmp esi, eax
jle 0x4b85f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp esi, 2
jne 0x4b86bf
mov dword [ecx + 0x1c], 1
test ebx, ebx
je 0x4b8663
cmp dword [ebx + 0x54], 0
je 0x4b8663
cmp dword [edi + 0x78], 0
jne 0x4b8669
mov ecx, dword [edi + 0x80]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x14], eax
lea eax, [edi + 0xe8]
push eax
push dword [ebx + 0x38]
lea eax, [esp + 0x1c]
push dword [ebx + 0x34]
push 1
push dword [ecx + 0x14]
push eax
push dword [ecx + 4]
mov eax, dword [ebx + 0x54]
push dword [edi + 0xa0]
push 0
push edi
call eax
add esp, 0x28
cmp dword [edi + 0x78], 0
je 0x4b8677
mov ecx, edi
mov dword [edi + 0x78], 0
call fcn.004b7f30
test ebp, ebp
je 0x4b8686
mov ecx, ebp
call fcn.004abfb0
test eax, eax
jne 0x4b86bf
mov eax, dword [edi + 0x80]
test eax, eax
je 0x4b86b8
mov eax, dword [eax + 4]
test eax, eax
je 0x4b86a0
push eax
call fcn.0058bf82
add esp, 4
push dword [edi + 0x80]
call fcn.0058bf82
add esp, 4
mov dword [edi + 0x80], 0
mov edx, edi
call fcn.004b7fb0
mov eax, dword [esp + 0x28]
mov dword [eax], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x38b
mov edx, 0x61e62c
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x38b
push 0x61e64c
push 0x61e66c
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x38e
mov edx, 0x61e690
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x38e
push 0x61e6b0
push 0x61e6d0
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x3d7
mov edx, 0x61e6f8
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x3d7
push 0x61e718
push 0x61e738
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x419
mov edx, 0x61e75c
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x419
push 0x61e77c
push 0x61e79c
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
nop dword [eax]
cwde
or byte [ebx], 54
or dword [ebx], 0x5f
or dword [ebx], 0xffffffd8
test dword [ebx], ecx
int3