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

Disassembly:
sub esp, 0x60
mov eax, dword [0x514d34]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [0x50d248]
push ebx
push ebp
mov ebx, ecx
mov eax, dword [eax]
push esi
push edi
mov dword [ebx + 0x38], eax
call fcn.00419855
mov eax, dword [esp + 0x74]
xor ecx, ecx
mov dword [ebx + 0xa3], eax
mov eax, dword [esp + 0x78]
mov dword [ebx + 0xa7], eax
mov eax, dword [esp + 0x7c]
mov dword [ebx + 0xab], eax
mov eax, dword [esp + 0x80]
mov dword [ebx + 0xaf], eax
mov ax, word [esp + 0x84]
mov word [ebx + 0xb3], ax
xor eax, eax
mov dword [ebx + 0xb5], ecx
mov byte [ebx + 0xc1], cl
mov dword [ebx + 0x5e0], eax
mov ax, word [esp + 0x88]
mov word [ebx + 0x666], ax
xor eax, eax
mov dword [ebx + 0x5da], ecx
mov dword [ebx + 0xbd], ecx
mov word [ebx + 0x664], ax
mov dword [ebx + 0x674], ecx
cmp word [0x532764], ax
jne 0x419978
call fcn.00419d32
push 0x419c94
call fcn.004108fd
xor eax, eax
inc eax
pop ecx
mov word [0x532764], ax
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebx + 0x38]
push dword [eax]
call edi
mov edx, dword [ebx + 0x38]
xor ebp, ebp
mov eax, dword [0x50d254]
mov ecx, dword [esp + 0x1c]
push ebp
movzx esi, byte [edx + 0x24]
push dword [eax]
movzx eax, byte [edx + 0x25]
push ebp
push dword [edx]
sub ecx, eax
movzx eax, word [edx + 0x22]
sub ecx, eax
sub ecx, esi
push ecx
push dword [esp + 0x2c]
push esi
push ebp
push 0x50000000
push str.Axis_Diplomat_Report_Preview
push str.LXPREP
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebx + 0x34], eax
test eax, eax
jne 0x4199e8
push str.Error_Creating_Preview_Window
call fcn.00413845
pop ecx
jmp 0x419b61
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call esi
mov ebp, dword [sym.imp.USER32.dll_GetWindowPlacement]
lea eax, [ebx + 8]
push eax
mov eax, dword [0x50d234]
push dword [eax]
call ebp
mov eax, dword [0x50d248]
push 0xfffffffffffffff0
mov eax, dword [eax]
or dword [eax + 0x26], 0x50000
mov eax, dword [0x50d234]
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebx + 4], eax
or eax, 0x50000
push eax
mov eax, dword [0x50d234]
push 0xfffffffffffffff0
push dword [eax]
call dword [sym.imp.USER32.dll_SetWindowLongA]
xor eax, eax
cmp word [ebx + 0xb3], ax
je 0x419a64
call fcn.00413eb6
push 0x533d68
call fcn.0042c5fb
mov dword [esp], 0x533d68
call fcn.0042c7f7
pop ecx
jmp 0x419a73
call fcn.00413f9b
call fcn.00413eb6
call fcn.00462130
mov eax, dword [0x533e04]
mov dword [ebx], eax
test eax, eax
je 0x419a90
mov ecx, dword [eax + 0x1e]
mov eax, dword [0x50d234]
cmp ecx, dword [eax]
je 0x419a90
xor eax, eax
push eax
push ecx
call esi
lea eax, [esp + 0x20]
mov dword [0x533e04], 0x533d68
push eax
mov eax, dword [ebx + 0x38]
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x30]
push eax
push dword [ebx + 0x34]
call edi
imul edx, dword [ebx + 0xa3], 6
mov eax, dword [esp + 0x28]
mov ecx, dword [ebx + 0xa7]
add eax, 0x14
shl ecx, 3
sub ecx, dword [esp + 0x3c]
sub edx, dword [esp + 0x38]
sub edx, dword [esp + 0x20]
add edx, dword [esp + 0x30]
sub ecx, dword [esp + 0x24]
add edx, eax
mov eax, dword [esp + 0x2c]
add ecx, dword [esp + 0x34]
add eax, 0x14
push edx
add eax, ecx
mov dword [esp + 0x2c], edx
push str.repwidth
mov dword [esp + 0x34], eax
call fcn.00412e34
push dword [esp + 0x34]
movzx eax, ax
push str.repheight
mov dword [esp + 0x38], eax
call fcn.00412e34
movzx ecx, ax
add esp, 0x10
mov eax, dword [esp + 0x20]
add dword [esp + 0x28], eax
lea eax, [esp + 0x40]
add ecx, dword [esp + 0x24]
push eax
mov eax, dword [0x50d234]
mov dword [esp + 0x30], ecx
push dword [eax]
call ebp
lea esi, [esp + 0x20]
lea edi, [esp + 0x5c]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x40]
push eax
mov eax, dword [0x50d234]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_SetWindowPlacement]
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00441a5e
add esp, 0x60
ret 0x18