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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c92cc
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
mov ebx, ecx
push ebp
push esi
mov al, byte [ebx + 0xfc]
test al, al
je 0x4d310c
mov eax, dword [esp + 0xac]
push eax
call fcn.004d3750
jmp 0x4d3722
mov eax, dword [ebx + 0x24]
mov esi, dword [esp + 0xac]
cmp esi, eax
jle 0x4d3126
xor ebp, ebp
cmp eax, ebp
jne 0x4d3722
jmp 0x4d3128
xor ebp, ebp
mov eax, dword [ebx + 0x104]
push edi
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00596988
mov edi, eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x2c], edi
mov dword [esp + 0x3c], vtable.CFont.0
lea edx, [ebx + 0x90]
mov dword [esp + 0xa8], ebp
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x40]
call fcn.00597595
mov eax, dword [edi]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
call dword [eax + 0x28]
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0x8c]
cmp ecx, ebp
mov dword [esp + 0x48], eax
je 0x4d31a4
mov edx, dword [ebx + 0x88]
push eax
push edx
lea ecx, [ebx + 0x1c]
call fcn.004d1ad0
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x14], esi
cmp eax, ebp
jne 0x4d31b5
mov dword [esp + 0x14], ebp
mov esi, ebp
mov eax, dword [ebx]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x10], ebp
cmp esi, eax
mov dword [esp + 0x18], 0
jge 0x4d31eb
lea ecx, [ebx + 0x1c]
push esi
call fcn.004c78d0
test eax, eax
mov dword [esp + 0x18], eax
je 0x4d31eb
mov edx, eax
mov eax, dword [edx]
jmp 0x4d3202
lea edx, [esi - 1]
lea ecx, [ebx + 0x1c]
push edx
call fcn.004c78d0
test eax, eax
je 0x4d3208
mov ecx, dword [eax + 0xc]
mov eax, dword [eax]
add eax, ecx
mov dword [esp + 0x10], eax
mov ebp, eax
mov edx, dword [ebx + 0xd0]
mov ecx, esi
sub ecx, edx
mov edx, dword [esp + 0x74]
imul ecx, dword [ebx + 0x84]
xor eax, eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x60], edx
cmp ebp, eax
jg 0x4d362b
mov ecx, dword [ebx + 0xc]
push eax
push ebp
push ecx
mov ecx, ebx
call fcn.004d2da0
mov edi, dword [esp + 0x18]
mov esi, eax
sub esi, ebp
mov dword [esp + 0x24], eax
inc esi
test edi, edi
je 0x4d3266
push 0xffffffffffffffff
push 0
lea ecx, [edi + 4]
call fcn.0058d97e
jmp 0x4d32bc
push 0x18
call fcn.0058ecf8
mov edi, eax
add esp, 4
mov dword [esp + 0x4c], edi
test edi, edi
mov byte [esp + 0xa8], 1
je 0x4d32a5
lea ebp, [edi + 4]
mov ecx, ebp
call fcn.0058d451
push 0x20
push 0
mov ecx, ebp
mov byte [esp + 0xb0], 2
call fcn.0058d97e
mov ebp, dword [esp + 0x10]
jmp 0x4d32a7
xor edi, edi
push edi
lea ecx, [ebx + 0x1c]
mov byte [esp + 0xac], 0
mov dword [esp + 0x1c], edi
call fcn.004d1960
push ebp
lea ecx, [ebx + 0x58]
mov dword [edi], ebp
call fcn.004c79a0
mov edi, dword [esp + 0x24]
mov ebp, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], 0
cmp edi, eax
jle 0x4d3305
shl esi, 2
push esi
call fcn.0058ecf8
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x3c], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x24]
mov eax, dword [ebx + 0xc]
xor esi, esi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x10]
cmp edi, eax
mov dword [esp + 0x50], esi
jle 0x4d35d3
push ebp
lea ecx, [ebx + 0x58]
call fcn.004c79f0
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x44], ecx
je 0x4d3337
mov eax, dword [ecx]
cmp eax, edi
jb 0x4d3339
mov eax, edi
mov edi, dword [esp + 0x10]
sub eax, edi
mov edi, dword [esp + 0x2c]
inc eax
test ebp, ebp
mov dword [esp + 0x34], eax
je 0x4d335e
push edi
lea ecx, [esp + 0x40]
push ebp
push ecx
mov ecx, ebx
call fcn.004d2d10
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x34]
xor edx, edx
dec eax
mov dword [esp + 0x1c], edx
cmp eax, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], edx
jle 0x4d359f
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x10]
lea ebp, [ecx + edx*2]
mov ecx, dword [ebx + 0x100]
mov ax, word [ebp]
test ecx, ecx
mov dword [esp + 0x30], eax
je 0x4d33a4
cmp ax, 0x30
jne 0x4d33a4
mov dword [esp + 0x30], 0xd8
mov eax, dword [esp + 0x18]
push esi
lea ecx, [eax + 4]
mov eax, dword [eax + 0xc]
push eax
call fcn.0058d4b1
mov eax, dword [esp + 0x30]
cmp ax, 9
jne 0x4d33d9
mov ecx, dword [ebx + 0xe8]
mov eax, esi
cdq
idiv ecx
inc eax
imul eax, ecx
sub eax, esi
mov dword [esp + 0x1c], eax
jmp 0x4d357c
cmp ax, 0x1f
je 0x4d33fa
cmp ax, 0xe000
jae 0x4d33fa
mov eax, dword [edi + 4]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x34]
push 1
push edx
push eax
jmp 0x4d3572
mov eax, dword [0x7193d4]
mov dword [esp + 0x1c], 0
test eax, eax
jne 0x4d346e
push 0x3c
call fcn.0058ecf8
mov esi, eax
add esp, 4
mov dword [esp + 0x68], esi
test esi, esi
je 0x4d344d
mov dword [esi], 0x5e1d8c
lea ecx, [esi + 4]
mov byte [esp + 0xa8], 4
call fcn.00512220
lea ecx, [esi + 0x20]
mov byte [esp + 0xa8], 5
call fcn.00512220
mov dword [esi], 0x5e1d88
jmp 0x4d344f
xor esi, esi
push 0x45c160
mov byte [esp + 0xac], 0
mov dword [0x7193d4], esi
call fcn.005732b4
mov esi, dword [esp + 0x54]
add esp, 4
mov ecx, dword [0x7193d4]
push ebp
call fcn.00513030
mov ecx, eax
test ecx, ecx
je 0x4d3562
mov al, byte [ecx + 0x24]
test al, al
je 0x4d3497
mov edx, dword [esp + 0x28]
inc edx
add ebp, 2
mov dword [esp + 0x28], edx
mov eax, dword [ecx + 0x44]
dec eax
cmp eax, 3
ja case.default.0x4d34a4
jmp dword [eax*4 + 0x4d373c]
mov edx, dword [ecx]
lea eax, [esp + 0x7c]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa8], 6
call fcn.004cd910
test eax, eax
je 0x4d34f3
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x80]
call fcn.004cd910
push eax
lea ecx, [esp + 0x84]
call fcn.0050cd90
mov edx, dword [edi + 4]
push eax
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa8], 0
call fcn.0050bd60
jmp case.default.0x4d34a4
mov eax, dword [ecx + 0x48]
test eax, eax
je case.default.0x4d34a4
mov eax, dword [ecx + 0x54]
add eax, 4
mov dword [esp + 0x1c], eax
mov ecx, dword [ecx + 0x58]
mov dword [esp + 0x20], ecx
jmp 0x4d357c
mov eax, dword [ecx + 0x48]
test eax, eax
je case.default.0x4d34a4
mov eax, dword [ecx + 0x54]
add eax, 4
mov dword [esp + 0x1c], eax
mov edx, dword [ecx + 0x58]
mov dword [esp + 0x20], edx
jmp 0x4d357c
mov ecx, dword [ecx + 0x48]
test ecx, ecx
je case.default.0x4d34a4
mov edx, dword [edi + 4]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x9c]
push edx
call dword [eax]
mov ecx, eax
mov eax, dword [ecx]
mov dword [esp + 0x1c], eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x20], edx
jmp 0x4d357c
mov edx, dword [edi + 4]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
push 1
push ecx
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
add esi, eax
mov eax, dword [esp + 0x34]
inc ecx
add ebp, 2
dec eax
cmp ecx, eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x28], ecx
jl 0x4d3384
mov ecx, dword [esp + 0x44]
mov eax, dword [ebx + 0x84]
test eax, eax
jne 0x4d35b3
mov edx, dword [esp + 0x20]
mov dword [ebx + 0x84], edx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
mov ebp, ecx
mov ecx, dword [esp + 0x24]
lea eax, [eax + edx - 1]
mov edi, ecx
cmp ecx, eax
mov dword [esp + 0x10], eax
jg 0x4d331e
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4d35f9
mov eax, dword [esp + 0x18]
push esi
lea ecx, [eax + 4]
mov eax, dword [eax + 0xc]
push eax
call fcn.0058d4b1
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0058ed21
add esp, 4
mov eax, dword [esp + 0x14]
lea esi, [edi + 1]
inc eax
lea ecx, [ebx + 0x1c]
push eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
call fcn.004c78d0
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x10]
cmp esi, eax
mov ebp, esi
jle 0x4d323a
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
cmp ebp, dword [ebx + 0x10]
jl 0x4d367e
mov edi, dword [ebx + 0x24]
cmp esi, edi
jge 0x4d3672
jmp 0x4d363d
mov esi, dword [esp + 0x14]
lea ebp, [ebx + 0x1c]
push esi
mov ecx, ebp
call fcn.004c78d0
mov esi, eax
test esi, esi
je 0x4d365f
lea ecx, [esi + 4]
call fcn.0058d484
push esi
call fcn.0058ed21
add esp, 4
mov esi, dword [esp + 0x14]
push 1
push esi
mov ecx, ebp
call fcn.0058d4d8
cmp esi, dword [ebx + 0x24]
jl 0x4d3639
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
mov eax, dword [ebx + 0xd0]
mov ecx, dword [esp + 0x78]
sub esi, eax
inc esi
mov eax, esi
imul eax, dword [ebx + 0x84]
cmp eax, ecx
mov dword [esp + 0x64], eax
jl 0x4d36a0
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x54]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x28]
mov ecx, eax
call fcn.005975ec
mov eax, dword [ebx + 0x104]
mov ecx, dword [edi + 4]
push ecx
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebx + 0x104]
lea ecx, [esp + 0x58]
push 1
push ecx
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edi, dword [esp + 0x48]
lea esi, [ebx + 0x1c]
push edi
mov ecx, esi
call fcn.004d1b00
push eax
mov ecx, esi
mov dword [ebx + 0x88], eax
call fcn.004c78d0
mov ecx, dword [eax]
mov dword [esp + 0x3c], 0x5f1014
sub edi, ecx
mov dword [ebx + 0x8c], edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0xa8], 7
call fcn.005975ec
pop edi
mov ecx, dword [esp + 0x9c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x9c
ret 4