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

Disassembly:
push 0xffffffffffffffff
push 0x4d40bb
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x4fb164]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fb164]
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.00468420
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 0x46ac7c
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [edi + 0x144]
cmp eax, edx
jne 0x46ad87
cmp ecx, dword [esp + 0x3c]
sete dl
test dl, dl
sete dl
test dl, dl
je 0x46ad91
test eax, eax
je 0x46ad87
cmp ecx, dword [eax + 4]
je 0x46ad8c
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + 0x5c]
fld dword [ecx + 8]
add eax, 4
push eax
call fcn.004cac00
push eax
push str.__d__s
mov eax, 0x104
lea edi, [esp + 0x78]
call fcn.0040a3a0
add esp, 0xc
test eax, eax
je 0x46ace1
call fcn.0046e510
lea eax, [esp + 0x6c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46ace8
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 0x46ad8c
mov eax, dword [eax + 0xc]
call fcn.00469a80
mov edi, eax
mov ecx, edi
lea eax, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x46ad21
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.0046c8e0
cmp dword [esp + 0x18], 0
jne 0x46ac70
call fcn.0046c1f0
call fcn.0046c750
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.004687d0
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 0x46ae03
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 0x46ad87
cmp ecx, dword [esp + 0x38]
sete dl
test dl, dl
sete dl
test dl, dl
je 0x46af8c
test eax, eax
je 0x46ad87
cmp ecx, dword [eax + 4]
je 0x46ad8c
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.004689a0
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.004cac00
push eax
push str.__d__s
mov eax, 0x104
lea edi, [esp + 0x78]
call fcn.0040a3a0
add esp, 0xc
test eax, eax
je 0x46ae96
call fcn.0046e510
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.00468540
lea eax, [esp + 0x7c]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46aeb7
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 0x46ad8c
mov eax, dword [eax + 0xc]
call fcn.00469a80
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.00468540
mov eax, edi
add esp, 0x10
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46af28
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 0x46af6e
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.00468a30
add esp, 4
add dword [esp + 0x20], 0x10
lea edx, [esp + 0x18]
call fcn.0046c8e0
cmp dword [esp + 0x18], 0
jne 0x46adf0
jmp 0x46ad87
mov dword [esp + 0x180], 0xffffffff
lea esi, [esp + 0x60]
call fcn.00468480
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.004a2094
add esp, 0x170
ret 0x18