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

Disassembly:
push 0xffffffffffffffff
push 0x4e8f55
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x14], ebp
call fcn.004b7ee8
test eax, eax
mov dword [esp + 0x18], eax
je 0x4bb518
mov eax, dword [esp + 0xf0]
mov esi, dword [esp + 0xec]
mov ecx, eax
mov edi, dword [esp + 0xe8]
and ecx, 0x1e
xor ebx, ebx
cmp ecx, eax
sete bl
test ebx, ebx
jne 0x4bac7b
push esi
push edi
mov ecx, ebp
call fcn.004bbae8
test eax, eax
jne 0x4bac7b
mov eax, dword [esp + 0xf8]
test eax, eax
je 0x4bb518
push eax
call dword [0x4ec5d0]
jmp 0x4bb518
lea ecx, [esp + 0x90]
call fcn.004b6eb8
mov ecx, dword [esp + 0x18]
push 1
push esi
lea edx, [esp + 0x98]
push edi
push edx
mov dword [esp + 0xe4], 0
call fcn.004b5238
cmp ebx, 1
push esi
jne 0x4bacc6
mov ecx, ebp
call fcn.004b7a58
push edi
mov ecx, ebp
mov dword [esp + 0x24], eax
call fcn.004b7978
mov dword [esp + 0x24], eax
jmp 0x4bace2
lea eax, [esp + 0x50]
push edi
push eax
mov ecx, ebp
call fcn.004bb878
mov ecx, eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x90]
call fcn.004b6f98
mov edi, eax
lea ecx, [esp + 0x90]
mov dword [esp + 0x44], eax
and edi, 0xf
call fcn.004b7008
mov ebx, dword [esp + 0xe4]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], eax
lea eax, [edx + ebx]
mov edx, dword [esp + 0xe0]
mov ebp, eax
mov eax, dword [esp + 0xf8]
add ecx, edx
mov esi, ebx
test eax, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebp
je 0x4bad4c
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebp
lea ecx, [esp + 0x90]
call fcn.004b6fb8
mov ebp, eax
cmp ebp, 0xff000000
jne 0x4bad69
mov edx, dword [esp + 0x14]
mov ebp, dword [edx + 0x40]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
jne 0x4bada2
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.004b5218
cmp dword [esp + 0xe8], eax
jl 0x4bad98
mov ecx, esi
call fcn.004b5228
cmp dword [esp + 0xec], eax
jge 0x4bada2
push 0xf
call dword [0x4ec528]
jmp 0x4bada4
mov eax, ebp
push eax
lea ecx, [esp + 0x88]
call 0x50b19d
mov al, byte [esp + 0xf0]
mov esi, dword [esp + 0xdc]
test al, 0x20
mov byte [esp + 0xd4], 1
je 0x4bae2b
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x50], edx
test eax, eax
mov dword [esp + 0x58], ecx
je 0x4bae07
push eax
lea edx, [esp + 0x50]
lea eax, [esp + 0x50]
push edx
push eax
call dword [0x4ec4f8]
mov ecx, dword [esp + 0x88]
lea eax, [esp + 0x84]
mov edx, dword [esi + 4]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x4c]
push eax
push ecx
push edx
call dword [0x4ec540]
test byte [esp + 0xf0], 1
je 0x4bb4ad
lea ecx, [esp + 0x90]
call fcn.004b6f68
test eax, eax
jne 0x4bb114
test edi, eax
add al, byte [eax]
invalid
mov eax, dword [esp + 0x44]
test ah, 7
mov ebp, dword [esp + 0xe0]
cmp eax, 1
je 0x4bb122
cmp eax, 2
jne 0x4bb4ad
lea ecx, [esp + 0x90]
call fcn.004b7018
test eax, eax
mov dword [esp + 0x18], eax
je 0x4bb4ad
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x2c]
neg eax
push eax
push eax
push edx
call dword [0x4ec4f0]
mov ecx, dword [esi + 8]
lea eax, [esp + 0x2c]
push 2
push eax
push ecx
call dword [0x4ec08c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x34]
push 0
push 0
push 0
push 0
call dword [0x4ec050]
mov ecx, dword [esi + 4]
mov ebx, eax
push ebx
push ecx
mov dword [esp + 0x94], ebx
call dword [0x4ec164]
mov ebp, eax
mov dword [esp + 0x50], 0
dec ebp
mov dword [esp + 0x4c], 0x924a9c
neg ebp
sbb ebp, ebp
inc ebp
mov dword [esp + 0x3c], ebp
mov edx, dword [esp + 0x14]
mov byte [esp + 0xd4], 7
test byte [edx + 0x44], 8
je 0x4bb1c7
mov eax, edx
mov ecx, dword [eax + 0x6c]
test ecx, ecx
jne 0x4bb1ea
lea ecx, [esp + 0x2c]