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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48654b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x10c4
call fcn.0044f6d0
mov eax, dword [0x4a3070]
xor eax, esp
mov dword [esp + 0x10c0], eax
push ebx
push esi
push edi
mov eax, dword [0x4a3070]
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 0x4385c3
push 0xffffffffffffffff
push dword [0x4b7f3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x58]
push eax
call fcn.00438820
and dword [esp + 0x10e0], 0
mov edi, 0x4b755c
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.00437978
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 0x43859c
push dword [esp + 0x14]
lea ecx, [esp + 0x40]
call fcn.0040344e
lea esi, [esp + 0x18]
mov byte [esp + 0x10e0], 2
call fcn.0040f788
mov ecx, dword [eax + 0x124]
add eax, 0x10c
mov eax, dword [eax]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
call fcn.0040f788
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x38]
push ecx
lea ebx, [eax + 0x10c]
call fcn.0042398d
lea edi, [esp + 0x2c]
mov esi, eax
call fcn.00435277
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.00403c15
lea esi, [esp + 0x18]
test bl, bl
jne 0x4385eb
call fcn.00438d2a
lea edi, [esp + 0x24]
lea esi, [esp + 0x18]
call fcn.00435277
test al, al
je 0x43851a
or dword [esp + 0x10e0], 0xffffffff
lea eax, [esp + 0x58]
push eax
call fcn.00438931
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.0044302b
mov esp, ebp
pop ebp
ret 8
call fcn.0040f788
sub esp, 0x128
add eax, 4
mov ebx, esp
mov dword [esp + 0x14c], esp
call fcn.004379a7
mov ecx, dword [esp + 0x13c]
push 1
call fcn.00437497
add esp, 0x12c
call fcn.0041c82a
lea esi, [esp + 0x18]
mov ebx, eax
mov dword [esp + 0x38], edx
call fcn.0040f788
push dword [esp + 0x20]
push dword [esp + 0x18]
call dword [eax + 4]
mov dword [esp + 0x20], eax
call fcn.0041c82a
mov edi, eax
sub edi, ebx
call fcn.0040f788
sub esp, 0x128
add eax, 4
mov ebx, esp
mov dword [esp + 0x14c], esp
call fcn.004379a7
mov ecx, dword [esp + 0x13c]
xor ebx, ebx
push ebx
call fcn.00437497
add esp, 0x12c
cmp edi, 0x64
jbe 0x438786
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.0040f788
add eax, 8
push eax
lea ecx, [esp + 0x7c]
call fcn.0040344e
push dword [esp + 0x14]
lea ecx, [esp + 0x40]
mov byte [esp + 0x10e4], 3
call fcn.0040344e
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0xb4]
push eax
mov byte [esp + 0x10e8], 4
call fcn.0040121b
mov esi, eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0xa0]
push eax
mov byte [esp + 0x10f0], 5
call fcn.0040121b
add esp, 0x10
mov byte [esp + 0x10e0], 6
cmp dword [esi + 0x18], 8
jb 0x43871f
mov esi, dword [esi + 4]
jmp 0x438722
add esi, 4
cmp dword [eax + 0x18], 8
jb 0x43872d
mov eax, dword [eax + 4]
jmp 0x438730
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.gxbus32.exe_E7248973
add esp, 0x1c
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0x9c]
call fcn.00403d0d
push ebx
push edi
lea esi, [esp + 0xb8]
call fcn.00403d0d
push ebx
push edi
lea ecx, [esp + 0x44]
call fcn.00403c15
push ebx
push edi
lea ecx, [esp + 0x80]
call fcn.00403c15
or dword [esp + 0x10e0], 0xffffffff
lea eax, [esp + 0x58]
push eax
call fcn.00438931
mov eax, dword [esp + 0x20]
jmp 0x4385c5