Function at 0x426770
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c04b
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x58], edi
push 0
push 4
push 0
push 0
push edi
push 0x426af0
mov dword [ebp - 0x50], 0
call fcn.0055c3f2
mov esi, eax
test esi, esi
je 0x4268f2
push 0
lea ecx, [ebp - 0x198]
call fcn.004cb260
push 0xdbc
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
call fcn.00403020
push edi
lea ecx, [ebp - 0x198]
call fcn.004cb490
push 0
lea ecx, [ebp - 0xf0]
call fcn.00558c8a
push 0
lea ecx, [ebp - 0xf0]
call fcn.005587e1
push 5
lea ecx, [ebp - 0x198]
call fcn.00558c8a
push dword [esi + 0x2c]
mov dword [esi + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42688f
nop dword [eax]
push 1
push 0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x2c]
movq qword [ebp - 0x1c], xmm0
push eax
movups xmmword [ebp - 0x2c], xmm0
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x42687d
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x426840
lea eax, [ebp - 0x50]
push eax
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 4]
lea ecx, [ebp - 0x198]
call fcn.004cb500
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x70]
mov dword [ebp - method.CBaseDlgWait.virtual_0], vtable.CBaseDlgWait.0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4268dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xf0]
call fcn.00559a0b
lea ecx, [ebp - 0x198]
call fcn.00558cff
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x426a91
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x426abe
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 1
push eax
lea ecx, [edi + 0xa8]
call fcn.00554615
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x426ac8
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x54]
push dword [ebp - 0x48]
push 0xdba
push eax
call fcn.00427380
mov ecx, dword [0x6184f0]
add esp, 0xc
mov esi, dword [ebp - 0x54]
mov ecx, dword [ecx + 0x1c]
push esi
push str.PortList
call fcn.004f6860
mov ecx, dword [0x6184f8]
mov eax, dword [edi + 0x128]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], esi
test esi, esi
je 0x4269e8
test eax, eax
je 0x4269e8
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x40]
call fcn.004043b0
mov edi, dword [ebp - 0x44]
push eax
mov byte [ebp - 4], 3
lea ecx, [edi + 0x78]
call fcn.00404be0
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x60]
push eax
lea ecx, [edi + 0x78]
call fcn.00404c50
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00403570
lea ecx, [ebp - 0x40]
call fcn.00403570
mov eax, dword [0x6184f8]
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 0x12c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x426a4b
test eax, eax
je 0x426a4b
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x40]
call fcn.004043b0
mov edi, dword [ebp - 0x44]
push eax
mov byte [ebp - 4], 4
lea ecx, [edi + 0x80]
call fcn.00404be0
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x60]
push eax
lea ecx, [edi + 0x80]
call fcn.00404c50
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00403570
lea ecx, [ebp - 0x40]
call fcn.00403570
mov edi, dword [ebp - 0x58]
mov ecx, edi
call fcn.00559758
or edi, 0xffffffff
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x426a70
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x48]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x426aa3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x426aa3
push eax
push dword [edi + 0x20]
push dword [0x6184fc]
call fcn.00505db0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004013a0
push 0x80004005
call fcn.004013a0
int3