Function at 0x4b6bf0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, ecx
test edi, edi
je 0x4b70c1
mov ecx, dword [edi + 0x1008]
lea eax, [esp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0
movq qword [esp + 0x14], xmm0
mov edx, 0x4b3170
mov dword [esp + 0x14], ecx
mov ecx, dword [ecx]
push 1
push eax
mov dword [esp + 0x20], 0x4b6be0
mov dword [esp + 0x24], edi
call fcn.004b3a50
push 0
push 0
push dword [edi]
call fcn.0058885d
add esp, 0x14
mov dword [edi + 0x1010], 0xffffffff
xor edx, edx
mov dword [edi + 0x1014], 0xffffffff
mov ecx, edi
xor ebp, ebp
call fcn.004b6a40
mov ebx, eax
test ebx, ebx
je 0x4b6db6
nop dword [eax + eax]
mov ecx, dword [edi + 0x1008]
lea eax, [ebx + 0x3c]
push 0
push dword [ebx + 4]
xor edx, edx
push eax
call fcn.004b3450
add esp, 0xc
test eax, eax
je 0x4b6ca2
mov esi, dword [eax + 0x14]
jmp 0x4b6ca4
xor esi, esi
cmp dword [ebx + 8], 0
jle 0x4b6d3a
test esi, esi
jne 0x4b6cd4
push 0x40
inc ebp
call fcn.0058d200
mov esi, eax
add esp, 4
test esi, esi
je 0x4b70c9
push 0x40
push 0
push esi
call fcn.005869c0
add esp, 0xc
lea eax, [esi + 4]
lea ecx, [ebx + 0xc]
test eax, eax
je 0x4b6cfb
push 0x30
test ecx, ecx
je 0x4b6cf0
push ecx
push eax
call fcn.00586440
add esp, 0xc
jmp 0x4b6d0b
push 0
push eax
call fcn.005869c0
add esp, 0xc
call fcn.0058bd31
mov dword [eax], 0x16
call fcn.0058b90e
mov eax, dword [ebx + 8]
xor edx, edx
mov dword [esi], eax
mov eax, dword [ebx - 8]
mov dword [esi + 0x38], eax
mov eax, dword [ebx - 4]
mov dword [esi + 0x3c], eax
lea eax, [ebx + 0x3c]
mov ecx, dword [edi + 0x1008]
push 1
push dword [ebx + 4]
push eax
call fcn.004b3450
add esp, 0xc
mov dword [eax + 0x14], esi
jmp 0x4b6d80
test esi, esi
je 0x4b6d80
mov ecx, dword [edi + 0x1008]
lea eax, [ebx + 0x3c]
push 2
push dword [ebx + 4]
xor edx, edx
dec ebp
push eax
call fcn.004b3450
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4b6d77
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4b6d6e
push eax
call fcn.0058bf82
add esp, 4
push ebx
call fcn.0058bf82
add esp, 4
push esi
call fcn.0058bf82
add esp, 4
xor edx, edx
mov ecx, edi
call fcn.004b6a40
mov ebx, eax
test ebx, ebx
jne 0x4b6c80
test ebp, ebp
je 0x4b6db6
push dword [edi]
call fcn.0058829a
cdq
add esp, 4
mov dword [edi + 0x1010], eax
mov dword [edi + 0x1014], edx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x1008]
lea eax, [esp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0
movq qword [esp + 0x14], xmm0
mov edx, 0x4b3170
mov dword [esp + 0x14], ecx
mov ecx, dword [ecx]
push 1
push eax
mov dword [esp + 0x20], 0x4b6be0
mov dword [esp + 0x24], edi
call fcn.004b3a50
push 0
push 0
push dword [edi]
call fcn.0058885d
xor ebp, ebp
mov dword [edi + 0x1010], 0xffffffff
add esp, 0x14
mov dword [edi + 0x1014], 0xffffffff
mov ecx, edi
lea edx, [ebp + 0x20]
call fcn.004b6a40
mov ebx, eax
test ebx, ebx
je 0x4b6f4e
nop dword [eax + eax]
mov ecx, dword [edi + 0x1008]
lea eax, [ebx + 0x40]
push 0
push dword [ebx + 4]
xor edx, edx
push eax
call fcn.004b3450
add esp, 0xc
test eax, eax
je 0x4b6e52
mov esi, dword [eax + 0x14]
jmp 0x4b6e54
xor esi, esi
cmp dword [ebx + 8], 0
jle 0x4b6eea
test esi, esi
jne 0x4b6e84
push 0x40
inc ebp
call fcn.0058d200
mov esi, eax
add esp, 4
test esi, esi
je 0x4b70c9
push 0x40
push 0
push esi
call fcn.005869c0
add esp, 0xc
lea eax, [esi + 4]
lea ecx, [ebx + 0xc]
test eax, eax
je 0x4b6eab
push 0x30
test ecx, ecx
je 0x4b6ea0
push ecx
push eax
call fcn.00586440
add esp, 0xc
jmp 0x4b6ebb
push 0
push eax
call fcn.005869c0
add esp, 0xc
call fcn.0058bd31
mov dword [eax], 0x16
call fcn.0058b90e
mov eax, dword [ebx + 8]
xor edx, edx
mov dword [esi], eax
mov eax, dword [ebx - 8]
mov dword [esi + 0x38], eax
mov eax, dword [ebx - 4]
mov dword [esi + 0x3c], eax
lea eax, [ebx + 0x40]
mov ecx, dword [edi + 0x1008]
push 1
push dword [ebx + 4]
push eax
call fcn.004b3450
add esp, 0xc
mov dword [eax + 0x14], esi
jmp 0x4b6f30
test esi, esi
je 0x4b6f30
mov ecx, dword [edi + 0x1008]
lea eax, [ebx + 0x40]
push 2
push dword [ebx + 4]
xor edx, edx
dec ebp
push eax
call fcn.004b3450
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4b6f27
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4b6f1e
push eax
call fcn.0058bf82
add esp, 4
push ebx
call fcn.0058bf82
add esp, 4
push esi
call fcn.0058bf82
add esp, 4
mov edx, 0x20
mov ecx, edi
call fcn.004b6a40
mov ebx, eax
test ebx, ebx
jne 0x4b6e30
test ebp, ebp
jne 0x4b70a3
mov ecx, dword [edi + 0x1008]
push edi
call fcn.004b3250
add esp, 4
push 0
push 0
push dword [edi]
call fcn.0058885d
add esp, 0xc
mov dword [edi + 0x1010], 0xffffffff
mov edx, 0x40
mov dword [edi + 0x1014], 0xffffffff
mov ecx, edi
call fcn.004b6a40
mov ebx, eax
test ebx, ebx
je 0x4b70a3
mov ecx, dword [edi + 0x1008]
lea ebp, [ebx + 0x48]
push 0
push dword [ebx + 4]
xor edx, edx
push ebp
call fcn.004b3450
add esp, 0xc
test eax, eax
je 0x4b6fb7
mov esi, dword [eax + 0x14]
jmp 0x4b6fb9
xor esi, esi
cmp dword [ebx + 8], 0
jle 0x4b704b
test esi, esi
jne 0x4b6fe8
push 0x40
call fcn.0058d200
mov esi, eax
add esp, 4
test esi, esi
je 0x4b70c9
push 0x40
push 0
push esi
call fcn.005869c0
add esp, 0xc
lea eax, [esi + 4]
lea ecx, [ebx + 0xc]
test eax, eax
je 0x4b700f
push 0x30
test ecx, ecx
je 0x4b7004
push ecx
push eax
call fcn.00586440
add esp, 0xc
jmp 0x4b701f
push 0
push eax
call fcn.005869c0
add esp, 0xc
call fcn.0058bd31
mov dword [eax], 0x16
call fcn.0058b90e
mov eax, dword [ebx + 8]
xor edx, edx
mov dword [esi], eax
mov eax, dword [ebx - 8]
mov dword [esi + 0x38], eax
mov eax, dword [ebx - 4]
mov dword [esi + 0x3c], eax
mov ecx, dword [edi + 0x1008]
push 1
push dword [ebx + 4]
push ebp
call fcn.004b3450
add esp, 0xc
mov dword [eax + 0x14], esi
jmp 0x4b708d
test esi, esi
je 0x4b708d
mov ecx, dword [edi + 0x1008]
xor edx, edx
push 2
push dword [ebx + 4]
push ebp
call fcn.004b3450
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4b7084
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4b707b
push eax
call fcn.0058bf82
add esp, 4
push ebx
call fcn.0058bf82
add esp, 4
push esi
call fcn.0058bf82
add esp, 4
mov edx, 0x40
mov ecx, edi
call fcn.004b6a40
mov ebx, eax
test ebx, ebx
jne 0x4b6f95
push dword [edi]
call fcn.0058829a
add esp, 4
cdq
mov ecx, edi
mov dword [edi + 0x1010], eax
mov dword [edi + 0x1014], edx
call fcn.004b7730
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x4c4
mov edx, 0x61c4e8
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x4c4
push 0x61c504
push 0x61c520
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
int3