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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x1c]
push edi
mov dword [esp + 0x78], eax
lea edx, [esp + 0x6c]
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x85]
mov dword [esp + 0x6c], esi
push eax
mov edi, edx
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x78], ebx
mov dword [esp + 0x80], ecx
mov byte [esp + 0x89], 0
mov dword [esp + 0x84], edx
call fcn.0049b400
mov byte [esp + 0x84], al
mov eax, ebx
call fcn.004a3200
mov edi, eax
sub esp, 8
mov eax, esp
mov ebx, edx
mov dword [eax], esi
mov dword [eax + 4], esi
lea esi, [esp + 0x30]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
call fcn.004d3970
test edi, edi
jne 0x4b5ea7
test ebx, ebx
je 0x4b6001
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004b5760
mov esi, dword [esp + 0x28]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x48], edx
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
xor eax, eax
jmp 0x4b5f00
mov cl, byte [esp + eax + 0x48]
mov dl, byte [esp + eax + 0x38]
cmp cl, dl
jb 0x4b5feb
ja 0x4b5f1a
add eax, 1
cmp eax, 0x10
jb 0x4b5f00
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x38]
mov dl, byte [esp + eax + 0x48]
cmp cl, dl
jb 0x4b5feb
ja 0x4b5f3a
add eax, 1
cmp eax, 0x10
jb 0x4b5f20
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
push eax
push ecx
lea esi, [esp + 0x60]
call fcn.004d3970
mov ecx, dword [ebp + 0xc]
mov eax, esi
call fcn.0049e7f0
call fcn.004b5890
mov eax, dword [esp + 0x60]
test eax, eax
mov edx, dword [esp + 0x64]
jne 0x4b5f6a
test edx, edx
je 0x4b5f79
mov ecx, dword [0x10075eb4]
mov esi, dword [ecx]
push edx
mov edx, dword [esi + 0x18]
push eax
call edx
lea esi, [esp + 0x28]
call fcn.004b5a40
mov eax, dword [esp + 0x30]
test eax, eax
mov edx, dword [esp + 0x34]
jne 0x4b5f92
test edx, edx
je 0x4b5fa1
mov ecx, dword [0x10075eb4]
mov esi, dword [ecx]
push edx
push eax
mov eax, dword [esi + 0x18]
call eax
cmp byte [esp + 0x85], 0
je 0x4b5fdd
mov esi, dword [esp + 0x80]
mov ecx, dword [esi + 8]
push 0
push ecx
call dword [0x1005f124]
mov edx, dword [esi + 0xc]
test edx, edx
lea eax, [esi + 0xc]
jle 0x4b5fdd
push eax
call dword [0x1005f1f8]
mov eax, dword [esi + 0x10]
push 0
push 1
push eax
call dword [0x1005f144]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp dword [esp + 0x10], 0
jne 0x4b5ec3
cmp dword [esp + 0x14], 0
jne 0x4b5ec3
lea esi, [esp + 0x28]
call fcn.004b5a40
mov eax, dword [esp + 0x30]
test eax, eax
mov edx, dword [esp + 0x34]
jne 0x4b601a
test edx, edx
je 0x4b6029
mov ecx, dword [0x10075eb4]
mov esi, dword [ecx]
push edx
mov edx, dword [esi + 0x18]
push eax
call edx
cmp byte [esp + 0x85], 0
je 0x4b6065
mov esi, dword [esp + 0x80]
mov eax, dword [esi + 8]
push 0
push eax
call dword [0x1005f124]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea eax, [esi + 0xc]
jle 0x4b6065
push eax
call dword [0x1005f1f8]
mov edx, dword [esi + 0x10]
push 0
push 1
push edx
call dword [0x1005f144]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18