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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x525ca6
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
mov ebx, ecx
xor eax, eax
push esi
push edi
cmp dword [ebx + 0x4c], eax
jne 0x450d5f
mov dword [ebp + 0x10], eax
mov dword [ebp + 0xc], eax
mov dword [esp + 0xc], eax
cmp dword [ebp + 0x10], eax
je 0x450d72
mov dword [esp + 0xc], 2
jmp 0x450d7f
cmp dword [ebp + 0xc], eax
je 0x450d7f
mov dword [esp + 0xc], 1
mov esi, dword [ebp + 0x14]
cmp dword [ebx + 8], eax
je 0x450da5
push dword [esp + 0xc]
mov edi, dword [esi + 0xc]
sub edi, dword [esi + 4]
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
push edi
mov edi, dword [esi + 8]
sub edi, dword [esi]
push edi
push eax
push eax
push dword [ebp + 8]
call dword [edx + 4]
mov edi, dword [ebx + 0x88]
test edi, edi
je 0x450e29
xor eax, eax
inc eax
cmp dword [esp + 0xc], eax
jne 0x450dbf
and dword [esp + 0xc], 0
jmp 0x450dca
cmp dword [esp + 0xc], 2
jne 0x450dca
mov dword [esp + 0xc], eax
movzx eax, word [edi + 0x14]
cmp dword [esp + 0xc], eax
jl 0x450dd9
and dword [esp + 0xc], 0
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
mov dword [esp + 0x10], eax
call fcn.00401ffb
mov edi, dword [edi + 0x10]
mov eax, dword [esp + 0x10]
sub eax, edi
mov edi, dword [ebx + 0x88]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
call fcn.00401ffb
mov edi, dword [edi + 0xc]
mov eax, dword [esi + 8]
push dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
sub eax, edi
sub eax, 0x11
inc ecx
push ecx
push eax
push dword [ebp + 8]
mov eax, dword [ebx + 0x88]
call fcn.004122e9
mov edi, dword [ebx + 4]
test edi, edi
je 0x450e99
xor eax, eax
inc eax
cmp dword [esp + 0xc], eax
jne 0x450e40
and dword [esp + 0xc], 0
jmp 0x450e4b
cmp dword [esp + 0xc], 2
jne 0x450e4b
mov dword [esp + 0xc], eax
movzx eax, word [edi + 0x14]
cmp dword [esp + 0xc], eax
jl 0x450e5a
and dword [esp + 0xc], 0
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
mov dword [esp + 0x10], eax
call fcn.00401ffb
mov edi, dword [edi + 0x10]
mov eax, dword [esp + 0x10]
sub eax, edi
cdq
sub eax, edx
sar eax, 1
cmp dword [ebx + 0x18], 0
je 0x450e82
add dword [esp + 0xc], 2
push dword [esp + 0xc]
push eax
mov eax, dword [ebx + 0x14]
sub eax, 3
push eax
push dword [ebp + 8]
mov eax, dword [ebx + 4]
call fcn.004122e9
mov ecx, dword [ebx + 0x10]
xor eax, eax
cmp dword [ecx - 0xc], eax
jle 0x450f67
cmp dword [ebx + 0x20], eax
je 0x450f67
cmp dword [ebx + 0x24], eax
je 0x450f67
mov edi, dword [ebp + 8]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp dword [ebp + 0x10], 0
je 0x450ed0
mov eax, dword [ebx + 0x24]
jmp 0x450ed3
mov eax, dword [ebx + 0x20]
push dword [eax]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x14], eax
je 0x450eeb
mov eax, dword [ebx + 0x2c]
jmp 0x450eee
mov eax, dword [ebx + 0x28]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x450f12
mov edi, eax
call fcn.00401ffb
mov eax, edi
mov eax, dword [eax + 0xc]
mov edi, dword [ebp + 8]
jmp 0x450f14
xor eax, eax
mov ecx, dword [ebx + 0x14]
lea eax, [ecx + eax - 8]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xc]
dec eax
dec eax
push 0x8824
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [esp + 0xc]
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [esp + 0x14]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x450f6a
mov edi, dword [ebp + 8]
cmp dword [ebx + 0x64], 0
jl 0x451033
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp dword [ebp + 0x10], 0
je 0x450f88
mov eax, dword [ebx + 0x78]
jmp 0x450f8b
mov eax, dword [ebx + 0x74]
push dword [eax]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x10], eax
je 0x450fa6
mov eax, dword [ebx + 0x80]
jmp 0x450fa9
mov eax, dword [ebx + 0x7c]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 8]
sub eax, dword [ebx + 0x70]
push 0x56f16c
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0xc]
dec eax
dec eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], eax
call fcn.00402946
and dword [esp + 0x44], 0
push dword [ebx + 0x64]
lea eax, [esp + 0x10]
push 0x540e68
push eax
call fcn.004142e8
mov esi, dword [esp + 0x18]
add esp, 0xc
push 0x8826
lea eax, [esp + 0x2c]
push eax
push 0xffffffffffffffff
push esi
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [esp + 0x14]
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [esp + 0x10]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esi - 0x10]
call fcn.0040297c
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10