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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x443ec8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x10c4
call fcn.00434be0
mov eax, dword [0x454070]
xor eax, esp
mov dword [esp + 0x10c0], eax
push ebx
push esi
push edi
mov eax, dword [0x454070]
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 0x420409
push 0xffffffffffffffff
push dword [0x458a5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x58]
push eax
call fcn.00420663
and dword [esp + 0x10e0], 0
mov edi, 0x457b48
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.0041f8c9
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 0x4203e2
push dword [esp + 0x14]
lea ecx, [esp + 0x40]
call fcn.00402e17
lea esi, [esp + 0x18]
mov byte [esp + 0x10e0], 2
call fcn.0040dbba
mov ecx, dword [eax + 0x124]
add eax, 0x10c
mov eax, dword [eax]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
call fcn.0040dbba
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x38]
push ecx
lea ebx, [eax + 0x10c]
call fcn.00408642
lea edi, [esp + 0x2c]
mov esi, eax
call fcn.00420be0
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.00401730
lea esi, [esp + 0x18]
test bl, bl
jne 0x420431
call fcn.00420b87
lea edi, [esp + 0x24]
lea esi, [esp + 0x18]
call fcn.00420be0
test al, al
je 0x420360
or dword [esp + 0x10e0], 0xffffffff
lea eax, [esp + 0x58]
push eax
call fcn.00420774
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.004291e7
mov esp, ebp
pop ebp
ret 8
call fcn.0040dbba
sub esp, 0x128
add eax, 4
mov ebx, esp
mov dword [esp + 0x14c], esp
call fcn.0041f8f8
mov ecx, dword [esp + 0x13c]
push 1
call fcn.0041f36c
add esp, 0x12c
call fcn.0040bf2e
lea esi, [esp + 0x18]
mov ebx, eax
mov dword [esp + 0x38], edx
call fcn.0040dbba
push dword [esp + 0x20]
push dword [esp + 0x18]
call dword [eax + 4]
mov dword [esp + 0x20], eax
call fcn.0040bf2e
mov edi, eax
sub edi, ebx
call fcn.0040dbba
sub esp, 0x128
add eax, 4
mov ebx, esp
mov dword [esp + 0x14c], esp
call fcn.0041f8f8
mov ecx, dword [esp + 0x13c]
xor ebx, ebx
push ebx
call fcn.0041f36c
add esp, 0x12c
cmp edi, 0x64
jbe 0x4205c9
push 0x448fa4
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.0040dbba
add eax, 8
push eax
lea ecx, [esp + 0x7c]
call fcn.00402e17
push dword [esp + 0x14]
lea ecx, [esp + 0x40]
mov byte [esp + 0x10e4], 3
call fcn.00402e17
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0x10e4], 4
call fcn.0040117f
pop ecx
mov esi, eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x98]
mov byte [esp + 0x10e4], 5
call fcn.0040117f
pop ecx
mov byte [esp + 0x10e0], 6
cmp dword [esi + 0x18], 8
jb 0x420562
mov esi, dword [esi + 4]
jmp 0x420565
add esi, 4
cmp dword [eax + 0x18], 8
jb 0x420570
mov eax, dword [eax + 4]
jmp 0x420573
add eax, 4
push edi
push esi
push eax
push 0x130
push 0x44ae50
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.00401828
push ebx
push edi
lea esi, [esp + 0xb8]
call fcn.00401828
push ebx
push edi
lea ecx, [esp + 0x44]
call fcn.00401730
push ebx
push edi
lea ecx, [esp + 0x80]
call fcn.00401730
or dword [esp + 0x10e0], 0xffffffff
lea eax, [esp + 0x58]
push eax
call fcn.00420774
mov eax, dword [esp + 0x20]
jmp 0x42040b