Function at 0x414020
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
cmp dword [ebp + 8], 0
jne 0x414034
jmp 0x4142b3
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x108], 0
je 0x414064
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x108]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x108], 0
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x104], 0
je 0x41407e
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x104]
call fcn.00419580
push str.recv_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x420000
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0xf0], 0
jge 0x4140af
jmp 0x4142b3
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0xf4]
test edx, edx
jne 0x4140e3
push 0x420004
mov eax, dword [ebp + 8]
push eax
call fcn.00401120
add esp, 8
test eax, eax
je 0x4140de
mov ecx, dword [ebp - 0x20]
mov byte [ecx + 0xf4], 1
jmp 0x4140e3
jmp 0x4142b3
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0xf0]
mov ecx, dword [ebp - 0x20]
lea edx, [ecx + eax*4 + 0xdc]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.00413f30
mov ecx, dword [ebp - 8]
call fcn.00401660
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
push str._PJL_INFO_ID
mov ecx, dword [ebp - 4]
push ecx
call int.00401e80
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4141d3
mov edx, dword [ebp - 0xc]
push edx
call fcn.00413920
add esp, 4
mov dword [ebp - 0xc], eax
push 0x22
mov eax, dword [ebp - 0xc]
push eax
call fcn.004026e0
add esp, 8
add eax, 1
mov dword [ebp - 0x14], eax
push 0x22
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004026e0
add esp, 8
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
push str.FS_1100
mov eax, dword [ebp - 0x14]
push eax
call fcn.00402c83
add esp, 0xc
test eax, eax
je 0x4141b7
mov ecx, dword [ebp - 0x10]
push ecx
push str.LP_3128_LP_4128
mov edx, dword [ebp - 0x14]
push edx
call fcn.00402c83
add esp, 0xc
test eax, eax
je 0x4141b7
mov eax, dword [ebp - 0x10]
push eax
push str.PG_L2028
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00402c83
add esp, 0xc
test eax, eax
jne 0x4141c6
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x134], 2
jmp 0x4141d3
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x134], 1
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x144], 0
jne 0x414211
push str.IN_TRAYS__
mov edx, dword [ebp - 4]
push edx
call fcn.004139f0
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x414211
mov eax, dword [ebp - 0xc]
push eax
call fcn.004027b4
add esp, 4
sub eax, 1
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x144], eax
push str._PJL_INFO_PAGECOUNT
mov edx, dword [ebp - 4]
push edx
call fcn.004139f0
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4142b3
push 0xc
mov eax, dword [ebp - 0xc]
push eax
call fcn.004026e0
add esp, 8
test eax, eax
je 0x4142b3
mov dword [ebp - 0x18], 0
jmp 0x414253
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
cmp eax, dword [edx + 0xd4]
jge 0x414296
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + ecx*4 + 0xc]
call fcn.00401620
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x414294
push 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0xf0]
push ecx
push 0x402
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x41424a
mov ecx, dword [ebp - 0x20]
call fcn.00413be0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0xf0], 0xffffffff
mov ecx, dword [ebp - 0x20]
call fcn.00413c90
mov esp, ebp
pop ebp
ret 4