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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43ebb7
mov eax, dword fs:[0]
push eax
sub esp, 0x8c8
mov eax, dword [0x44d060]
xor eax, esp
mov dword [esp + 0x8c0], eax
push ebx
push esi
push edi
mov eax, dword [0x44d060]
xor eax, esp
push eax
lea eax, [esp + 0x8d8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ecx
cmp eax, ebx
je 0x41d543
lea eax, [esp + 0x50]
push eax
call fcn.0041daa3
mov edi, 0x450980
mov dword [esp + 0x8e0], ebx
push edi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [esp + 0x50]
mov byte [esp + 0x8e0], 1
call fcn.0041d569
push edi
mov byte [esp + 0x8e4], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push str.dispatched_message
lea ecx, [esp + 0x74]
call fcn.0040215b
push dword [esp + 0x18]
mov byte [esp + 0x8e4], 2
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0041955e
add esp, 0xc
push str._to:
push eax
lea eax, [esp + 0xb8]
push eax
mov byte [esp + 0x8ec], 3
call fcn.0041955e
add esp, 0xc
push ebx
push 1
lea ecx, [esp + 0x3c]
call fcn.00402606
push ebx
push 1
lea ecx, [esp + 0x78]
call fcn.00402606
push ebx
lea ecx, [esp + 0x98]
mov dword [esp + 0xb0], 0xf
call fcn.00402b75
mov byte [esp + 0x8e0], 7
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x50]
lea edi, [esp + 0x20]
lea esi, [esp + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
call fcn.00407e1b
test al, al
jne 0x41d494
push dword [esp + 0x18]
lea ecx, [esp + 0x38]
call fcn.0040215b
lea esi, [esp + 0x10]
mov byte [esp + 0x8e0], 8
call fcn.0040771d
mov ecx, dword [eax + 0x124]
add eax, 0x10c
mov eax, dword [eax]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
call fcn.0040771d
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x90]
push ecx
lea ebx, [eax + 0x10c]
call fcn.00407691
lea edi, [esp + 0x2c]
mov esi, eax
call fcn.00407e1b
mov bl, al
neg bl
push 0
sbb bl, bl
push 1
lea ecx, [esp + 0x3c]
inc bl
mov byte [esp + 0x8e8], 7
call fcn.00402606
test bl, bl
je 0x41d478
lea esi, [esp + 0x10]
call fcn.0040771d
add eax, 8
push eax
lea eax, [esp + 0x98]
push eax
call fcn.00414256
push 0x444250
lea eax, [esp + 0x98]
push eax
call fcn.00414256
call fcn.0040771d
sub esp, 0x128
add eax, 4
mov ebx, esp
mov dword [esp + 0x144], esp
call fcn.0041d598
mov edi, dword [esp + 0x140]
push 1
call fcn.0041d153
add esp, 0x12c
call fcn.0040771d
push dword [esp + 0x28]
push edi
call dword [eax + 4]
push eax
call fcn.00408c50
call fcn.0040771d
sub esp, 0x128
add eax, 4
mov ebx, esp
mov dword [esp + 0x144], esp
call fcn.0041d598
push 0
call fcn.0041d153
add esp, 0x12c
lea esi, [esp + 0x10]
call fcn.0041dfad
lea edi, [esp + 0x20]
call fcn.00407e1b
test al, al
je 0x41d360
xor ebx, ebx
cmp dword [esp + 0xa8], ebx
jbe 0x41d513
push str.__s._d_
lea eax, [esp + 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0041c02e
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x41d4d8
mov eax, dword [eax + 4]
jmp 0x41d4db
add eax, 4
push 0x800
push eax
lea eax, [esp + 0xd4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrNCatA]
push ebx
push 1
lea ecx, [esp + 0x78]
call fcn.00402606
push 0x76
push str...commonpphost.cpp
lea eax, [esp + 0xd4]
push eax
push ebx
call sym.poda32.exe_E7248970
add esp, 0x10
push ebx
push 1
lea ecx, [esp + 0x9c]
call fcn.00402606
push ebx
push 1
lea ecx, [esp + 0xb8]
call fcn.00402606
or dword [esp + 0x8e0], 0xffffffff
lea eax, [esp + 0x50]
push eax
call fcn.0041dbb4
mov ecx, dword [esp + 0x8d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8c0]
xor ecx, esp
call fcn.004241ea
mov esp, ebp
pop ebp
ret 4