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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x80
mov edi, dword [esp + 0xa0]
mov eax, dword [esp + 0xa4]
mov esi, ecx
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], eax
xor eax, eax
cmp eax, dword [edx + 0xc]
jo 0x4b5952
mov eax, dword [edx + 0x18]
mov edi, edx
neg eax
jo 0x4b5952
mov ebx, dword [edi + 0x14]
mov dword [esp + 0x60], esi
test ebx, ebx
js 0x4b5be2
mov esi, dword [edi + 0x10]
je 0x4b596e
movzx eax, byte [0x62314d]
xor ecx, ecx
mov edx, ebx
call fcn.0048bb80
test eax, eax
je 0x4b5be2
mov ebp, eax
jmp 0x4b5973
mov dword [esp], 0
mov dword [esp + 4], 1
mov dword [esp + 8], 0
jmp 0x4b5ac2
mov ebp, 1
push ebx
push esi
push ebp
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], ebx
mov ebx, dword [edi + 0x20]
test ebx, ebx
js 0x4b5be2
mov esi, dword [edi + 0x1c]
je 0x4b59b6
movzx eax, byte [0x62314d]
xor ecx, ecx
mov edx, ebx
call fcn.0048bb80
test eax, eax
je 0x4b5be2
mov ebp, eax
jmp 0x4b59bb
mov ebp, 1
push ebx
push esi
push ebp
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esp + 0xc]
mov edx, esp
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0x60c4dc
mov dword [esp + 0x34], 2
mov dword [esp + 0x40], 0
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp], ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0x404e90
mov dword [esp + 0x20], edx
lea ecx, [esp + 0x74]
lea edx, [esp + 0x30]
mov dword [esp + 0x24], 0x404e90
mov dword [esp + 0x3c], 2
call fcn.0040d730
cmp dword [esp], 0
je 0x4b5a3c
push dword [esp + 4]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 0xc], 0
je 0x4b5a55
push dword [esp + 0x10]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
lea ebx, [esp + 0x18]
mov ecx, ebx
mov edx, ebp
push dword [esp + 0x7c]
call fcn.004b5ca0
add esp, 4
test esi, esi
je 0x4b5a84
push ebp
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp byte [edi + 0x28], 0
mov esi, dword [esp + 0x60]
je 0x4b5b93
mov dword [esp], 0
mov dword [esp + 4], 1
mov dword [esp + 8], 0
cmp dword [esp + 0x18], 0
je 0x4b5ac2
push dword [esp + 0x1c]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
lea edx, [esp + 0x9c]
mov dword [esp + 0x18], 0x60c6a4
mov dword [esp + 0x1c], 7
mov dword [esp + 0x28], 0
mov dword [esp + 0x6c], ecx
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0x493590
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 0x410d40
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0x44], 0x493590
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], 0x410d40
mov edx, esp
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], 0x493590
mov dword [esp + 0x58], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x5c], 0x404e90
mov dword [esp + 0x20], ecx
mov ecx, esi
mov dword [esp + 0x24], 6
call fcn.0040d730
cmp dword [esp], 0
je 0x4b5b88
push dword [esp + 4]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
add esp, 0x80
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0xc]
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x30], 0x60c64c
mov dword [esp + 0x34], 2
mov dword [esp + 0x40], 0
mov dword [esp + 0x10], 0x404e90
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 1
call fcn.0040d730
cmp dword [esp + 0x18], 0
jne 0x4b5ab0
jmp 0x4b5ac2
ud2