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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [esp + 0x74]
mov dword [esp], 0x4bf600
call fcn.004a8334
test eax, eax
jne 0x4b1536
xor eax, eax
mov ecx, 0xffffffff
mov edi, dword [esp + 0x70]
repne scasb al, byte es:[edi]
not ecx
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp], 0x50d948
call fcn.004b1c84
mov esi, eax
mov dword [esp], 0x4bf600
call fcn.004a85ac
test eax, eax
jne 0x4b1536
test esi, esi
je 0x4b13bc
mov eax, dword [esi + 4]
test eax, eax
jle 0x4b13a8
mov eax, dword [esi + 8]
test eax, eax
je 0x4b136c
mov eax, esi
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esi + 0x10]
test edx, edx
je 0x4b1362
mov ebx, esi
jmp 0x4b138c
mov eax, dword [ebx + 0x10]
mov ebp, dword [eax + 8]
test ebp, ebp
jne 0x4b1362
add ebx, 4
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x4b1362
mov eax, dword [edx + 4]
test eax, eax
jg 0x4b1378
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004a5978
jmp 0x4b1378
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.004a5978
jmp 0x4b135b
mov dword [esp], ebx
call fcn.004b1b58
mov ebp, eax
test eax, eax
je 0x4b13dc
mov dword [esp], eax
call fcn.004b3fe8
mov ebx, eax
test eax, eax
je 0x4b152f
lea eax, [esp + 0x4c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x44]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004b23e8
mov esi, eax
mov dword [esp + 0x2c], eax
cmp eax, 0xffffffff
je 0x4b152f
mov dword [esp], 0x4bf600
call fcn.004a8474
test eax, eax
jne 0x4b1536
mov ecx, 0xffffffff
mov edi, dword [esp + 0x70]
repne scasb al, byte es:[edi]
not ecx
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x78]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp], 0x50d948
call fcn.004b1c84
mov esi, eax
mov dword [esp], 0x4bf600
call fcn.004a85ac
test eax, eax
jne 0x4b1536
test esi, esi
je 0x4b14c4
mov edi, dword [esi + 4]
test edi, edi
jle 0x4b151d
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4b14e2
test ebp, ebp
je 0x4b14c4
mov dword [esp], ebx
call sub.msvcrt.dll_free
test byte [esp + 0x2c], 1
je 0x4b1362
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, esi
jmp 0x4b1364
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4b14b8
mov edi, esi
jmp 0x4b1504
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 8]
test eax, eax
jne 0x4b14b8
add edi, 4
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4b14b8
mov edx, dword [eax + 4]
test edx, edx
jg 0x4b14f0
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004a5978
jmp 0x4b14f0
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.004a5978
jmp 0x4b14b1
xor eax, eax
jmp 0x4b1364
call sub.msvcrt.dll_abort
nop