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

Disassembly:
sub esp, 0x64
push ebx
push ebp
mov ebp, ecx
push esi
lea eax, [esp + 0x30]
push edi
mov ecx, dword [ebp + 0x1c]
push eax
push ecx
mov dword [esp + 0x1c], ebp
call dword [0x5e91b0]
mov ecx, ebp
call fcn.0055664c
mov edi, eax
and edi, 0x400000
mov dword [esp + 0x18], edi
je 0x4baca3
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x34]
sub ebx, ecx
add ebx, eax
jmp 0x4baca7
mov ebx, dword [esp + 0x78]
mov ecx, ebp
call fcn.004b8cd0
test eax, eax
je 0x4bad2b
mov edi, dword [esp + 0x7c]
xor esi, esi
lea edx, [esp + 0x54]
mov ecx, ebp
push edx
push esi
call fcn.004bb800
mov ecx, dword [esp + 0x38]
push eax
mov edx, dword [esp + 0x40]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 8], ecx
mov ecx, ebp
mov dword [eax + 0xc], edx
call fcn.004bb600
test eax, eax
je 0x4bad02
push edi
lea eax, [esp + 0x58]
push ebx
push eax
call dword [0x5e9204]
test eax, eax
jne 0x4bad19
inc esi
cmp esi, 4
jl 0x4bacb8
mov ecx, ebp
call fcn.00553577
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 8
push esi
mov ecx, ebp
call fcn.004bb800
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 8
xor esi, esi
lea ecx, [esp + 0x54]
push ecx
push esi
mov ecx, ebp
call fcn.004bb800
push eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x54]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, ebp
call fcn.004bb600
test eax, eax
je 0x4bad7b
mov edx, dword [esp + 0x7c]
lea eax, [esp + 0x54]
push edx
push ebx
push eax
call dword [0x5e9204]
test eax, eax
jne 0x4bad19
inc esi
cmp esi, 4
jl 0x4bad2d
mov ecx, dword [ebp + 0xe0]
xor eax, eax
cmp ecx, eax
jle 0x4bae3f
lea esi, [ebp + 0x18c]
mov ebp, dword [0x5e91a8]
mov dword [esp + 0x10], eax
jmp 0x4bada5
xor eax, eax
cmp dword [esi - 0xc], eax
je 0x4badb8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
jmp 0x4badde
mov eax, 5
lea edx, [esp + 0x2c]
mov ecx, eax
push ecx
lea ecx, [esp + 0x28]
push eax
push ecx
push edx
call fcn.004b9fe0
add esp, 4
mov ecx, eax
call fcn.004b98d0
lea eax, [esp + 0x24]
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x44], eax
add edx, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x48], ecx
add edi, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x4c], edx
push eax
lea edx, [esp + 0x48]
push ecx
push edx
mov dword [esp + 0x5c], edi
call ebp
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x44]
push eax
push ebx
push ecx
call dword [0x5e9204]
test eax, eax
jne 0x4bae8e
mov eax, dword [esp + 0x10]
add esi, 0x24
inc eax
cmp eax, 2
mov dword [esp + 0x10], eax
jl 0x4bada3
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x64]
push edx
push eax
call dword [0x5e91ac]
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebp
call fcn.0055b694
test edi, edi
je 0x4bae6c
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
sub edx, ebx
add edx, eax
mov ebx, edx
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x64]
push eax
push ebx
push ecx
call dword [0x5e9204]
neg eax
sbb eax, eax
add eax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 8
mov eax, dword [esi - 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 8