Function at 0x4336c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44ef9b
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push esi
push edi
mov eax, dword [0x461b64]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov ebx, dword [ecx]
mov esi, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], esi
test esi, esi
mov edi, dword [eax + 4]
je 0x43370f
cmp esi, eax
je 0x433714
call fcn.004362ba
cmp ebx, edi
je 0x4339b6
test esi, esi
jne 0x433725
call fcn.004362ba
cmp ebx, dword [esi + 4]
jne 0x43372f
call fcn.004362ba
mov esi, dword [ebp + 8]
lea edi, [ebx + 0xc]
push edi
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00431c60
mov eax, dword [esp + 0x10]
test eax, eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x40], ecx
je 0x433755
cmp eax, esi
je 0x43375a
call fcn.004362ba
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x40]
jne 0x433895
lea ecx, [esp + 0x18]
call fcn.00431ab0
mov dword [esp + 0x1c], eax
mov byte [eax + 0x29], 1
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [eax], eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 8], eax
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x24]
cmp ebx, dword [eax + 4]
jne 0x4337a8
call fcn.004362ba
lea ecx, [esp + 0x18]
push ecx
push edi
lea ecx, [esp + 0x9c]
call fcn.00432f60
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0xcc], 1
call fcn.00432ee0
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x64]
push eax
mov ecx, esi
mov byte [esp + 0xd0], 2
call fcn.00433280
lea ecx, [esp + 0x6c]
mov byte [esp + 0xc8], 1
call fcn.00432b90
lea ecx, [esp + 0x94]
mov byte [esp + 0xc8], 0
call fcn.00432b90
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov esi, ecx
push edx
push esi
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
mov dword [esp + 0xdc], 0xffffffff
call fcn.00432570
mov edx, dword [esp + 0x1c]
push edx
call fcn.004360b5
mov eax, dword [esp + 0x28]
xor esi, esi
add esp, 4
cmp ebx, dword [eax + 4]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
jne 0x433856
call fcn.004362ba
push edi
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x50]
push ecx
mov ecx, edi
call fcn.00431c60
mov ecx, dword [eax]
cmp ecx, esi
mov edx, dword [eax + 4]
mov eax, dword [edi + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], eax
je 0x433882
cmp ecx, edi
je 0x433887
call fcn.004362ba
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x14], ecx
je 0x433930
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 4]
mov esi, dword [edx]
mov edi, eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], edi
test edi, edi
mov ebx, dword [eax + 4]
je 0x4338b2
cmp edi, eax
je 0x4338b7
call fcn.004362ba
cmp esi, ebx
je 0x433917
test edi, edi
jne 0x4338c4
call fcn.004362ba
cmp esi, dword [edi + 4]
jne 0x4338ce
call fcn.004362ba
add esi, 0xc
cmp dword [esp + 0x10], 0
jne 0x4338dd
call fcn.004362ba
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp eax, dword [ecx + 4]
jne 0x4338ef
call fcn.004362ba
mov ecx, dword [esp + 0x14]
push esi
lea edx, [esp + 0x58]
push edx
add ecx, 0x28
call fcn.00432380
lea ecx, [esp + 0x2c]
call fcn.00431950
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov eax, dword [ebp + 0x10]
jmp 0x4338a7
lea ecx, [esp + 0x24]
call fcn.00431950
mov ebx, dword [esp + 0x28]
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0x24]
jmp 0x433704
mov eax, dword [esp + 0x24]
cmp ebx, dword [eax + 4]
jne 0x43393e
call fcn.004362ba
add ebx, 0xc
push ebx
push str.Cant_add_port
push 0x463178
call fcn.00403ad0
add esp, 8
push eax
call fcn.00403ce0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00404220
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
lea eax, [edx + esi]
xor edi, edi
test byte [eax + 8], 6
jne 0x43398e
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x43398e
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x4339af
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x4339a7
or eax, 4
push 0
push eax
call fcn.00401cc0
push 2
call fcn.00436c40
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc