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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
lea eax, [ebp - 0x5c]
push eax
call fcn.004f1af0
add esp, 4
mov eax, dword [ebp - 0x5c]
test eax, eax
mov dword [ebp - 0x28], eax
je 0x4e50e8
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
test esi, esi
mov dword [ebp - 0x34], eax
je 0x4e50cd
shl esi, 2
xor edi, edi
lea ebx, [ebp - 0x24]
nop dword [eax]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + edi]
cmp eax, 0x110000
je 0x4e50cd
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x24], 0x56a744
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], fcn.00417af0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 1
push ebx
lea eax, [ebp - 0x40]
push eax
call fcn.004089e0
add esp, 8
mov eax, dword [ebp - 0x38]
movsd xmm0, qword [ebp - 0x40]
movsd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
mov edx, ebx
call fcn.004e3a70
add edi, 4
cmp esi, edi
jne 0x4e5060
cmp dword [ebp - 0x34], 0
je 0x4e53d5
mov eax, dword [0x56bbf8]
push dword [ebp - 0x28]
push 0
push dword [eax]
jmp 0x4e53d0
movsd xmm0, qword [ebp - 0x58]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x24], 0x56a6e8
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x3c], fcn.004c4830
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 1
movsd qword [ebp - 0x30], xmm0
lea esi, [ebp - 0x24]
push esi
call fcn.004c4f80
add esp, 4
mov dword [ebp - 0x24], 0x56a720
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0x56a554
mov dword [ebp - 0x10], 0
push esi
call fcn.004c4f80
add esp, 4
mov esi, dword [0x56bbf8]
mov eax, dword [esi]
test eax, eax
jne 0x4e5174
call sub.kernel32.dll_GetProcessHeap
test eax, eax
je 0x4e53dd
mov dword [esi], eax
push 0xc0
push 0
push eax
call sub.kernel32.dll_HeapAlloc
test eax, eax
je 0x4e53dd
mov ebx, eax
mov esi, 0xffffff40
mov dword [eax], 0x56a73f
mov dword [eax + 4], 1
mov dword [eax + 8], str.DEFGHIJKLMNOPQRSTUVWXYZC:_
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], 0x56a729
mov dword [eax + 0x14], 1
mov dword [eax + 0x18], 0x56a72a
mov dword [eax + 0x1c], 1
mov dword [eax + 0x20], 0x56a72b
mov dword [eax + 0x24], 1
mov dword [eax + 0x28], 0x56a72c
mov dword [eax + 0x2c], 1
mov dword [eax + 0x30], 0x56a72d
mov dword [eax + 0x34], 1
mov dword [eax + 0x38], 0x56a72e
mov dword [eax + 0x3c], 1
mov dword [eax + 0x40], 0x56a72f
mov dword [eax + 0x44], 1
mov dword [eax + 0x48], 0x56a730
mov dword [eax + 0x4c], 1
mov dword [eax + 0x50], 0x56a731
mov dword [eax + 0x54], 1
mov dword [eax + 0x58], 0x56a732
mov dword [eax + 0x5c], 1
mov dword [eax + 0x60], 0x56a733
mov dword [eax + 0x64], 1
mov dword [eax + 0x68], 0x56a734
mov dword [eax + 0x6c], 1
mov dword [eax + 0x70], 0x56a735
mov dword [eax + 0x74], 1
mov dword [eax + 0x78], 0x56a736
mov dword [eax + 0x7c], 1
mov dword [eax + 0x80], 0x56a737
mov dword [eax + 0x84], 1
mov dword [eax + 0x88], 0x56a738
mov dword [eax + 0x8c], 1
mov dword [eax + 0x90], 0x56a739
mov dword [eax + 0x94], 1
mov dword [eax + 0x98], 0x56a73a
mov dword [eax + 0x9c], 1
mov dword [eax + 0xa0], 0x56a73b
mov dword [eax + 0xa4], 1
mov dword [eax + 0xa8], 0x56a73c
mov dword [eax + 0xac], 1
mov dword [eax + 0xb0], 0x56a73d
mov dword [eax + 0xb4], 1
mov dword [eax + 0xb8], 0x56a73e
mov dword [eax + 0xbc], 1
nop
mov eax, dword [ebx + esi + 0xc0]
test eax, eax
je 0x4e5386
mov ecx, dword [ebx + esi + 0xc4]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x24], 0x56a744
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], 0x4e2540
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x4c], ecx
lea edi, [ebp - 0x24]
push edi
lea eax, [ebp - 0x40]
push eax
call fcn.004089e0
add esp, 8
mov eax, dword [ebp - 0x38]
movsd xmm0, qword [ebp - 0x40]
movsd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
mov edx, edi
call fcn.004e3a70
add esi, 8
jne 0x4e5310
push ebx
push 0
mov esi, dword [0x56bbf8]
push dword [esi]
call sub.kernel32.dll_HeapFree
cmp byte [ebp - 0x30], 3
jne 0x4e53d5
mov edi, dword [ebp - 0x2c]
mov eax, dword [edi + 4]
mov eax, dword [eax]
push dword [edi]
call eax
add esp, 4
mov ecx, dword [edi + 4]
cmp dword [ecx + 4], 0
je 0x4e53c9
mov eax, dword [edi]
cmp dword [ecx + 8], 9
jb 0x4e53bf
mov eax, dword [eax - 4]
push eax
push 0
push dword [esi]
call sub.kernel32.dll_HeapFree
push dword [ebp - 0x2c]
push 0
push dword [esi]
call sub.kernel32.dll_HeapFree
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
push 4
push 0xc0
call fcn.004085f0
add esp, 8
ud2