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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x78]
test ecx, ecx
jne 0x505c7b
xor eax, eax
jmp 0x505ed6
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.0x505c98
mov ecx, dword [ebp - 0x10]
jmp dword [ecx*4 + 0x505edc]
mov edx, dword [ebp - 4]
cmp dword [edx + 0xa8], 0
je 0x505cb9
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x98]
mov dword [ebp - 0x14], ecx
jmp 0x505cc2
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x84], ecx
jmp case.default.0x505c98
mov edx, dword [ebp - 4]
cmp dword [edx + 0xa8], 0
je 0x505cf6
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x9c]
mov dword [ebp - 0x18], ecx
jmp 0x505cff
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x84], ecx
jmp case.default.0x505c98
mov edx, dword [ebp - 4]
cmp dword [edx + 0xa8], 0
je 0x505d30
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xa0]
mov dword [ebp - 0x1c], ecx
jmp 0x505d39
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
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.0x505c98
mov edx, dword [ebp - 4]
cmp dword [edx + 0xa8], 0
je 0x505d6a
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xa4]
mov dword [ebp - 0x20], ecx
jmp 0x505d73
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x84], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jne 0x505d9b
xor eax, eax
jmp 0x505ed6
mov eax, dword [ebp - 4]
cmp dword [eax + 0x7c], 0
je 0x505db9
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x68]
call eax
mov ecx, dword [ebp - 4]
add ecx, 0x60
call fcn.00419090
movzx ecx, al
test ecx, ecx
jne 0x505ed1
push 1
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x84]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x80], 0
je 0x505e72
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x80]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x24], eax
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 - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x3c
call fcn.005047d0
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x505ea7
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2c]
push eax
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 ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [ebp - 4]
add ecx, 0x3c
call fcn.005047d0
mov edx, dword [ebp - 4]
add edx, 0x88
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov eax, 1
mov esp, ebp
pop ebp
ret 4