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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x198
mov eax, dword [0x49f014]
xor eax, esp
mov dword [esp + 0x194], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0x2c], esi
cmp esi, dword [edi + 0x40]
jae 0x431037
push dword [edi + 0x12c]
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
push dword [edi + 0x48]
mov dword [esp + 0x30], eax
call eax
push 1
push 0x48765c
lea eax, [esp + 0x60]
push eax
lea ecx, [edi + 0x44]
call fcn.0045c4c0
mov eax, dword [esp + 0x58]
mov ecx, edi
mov dword [esp + 0x54], eax
lea eax, [esp + 0x70]
push eax
push 0x81
push esi
call fcn.0042ff60
push dword [edi + 0xb4]
mov eax, dword [sym.imp.GDI32.dll_SetBkColor]
push dword [edi + 0x48]
mov dword [esp + 0x50], eax
call eax
push 0
push 0
push 0
mov esi, eax
lea eax, [esp + 0x7c]
push eax
mov eax, dword [sym.imp.GDI32.dll_ExtTextOutW]
push 2
push 0
push 0
push dword [edi + 0x48]
mov dword [esp + 0x44], eax
call eax
push esi
push dword [edi + 0x48]
mov esi, dword [esp + 0x50]
call esi
lea eax, [esp + 0x70]
mov ecx, edi
push eax
push 0x88
push dword [esp + 0x34]
call fcn.0042ff60
push dword [edi + 0x134]
push dword [edi + 0x48]
call dword [esp + 0x30]
mov eax, dword [sym.imp.GDI32.dll_SetTextAlign]
push 2
push dword [edi + 0x48]
mov dword [esp + 0x58], eax
call eax
push dword [edi + 0xb0]
mov eax, dword [sym.imp.GDI32.dll_SetTextColor]
push dword [edi + 0x48]
mov dword [esp + 0x54], eax
call eax
push 1
push dword [edi + 0x48]
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [edi + 0xac]
push dword [edi + 0x48]
call esi
push 0
push 0
push 0
mov esi, eax
lea eax, [esp + 0x7c]
push eax
push 2
push 0
push 0
push dword [edi + 0x48]
call dword [esp + 0x44]
push esi
push dword [edi + 0x48]
call dword [esp + 0x50]
imul ecx, dword [esp + 0x2c], 0x2d0c8
mov esi, dword [edi + 0x3c]
add esi, ecx
mov dword [esp + 0x14], esi
cmp byte [esi + 0x15], 0
je 0x430bd4
lea eax, [edi + 0x1c8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x2d050]
test ecx, ecx
jne 0x43093a
mov dword [esi + 0x2d08c], ecx
or eax, 0xffffffff
jmp 0x430988
mov eax, dword [esi + 0x2d054]
test eax, eax
jne 0x43094b
mov eax, 0x13ff
jmp 0x43094c
dec eax
mov dword [esi + 0x2d058], eax
mov dword [esi + 0x2d08c], ecx
mov ecx, dword [esi + 0x2d058]
lea eax, [ecx + 5]
add eax, eax
movups xmm0, xmmword [esi + eax*8]
movups xmmword [esp + 0x60], xmm0
test ecx, ecx
jne 0x430977
mov ecx, 0x13ff
jmp 0x430978
dec ecx
mov dword [esi + 0x2d058], ecx
dec dword [esi + 0x2d08c]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x30], eax
lea eax, [edi + 0x1c8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x30], 0xffffffff
je 0x430bdc
cmp byte [esi + 0x14], 0
je 0x430a53
movsd xmm1, qword [esp + 0x68]
mov ecx, esi
call fcn.004338e0
test eax, eax
je 0x430bdc
lea ecx, [esp + 0x98]
mov dword [esp + 0x18], 0x40
movzx edx, word [eax]
test dx, dx
je 0x430a49
mov word [ecx], dx
lea esi, [ecx + 2]
movzx edx, word [eax + 2]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x14]
test dx, dx
je 0x430a45
mov esi, dword [esp + 0x10]
mov word [esi], dx
lea esi, [ecx + 4]
movzx edx, word [eax + 4]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x14]
test dx, dx
je 0x430a37
mov esi, dword [esp + 0x10]
add eax, 6
add ecx, 6
mov word [esi], dx
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
sub edx, 3
mov dword [esp + 0x18], edx
cmp edx, 1
ja 0x4309d2
xor eax, eax
mov word [ecx], ax
jmp 0x430aea
mov ecx, dword [esp + 0x10]
xor eax, eax
mov word [ecx], ax
jmp 0x430aea
mov ecx, dword [esp + 0x10]
xor eax, eax
mov word [ecx], ax
jmp 0x430aea
mov ecx, dword [esi + 0x20]
mov eax, 0x3e0f83e1
sub ecx, dword [esi + 0x1c]
imul ecx
mov dword [esp + 0x10], 0
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x430aa5
movsd xmm1, qword [esp + 0x68]
mov edx, eax
mov ecx, dword [esi + 0x1c]
nop
movsd xmm0, qword [ecx]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x430b3d
mov eax, dword [esp + 0x10]
add ecx, 0x210
inc eax
mov dword [esp + 0x10], eax
cmp eax, edx
jb 0x430a80
mov eax, dword [esi + 0x48]
mov ecx, 9
movsd xmm0, qword [esp + 0x68]
cmp eax, ecx
cmova eax, ecx
sub esp, 8
add eax, 0x30
mov word [0x49fc64], ax
lea eax, [esp + 0xa0]
movsd qword [esp], xmm0
push str._.5f
push 0x40
push eax
call fcn.00401180
add esp, 0x14
xor eax, eax
mov word [esp + 0x116], ax
lea ecx, [esp + 0x98]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430af4
push 0
sub ecx, edx
lea eax, [esp + 0x9c]
sar ecx, 1
push ecx
push eax
lea eax, [esp + 0x7c]
push eax
mov eax, dword [esp + 0x64]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x88]
push 4
push dword [esp + 0x88]
sar ecx, 1
sub eax, ecx
push eax
push dword [edi + 0x48]
call dword [esp + 0x44]
jmp 0x430bdc
lea eax, [ecx + 8]
lea ecx, [esp + 0x98]
test eax, eax
je 0x430aea
mov dword [esp + 0x10], 0x40
movzx edx, word [eax]
test dx, dx
je 0x430bca
mov word [ecx], dx
lea esi, [ecx + 2]
movzx edx, word [eax + 2]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x14]
test dx, dx
je 0x430bc6
mov esi, dword [esp + 0x18]
mov word [esi], dx
lea esi, [ecx + 4]
movzx edx, word [eax + 4]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x14]
test dx, dx
je 0x430bb8
mov esi, dword [esp + 0x18]
add eax, 6
add ecx, 6
mov word [esi], dx
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
sub edx, 3
mov dword [esp + 0x10], edx
cmp edx, 1
ja 0x430b53
xor eax, eax
mov word [ecx], ax
jmp 0x430aea
mov ecx, dword [esp + 0x18]
xor eax, eax
mov word [ecx], ax
jmp 0x430aea
mov ecx, dword [esp + 0x18]
xor eax, eax
mov word [ecx], ax
jmp 0x430aea
mov eax, dword [esp + 0x60]
mov dword [esp + 0x30], eax
cmp byte [edi + 0x71], 0
je 0x430ed6
push dword [edi + 0x12c]
push dword [edi + 0x48]
call dword [esp + 0x30]
push dword [edi + 0xc0]
push dword [edi + 0x48]
call dword [esp + 0x54]
mov ecx, esi
call fcn.004334e0
mov edx, dword [esi + 0x2d094]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430c16
sub ecx, dword [esp + 0x10]
lea eax, [esp + 0x70]
push 0
sar ecx, 1
push ecx
push edx
push eax
cvttsd2si eax, qword [edi + 0x100]
push 4
add eax, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x6c]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x90]
sar ecx, 1
sub eax, ecx
push eax
push dword [edi + 0x48]
call dword [esp + 0x44]
cmp byte [edi + 0x71], 0
je 0x430ed6
movsd xmm0, qword [esi + 0x30]
subsd xmm0, qword [esi + 0x28]
comisd xmm0, xmmword [0x493d58]
jbe 0x430ed6
lea eax, [esp + 0x70]
mov ecx, edi
push eax
push 0x84
push dword [esp + 0x34]
call fcn.0042ff60
mov eax, dword [edi + 0x110]
movaps xmm0, xmmword [esp + 0x70]
cdq
sub eax, edx
movaps xmmword [esp + 0x80], xmm0
push 0
sar eax, 1
push eax
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x88]
mov eax, ecx
mov edx, dword [esp + 0x80]
sub eax, edx
je 0x430ed6
cmp byte [esi + 0x15], 0
movsd xmm3, qword [esi + 0x28]
movsd xmm0, qword [esi + 0x30]
movd xmm2, eax
subsd xmm0, xmm3
cvtdq2pd xmm2, xmm2
divsd xmm2, xmm0
movsd qword [esp + 0x58], xmm2
je 0x430d9c
cmp dword [esp + 0x30], 0xffffffff
je 0x430d9c
mov eax, dword [esp + 0x78]
movaps xmm0, xmm2
mulsd xmm0, qword [esp + 0x68]
mov dword [esp + 0x10], eax
movd xmm1, edx
cvtdq2pd xmm1, xmm1
mulsd xmm3, xmm2
subsd xmm1, xmm3
addsd xmm1, xmm0
cvttsd2si eax, xmm1
inc eax
mov dword [esp + 0x78], eax
cmp eax, dword [esp + 0x70]
jle 0x430d94
push dword [edi + 0xc4]
mov eax, dword [edi + 0xe0]
push dword [edi + 0x48]
add dword [esp + 0x7c], eax
call dword [esp + 0x50]
push 0
push 0
push 0
mov esi, eax
lea eax, [esp + 0x7c]
push eax
push 2
push 0
push 0
push dword [edi + 0x48]
call dword [esp + 0x44]
push esi
push dword [edi + 0x48]
call dword [esp + 0x50]
mov eax, dword [edi + 0xe0]
sub dword [esp + 0x74], eax
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x78], eax
push dword [edi + 0x110]
movsd xmm3, qword [0x493d88]
sub ecx, edx
push ecx
mov ecx, esi
call fcn.00433780
push 6
push dword [edi + 0x48]
call dword [esp + 0x58]
push dword [edi + 0xc8]
push dword [edi + 0x48]
call dword [esp + 0x54]
push dword [edi + 0x13c]
push dword [edi + 0x48]
call dword [esp + 0x30]
lea eax, [edi + 0x178]
test eax, eax
je 0x430de4
mov eax, dword [eax + 4]
push eax
push dword [edi + 0x48]
call dword [esp + 0x30]
movsd xmm2, qword [esi + 0x2d0a8]
mov eax, dword [esp + 0x80]
movaps xmm1, xmm2
subsd xmm1, qword [esi + 0x28]
movsd qword [esp + 0x18], xmm2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, qword [esp + 0x58]
addsd xmm1, xmm0
cvttsd2si ecx, xmm1
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x88]
jg 0x430ed6
cmp ecx, eax
jl 0x430e99
push ecx
lea eax, [esp + 0x11c]
movaps xmm3, xmm2
push eax
mov ecx, esi
call fcn.004339c0
test al, al
je 0x430e8c
lea ecx, [esp + 0x118]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430e55
push 0
sub ecx, edx
lea eax, [esp + 0x11c]
sar ecx, 1
push ecx
push eax
mov eax, dword [edi + 0xec]
add eax, dword [esp + 0x90]
push 0
push 0
push eax
push dword [esp + 0x28]
push dword [edi + 0x48]
call dword [esp + 0x44]
movsd xmm2, qword [esp + 0x18]
mov eax, dword [esp + 0x80]
addsd xmm2, qword [esi + 0x2d0a0]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
movsd qword [esp + 0x18], xmm2
subsd xmm1, qword [esi + 0x28]
mulsd xmm1, qword [esp + 0x58]
addsd xmm1, xmm0
cvttsd2si ecx, xmm1
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x88]
jle 0x430e30
test byte [ebp + 0xc], 4
jne 0x430fdf
lea eax, [esp + 0x70]
mov ecx, edi
push eax
push 0x82
push dword [esp + 0x34]
call fcn.0042ff60
push dword [edi + 0x12c]
push dword [edi + 0x48]
call dword [esp + 0x30]
push 0
push dword [edi + 0x48]
call dword [esp + 0x58]
xor ecx, ecx
cmp byte [esi + 0x15], cl
sete cl
lea ecx, [ecx*4 + 0xb8]
push dword [ecx + edi]
push dword [edi + 0x48]
call dword [esp + 0x54]
mov eax, dword [esp + 0x54]
mov ecx, esi
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x70], eax
cmp byte [edi + 0x71], 0
je 0x430f46
call fcn.004334e0
mov edx, dword [esi + 0x2d090]
jmp 0x430f51
call fcn.004334e0
mov edx, dword [esi + 0x2d098]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x50], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430f60
sub ecx, dword [esp + 0x50]
lea eax, [esp + 0x70]
push 0x810
push eax
sar ecx, 1
push ecx
push edx
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_DrawTextW]
cmp byte [edi + 0x71], 0
jne 0x430fdf
push dword [edi + 0xc0]
push dword [edi + 0x48]
call dword [esp + 0x54]
inc dword [esp + 0x70]
mov ecx, esi
call fcn.004334e0
mov edx, dword [esi + 0x2d094]
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430fb0
push 0
sub ecx, esi
lea eax, [esp + 0x74]
sar ecx, 1
push ecx
push edx
push eax
push 4
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [edi + 0x48]
call dword [esp + 0x44]
lea eax, [edi + 0x170]
test eax, eax
je 0x430fec
mov eax, dword [eax + 4]
push eax
push dword [edi + 0x48]
call dword [esp + 0x30]
lea eax, [esp + 0x70]
mov ecx, edi
push eax
push 0x81
push dword [esp + 0x34]
call fcn.0042ff60
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x80]
dec eax
push eax
push dword [esp + 0x78]
push dword [edi + 0x48]
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [esp + 0x7c]
dec eax
push eax
push dword [esp + 0x7c]
push dword [edi + 0x48]
call dword [sym.imp.GDI32.dll_LineTo]
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
xor ecx, esp
call fcn.0045f9ee
mov esp, ebp
pop ebp
ret 8