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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x78]
test ecx, ecx
jne 0x5052eb
xor eax, eax
jmp 0x5054bf
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
ja case.default.0x505304
mov ecx, dword [ebp - 0x10]
jmp dword [ecx*4 + 0x5054c8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x84], eax
jmp case.default.0x505304
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x84], edx
jmp case.default.0x505304
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x84], ecx
jmp case.default.0x505304
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x84], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x505384
xor eax, eax
jmp 0x5054bf
mov edx, dword [ebp - 4]
cmp dword [edx + 0x7c], 0
je 0x5053a2
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x68]
call edx
mov ecx, dword [ebp - 4]
add ecx, 0x60
call fcn.00419090
movzx eax, al
test eax, eax
jne 0x5054ba
push 1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x84]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [ebp - 4]
cmp dword [edx + 0x80], 0
je 0x50545b
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x80]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0x3c
call fcn.005047d0
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x60
call fcn.004188e0
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x60
call fcn.0041b040
push eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x3c
call fcn.005047d0
push eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x38]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x505490
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2c]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x3c
call fcn.005047d0
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x60
call fcn.004188e0
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x60
call fcn.0041b040
push eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [ebp - 4]
add ecx, 0x3c
call fcn.005047d0
mov ecx, dword [ebp - 4]
add ecx, 0x88
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov eax, 1
mov esp, ebp
pop ebp
ret 4