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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
jmp 0x118bc92
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov eax, dword [eax + 0x78]
add eax, ebx
mov edx, 0
mov eax, dword [eax + 0x20]
add eax, ebx
mov esi, dword [eax]
add esi, ebx
call 0x118bccf
inc edi
je 0x118bd14
jb 0x118bd35
arpl word [ecx + 0x64], ax
jb 0x118bd31
jae 0x118bd41
add byte [edi - 0x47], bl
sldt word [eax]
add bl, dh
cmpsb byte [esi], byte es:[edi]
je 0x118bcdf
add eax, 4
inc edx
jne 0x118bcb7
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov eax, dword [eax + 0x78]
add eax, ebx
mov eax, dword [eax + 0x24]
add eax, ebx
movzx edx, word [eax + edx*2]
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov eax, dword [eax + 0x78]
add eax, ebx
mov eax, dword [eax + 0x1c]
add eax, ebx
mov esi, dword [eax + edx*4]
add esi, ebx
call 0x118bd18
push esi
imul esi, dword [edx + 0x74], 0x416c6175
insb byte es:[edi], dx
insb byte es:[edi], dx
outsd dx, dword [esi]
arpl word [eax], ax
push ebx
call esi
call 0x118bd20
pop edi
cmp dword [edi - 0x1bdc], 1
je 0x118bd7e
mov dword [edi - 0x1bd8], eax
push 0x40
inc eax
push 0x1000
add byte [eax], al
push dword [edi - 0x1c5b]
push 0
call dword [edi - 0x1bd8]
mov dword [edi - 0x1bc4], eax
push eax
push edi
push esi
push ebx
add esp, 0xc
pop dword [edi - 0x1bcc]
test eax, eax
jne 0x118bd74
sub ah, ah
invalid
call 0x118bd6d
inc ebp
js 0x118bdcd
je 0x118bdb6
jb 0x118bdd7
arpl word [ebp + 0x73], sp
jae 0x118bd6d
push ebx
call esi
push 0
call eax
mov dword [edi - 0x1bdc], 1
call 0x118bd9e
inc ebx
push 0x526b6365
insd dword es:[edi], dx
outsd dx, dword [esi]
je 0x118bdf3
inc esp
bound esi, qword gs:[ebp + 0x67]
jb 0x118bde7
jb 0x118bdfe
jae 0x118be00
outsb dx, byte [esi]
je 0x118bd9e
push ebx
call esi
mov edi, eax
test edi, edi
je 0x118bdf4
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], 0
call 0x118bdc9
inc edi
je 0x118bdfe
add byte [edi + 0x65], al
je 0x118bdfe
jne 0x118be2f
jb 0x118be24
outsb dx, byte [esi]
je 0x118be12
jb 0x118be33
arpl word [ebp + 0x73], sp
jae 0x118bdc9
push ebx
call esi
call eax
push eax
call edi
rcl byte [eax - 1]
xlatb
test eax, eax
je 0x118be2c
mov eax, dword [ebp - 4]
cld
test eax, eax
je 0x118be2c
call 0x118bded
inc ebp
js 0x118be4d
je 0x118be36
jb 0x118be57
outsd dx, dword [esi]
arpl word [ebp + 0x73], sp
jae 0x118bded
push ebx
call esi
push 0
call eax
shr al, 1
adc al, byte [eax]
add byte [eax], al
call 0x118be0b
dec ecx
jae 0x118be40
bound esi, qword gs:[ebp + 0x67]
jne 0x118be67
jb 0x118be54
jb 0x118be6b
jae 0x118be6d
outsb dx, byte [esi]
je 0x118be0b
push ebx
call esi
call eax
test eax, eax
je 0x118be2c
call 0x118be25
inc ebp
js 0x118be85
je 0x118be6e
jb 0x118be8f
arpl word [ebp + 0x73], sp
jae 0x118be25
add byte [ebx - 1], dl
salc
push ebx
call esi
push 0
call eax
jmp 0x118be3c
dec ebp
push eax
jb 0x118bea2
je 0x118be9a
arpl word [eax + 0x65], si
outsb dx, byte [esi]
je 0x118be58
outsb dx, byte gs:[esi]
add byte fs:[esi - 0x75], bl
in eax, 0x5d
pop esi
mov esp, ebp
pop ebp
ret 0xc
jb 0x118bebe
je 0x118beb6
arpl word [eax + 0x62], si
imul ebp, dword gs:[bp + 3], 0xfc45c7
bound esp, qword [ebp + 0x67]
imul ebp, dword [esi + 3], 0xfc45c7
outsb dx, byte [esi]
add eax, edi
inc ebp
cld
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ecx + 0x30], ah
add byte [eax], al
add byte [eax + 0x40], al
mov eax, dword fs:[0x30]
inc eax
inc eax
mov eax, dword [eax]
and eax, 0xff
add byte [eax], al
add byte [ecx + 0x458bfc45], cl
cld
add byte [eax], al
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, 1
jne 0x118be93
call 0x118be8c
inc ebp
js 0x118beec
je 0x118bed5
jb 0x118bef6
arpl word [ebp + 0x73], sp
jae 0x118be8c
push ebx
call esi
push 0
call eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
inc eax
or al, 0x8b
jo 0x118bebb
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov eax, dword [ebx + 0x3c]
add eax, ebx
pop eax
or byte [ebx - 0x3cfcc3bd], cl
mov eax, dword [eax + 0x78]
add eax, ebx
mov edx, 0
mov eax, dword [eax + 0x20]
add eax, ebx
mov esi, dword [eax]
add esi, ebx
call 0x118bed0
call 0x118bed0
add byte [eax], al
add byte [edi + 0x65], al
je 0x118bf15
inc edi
je 0x118bf15
jb 0x118bf36
arpl word [ecx + 0x64], ax
jb 0x118bf32
jae 0x118bf42
add byte [edi - 0x47], bl
sldt word [eax]
add bl, dh
cmpsb byte [esi], byte es:[edi]
je 0x118bee0
add eax, 4
inc edx
jne 0x118beb8
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov eax, dword [eax + 0x78]
add eax, ebx
mov eax, dword [eax + 0x24]
add eax, ebx
movzx edx, word [eax + edx*2]
mov eax, dword [ebx + 0x3c]
and al, 3
ret
add eax, ebx
mov eax, dword [eax + 0x78]
add eax, ebx
mov eax, dword [eax + 0x1c]
add eax, ebx
mov esi, dword [eax + edx*4]
add esi, ebx
jmp 0x118bf17
add byte fs:[esi - 0x75], bl
in eax, 0x5d
pop esi
mov esp, ebp
pop ebp
ret 0xc
imul ebp, dword [esi + 3], 0xfc45c7
add byte [eax], al
add byte [ecx + 0x30], ah
add byte [eax], al
add byte [ebx - 0x1f7c97c0], cl
jo 0x118bed2
inc ebp
cld
add byte [eax], al
add byte [eax], al
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x68]
and eax, 0x70
mov dword [ebp - 4], eax
inc ebp
cld
mov eax, dword [ebp - 4]
cmp eax, 1
jne 0x118bf6b
call 0x118bf64
inc ebp
js 0x118bfc4
je 0x118bfad
jb 0x118bfce
arpl word [ebp + 0x73], sp
jae 0x118bf64
push ebx
call esi
push 0
call eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov eax, dword [eax + 0x78]
add eax, ebx
mov edx, 0
mov eax, dword [eax + 0x20]
add eax, ebx
mov esi, dword [eax]
add esi, ebx
call 0x118bfa8
inc edi
je 0x118bfed
jb 0x118c00e
arpl word [ecx + 0x64], ax
jb 0x118c00a
jae 0x118c01a
add byte [edi - 0x47], bl
sldt word [eax]
add bl, dh
cmpsb byte [esi], byte es:[edi]
je 0x118bfb8
add eax, 4
inc edx
jne 0x118bf90
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov eax, dword [eax + 0x78]
add eax, ebx
mov eax, dword [eax + 0x24]
add eax, ebx
movzx edx, word [eax + edx*2]
mov eax, dword [ebx + 0x3c]
and al, 3
ret
add eax, ebx
mov eax, dword [eax + 0x78]
add eax, ebx
mov eax, dword [eax + 0x1c]
add eax, ebx
mov esi, dword [eax + edx*4]
add esi, ebx
jmp 0x118bfef
add byte fs:[esi - 0x75], bl
in eax, 0x5d
pop esi
mov esp, ebp
pop ebp
ret 0xc
add byte [eax + eax], 0
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], 0
add byte [eax], 0
add byte [eax + 0x800080], al
add byte [eax], al
add byte [eax], 0x80
add byte [eax - 0x7fffff80], al
add byte [eax - 0x3f3f4000], 0
add byte [eax], al
inc dword [eax]
add bh, bh
add byte [eax], al
add bh, bh
inc dword [eax]
inc dword [eax]
add byte [eax], al
inc dword [eax]
inc dword [eax]
invalid