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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441372
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x10c4
call fcn.00432340
mov eax, dword [0x451070]
xor eax, esp
mov dword [esp + 0x10c0], eax
push ebx
push esi
push edi
mov eax, dword [0x451070]
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 0x42021d
push 0xffffffffffffffff
push dword [0x455a5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x58]
push eax
call fcn.00420474
and dword [esp + 0x10e0], 0
mov edi, 0x454b48
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.0041f6e2
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 0x4201f6
push dword [esp + 0x14]
lea ecx, [esp + 0x40]
call fcn.00402e7a
lea esi, [esp + 0x18]
mov byte [esp + 0x10e0], 2
call fcn.00406801
mov ecx, dword [eax + 0x124]
add eax, 0x10c
mov eax, dword [eax]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
call fcn.00406801
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x38]
push ecx
lea ebx, [eax + 0x10c]
call fcn.0040861b
lea edi, [esp + 0x2c]
mov esi, eax
call fcn.004032a9
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.00401773
lea esi, [esp + 0x18]
test bl, bl
jne 0x420245
call fcn.0042097e
lea edi, [esp + 0x24]
lea esi, [esp + 0x18]
call fcn.004032a9
test al, al
je 0x420174
or dword [esp + 0x10e0], 0xffffffff
lea eax, [esp + 0x58]
push eax
call fcn.00420585
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.00426962
mov esp, ebp
pop ebp
ret 8
call fcn.00406801
sub esp, 0x128
add eax, 4
mov ebx, esp
mov dword [esp + 0x14c], esp
call fcn.0041f711
mov ecx, dword [esp + 0x13c]
push 1
call fcn.0041f188
add esp, 0x12c
call fcn.0040bf74
lea esi, [esp + 0x18]
mov ebx, eax
mov dword [esp + 0x38], edx
call fcn.00406801
push dword [esp + 0x20]
push dword [esp + 0x18]
call dword [eax + 4]
mov dword [esp + 0x20], eax
call fcn.0040bf74
mov edi, eax
sub edi, ebx
call fcn.00406801
sub esp, 0x128
add eax, 4
mov ebx, esp
mov dword [esp + 0x14c], esp
call fcn.0041f711
mov ecx, dword [esp + 0x13c]
xor ebx, ebx
push ebx
call fcn.0041f188
add esp, 0x12c
cmp edi, 0x64
jbe 0x4203dd
push 0x445f64
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.00406801
add eax, 8
push eax
lea ecx, [esp + 0x7c]
call fcn.00402e7a
push dword [esp + 0x14]
lea ecx, [esp + 0x40]
mov byte [esp + 0x10e4], 3
call fcn.00402e7a
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 0x420376
mov esi, dword [esi + 4]
jmp 0x420379
add esi, 4
cmp dword [eax + 0x18], 8
jb 0x420384
mov eax, dword [eax + 4]
jmp 0x420387
add eax, 4
push edi
push esi
push eax
push 0x120
push 0x447ca0
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.0040186b
push ebx
push edi
lea esi, [esp + 0xb8]
call fcn.0040186b
push ebx
push edi
lea ecx, [esp + 0x44]
call fcn.00401773
push ebx
push edi
lea ecx, [esp + 0x80]
call fcn.00401773
or dword [esp + 0x10e0], 0xffffffff
lea eax, [esp + 0x58]
push eax
call fcn.00420585
mov eax, dword [esp + 0x20]
jmp 0x42021f