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

Disassembly:
push 0xffffffffffffffff
push 0x51d39b
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x553150]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x553150]
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.004ab9f0
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 0x4b234c
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [edi + 0x144]
cmp eax, edx
jne 0x4b2457
cmp ecx, dword [esp + 0x3c]
sete dl
test dl, dl
sete dl
test dl, dl
je 0x4b2461
test eax, eax
je 0x4b2457
cmp ecx, dword [eax + 4]
je 0x4b245c
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + 0x5c]
fld dword [ecx + 8]
add eax, 4
push eax
call fcn.00509af0
push eax
push str.__d__s
mov eax, 0x104
lea edi, [esp + 0x78]
call fcn.00412470
add esp, 0xc
test eax, eax
je 0x4b23b1
call fcn.004be360
lea eax, [esp + 0x6c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4b23b8
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 0x4b245c
mov eax, dword [eax + 0xc]
call fcn.004b1160
mov edi, eax
mov ecx, edi
lea eax, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x4b23f1
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.004b3fb0
cmp dword [esp + 0x18], 0
jne 0x4b2340
call fcn.004b38c0
call fcn.004b3e20
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.004abda0
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 0x4b24d3
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 0x4b2457
cmp ecx, dword [esp + 0x38]
sete dl
test dl, dl
sete dl
test dl, dl
je 0x4b265c
test eax, eax
je 0x4b2457
cmp ecx, dword [eax + 4]
je 0x4b245c
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.004abf70
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.00509af0
push eax
push str.__d__s
mov eax, 0x104
lea edi, [esp + 0x78]
call fcn.00412470
add esp, 0xc
test eax, eax
je 0x4b2566
call fcn.004be360
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.004abb10
lea eax, [esp + 0x7c]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4b2587
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 0x4b245c
mov eax, dword [eax + 0xc]
call fcn.004b1160
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.004abb10
mov eax, edi
add esp, 0x10
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4b25f8
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 0x4b263e
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.004ac000
add esp, 4
add dword [esp + 0x20], 0x10
lea edx, [esp + 0x18]
call fcn.004b3fb0
cmp dword [esp + 0x18], 0
jne 0x4b24c0
jmp 0x4b2457
mov dword [esp + 0x180], 0xffffffff
lea esi, [esp + 0x60]
call fcn.004aba50
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.004e6578
add esp, 0x170
ret 0x18