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

Disassembly:
push 0xffffffffffffffff
push 0x5d86b5
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x680f10]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x680f10]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
xor edi, edi
push edi
mov ebp, ecx
mov dword [esp + 0x18], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
cmp esi, edi
mov dword [esp + 0x18], esi
je 0x4e248b
mov ecx, ebp
call fcn.004e6820
lea eax, [ebp + 0x40]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x1c], ebx
je 0x4e2484
push ebx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x78]
mov dword [esp + 0x2c], eax
call fcn.0056c3c0
push esi
lea ecx, [esp + 0x7c]
mov dword [esp + 0xa0], edi
call fcn.0056d7d0
lea ecx, [esp + 0x78]
call fcn.0056b690
test eax, eax
je 0x4e245d
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebp
call fcn.004b8c70
add eax, 4
push 0x5fbbd8
push eax
mov byte [esp + 0xa4], 1
call fcn.0048b290
add esp, 8
lea ecx, [esp + 0x30]
mov bl, al
mov byte [esp + 0x9c], 0
call fcn.004b36e0
test bl, bl
je 0x4e2297
push 0x5fbbe0
lea ecx, [esp + 0x34]
call fcn.0048cd50
lea edx, [esp + 0x30]
push edx
mov ecx, ebp
mov byte [esp + 0xa0], 2
mov dword [esp + 0x18], 1
call fcn.004b7950
test eax, eax
je 0x4e20e8
mov ecx, ebp
call fcn.004dee60
test al, 4
jne 0x4e20e8
mov bl, 1
jmp 0x4e20ea
xor bl, bl
lea ecx, [esp + 0x30]
mov dword [esp + 0x9c], edi
call fcn.004b36e0
test bl, bl
je 0x4e2294
lea ecx, [esp + 0x30]
call fcn.00532550
mov bl, 3
push ebp
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa0], bl
call fcn.004ed080
push eax
push 2
push ebp
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0xac], 4
call fcn.005336b0
lea ecx, [esp + 0x58]
mov byte [esp + 0x9c], bl
call fcn.004ecbc0
push 0x20000
call fcn.00427501
push 0x10000
mov dword [esp + 0x1c], eax
call fcn.00427501
push 0x10000
mov edi, eax
push 0
push edi
call fcn.0044dac0
add esp, 0x14
xor eax, eax
mov dword [esp + 0x20], eax
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00532530
mov ebx, eax
test ebx, ebx
je 0x4e21f6
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4e2188
sub eax, edx
je 0x4e21f6
xor esi, esi
jmp 0x4e21a0
movzx eax, si
shl eax, 4
mov ecx, dword [eax + 0x6127a8]
mov edx, ebx
mov edi, edi
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4e21d0
test al, al
je 0x4e21cc
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4e21d0
add ecx, 2
add edx, 2
test al, al
jne 0x4e21b0
xor eax, eax
jmp 0x4e21d5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e21e5
add esi, 1
cmp si, 0x1183
jb 0x4e21a0
jmp 0x4e21f6
movzx ecx, si
shl ecx, 4
movzx edx, word [ecx + 0x6127ac]
mov byte [edx + edi], 1
mov eax, dword [esp + 0x20]
add eax, 1
cmp ax, 0xff
mov dword [esp + 0x20], eax
jbe 0x4e2174
mov eax, dword [esp + 0x14]
push eax
push edi
lea ecx, [esp + 0x80]
call fcn.0056bb60
push 1
lea ecx, [esp + 0x7c]
call fcn.0056c1d0
push 0x7078616d
lea ecx, [esp + 0x7c]
xor esi, esi
call fcn.0056b6e0
test eax, eax
je 0x4e224a
mov eax, dword [eax + 4]
movzx cx, byte [eax + 5]
mov ch, byte [eax + 4]
movzx esi, cx
mov ebx, dword [esp + 0x14]
lea edx, [esp + 0x50]
push esi
push edx
mov dword [esp + 0x58], 0x5fc208
mov dword [esp + 0x5c], ebx
call fcn.0056d270
add esp, 8
push eax
lea ecx, [esp + 0x7c]
call fcn.0056c410
push edi
call fcn.004274fc
push ebx
call fcn.004274fc
add esp, 8
lea ecx, [esp + 0x30]
mov byte [esp + 0x9c], 0
call fcn.00532450
jmp 0x4e22a2
push edi
jmp 0x4e2299
push 1
lea ecx, [esp + 0x7c]
call fcn.0056c1d0
push 0x5fbbec
lea ecx, [esp + 0x5c]
call fcn.0048cd50
mov ecx, ebp
mov byte [esp + 0x9c], 5
call fcn.004b5240
lea ecx, [esp + 0x58]
push ecx
add eax, 4
lea edx, [esp + 0x28]
push edx
mov ecx, eax
call fcn.0048ff20
cmp dword [esp + 0x74], 0x10
mov byte [esp + 0x9c], 0
mov dword [esp + 0x58], 0x5f1558
jb 0x4e22f7
mov eax, dword [esp + 0x60]
push eax
call fcn.004274fc
add esp, 4
mov ecx, ebp
call fcn.004b5240
mov esi, dword [esp + 0x24]
mov edi, dword [eax + 0xc]
add eax, 8
test esi, esi
je 0x4e2310
cmp esi, eax
je 0x4e2315
call fcn.0044b7ad
mov ebx, dword [esp + 0x28]
cmp ebx, edi
je 0x4e23c7
test esi, esi
jne 0x4e232a
call fcn.0044b7ad
cmp ebx, dword [esi + 4]
jne 0x4e2334
call fcn.0044b7ad
mov ecx, dword [ebx + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
cmp eax, 8
jne 0x4e23c7
lea ecx, [esp + 0x24]
call fcn.0048b020
mov ecx, dword [eax + 0x20]
call fcn.004b5460
mov edi, eax
test edi, edi
je 0x4e23c7
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
cmp eax, 5
jne 0x4e23c7
mov eax, dword [ebp + 4]
push 0
push eax
push 0x18
call fcn.004b5290
add esp, 0xc
test eax, eax
je 0x4e2389
mov ecx, eax
call fcn.004b9d40
mov esi, eax
jmp 0x4e238b
xor esi, esi
push esi
mov ecx, edi
call fcn.004ba060
push 0x5fbbfc
lea ecx, [esp + 0x34]
call fcn.0048cd50
push esi
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebp
mov byte [esp + 0xa4], 6
call fcn.004ba020
lea ecx, [esp + 0x30]
mov byte [esp + 0x9c], 0
call fcn.004b36e0
lea ecx, [esp + 0x78]
call fcn.0056b8b0
mov esi, eax
push esi
call fcn.00427501
add esp, 4
mov edi, eax
push edi
lea ecx, [esp + 0x7c]
call fcn.0056b910
push esi
push edi
push 2
mov ecx, ebp
call fcn.004de9e0
push 1
mov ecx, ebp
mov edi, eax
call fcn.004de260
mov esi, eax
test esi, esi
je 0x4e2455
test edi, edi
je 0x4e2427
mov eax, dword [ebp + 4]
push 0
push eax
push 0x10
call fcn.004b5290
add esp, 0xc
test eax, eax
je 0x4e2427
push edi
mov ecx, eax
call fcn.004b5410
mov edi, eax
jmp 0x4e2429
xor edi, edi
push 0x5fb93c
lea ecx, [esp + 0x34]
call fcn.0048cd50
push edi
lea edx, [esp + 0x34]
push edx
mov ecx, esi
mov byte [esp + 0xa4], 8
call fcn.004ba020
lea ecx, [esp + 0x30]
call fcn.004b36e0
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0x78]
mov dword [esp + 0x9c], 0xffffffff
call fcn.0056c390
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.0044abb9
add esp, 0x8c
ret