Function at 0x420b32
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x445c17
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x10c4
call fcn.004368e0
mov eax, dword [0x456070]
xor eax, esp
mov dword [esp + 0x10c0], eax
push ebx
push esi
push edi
mov eax, dword [0x456070]
xor eax, esp
push eax
lea eax, [esp + 0x10d8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
test eax, eax
je 0x420ca5
push 0xffffffffffffffff
push dword [0x45aa5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x58]
push eax
call fcn.00420eff
and dword [esp + 0x10e0], 0
mov edi, 0x459b48
push edi
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [esp + 0x58]
mov byte [esp + 0x10e0], 1
call fcn.00420165
push edi
mov byte [esp + 0x10e4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
jmp 0x420c7e
push dword [esp + 0x14]
lea ecx, [esp + 0x40]
call fcn.00402eac
lea esi, [esp + 0x18]
mov byte [esp + 0x10e0], 2
call fcn.00421409
mov ecx, dword [eax + 0x124]
add eax, 0x10c
mov eax, dword [eax]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
call fcn.00421409
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x38]
push ecx
lea ebx, [eax + 0x10c]
call fcn.00408848
lea edi, [esp + 0x2c]
mov esi, eax
call fcn.00423758
mov bl, al
neg bl
push 0
sbb bl, bl
push 1
lea ecx, [esp + 0x44]
inc bl
mov byte [esp + 0x10e8], 0
call fcn.004017a5
lea esi, [esp + 0x18]
test bl, bl
jne 0x420ccd
call fcn.00421434
lea edi, [esp + 0x24]
lea esi, [esp + 0x18]
call fcn.00423758
test al, al
je 0x420bfc
or dword [esp + 0x10e0], 0xffffffff
lea eax, [esp + 0x58]
push eax
call fcn.00421010
xor eax, eax
mov ecx, dword [esp + 0x10d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10c0]
xor ecx, esp
call fcn.0042af05
mov esp, ebp
pop ebp
ret 8
call fcn.00421409
sub esp, 0x128
add eax, 4
mov ebx, esp
mov dword [esp + 0x14c], esp
call fcn.00420194
mov ecx, dword [esp + 0x13c]
push 1
call fcn.0041fc87
add esp, 0x12c
call fcn.0040c04a
lea esi, [esp + 0x18]
mov ebx, eax
mov dword [esp + 0x38], edx
call fcn.00421409
push dword [esp + 0x20]
push dword [esp + 0x18]
call dword [eax + 4]
mov dword [esp + 0x20], eax
call fcn.0040c04a
mov edi, eax
sub edi, ebx
call fcn.00421409
sub esp, 0x128
add eax, 4
mov ebx, esp
mov dword [esp + 0x14c], esp
call fcn.00420194
mov ecx, dword [esp + 0x13c]
xor ebx, ebx
push ebx
call fcn.0041fc87
add esp, 0x12c
cmp edi, 0x64
jbe 0x420e65
push str.__s._d_
lea eax, [esp + 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x800
push str.slow_send_message:__s___s___d_ms_cost
lea eax, [esp + 0xd4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrNCatW]
call fcn.00421409
add eax, 8
push eax
lea ecx, [esp + 0x7c]
call fcn.00402eac
push dword [esp + 0x14]
lea ecx, [esp + 0x40]
mov byte [esp + 0x10e4], 3
call fcn.00402eac
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0x10e4], 4
call fcn.004011c2
pop ecx
mov esi, eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x98]
mov byte [esp + 0x10e4], 5
call fcn.004011c2
pop ecx
mov byte [esp + 0x10e0], 6
cmp dword [esi + 0x18], 8
jb 0x420dfe
mov esi, dword [esi + 4]
jmp 0x420e01
add esi, 4
cmp dword [eax + 0x18], 8
jb 0x420e0c
mov eax, dword [eax + 4]
jmp 0x420e0f
add eax, 4
push edi
push esi
push eax
push 0x130
push str...commonpphost.cpp
lea eax, [esp + 0xe0]
push eax
push ebx
call sym.poda32.exe_E7248973
add esp, 0x1c
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0x9c]
call fcn.0040189d
push ebx
push edi
lea esi, [esp + 0xb8]
call fcn.0040189d
push ebx
push edi
lea ecx, [esp + 0x44]
call fcn.004017a5
push ebx
push edi
lea ecx, [esp + 0x80]
call fcn.004017a5
or dword [esp + 0x10e0], 0xffffffff
lea eax, [esp + 0x58]
push eax
call fcn.00421010
mov eax, dword [esp + 0x20]
jmp 0x420ca7