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

Disassembly:
push 0xffffffffffffffff
push 0x4bdd0b
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x4df210]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4df210]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov eax, dword [esp + 0x188]
mov ebp, dword [esp + 0x18c]
push 8
mov edi, ebp
lea esi, [esp + 0x64]
mov dword [esp + 0x28], eax
mov ebx, 0xa
call fcn.004564e0
xor edi, edi
mov dword [esp + 0x180], edi
push 1
push ebp
call dword [sym.imp.GDI32.dll_SetBkMode]
mov esi, dword [esp + 0x190]
add esi, ebx
lea eax, [esi + 0x23]
mov dword [esp + 0x40], eax
add eax, ebx
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x24]
mov ecx, dword [edi + 0x148]
mov edx, dword [edi + 0x148]
mov dword [esp + 0x48], eax
lea eax, [edi + 0x144]
mov dword [esp + 0x4c], 1
mov ecx, dword [ecx]
mov dword [esp + 0x190], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], edx
jmp 0x45f03c
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [edi + 0x144]
cmp eax, edx
jne 0x45f147
cmp ecx, dword [esp + 0x3c]
sete dl
test dl, dl
sete dl
test dl, dl
je 0x45f151
test eax, eax
je 0x45f147
cmp ecx, dword [eax + 4]
je 0x45f14c
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + 0x5c]
fld dword [ecx + 8]
add eax, 4
push eax
call fcn.004b02a0
push eax
push str.__d__s
mov eax, 0x104
lea edi, [esp + 0x78]
call fcn.0042b3a0
add esp, 0xc
test eax, eax
je 0x45f0a1
call fcn.00462f90
lea eax, [esp + 0x6c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x45f0a8
lea ecx, [esp + 0x28]
push ecx
sub eax, edx
push eax
lea edx, [esp + 0x74]
push edx
push ebp
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx + 4]
je 0x45f14c
mov eax, dword [eax + 0xc]
call fcn.0045de50
mov edi, eax
mov ecx, edi
lea eax, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x45f0e1
lea edx, [esp + 0x30]
push edx
sub ecx, eax
push ecx
push edi
push ebp
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
add edx, ecx
lea eax, [esi + 0x23]
mov dword [esp + 0x50], eax
lea eax, [edx + eax + 0x1d]
mov dword [esp + 0x58], eax
lea eax, [ebx + 0x10]
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x44]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], eax
mov ebx, eax
push edx
mov eax, edx
push eax
call dword [sym.imp.USER32.dll_UnionRect]
lea edx, [esp + 0x18]
call fcn.00460ca0
cmp dword [esp + 0x18], 0
jne 0x45f030
call fcn.004605b0
call fcn.00460b10
push 0
push 4
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [edi + 0xa0]
mov eax, dword [edi + 0x9c]
push edx
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebp
call fcn.00456890
mov ecx, dword [edi + 0x148]
mov ecx, dword [ecx]
mov edx, dword [edi + 0x148]
lea eax, [edi + 0x144]
add esp, 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], 2
jmp 0x45f1c3
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x190]
mov edi, dword [esp + 0x24]
add edi, 0x144
cmp eax, edi
jne 0x45f147
cmp ecx, dword [esp + 0x38]
sete dl
test dl, dl
sete dl
test dl, dl
je 0x45f34c
test eax, eax
je 0x45f147
cmp ecx, dword [eax + 4]
je 0x45f14c
mov ebx, dword [ecx + 0x10]
mov edi, dword [ebx + 0x64]
mov eax, dword [esp + 0x20]
push 0
add eax, 8
push edi
push eax
lea ecx, [esi + 0x2d]
push ecx
push eax
lea eax, [esi + 0x23]
push eax
mov ecx, 1
mov edx, ebp
call fcn.00456a60
add esp, 0x18
push edi
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebx + 0x5c]
fld dword [eax + 8]
lea edx, [ebx + 4]
push edx
call fcn.004b02a0
push eax
push str.__d__s
mov eax, 0x104
lea edi, [esp + 0x78]
call fcn.0042b3a0
add esp, 0xc
test eax, eax
je 0x45f256
call fcn.00462f90
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x6c]
push eax
push 0
push ecx
add esi, 0x2f
push esi
mov esi, ebp
call fcn.00456600
lea eax, [esp + 0x7c]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x45f277
sub eax, edx
lea edx, [esp + 0x28]
push edx
push eax
lea eax, [esp + 0x74]
push eax
push ebp
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx + 4]
je 0x45f14c
mov eax, dword [eax + 0xc]
call fcn.0045de50
mov edx, dword [esp + 0x24]
mov edi, eax
mov eax, dword [edx + 0xa8]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x190]
push edi
push 0
push ecx
lea ecx, [edx + eax + 0x34]
push ecx
mov esi, ebp
call fcn.00456600
mov eax, edi
add esp, 0x10
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x45f2e8
lea edx, [esp + 0x30]
push edx
sub eax, esi
push eax
push edi
push ebp
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
cmp byte [ebx + 0x60], 0
je 0x45f32e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
add eax, 3
push eax
mov eax, dword [esp + 0x194]
add edx, ecx
lea ebx, [edx + eax + 0x36]
mov ecx, ebp
call fcn.00456af0
add esp, 4
add dword [esp + 0x20], 0x10
lea edx, [esp + 0x18]
call fcn.00460ca0
cmp dword [esp + 0x18], 0
jne 0x45f1b0
jmp 0x45f147
mov dword [esp + 0x180], 0xffffffff
lea esi, [esp + 0x60]
call fcn.00456540
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.0048cf20
add esp, 0x170
ret 0x18