Function at 0x4bee80
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 0x4beee2
mov eax, dword [edx + 0x18]
mov edi, edx
neg eax
jo 0x4beee2
mov ebx, dword [edi + 0x14]
mov dword [esp + 0x60], esi
test ebx, ebx
js 0x4bf172
mov esi, dword [edi + 0x10]
je 0x4beefe
movzx eax, byte [0xfd520d]
xor ecx, ecx
mov edx, ebx
call fcn.00494530
test eax, eax
je 0x4bf172
mov ebp, eax
jmp 0x4bef03
mov dword [esp], 0
mov dword [esp + 4], 1
mov dword [esp + 8], 0
jmp 0x4bf052
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 0x4bf172
mov esi, dword [edi + 0x1c]
je 0x4bef46
movzx eax, byte [0xfd520d]
xor ecx, ecx
mov edx, ebx
call fcn.00494530
test eax, eax
je 0x4bf172
mov ebp, eax
jmp 0x4bef4b
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], 0xfbda0c
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], 0x407160
mov dword [esp + 0x20], edx
lea ecx, [esp + 0x74]
lea edx, [esp + 0x30]
mov dword [esp + 0x24], 0x407160
mov dword [esp + 0x3c], 2
call fcn.00415500
cmp dword [esp], 0
je 0x4befcc
push dword [esp + 4]
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 0xc], 0
je 0x4befe5
push dword [esp + 0x10]
push 0
push dword [0xfd5200]
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.004bf230
add esp, 4
test esi, esi
je 0x4bf014
push ebp
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp byte [edi + 0x28], 0
mov esi, dword [esp + 0x60]
je 0x4bf123
mov dword [esp], 0
mov dword [esp + 4], 1
mov dword [esp + 8], 0
cmp dword [esp + 0x18], 0
je 0x4bf052
push dword [esp + 0x1c]
push 0
push dword [0xfd5200]
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], 0xfbdbd4
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], 0x49bdf0
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 0x419160
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0x44], 0x49bdf0
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], 0x419160
mov edx, esp
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], 0x49bdf0
mov dword [esp + 0x58], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x5c], 0x407160
mov dword [esp + 0x20], ecx
mov ecx, esi
mov dword [esp + 0x24], 6
call fcn.00415500
cmp dword [esp], 0
je 0x4bf118
push dword [esp + 4]
push 0
push dword [0xfd5200]
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], 0xfbdb7c
mov dword [esp + 0x34], 2
mov dword [esp + 0x40], 0
mov dword [esp + 0x10], 0x407160
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 1
call fcn.00415500
cmp dword [esp + 0x18], 0
jne 0x4bf040
jmp 0x4bf052
ud2