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

Disassembly:
sub esp, 0xca8
push ebx
push ebp
push esi
push edi
push 0xdc
push 0x40
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0xdc
mov edi, eax
push 0
push edi
call fcn.004263e0
add esp, 0xc
push 0x42
lea eax, [esp + 0x64]
push 0
mov ebx, 1
push eax
mov word [edi + 0x44], 0xdc
mov dword [edi + 0x48], ebx
mov word [edi + 0x4c], 2
call fcn.004263e0
mov ecx, dword [esi + 0x82d28]
add esp, 0xc
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x64], 0x42
mov dword [esp + 0x68], ecx
mov dword [esp + 0x78], 0x140
mov dword [esp + 0x6c], edi
call dword [sym.imp.comdlg32.dll_PrintDlgW]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edi, dword [esp + 0x70]
mov ebp, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 8
push edi
mov dword [esi + 0x4b8], ebx
call ebp
mov ebx, eax
push 0xa
sub ebx, 1
push edi
mov dword [esp + 0x38], ebx
call ebp
sub eax, 1
cmp ebx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
jg 0x4196fc
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
jl 0x419700
mov dword [esp + 0x14], eax
mov eax, 0x4bda12f7
imul dword [esp + 0x18]
push str.Segoe_UI
push 0
push 2
sar edx, 5
mov ebp, dword [sym.imp.GDI32.dll_CreateFontW]
push 0
mov ebx, edx
push 0
shr ebx, 0x1f
add ebx, edx
push 0
mov eax, 0x66666667
imul dword [esp + 0x2c]
push 0
push 0
push 0
push 0x12c
sar edx, 6
push 0
mov eax, edx
shr eax, 0x1f
push 0
add eax, edx
push eax
push ebx
call ebp
push str.Segoe_UI
push 0
push 2
push 0
push 0
mov dword [esp + 0x48], eax
push 0xcc
push 0
mov eax, 0x66666667
imul dword [esp + 0x34]
push 0
push 0
push 0x1f4
sar edx, 5
push 0
mov ecx, edx
push 0
shr ecx, 0x1f
push 0
add ecx, edx
push ecx
call ebp
push str.Segoe_UI
push 0
push 2
push 0
push 0
push 0xcc
push 0
push 0
push 0
push 0x1f4
push 0
push 0
push 0
push ebx
mov dword [esp + 0x5c], eax
call ebp
push str.Segoe_UI
push 0
push 2
push 0
push 0
push 0xcc
push 0
push 0
push 0
push 0x1f4
push 0
push 0x384
mov dword [esp + 0x58], eax
push 0
mov eax, 0x88888889
mov ecx, dword [esp + 0x48]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call ebp
push 0x808080
push 0
push 0
mov dword [esp + 0x38], eax
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [esp + 0x14], eax
lea eax, [esi + 0x82508]
push 0x400
push eax
lea ecx, [esp + 0x4c0]
push ecx
call fcn.00423ce0
xor ebp, ebp
add esp, 0xc
cmp dword [esi + 0x82908], ebp
jle 0x4198c6
mov ebx, dword [esp + 0x18]
mov eax, 0x1b4e81b5
imul ebx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x1b4e81b5
imul ebx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
lea ebx, [esi + 0x84590]
jmp 0x419874
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx]
push edx
push ecx
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov edx, dword [ebx + 0x400]
imul edx, dword [esp + 0x20]
mov ecx, dword [ebx]
push ecx
mov dword [esp + ebp*4 + 0xbc], eax
mov eax, dword [ebx - 0x2088]
push edx
push 0
mov dword [esp + ebp*4 + 0x4c4], eax
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [esp + ebp*4 + 0x8b8], eax
mov dword [ebx - 0x2088], eax
add ebp, 1
add ebx, 4
cmp ebp, dword [esi + 0x82908]
jl 0x419870
mov eax, dword [esp + 0x14]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
call ebx
mov ebp, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xffffff
call ebp
push 0x808080
mov dword [esp + 0x1c], eax
call ebp
mov ecx, dword [esp + 0x18]
push ecx
push edi
mov dword [esp + 0x50], eax
call ebx
mov edx, dword [esp + 0x34]
push edx
push edi
call ebx
push 0
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
xor eax, eax
push 1
push edi
mov dword [esp + 0x54], 0x14
mov dword [esp + 0x58], 0x443478
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
lea eax, [esp + 0x4c]
push eax
push edi
call dword [sym.imp.GDI32.dll_StartDocW]
test eax, eax
je 0x419c38
push edi
call dword [sym.imp.GDI32.dll_StartPage]
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x1c]
cmp ecx, ebp
jle 0x4199a0
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x66666667
imul ebp
sar edx, 2
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov eax, 0x88888889
imul dword [esp + 0x1c]
add edx, dword [esp + 0x1c]
sub ecx, ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x1c]
sub eax, edx
jmp 0x4199df
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x88888889
imul ebp
add edx, ebp
sar edx, 4
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, dword [esp + 0x1c]
sub eax, ebp
push eax
push ecx
push ebp
push ebx
push edi
mov dword [0x44f43c], eax
mov dword [0x44f438], ecx
mov dword [0x44f434], ebp
mov dword [0x44f430], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
call dword [sym.imp.GDI32.dll_Rectangle]
mov ecx, dword [esp + 0x24]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea edx, [esi + 0x10]
push edx
push 1
push 0x443474
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push 7
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp dword [esi + 0x4b0], 0
je 0x419a49
mov ebx, dword [esi + 0x14]
neg ebx
add ebx, ebx
jmp 0x419a4d
mov ebx, eax
neg ebx
cmp dword [esi + 0x4a8], 0
je 0x419a5b
mov edx, dword [esi + 0x14]
jmp 0x419a5d
mov edx, eax
neg edx
cmp dword [esi + 0x4ac], 0
je 0x419a6d
mov ecx, dword [esi + 0x14]
jmp 0x419a6f
mov ecx, eax
cmp dword [esi + 0x4a4], 0
je 0x419a7b
mov eax, dword [esi + 0x14]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0xa8], eax
add eax, ebp
mov ebp, dword [esp + 0x3c]
add ecx, ebp
mov ebp, dword [esp + 0x40]
add edx, ebp
mov ebp, dword [esp + 0x44]
add ebx, ebp
mov ebp, dword [esp + 0x14]
mov dword [esi + 0x824f8], eax
mov dword [esi + 0x824fc], ecx
mov dword [esi + 0x82500], edx
push ebp
mov dword [0x44f43c], ebx
mov dword [esi + 0x82504], ebx
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push edi
mov dword [0x44f430], eax
mov dword [0x44f434], ecx
mov dword [0x44f438], edx
call ebx
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], eax
jge 0x419ae9
mov ecx, dword [esp + 0x28]
push ecx
push edi
call ebx
mov edx, dword [esp + 0xcbc]
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419af5
mov ecx, dword [esi + 0x14]
sub eax, ebx
sar eax, 1
push eax
push edx
add ecx, ecx
add ecx, ecx
mov eax, 0x66666667
imul ecx
mov ecx, dword [esi + 0x824f8]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [esi + 0x82504]
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_TextOutW]
mov ebx, dword [esp + 0x24]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi + 0x824f8]
mov ecx, dword [esi + 0x824fc]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esi + 0x82500]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x82504]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
push esi
mov eax, ebp
call fcn.00418b80
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esi + 0x824f8]
mov edx, dword [esi]
mov edx, dword [edx + 8]
push 0
push ebp
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0x824fc]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x82500]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x82504]
mov dword [eax + 0xc], ecx
push edi
mov ecx, esi
call edx
test eax, eax
jne 0x419bde
mov ecx, dword [esi + 0x824f8]
mov edx, dword [esi + 0x824fc]
push ebp
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0x82500]
mov dword [eax + 4], edx
mov edx, dword [esi + 0x82504]
mov dword [eax + 8], ecx
push edi
mov ebx, esi
mov dword [eax + 0xc], edx
call fcn.00418d10
mov ecx, dword [esi + 0x824f8]
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0xb8]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0x824fc]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x82500]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x82504]
mov dword [eax + 0xc], ecx
push edi
mov ecx, esi
call edx
test eax, eax
jne 0x419c2a
lea eax, [esp + 0xb8]
push eax
push edi
call fcn.00418f80
push edi
call dword [sym.imp.GDI32.dll_EndPage]
push edi
call dword [sym.imp.GDI32.dll_EndDoc]
mov ecx, dword [esp + 0x14]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push ecx
call ebx
push 0x400
lea edx, [esp + 0x4bc]
push edx
lea eax, [esi + 0x82508]
push eax
call fcn.00423ce0
mov ebp, dword [esi + 0x82908]
add esp, 0xc
sub ebp, 1
js 0x419cad
lea eax, [esi + ebp*4 + 0x82508]
mov dword [esp + 0x14], eax
jmp 0x419c80
mov ecx, dword [esp + ebp*4 + 0xb8]
push ecx
call ebx
mov ecx, dword [esp + ebp*4 + 0x8b8]
mov edx, dword [esp + ebp*4 + 0x4b8]
mov eax, dword [esp + 0x14]
push ecx
mov dword [eax], edx
call ebx
sub dword [esp + 0x14], 4
sub ebp, 1
test ebp, ebp
jge 0x419c80
mov edx, dword [esp + 0x18]
push edx
call ebx
mov eax, dword [esp + 0x48]
push eax
call ebx
mov ecx, dword [esp + 0x34]
push ecx
call ebx
mov edx, dword [esp + 0x24]
push edx
call ebx
mov eax, dword [esp + 0x28]
push eax
call ebx
mov ecx, dword [esp + 0x2c]
push ecx
call ebx
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
mov dword [esi + 0x4b8], 0
pop esi
pop ebp
pop ebx
add esp, 0xca8
ret 4