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

Disassembly:
push 0xffffffffffffffff
push 0x61c829
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x84]
lea eax, [esp + 0x9c]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov edx, dword [edi + 0x70]
mov ebp, eax
mov eax, dword [edi + 0x6c]
xor ebx, ebx
push ebx
neg edx
push edx
neg eax
push eax
push ebp
mov dword [esp + 0x24], ebp
call dword [sym.imp.GDI32.dll_OffsetViewportOrgEx]
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
cmp eax, ebx
mov dword [esp + 0x58], ebp
je 0x4ba120
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x5c], eax
jmp 0x4ba124
mov dword [esp + 0x5c], ebx
mov esi, dword [sym.imp.GDI32.dll_CreatePen]
push ebx
push ebx
push ebx
mov dword [esp + 0xf0], ebx
call esi
mov dword [esp + 0x1c], eax
push ebx
mov ebx, dword [sym.imp.GDI32.dll_CreateSolidBrush]
call ebx
mov dword [esp + 0x20], eax
push 0x8000
push 0
push 0
call esi
mov dword [esp + 0x2c], eax
push 0x8000
call ebx
mov dword [esp + 0x30], eax
push 0x80
push 0
push 0
call esi
mov dword [esp + 0x3c], eax
push 0x80
call ebx
mov dword [esp + 0x34], eax
push 0xff0000
push 0
push 0
call esi
mov dword [esp + 0x40], eax
push 0xff0000
call ebx
mov dword [esp + 0x38], eax
mov esi, dword [edi + 8]
mov ebx, dword [esi]
cmp esi, ebx
mov byte [esp + 0xe4], 8
je 0x4ba1ce
mov eax, dword [esi + 4]
add eax, 8
cmp eax, dword [edi + 0x1c]
jne 0x4ba1bb
cmp dword [edi + 0x20], 1
jne 0x4ba1bb
mov cl, 1
jmp 0x4ba1bd
xor cl, cl
push ecx
push eax
push ebp
mov ecx, edi
call fcn.004b98b0
mov esi, dword [esi + 4]
cmp esi, ebx
jne 0x4ba1a6
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x44], ebp
je 0x4ba1ec
push eax
push ebp
call esi
mov dword [esp + 0x48], eax
jmp 0x4ba1f0
mov dword [esp + 0x48], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov dword [esp + 0x50], ebp
je 0x4ba206
push eax
push ebp
call esi
mov dword [esp + 0x54], eax
jmp 0x4ba20a
mov dword [esp + 0x54], ebx
mov eax, dword [edi + 0x14]
mov ebx, dword [eax]
cmp ebx, eax
mov byte [esp + 0xe4], 0xa
mov dword [esp + 0x4c], eax
mov dword [esp + 0x24], ebx
je 0x4ba457
jmp 0x4ba234
mov ebx, dword [esp + 0x24]
mov ebp, dword [ebx + 8]
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebx + 0xc]
add ebx, 8
push 0x2d
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], esi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp]
mov ebp, edx
sub ebp, dword [edi + 0x78]
add edx, ecx
sub ebp, eax
mov eax, dword [edi + 0x7c]
mov dword [esp + 0x84], edx
add esi, 1
imul esi, dword [edi + 0x80]
mov edx, eax
imul edx, dword [esp + 0x10]
add ebp, ecx
mov ecx, dword [esp + 0x28]
add esi, edx
add esi, dword [ecx + 4]
mov edx, dword [ebx + 0xc]
add eax, esi
push 0x2d
mov dword [esp + 0x8c], eax
mov dword [esp + 0x2c], edx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [edi + 0x78]
add ecx, edx
add ecx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], edx
mov edx, dword [edi + 0x7c]
imul edx, eax
mov dword [esp + 0x94], ecx
lea ecx, [eax + 1]
imul ecx, dword [edi + 0x80]
mov eax, dword [edi + 0x7c]
add ecx, edx
mov edx, dword [esp + 0x18]
add ecx, dword [edx + 4]
add eax, ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x84]
add eax, ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x88]
mov ebp, eax
lea eax, [edx + esi]
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
mov esi, eax
mov eax, dword [esp + 0x94]
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x98]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
sar ebp, 1
sar esi, 1
cmp dword [edi + 0x28], ebx
mov dword [esp + 0x18], eax
jne 0x4ba3b6
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4ba352
push ecx
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x18]
jmp 0x4ba35a
mov dword [esp + 0x64], 0
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4ba378
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x18]
jmp 0x4ba380
mov dword [esp + 0x6c], 0
push eax
mov eax, dword [esp + 0x14]
push eax
push esi
push ebp
mov ebp, dword [esp + 0x24]
push ebp
mov ecx, edi
call fcn.004b95b0
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4ba3a4
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4ba3ce
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x4ba3ce
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push eax
push ecx
push esi
push ebp
push edx
mov ecx, edi
call fcn.004b95b0
mov ebp, dword [esp + 0x14]
mov eax, dword [ebx + 0x10]
add ebx, 0x10
cmp eax, dword [ebx + 4]
je 0x4ba439
push 1
push ebp
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0x18
push ebp
call dword [sym.imp.GDI32.dll_SetTextAlign]
lea ecx, [esp + 0x70]
push ebx
push ecx
call fcn.0051b61b
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
add esp, 8
sub edx, eax
push edx
push eax
mov eax, dword [esp + 0x8c]
push esi
push eax
push ebp
call dword [sym.imp.GDI32.dll_TextOutA]
mov eax, dword [esp + 0x70]
cmp eax, 0x6575c8
je 0x4ba439
push eax
call fcn.005f7371
add esp, 4
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
jne 0x4ba230
mov ebp, dword [esp + 0x14]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4ba463
push eax
push ebp
call esi
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4ba46f
push eax
push ebp
call esi
cmp byte [edi + 0x56], 0
je 0x4ba507
cmp byte [edi + 0x54], 0
je 0x4ba48f
cmp byte [edi + 0x55], 0
lea eax, [esp + 0x2c]
jne 0x4ba493
lea eax, [esp + 0x3c]
jmp 0x4ba493
lea eax, [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x4ba4a1
push eax
push ebp
call esi
mov esi, eax
jmp 0x4ba4a3
xor esi, esi
cmp byte [edi + 0x54], 0
je 0x4ba4b9
cmp byte [edi + 0x55], 0
lea eax, [esp + 0x30]
jne 0x4ba4bd
lea eax, [esp + 0x34]
jmp 0x4ba4bd
lea eax, [esp + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x4ba4cf
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
jmp 0x4ba4d1
xor ebx, ebx
mov edx, dword [edi + 0x50]
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x48]
push edx
mov edx, dword [edi + 0x44]
push eax
push ecx
push edx
push ebp
mov ecx, edi
call fcn.004b95b0
test ebx, ebx
je 0x4ba4f5
push ebx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
test esi, esi
je 0x4ba501
push esi
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x38]
test eax, eax
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x4ba518
push eax
call ebx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4ba523
push eax
call ebx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4ba52e
push eax
call ebx
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4ba539
push eax
call ebx
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4ba544
push eax
call ebx
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4ba54f
push eax
call ebx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4ba55a
push eax
call ebx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4ba565
push eax
call ebx
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4ba571
push eax
push ebp
call esi
mov ecx, dword [edi + 0x84]
lea eax, [esp + 0x9c]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd8
ret