Function at 0x4f8b90
Capabilities:
Check for peb ntglobalflag flag
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x2f8
mov esi, esp
mov dword [esi + 0x2e0], ebp
mov dword [esi + 0x38], ecx
nop
mov edi, dword [ebp + 8]
mov dword [esi + 0x2e4], esp
mov dword [esi + 0x2f0], 0xffffffff
lea eax, [esi + 0x2e8]
mov dword [esi + 0x2ec], 0x500a30
mov ecx, dword fs:[0]
mov dword [esi + 0x2e8], ecx
mov dword fs:[0], eax
call fcn.004ffde0
test edi, edi
mov ebx, 0x751b04
cmovne ebx, edi
mov dword [esi + 0x1c], eax
mov eax, 0x7d4230
add eax, dword [0x7d4230]
mov dword [esi + 0x34], eax
mov eax, dword [0x7d4250]
mov dword [esi + 0x18], eax
mov eax, 0x7d4208
add eax, dword [0x7d4208]
mov dword [esi + 0x30], eax
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0xf
mov byte [esi + 0x58], 0
push ebx
call fcn.00700090
add esp, 4
mov edi, eax
cmp eax, 0xf
jbe 0x4f8c75
nop
mov eax, dword [0x84bbc4]
add eax, dword [esi + 0x1c]
mov ecx, dword [0x84bbb8]
add ecx, eax
add ecx, 0xffffeb2e
mov dword [esi + 0x14], ecx
call dword [0x834360]
sub esp, 0xc
movzx eax, byte [esi + 0x78]
mov byte [esp + 4], al
mov dword [esp + 8], ebx
mov dword [esp], edi
lea ecx, [esi + 0x58]
mov ebx, ecx
call dword [esi + 0x14]
jmp 0x4f8ca7
nop
mov dword [esi + 0x68], edi
mov eax, dword [0x84bbc8]
add eax, dword [esi + 0x1c]
mov ecx, dword [0x84bbb0]
add ecx, eax
add ecx, 0xffffeb2e
call dword [0x834360]
push edi
push ebx
lea eax, [esi + 0x58]
mov ebx, eax
push eax
call ecx
add esp, 0xc
mov byte [esi + edi + 0x58], 0
nop
mov dword [esi + 0x10], esp
mov dword [esi + 0x54], 0x751360
push eax
sub esp, 0x18
mov eax, esp
mov dword [esi + 0x2e4], esp
mov dword [eax + 0x14], 0
mov dword [esi + 0x14], eax
mov dword [eax + 0x18], 0
mov eax, dword [esi + 0x68]
mov dword [esi + 4], eax
cmp dword [esi + 0x6c], 0x10
jb 0x4f8cde
mov ebx, dword [esi + 0x58]
mov dword [esi], ebx
mov eax, dword [esi + 0x14]
lea edi, [eax + 4]
mov ebx, dword [esi + 4]
cmp ebx, 0xf
ja 0x4f8d1f
nop
mov eax, dword [0x84bbc8]
add eax, dword [esi + 0x1c]
mov ecx, dword [0x84bbb0]
add ecx, eax
add ecx, 0xffffeb2e
call dword [0x834360]
push 0x10
push dword [esi]
push edi
call ecx
add esp, 0xc
mov ecx, 0xf
jmp 0x4f8dbb
mov dword [esi + 8], edi
mov eax, ebx
or eax, 0xf
test ebx, ebx
mov ecx, 0x7fffffff
cmovns ecx, eax
cmp ecx, 0xfff
mov dword [esi + 0xc], ecx
jb 0x4f8d5f
lea eax, [ecx + 0x24]
mov dword [esi + 0x2f0], 1
push eax
call fcn.0071993d
add esp, 4
mov edi, eax
add edi, 0x23
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x4f8d77
lea eax, [ecx + 1]
mov dword [esi + 0x2f0], 1
push eax
call fcn.0071993d
add esp, 4
mov edi, eax
nop
mov eax, dword [esi + 8]
mov dword [eax], edi
mov eax, dword [0x84bbc8]
add eax, dword [esi + 0x1c]
mov ecx, dword [0x84bbb0]
add ecx, eax
add ecx, 0xffffeb2e
mov ebx, dword [esi + 4]
lea eax, [ebx + 1]
mov dword [esi + 8], eax
mov dword [esi + 0x2f0], 0xffffffff
call dword [0x834360]
push dword [esi + 8]
push dword [esi]
push edi
call ecx
add esp, 0xc
nop
mov ecx, dword [esi + 0xc]
nop
mov eax, dword [esi + 0x14]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ecx
mov dword [eax], 0x751360
mov dword [esi + 0x2f0], 1
mov ecx, dword [esi + 0x38]
call fcn.004f5de0
mov dword [esi + 4], eax
nop
mov esp, dword [esi + 0x10]
mov dword [esi + 0x2e4], esp
mov dword [esi + 0x14], 0
cmp dword [esi + 4], 0xfffffffe
je 0x4f92f5
nop
cmp dword [0x88abdc], 0
jne 0x4f8e2f
nop
push 0x4f8
call fcn.0071993d
add esp, 4
nop
mov dword [esi + 0x2f0], 2
mov dword [esi], eax
mov ecx, eax
call fcn.00455c90
nop
mov eax, dword [esi]
mov dword [0x88abdc], eax
nop
mov eax, dword [0x88abdc]
mov dword [esi + 0x2c], eax
mov ecx, dword [eax + 0x400]
mov dword [esi + 0x2f0], 0xffffffff
call dword [0x834360]
mov dword [esi + 0x2f0], 1
push dword [ebp + 8]
call ecx
cmp eax, 0xffffffff
je 0x4f8e7b
mov ecx, eax
not ecx
add ecx, dword [0x889b8c]
and ecx, 0xffffffaf
or ecx, eax
cmp ecx, 0xffffffaf
je 0x4f8eaa
jmp 0x4f92f5
nop
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x3f8]
mov dword [esi + 0x2f0], 0xffffffff
call dword [0x834360]
mov dword [esi + 0x2f0], 1
call ecx
cmp eax, 0x32
je 0x4f92f5
nop
mov edi, dword [esi + 4]
imul eax, edi, 0x18c
mov edx, dword [esi + 0x38]
mov ecx, dword [edx + 0x34]
add eax, ecx
add eax, 4
lea ecx, [edx + 0x30]
cmp edi, 0xffffffff
cmove eax, ecx
mov eax, dword [eax]
lea ecx, [esi + 0x78]
push edi
mov dword [esi + 0x44], eax
push eax
call fcn.004f96c0
nop
mov ebx, dword [ebp + 0x28]
mov dword [esi + 0x2f0], 3
mov edi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x78]
push ebx
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push edi
push edx
push eax
push dword [ebp + 8]
call fcn.004f26a0
mov dword [esi + 0x14], eax
cmp dword [esi + 0x14], 0
je 0x4f8fc0
lea ecx, [esi + 0x78]
call fcn.004f2230
nop
mov eax, dword [0x84c0d8]
lea ecx, [eax + 1]
mov dword [0x84c0d8], ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], ecx
test ecx, eax
nop
mov dword [esi + 0xc], 0
je 0x4f9031
nop
cmp dword [esi + 0x88], 1
jne 0x4f8fff
nop
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x214]
mov dword [esi + 0x2f0], 0xffffffff
call dword [0x834360]
mov dword [esi + 0x2f0], 3
push dword [esi + 0x14]
call ecx
mov dword [esi + 0x14], 0
cmp dword [ebp + 0x18], 1
jne 0x4f92c6
nop
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x374]
mov dword [esi + 0x2f0], 0xffffffff
call dword [0x834360]
mov dword [esi + 0x2f0], 3
push dword [ebp + 8]
call ecx
jmp 0x4f92c6
mov dword [esi + 0x14], 0
cmp dword [ebp + 0x18], 1
jne 0x4f92c6
nop
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x374]
mov dword [esi + 0x2f0], 0xffffffff
call dword [0x834360]
mov dword [esi + 0x2f0], 3
push dword [ebp + 8]
call ecx
jmp 0x4f92c6
nop
mov eax, dword [esi + 0x84]
test al, 1
jne 0x4f922b
nop
mov ecx, dword [esi + 0x38]
add ecx, 0x28
mov dword [esi + 0x2f0], 3
lea eax, [esi + 0x70]
lea edx, [esi + 0x78]
push edx
push eax
call fcn.004fee20
jmp 0x4f92c6
nop
mov eax, dword [esi + 0x30]
mov ecx, dword [eax]
add ecx, eax
mov dword [esi], ecx
cmp dword [esi + 0x18], 0
jle 0x4f926e
nop
mov ecx, dword [0x84c104]
cmp dword [0x84c100], 0xb7c2ed75
mov eax, dword [0x889bd4]
mov dword [esi + 0x24], eax
jne 0x4f9359
mov dword [esi + 0x20], ecx
xor ebx, ebx
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 0x28], 0
jmp 0x4f90a5
xor dword [esi + 0x10], ecx
mov eax, dword [esi + 4]
xor dword [esi + 0xc], eax
add ebx, 8
cmp ebx, dword [esi + 0x18]
jge 0x4f8f4a
mov eax, dword [esi + 0x34]
lea edi, [eax + ebx]
cmp dword [esi + 0x20], 0x3dcc1426
jne 0x4f90c0
mov edx, dword [esi]
sub edx, edi
mov ecx, dword [esi + 8]
sbb ecx, 0
jmp 0x4f90d5
mov eax, edi
not eax
add eax, dword [esi]
mov ecx, dword [esi + 8]
adc ecx, 0xffffffff
mul edi
imul ecx, edi
add ecx, edx
mov edx, eax
mov eax, 7
cmp eax, edx
mov eax, 0
sbb eax, ecx
mov ecx, dword [edi]
mov eax, dword [edi + 4]
nop
mov dword [esi + 4], eax
jl 0x4f91f7
nop
mov dword [esi], ecx
lea ecx, [edx + edx*2]
add ecx, 0xfffffff7
mov eax, edx
sub eax, ecx
imul eax, ecx
shl eax, cl
xor edi, edi
test cl, 0x20
cmovne eax, edi
mov dword [esi + 0x50], edx
mov edx, 1
mov ecx, eax
shl edx, cl
test al, 0x20
cmovne edx, edi
xor ebx, ebx
mov ecx, edx
mov eax, 2
shld ebx, eax, cl
mov edi, 2
shl edi, cl
test dl, 0x20
cmovne ebx, edi
mov dword [esi + 8], 0
mov eax, 0
cmovne edi, eax
add edi, 0xffffffff
adc ebx, 0xffffffff
mov ecx, dword [esi]
sub ecx, edi
mov eax, dword [esi + 4]
sbb eax, ebx
mov dword [esi + 0x4c], eax
mov eax, ecx
mul edi
imul ebx, ecx
add edx, ebx
mov ecx, dword [esi + 0x4c]
imul ecx, edi
add ecx, edx
mov edx, ecx
mov ebx, dword [esi]
mov edi, eax
mov dword [esi + 0x48], eax
sub ebx, eax
mov ecx, dword [esi + 4]
sbb ecx, edx
mov eax, ebx
imul ebx, edx
mul edi
mov edi, eax
add ebx, edx
imul ecx, dword [esi + 0x48]
add ecx, ebx
mov ebx, dword [esi]
sub ebx, eax
sbb dword [esi + 4], ecx
mov eax, ebx
mul edi
imul ebx, ecx
add ebx, edx
mov edx, dword [esi + 4]
imul edx, edi
add edx, ebx
sub edi, eax
sbb ecx, edx
and edx, ecx
mov dword [esi + 4], edx
and edi, eax
mov eax, dword [esi + 0x28]
lea eax, [eax + eax*2]
mov edx, 5
sub edx, eax
mov eax, 0xfffffffc
mov ebx, dword [esi + 0x50]
sub eax, ebx
add ebx, 4
imul ebx, eax
mov cl, 0x2e
sub cl, bl
add ebx, 0x5b9c2da4
mov eax, ebx
shl eax, cl
mov ecx, eax
shl ebx, cl
sub ebx, eax
mov dword [0x84c0f8], 0x3f102433
mov eax, dword [esi + 0x30]
lea ecx, [eax + edx*4]
mov dword [esi + 0x28], edx
add ecx, dword [eax + edx*4]
mov dword [esi], ecx
mov ecx, edi
nop
cmp dword [0x84c0f8], 0xb6ceabe
jne 0x4f9090
xor dword [esi + 0x10], ecx
mov eax, dword [esi + 4]
xor dword [esi + 0xc], eax
add ebx, dword [esi + 0x24]
shl ebx, 6
add ebx, 0xfffffdc8
cmp dword [esi + 0x18], ebx
jg 0x4f90a5
jmp 0x4f8f4a
and eax, 2
shr eax, 1
test byte [esi + 0x44], 4
sete cl
or cl, al
jne 0x4f9281
nop
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x214]
mov dword [esi + 0x2f0], 0xffffffff
call dword [0x834360]
mov dword [esi + 0x2f0], 3
push dword [esi + 0x14]
call ecx
nop
mov dword [esi + 0x14], 0
jmp 0x4f92c6
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
jmp 0x4f8f4a
nop
mov eax, dword [0x7d426c]
mov ecx, dword [0x7d4268]
sub ecx, dword [esi + 0x10]
sbb eax, dword [esi + 0xc]
xor edx, edx
mov edi, dword [esi + 0x3c]
test dword [esi + 0x40], edi
cmovne ecx, edx
cmovne eax, edx
or eax, ecx
add dword [0x889b28], eax
mov ecx, dword [esi + 0x38]
add ecx, 0x20
mov dword [esi + 0x2f0], 3
lea eax, [esi + 0x70]
lea edx, [esi + 0x78]
push edx
push eax
call fcn.004fee20
nop
mov ecx, dword [esi + 0x1c]
add ecx, dword [0x84bbc0]
mov eax, dword [0x84bbbc]
lea edi, [eax + ecx]
add edi, 0xffffeb2e
mov dword [esi + 0x2f0], 0xffffffff
mov ecx, edi
call dword [0x834360]
lea ecx, [esi + 0x78]
call edi
nop
mov eax, dword [esi + 0x6c]
cmp eax, 0x10
setb cl
movzx edx, byte [0x889b00]
not dl
test dl, cl
jne 0x4f933f
nop
mov ecx, dword [esi + 0x58]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x4f9334
nop
mov edi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edi
cmp ecx, 0x20
jae 0x4f95d7
add eax, 0x24
mov edx, eax
mov ecx, edi
nop
push edx
push ecx
call fcn.0071996d
add esp, 8
nop
mov eax, dword [esi + 0x2e8]
mov dword fs:[0], eax
mov eax, dword [esi + 0x14]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x24
cmp ecx, 0x3dcc1426
mov eax, dword [0x84c0f8]
jne 0x4f9436
cmp eax, 0xb6ceabe
jne 0x4f951e
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 4], 0
mov dword [esi + 0x20], 0
jmp 0x4f93af
xor dword [esi + 0xc], edi
xor dword [esi + 0x10], ecx
add eax, dword [esi + 0x24]
shl eax, 6
add eax, 0xfffffdc8
cmp dword [esi + 0x18], eax
jle 0x4f8f4a
nop
mov edi, dword [esi + 0x34]
lea ecx, [edi + eax]
mov ebx, dword [esi]
sub ebx, ecx
mov ecx, dword [esi + 4]
sbb ecx, 0
mov edx, 7
cmp edx, ebx
mov edx, 0
sbb edx, ecx
mov ecx, dword [edi + eax]
mov edi, dword [edi + eax + 4]
jl 0x4f9395
nop
mov dword [esi + 8], ecx
lea ecx, [ebx*8]
mov edx, 0xffffffff
shl edx, cl
test cl, 0x20
mov ecx, 0xffffffff
cmovne ecx, edx
mov dword [esi + 4], 0
mov dword [esi], edi
mov edi, 0
cmovne edx, edi
mov edi, dword [esi]
not ecx
and edi, ecx
not edx
and dword [esi + 8], edx
add eax, ebx
add eax, 0xfffffffc
mov ecx, dword [esi + 0x30]
mov ebx, dword [esi + 0x20]
lea edx, [ecx + ebx*4]
add edx, 4
add edx, dword [ecx + ebx*4 + 4]
mov dword [esi], edx
lea ecx, [ebx + 1]
nop
mov dword [esi + 0x20], ecx
mov ecx, dword [esi + 8]
jmp 0x4f9395
mov dword [esi + 0x20], eax
xor ebx, ebx
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 0x28], 0
jmp 0x4f946e
mov eax, dword [esi + 4]
xor dword [esi + 0x10], eax
xor dword [esi + 0xc], edi
add ebx, 8
cmp ebx, dword [esi + 0x18]
jge 0x4f8f4a
nop
mov edi, dword [esi + 0x34]
lea edx, [edi + ebx]
mov eax, edx
not eax
add eax, dword [esi]
mov ecx, dword [esi + 8]
adc ecx, 0xffffffff
imul ecx, edx
mul edx
add ecx, edx
cmp eax, 8
sbb ecx, 0
mov ecx, dword [edi + ebx]
mov edi, dword [edi + ebx + 4]
nop
mov dword [esi + 4], ecx
jge 0x4f94ee
lea ecx, [eax*8]
mov edx, 0xffffffff
shl edx, cl
test cl, 0x20
mov dword [esi], eax
mov eax, 0xffffffff
cmovne eax, edx
mov dword [esi + 8], 0
mov ecx, 0
cmovne edx, ecx
not eax
and edi, eax
not edx
and dword [esi + 4], edx
mov eax, dword [esi]
add ebx, eax
add ebx, 0xfffffffc
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x28]
lea ecx, [eax + edx*4]
add ecx, 4
add ecx, dword [eax + edx*4 + 4]
mov dword [esi], ecx
lea eax, [edx + 1]
nop
mov dword [esi + 0x28], eax
cmp dword [esi + 0x20], 0xb6ceabe
jne 0x4f9459
mov eax, dword [esi + 4]
xor dword [esi + 0x10], eax
xor dword [esi + 0xc], edi
add ebx, dword [esi + 0x24]
shl ebx, 6
add ebx, 0xfffffdc8
cmp dword [esi + 0x18], ebx
jg 0x4f946e
jmp 0x4f8f4a
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 4], 0
mov dword [esi + 0x24], 0
jmp 0x4f9550
xor dword [esi + 0xc], edi
xor dword [esi + 0x10], ecx
add eax, 8
cmp eax, dword [esi + 0x18]
jge 0x4f8f4a
nop
mov edi, dword [esi + 0x34]
lea ecx, [edi + eax]
mov ebx, dword [esi]
sub ebx, ecx
mov ecx, dword [esi + 4]
sbb ecx, 0
mov edx, 7
cmp edx, ebx
mov edx, 0
sbb edx, ecx
mov ecx, dword [edi + eax]
mov edi, dword [edi + eax + 4]
jl 0x4f953e
nop
mov dword [esi + 8], ecx
lea ecx, [ebx*8]
mov edx, 0xffffffff
shl edx, cl
test cl, 0x20
mov ecx, 0xffffffff
cmovne ecx, edx
mov dword [esi + 4], 0
mov dword [esi], edi
mov edi, 0
cmovne edx, edi
mov edi, dword [esi]
not ecx
and edi, ecx
not edx
and dword [esi + 8], edx
add eax, ebx
add eax, 0xfffffffc
mov ecx, dword [esi + 0x30]
mov ebx, dword [esi + 0x24]
lea edx, [ecx + ebx*4]
add edx, 4
add edx, dword [ecx + ebx*4 + 4]
mov dword [esi], edx
lea ecx, [ebx + 1]
nop
mov dword [esi + 0x24], ecx
mov ecx, dword [esi + 8]
jmp 0x4f953e
nop
mov dword [esi + 0x2f0], 0
call fcn.006fce21
nop word [eax + eax]
push ebp
sub esp, 0x24
lea esi, [ebp - 0x2f4]
mov ebp, dword [esi + 0x2e0]
call fcn.007311e0
nop word cs:[eax + eax]
push ebp
sub esp, 0x24
lea esi, [ebp - 0x2f4]
mov ebp, dword [esi + 0x2e0]
nop
mov ecx, dword [esi + 0x1c]
add ecx, dword [0x84bbcc]
mov eax, dword [0x84bbb4]
lea edi, [eax + ecx]
add edi, 0xffffeb2e
mov ecx, edi
call dword [0x834360]
lea ecx, [esi + 0x54]
call edi
add esp, 0x24
pop ebp
ret