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

Disassembly:
sub esp, 0x70
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x6c]
test eax, eax
jl 0x452415
mov eax, dword [ebx + 0xc]
mov edx, dword [eax]
lea ecx, [esp + 4]
push ecx
push eax
call dword [edx + 0x44]
test eax, eax
jge 0x45241e
xor eax, eax
pop ebx
add esp, 0x70
ret 0x14
mov edx, dword [esp + 4]
push esi
push edi
push 1
push edx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [ebx + 0x14]
mov eax, dword [esp + 0xc]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebx + 0x18], eax
xor eax, eax
mov byte [esp + 0x30], 0
mov ecx, 0x12
lea edi, [esp + 0x31]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebx + 0x78]
lea esi, [esp + 0x30]
mov ecx, eax
sub esi, eax
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
test dl, dl
jne 0x452471
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x452480
sub eax, edx
xor edx, edx
test eax, eax
jle 0x4524a8
nop
mov cl, byte [esp + edx + 0x30]
cmp cl, 0x30
jl 0x4524a3
cmp cl, 0x39
jg 0x4524a3
mov byte [esp + edx + 0x30], 0x2a
inc edx
cmp edx, eax
jl 0x452490
lea eax, [esp + 0x30]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4524b0
push ebp
mov ebp, dword [sym.imp.GDI32.dll_TextOutA]
sub eax, edx
mov edx, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x38]
push ecx
push 0
push 0
push edx
call ebp
lea eax, [esp + 0x34]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4524d8
mov edi, dword [sym.imp.GDI32.dll_GetTextExtentPointA]
sub eax, edx
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x3c]
push edx
push eax
call edi
lea esi, [ebx + 0xc3]
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x452504
mov edx, dword [esp + 0x10]
sub eax, ecx
lea ecx, [esp + 0x1c]
push ecx
push eax
push esi
push edx
call edi
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.GDI32.dll_SetTextColor]
push 0xff
push eax
call edi
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x452532
mov edx, dword [esp + 0x10]
sub eax, ecx
mov ecx, dword [esp + 0x14]
push eax
push esi
push 0
push ecx
push edx
call ebp
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call edi
test byte [0xe5a56c], 1
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
jne 0x452577
or dword [0xe5a56c], 1
call edi
mov dword [0xe5a568], eax
call edi
mov esi, eax
mov eax, dword [0xe5a568]
mov edx, esi
sub edx, eax
cmp edx, 0x3e8
jbe 0x452593
call edi
mov dword [0xe5a568], eax
mov ecx, esi
sub ecx, eax
cmp ecx, 0x1f4
jae 0x4525be
test ecx, ecx
jbe 0x4525be
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push 1
push 0x4bc2d0
push 0
add ecx, eax
push ecx
push edx
call ebp
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x68]
mov eax, dword [ebx + 0x18]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov esi, edx
sub esi, eax
cmp ecx, esi
pop ebp
push 0xc
jl 0x45260e
lea esi, [eax + ecx]
push esi
sub eax, edx
push 0
add eax, ecx
push eax
lea edx, [esp + 0x30]
push edx
jmp 0x452618
push edx
push 0
push 0
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
push 0x11
lea edx, [esp + 0x24]
push edx
mov edx, dword [ebx + 0xc]
push edx
mov edx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x90]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebx + 0xc]
push 0
push eax
call fcn.00418a50
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x70
ret 0x14