Function at 0x46b1af
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [ebp + 0x10], 0
push ebx
push esi
mov esi, dword [ebp + 0x1c]
push edi
jne 0x46b33c
mov eax, dword [ebp + 0x18]
add dword [esi + 0x1c], eax
xor edi, edi
mov dword [esi + 0x98], edi
cmp dword [esi + 0x1c], edi
jbe 0x46b20b
mov ecx, dword [esi + 0x64]
call fcn.00487815
test eax, eax
je 0x46b20b
mov eax, dword [esi + 0x64]
test eax, eax
je 0x46b1f0
mov ecx, dword [eax]
jmp 0x46b1f2
mov ecx, edi
mov eax, dword [esi + 0x88]
xor edx, edx
push dword [esi + 0x1c]
add eax, dword [esi + 0x90]
push eax
call fcn.00477dcd
pop ecx
pop ecx
mov ecx, dword [esi + 0x1c]
cmp dword [esi + 0x98], ecx
jbe 0x46b21c
mov dword [esi + 0x98], ecx
mov eax, dword [esi + 0x98]
mov edx, ecx
sub ecx, eax
mov dword [esi + 0x1c], eax
add dword [esi + 0x90], ecx
sub edx, eax
cmp dword [esi + 0x18], edi
jne 0x46b23e
test edx, edx
je 0x46b23e
test eax, eax
jne 0x46b1ce
test eax, eax
jne 0x46b248
mov dword [esi + 0x90], edi
cmp dword [esi + 0x18], edi
jne 0x46b3dc
mov edx, dword [esi + 0x90]
test edx, edx
je 0x46b2a9
mov ecx, dword [esi + 0x88]
add edx, ecx
test eax, eax
je 0x46b2a1
test ecx, ecx
jne 0x46b27d
call fcn.005f2820
mov dword [eax], 0x16
call fcn.005f0510
jmp 0x46b2a1
test edx, edx
je 0x46b26b
cmp dword [esi + 0x8c], eax
jae 0x46b296
call fcn.005f2820
mov dword [eax], 0x22
jmp 0x46b276
push eax
push edx
push ecx
call fcn.005c2aa0
add esp, 0xc
mov dword [esi + 0x90], edi
jmp 0x46b2ff
mov ecx, dword [esi + 0x8c]
cmp eax, ecx
jne 0x46b2ff
mov edi, 0x1000
test ecx, ecx
jne 0x46b2c0
mov ecx, edi
jmp 0x46b2c2
add ecx, ecx
mov ebx, 0x3e5
push ebx
push 0x6f150c
push 1
push ecx
push dword [esi + 0x88]
call fcn.005f5e10
add esp, 0x14
mov dword [esi + 0x88], eax
test eax, eax
je 0x46b3e5
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x46b2f9
lea edi, [eax + eax]
mov dword [esi + 0x8c], edi
push dword [esi + 0x70]
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x88]
add ecx, dword [esi + 0x1c]
sub eax, dword [esi + 0x1c]
add ecx, dword [esi + 0x90]
mov edx, dword [ebp + 0xc]
push esi
push fcn.0046b1af
push eax
push ecx
lea ecx, [esi + 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0048a3a7
xor eax, eax
add esp, 0x18
inc eax
jmp 0x46b3de
xor edi, edi
cmp dword [esi + 4], edi
je 0x46b346
mov dword [esi + 0x68], edi
mov edx, dword [esi + 0x6c]
test edx, edx
je 0x46b358
mov ecx, dword [ebp + 8]
call fcn.0048a5cb
mov dword [esi + 0x6c], edi
mov ecx, dword [esi + 0x64]
mov dword [esi + 0x14], edi
call fcn.00487815
test eax, eax
je 0x46b371
mov ecx, dword [esi + 0x64]
mov ecx, dword [ecx]
call fcn.00478308
mov ecx, esi
call fcn.00487815
test eax, eax
je 0x46b3dc
cmp dword [esi + 0x14], edi
jne 0x46b3dc
mov eax, dword [esi + 0x64]
mov ebx, dword [esi]
mov ecx, ebx
mov edx, dword [eax]
mov edx, dword [edx + 8]
call fcn.0041ca72
mov ecx, dword [esi]
or edx, 0xffffffff
call fcn.00419f87
mov ecx, dword [esi]
or edx, 0xffffffff
push 0x6f159c
call fcn.00419063
pop ecx
mov ecx, dword [esi]
push 0xffffffffffffffff
push 0xfffffffffffffffe
pop edx
call fcn.00419f51
pop ecx
mov ecx, dword [esi]
xor edx, edx
push edi
call fcn.00417e9a
pop ecx
test eax, eax
je 0x46b3d5
push str.net.ipcServer.end___Error:
push ebx
call fcn.0045d114
pop ecx
pop ecx
mov ecx, ebx
call fcn.0041ce6d
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x6f1530
push esi
push ebx
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push ebx
push 0x6f1554
push 0x6f1578
call fcn.00401109
add esp, 0xc
push esi
call fcn.005d08b0
int3