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

Disassembly:
push 0xffffffffffffffff
push 0x4351d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [0x44618c]
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], eax
call fcn.00419bb0
push 5
lea edi, [esi + 0x78]
xor ebp, ebp
push str.port
mov ecx, edi
mov dword [esp + 0x68], ebp
call fcn.0041ee00
mov ecx, eax
call fcn.0041d9b0
push eax
push 0x43795c
mov ecx, edi
call fcn.0041ee00
mov ecx, eax
call fcn.0041d200
push eax
lea ecx, [esp + 0x1c]
call fcn.00402490
test al, al
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
jne 0x4039b9
lea ebx, [ebx]
call fcn.0042a7e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push str.port
mov ecx, edi
mov byte [esp + 0x64], 1
call fcn.0041ee00
mov ecx, eax
call fcn.0041d9b0
push eax
push 0x43795c
mov ecx, edi
call fcn.0041ee00
mov ecx, eax
call fcn.0041d200
push eax
lea eax, [esp + 0x1c]
push 0x437b58
push eax
call fcn.00403350
mov ebp, dword [esp + 0x24]
mov ecx, dword [esi + 0x1c]
add esp, 0x10
push 1
push 0x43797c
push ebp
push ecx
call ebx
cmp eax, 1
jne 0x403b39
lea eax, [ebp - 0x10]
mov byte [esp + 0x60], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40397c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 5
push str.port
mov ecx, edi
call fcn.0041ee00
mov ecx, eax
call fcn.0041d9b0
push eax
push 0x43795c
mov ecx, edi
call fcn.0041ee00
mov ecx, eax
call fcn.0041d200
push eax
lea ecx, [esp + 0x1c]
call fcn.00402490
test al, al
je 0x4038f0
xor ebp, ebp
mov edi, 0xf
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x3c], 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 2
call fcn.004025a0
lea ecx, [esp + 0x10]
call fcn.00402280
cmp dword [esp + 0x4c], ebp
mov eax, dword [esp + 0x50]
jne 0x403a10
cmp eax, 0x10
jb 0x403a03
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00424a6d
add esp, 4
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebp
jmp 0x403b05
cmp eax, 0x10
mov ecx, dword [esp + 0x3c]
jae 0x403a1d
lea ecx, [esp + 0x3c]
mov eax, dword [esi + 0x74]
lea edi, [esi + 0x74]
push ecx
push eax
call fcn.0040e802
add esp, 8
test eax, eax
jne 0x403a5f
mov edx, dword [esi + 0x1c]
push ebp
push 0x43797c
push 0x437b2c
push edx
call ebx
cmp dword [esp + 0x50], 0x10
jb 0x403a56
mov eax, dword [esp + 0x3c]
push eax
call fcn.00424a6d
add esp, 4
mov dword [esp + 0x4c], ebp
jmp 0x403afd
cmp dword [esp + 0x50], 0x10
mov eax, dword [esp + 0x3c]
jae 0x403a6e
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call fcn.00403390
push 0x3eb
mov ecx, esi
call fcn.0042a05f
mov edx, dword [eax + 0x1c]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x18]
push ecx
push edx
call edi
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.0042c337
mov edx, dword [esi + 0x1c]
push ebp
mov ebp, dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
push ecx
push edx
call ebp
push 0x3ed
mov ecx, esi
call fcn.0042a05f
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x28]
push ecx
push edx
call edi
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.0042c337
mov edx, dword [esi + 0x1c]
push 0
lea ecx, [esp + 0x2c]
push ecx
push edx
call ebp
cmp dword [esp + 0x50], 0x10
jb 0x403af5
mov eax, dword [esp + 0x3c]
push eax
call fcn.00424a6d
add esp, 4
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0xf
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 0
mov dword [esp + 0x60], 0xffffffff
call fcn.00402280
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x48]
mov al, 1
pop ebx
call fcn.0040d940
add esp, 0x54
ret
lea ecx, [esi + 0x1c4]
call fcn.0041a0e0
push 0
call fcn.0040e7c2
int3