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

Disassembly:
sub esp, 0x1f4
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x1f0], eax
mov eax, dword [esp + 0x1f8]
push ebx
push ebp
mov ebp, dword [esp + 0x204]
push 0
push eax
mov dword [esp + 0x18], ebp
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0x4388f0
mov ebx, eax
mov dword [0x464e80], 1
push ebp
mov dword [esp + 0x1c], ebx
call dword [sym.imp.GDI32.dll_SetAbortProc]
push 0
push 0x438970
push dword [0x464d0c]
push 0xe0
push dword [0x464d08]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
add ebx, 0x148
mov dword [0x464e84], eax
push ebx
push 0x898
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0
push dword [0x464d0c]
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
lea eax, [esp + 0xe4]
mov dword [esp + 0x4c], 0x14
push 0x458038
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [esp + 0x50], 0
lea eax, [esp + 0xe0]
mov dword [esp + 0x54], 0
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x58], 0
push eax
push ebp
call dword [sym.imp.GDI32.dll_StartDocA]
test eax, eax
jg 0x438cdc
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1f0]
xor ecx, esp
call fcn.0043fe9e
add esp, 0x1f4
ret
push esi
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push edi
push 8
push ebp
call esi
push 0xa
push ebp
mov dword [esp + 0x34], eax
call esi
push 0x58
push ebp
mov dword [esp + 0x30], eax
call esi
push 0x5a
push ebp
call esi
mov ecx, dword [0x469fe8]
xor edi, edi
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edi
test ecx, ecx
je 0x438e5b
cmp ecx, 0xffffffff
jne 0x438d9e
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xac]
push eax
call fcn.00403ac0
mov ecx, dword [esp + 0xac]
test ecx, ecx
je 0x438e5b
mov eax, dword [esp + 0xb0]
test eax, eax
jne 0x438d58
mov dword [esp + 0x14], 0x64
jmp 0x438d65
imul eax, eax, 0xc8
cdq
idiv ecx
mov dword [esp + 0x14], eax
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0x5a
push edi
call esi
mov ecx, dword [esp + 0xac]
mov esi, eax
push edi
push 0
lea eax, [ecx + ecx*8]
shl eax, 3
cdq
idiv esi
mov dword [esp + 0xb4], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x14]
xor edi, edi
jmp 0x438dec
movups xmm0, xmmword [0x469fe8]
mov eax, dword [0x46a020]
mov ecx, dword [esp + 0x10]
movups xmmword [esp + 0xac], xmm0
mov dword [esp + 0xe4], eax
movups xmm0, xmmword [0x469ff8]
movups xmmword [esp + 0xbc], xmm0
movups xmm0, xmmword [0x46a008]
movups xmmword [esp + 0xcc], xmm0
movq xmm0, qword [0x46a018]
movq qword [esp + 0xdc], xmm0
mov edx, dword [esp + 0xac]
test edx, edx
je 0x438e5b
imul edx, dword [esp + 0x24]
mov eax, 0x38e38e39
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0xac], eax
cmp ecx, 0x64
je 0x438e36
imul ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0xb0], eax
jmp 0x438e41
mov dword [esp + 0xb0], 0
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov edi, eax
push edi
push ebp
mov dword [esp + 0x28], edi
call ebx
jmp 0x438e5f
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x46a250
mov dword [esp + 0x3c], eax
call esi
test eax, eax
je 0x438ec2
push 0x46a250
call esi
mov esi, dword [esp + 0x28]
mov ecx, eax
cmp dword [esp + 0x2c], esi
mov eax, esi
push 0x458048
cmovl eax, dword [esp + 0x30]
cdq
idiv ecx
push 0x12
push 1
push 2
push 3
push 0x81
push 0
push 0
push 0
push 0x2bc
push 0
push 0x258
push 0
push eax
mov dword [esp + 0x7c], eax
call dword [sym.imp.GDI32.dll_CreateFontA]
jmp 0x438ed2
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov ecx, esi
mov eax, dword [0x46a034]
mov edx, dword [esp + 0x24]
dec eax
neg eax
movsd xmm1, qword [str.ffffff9_ffffff9]
mov dword [esp + 0x6c], ebp
sbb eax, eax
mov dword [esp + 0x70], edx
neg eax
dec eax
mov dword [esp + 0x84], eax
mov eax, dword [0x46a038]
mov dword [esp + 0x88], eax
mov eax, dword [0x46a03c]
mov dword [esp + 0x8c], eax
mov eax, dword [0x46a030]
imul eax, edx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
cvttsd2si eax, xmm0
sub ecx, eax
mov eax, dword [0x46a02c]
imul eax, edx
push ecx
mov ecx, dword [esp + 0x30]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
cvttsd2si eax, xmm0
sub ecx, eax
mov eax, dword [0x46a028]
imul eax, edx
push ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
cvttsd2si eax, xmm0
push eax
mov eax, dword [0x46a024]
imul eax, edx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
cvttsd2si eax, xmm0
push eax
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x6c]
push eax
call fcn.004022d0
cmp dword [esp + 0x214], 1
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x34], 1
jl 0x4392a8
mov edx, dword [esp + 0x21c]
mov eax, 1
mov ecx, dword [esp + 0x210]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x218]
mov dword [esp + 0x30], edi
cmp edi, edx
jg 0x43928c
nop word [eax + eax]
mov dword [esp + 0x10], 1
cmp ecx, 1
jl 0x439277
push ebp
call dword [sym.imp.GDI32.dll_StartPage]
test eax, eax
jle 0x43929e
cmp dword [0x46a040], 0
je 0x439027
cmp dword [esp + 0x20], 0
je 0x439027
push dword [esp + 0x38]
push ebp
call ebx
movd xmm1, dword [esp + 0x24]
xor eax, eax
cvtdq2pd xmm1, xmm1
mov dword [esp + 0x40], eax
movsd qword [esp + 0x48], xmm1
nop dword [eax]
test eax, eax
jne 0x4390a8
movd xmm0, dword [0x46a248]
lea eax, [esp + 0x64]
cvtdq2pd xmm0, xmm0
mov ebp, dword [esp + 0x78]
push eax
push 2
push 0x458050
push dword [esp + 0x24]
divsd xmm0, qword [0x454fd0]
mulsd xmm0, xmm1
divsd xmm0, qword [str.ffffff9_ffffff9]
cvttsd2si esi, xmm0
sub ebp, esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
movsd xmm0, qword [esp + 0x48]
mov ebx, ebp
divsd xmm0, qword [str.ffffff9_ffffff9]
mov dword [esp + 0x3c], 0x46a048
cvttsd2si eax, xmm0
sub ebx, eax
sub ebx, dword [esp + 0x68]
jmp 0x4390f0
movd xmm0, dword [0x46a24c]
cvtdq2pd xmm0, xmm0
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x3c], 0x46a148
divsd xmm0, qword [0x454fd0]
mulsd xmm0, xmm1
divsd xmm0, qword [str.ffffff9_ffffff9]
cvttsd2si esi, xmm0
movaps xmm0, xmm1
divsd xmm0, qword [0x4580a8]
add ebp, esi
mov ebx, ebp
cvttsd2si eax, xmm0
sub ebx, eax
test esi, esi
je 0x439147
push 0
push esi
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov edi, eax
push edi
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
push ebp
push dword [esp + 0x7c]
mov esi, eax
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_MoveToEx]
push ebp
push dword [esp + 0x80]
mov ebp, dword [esp + 0x20]
push ebp
call dword [sym.imp.GDI32.dll_LineTo]
push esi
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [esp + 0x30]
jmp 0x43914b
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push ebx
push edi
add eax, 0x148
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x4c]
call fcn.00439330
mov eax, dword [esp + 0x54]
add esp, 0x14
movsd xmm1, qword [esp + 0x48]
inc eax
mov dword [esp + 0x40], eax
cmp eax, 1
jle 0x439040
cmp dword [0x46a040], 0
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
je 0x43919b
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43919b
push eax
push ebp
call ebx
push 0x46a250
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x439223
push dword [esp + 0x14]
push ebp
call ebx
push 0xc8c8c8
push ebp
mov ebx, eax
call dword [sym.imp.GDI32.dll_SetTextColor]
push 6
push ebp
mov edi, eax
call dword [sym.imp.GDI32.dll_SetTextAlign]
push 0x46a250
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, dword [esp + 0x48]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x2c]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
push 0x46a250
push eax
mov eax, dword [esp + 0x38]
cdq
sub eax, edx
sar eax, 1
push eax
push ebp
call dword [sym.imp.GDI32.dll_TextOutA]
push edi
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
push esi
push ebp
call dword [sym.imp.GDI32.dll_SetTextAlign]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call ebx
mov edi, dword [esp + 0x30]
push dword [esp + 0xa0]
push edi
push 0x401
push dword [0x464e84]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x6c]
push edi
push eax
call fcn.004050a0
push ebp
mov esi, eax
call dword [sym.imp.GDI32.dll_EndPage]
test eax, eax
jle 0x43929e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x210]
inc eax
mov dword [esp + 0x10], eax
cmp eax, ecx
jle 0x439001
mov edx, dword [esp + 0x21c]
test esi, esi
jne 0x439288
inc edi
mov dword [esp + 0x30], edi
cmp edi, edx
jle 0x438ff0
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x214]
jle 0x438fd3
mov edi, dword [esp + 0x20]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push ebp
call dword [sym.imp.GDI32.dll_EndDoc]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x6c]
push eax
call fcn.00403860
test edi, edi
je 0x4392cb
push dword [esp + 0x38]
push ebp
call ebx
push edi
call esi
push 0x46a250
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x4392e0
push dword [esp + 0x14]
call esi
cmp dword [0x464e80], 1
pop edi
pop esi
jne 0x43930f
push 1
push dword [0x464d0c]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [0x464e84]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x464e84], 0
mov ecx, dword [esp + 0x1f8]
mov eax, 1
pop ebp
pop ebx
xor ecx, esp
call fcn.0043fe9e
add esp, 0x1f4
ret