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

Disassembly:
sub esp, 0x30
mov eax, dword [esp + 0x48]
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, ecx
mov ecx, dword [eax + 0xc]
xor edx, edx
mov dl, byte [eax + 4]
push edi
mov edi, dword [eax + 0x10]
xor eax, eax
cmp edi, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
je 0x4d20b7
mov ecx, dword [esi + 0x60]
cmp dword [ecx + 0x14c], eax
je 0x4d20b7
mov edx, dword [esi + 0x68]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x80
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esi + 0x48]
push eax
push edi
mov eax, dword [ebx]
push eax
mov eax, dword [esi + 0x4c]
sub ecx, eax
add ecx, 4
push ecx
push ebp
call dword [sym.imp.GDI32.dll_TextOutA]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x88]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + 0x138]
test ecx, ecx
je 0x4d20a5
mov edi, dword [esp + 0x50]
mov ecx, dword [ebx]
push 0
add ecx, dword [edi + 4]
push ecx
push 0
push ebp
call dword [sym.imp.GDI32.dll_MoveToEx]
mov edx, dword [ebx]
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x48]
add edx, ecx
push edx
push eax
push ebp
call dword [sym.imp.GDI32.dll_LineTo]
mov edi, dword [edi]
mov eax, dword [ebx]
add eax, edi
mov dword [esp + 0x24], edi
mov dword [ebx], eax
jmp 0x4d20bb
mov edi, dword [esp + 0x50]
mov eax, dword [ebx]
mov edi, dword [edi]
add eax, edi
mov dword [esp + 0x24], edi
mov dword [ebx], eax
jmp 0x4d20bb
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x38]
push ecx
push 0x653e44
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x68]
not ecx
dec ecx
push eax
push ebp
mov edi, ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x4d2102
push 0x808080
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x50]
mov ecx, dword [ebx]
mov edx, dword [esi]
push eax
lea eax, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x60]
push ecx
push eax
push ebp
mov ecx, esi
call dword [edx + 0x94]
test eax, eax
je 0x4d2132
mov dword [esp + 0x20], 1
jmp 0x4d2162
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x38]
push edi
push edx
mov eax, dword [ecx + 0x14]
mov ecx, dword [ebx]
push ecx
mov ecx, eax
imul ecx, edi
cdq
mov edi, dword [esi + 0x4c]
sub eax, edx
mov edx, dword [esi + 0x48]
sar eax, 1
neg eax
sub eax, ecx
sub eax, edi
add eax, edx
push eax
push ebp
call dword [sym.imp.GDI32.dll_TextOutA]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x88]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esi + 0x60]
xor ebx, ebx
mov byte [esp + 0x44], 0
mov dword [esp + 0x70], ebx
mov edi, dword [eax + 0x144]
cmp edi, 2
je 0x4d22ce
mov ecx, dword [esp + 0x58]
mov ecx, dword [ecx + 8]
test cl, 2
je 0x4d220f
cmp edi, 4
je 0x4d22b9
test edi, edi
je 0x4d22b9
mov edx, dword [esi + 0x68]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
cmp edi, 5
je 0x4d21c7
cmp edi, 7
jne 0x4d22d9
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0xc]
cmp byte [eax], 0x20
jne 0x4d21dd
mov cl, byte [eax + 1]
inc eax
inc ebx
cmp cl, 0x20
je 0x4d21d3
mov cl, byte [eax]
inc eax
cmp cl, 0x51
jne 0x4d21ec
inc ebx
mov dword [esp + 0x70], ebx
jmp 0x4d21f8
mov dword [esp + 0x70], 0
mov ebx, dword [esp + 0x70]
mov al, byte [eax]
cmp al, 0x2e
je 0x4d22a9
cmp al, 0x3a
jne 0x4d22ae
jmp 0x4d22a9
test cl, 4
je 0x4d22bf
cmp edi, 4
je 0x4d22b9
cmp edi, 1
je 0x4d22b9
mov eax, dword [esi + 0x68]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
cmp edi, 6
je 0x4d223f
cmp edi, 7
jne 0x4d225f
mov ecx, dword [esp + 0x58]
push 2
push 0x6667f0
mov eax, dword [ecx + 0xc]
push eax
call fcn.0055c1b0
add esp, 0xc
mov byte [esp + 0x44], 1
test eax, eax
je 0x4d2264
mov byte [esp + 0x44], 0
cmp edi, 6
je 0x4d226e
cmp edi, 7
jne 0x4d22d9
mov edx, dword [esp + 0x58]
mov eax, dword [edx + 0xc]
cmp byte [eax], 0x20
jne 0x4d2284
mov cl, byte [eax + 1]
inc eax
inc ebx
cmp cl, 0x20
je 0x4d227a
mov cl, byte [eax]
inc eax
cmp cl, 0x41
jne 0x4d2293
inc ebx
mov dword [esp + 0x70], ebx
jmp 0x4d229f
mov dword [esp + 0x70], 0
mov ebx, dword [esp + 0x70]
mov al, byte [eax]
cmp al, 0x2e
je 0x4d22a9
cmp al, 0x3a
jne 0x4d22ae
inc ebx
mov dword [esp + 0x70], ebx
test ebx, ebx
je 0x4d22d9
mov byte [esp + 0x44], 1
jmp 0x4d22d9
mov edx, dword [esi + 0x6c]
push edx
jmp 0x4d22d2
test cl, 8
je 0x4d22d9
mov cl, byte [eax + 0x148]
test cl, cl
je 0x4d22d9
mov eax, dword [esi + 0x6c]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x4c]
mov ecx, dword [esp + 0x60]
sub eax, edi
xor dl, dl
add eax, 4
mov byte [esp + 0x2c], dl
mov dword [esp + 0x10], eax
mov dword [ecx], 0
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x2c]
and edi, 0xff
mov byte [esp + 0x1c], dl
mov ecx, dword [eax + 0xc]
mov al, byte [edi + ecx]
test al, al
je 0x4d2333
cmp al, 0xa
je 0x4d2333
cmp dl, 0xff
jae 0x4d2333
inc dl
mov byte [esp + 0x1c], dl
mov eax, dword [esp + 0x1c]
and eax, 0xff
mov al, byte [eax + ecx]
test al, al
jne 0x4d2314
mov ebx, dword [esp + 0x1c]
and ebx, 0xff
cmp byte [ebx + ecx], 0
je 0x4d2350
cmp dl, 0xff
mov dword [esp + 0x28], 1
jb 0x4d2358
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x50]
add eax, dword [ecx]
test eax, eax
jle 0x4d2539
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x88]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x4c]
push ebx
push edi
push edx
mov edx, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x80]
push edx
mov dword [esp + 0x4c], eax
mov edx, dword [ecx]
mov ecx, dword [esp + 0x28]
mov eax, dword [esi]
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x74]
push edx
push ecx
push ebp
mov ecx, esi
call dword [eax + 0x98]
mov al, byte [esp + 0x44]
test al, al
je 0x4d2415
mov edx, dword [esi + 0x6c]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x70]
lea edx, [edi + ecx]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x18]
push ecx
push edx
push ebp
call dword [sym.imp.GDI32.dll_TextOutA]
mov eax, dword [esp + 0x30]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx + 0x14]
imul edx, dword [esp + 0x70]
add eax, edx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x54]
mov eax, dword [esi]
push ecx
push edx
mov ecx, esi
call dword [eax + 0xb8]
test al, al
je 0x4d246e
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, ebx
push eax
mov eax, dword [esp + 0x7c]
sub ecx, edi
push ebx
sub ecx, eax
push edi
push ecx
mov ecx, dword [esp + 0x30]
add eax, edi
mov edx, dword [esi]
add eax, ecx
mov ecx, dword [esp + 0x84]
push eax
mov eax, dword [ecx]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
push ebp
mov ecx, esi
call dword [edx + 0xbc]
jmp 0x4d2495
mov eax, dword [esp + 0x70]
mov edx, ebx
mov ecx, dword [esp + 0x6c]
sub edx, edi
sub edx, eax
add eax, edi
push edx
mov edx, dword [esp + 0x1c]
add eax, edx
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x18]
push edx
push eax
push ebp
call dword [sym.imp.GDI32.dll_TextOutA]
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx]
test eax, eax
jl 0x4d24b9
mov edx, dword [esp + 0x50]
mov ecx, dword [edx]
add eax, ecx
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
jg 0x4d24b9
mov eax, dword [esp + 0x60]
mov dword [eax], 1
mov ecx, dword [esp + 0x34]
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x74]
push ecx
push ebx
push edi
mov ecx, dword [eax]
push edx
push ecx
push ebp
mov ecx, esi
call fcn.004d2570
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x58]
mov edx, dword [esi]
push ecx
mov ecx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x78]
push ebx
push edi
push ecx
mov ecx, dword [eax]
push ecx
push ebp
mov ecx, esi
call dword [edx + 0xa4]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x74]
push ebx
push edi
push eax
mov eax, dword [ecx]
mov ecx, esi
push eax
push ebp
call dword [edx + 0xa8]
mov dl, byte [esp + 0x1c]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x6c]
mov ecx, dword [ecx]
mov edi, dword [eax]
add edi, ecx
mov dword [eax], edi
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4d255c
inc dl
mov byte [esp + 0x2c], dl
jmp 0x4d22f8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0x30