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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
jmp 0x1188c92
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 0x1188ccf
inc edi
je 0x1188d14
jb 0x1188d35
arpl word [ecx + 0x64], ax
jb 0x1188d31
jae 0x1188d41
add byte [edi - 0x47], bl
sldt word [eax]
add bl, dh
cmpsb byte [esi], byte es:[edi]
je 0x1188cdf
add eax, 4
inc edx
jne 0x1188cb7
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 0x1188d18
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 0x1188d20
pop edi
cmp dword [edi - 0x1bdc], 1
je 0x1188d7e
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 0x1188d74
sub ah, ah
invalid
call 0x1188d6d
inc ebp
js 0x1188dcd
je 0x1188db6
jb 0x1188dd7
arpl word [ebp + 0x73], sp
jae 0x1188d6d
push ebx
call esi
push 0
call eax
mov dword [edi - 0x1bdc], 1
call 0x1188d9e
inc ebx
push 0x526b6365
insd dword es:[edi], dx
outsd dx, dword [esi]
je 0x1188df3
inc esp
bound esi, qword gs:[ebp + 0x67]
jb 0x1188de7
jb 0x1188dfe
jae 0x1188e00
outsb dx, byte [esi]
je 0x1188d9e
push ebx
call esi
mov edi, eax
test edi, edi
je 0x1188df4
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], 0
call 0x1188dc9
inc edi
je 0x1188dfe
add byte [edi + 0x65], al
je 0x1188dfe
jne 0x1188e2f
jb 0x1188e24
outsb dx, byte [esi]
je 0x1188e12
jb 0x1188e33
arpl word [ebp + 0x73], sp
jae 0x1188dc9
push ebx
call esi
call eax
push eax
call edi
rcl byte [eax - 1]
xlatb
test eax, eax
je 0x1188e2c
mov eax, dword [ebp - 4]
cld
test eax, eax
je 0x1188e2c
call 0x1188ded
inc ebp
js 0x1188e4d
je 0x1188e36
jb 0x1188e57
outsd dx, dword [esi]
arpl word [ebp + 0x73], sp
jae 0x1188ded
push ebx
call esi
push 0
call eax
shr al, 1
adc al, byte [eax]
add byte [eax], al
call 0x1188e0b
dec ecx
jae 0x1188e40
bound esi, qword gs:[ebp + 0x67]
jne 0x1188e67
jb 0x1188e54
jb 0x1188e6b
jae 0x1188e6d
outsb dx, byte [esi]
je 0x1188e0b
push ebx
call esi
call eax
test eax, eax
je 0x1188e2c
call 0x1188e25
inc ebp
js 0x1188e85
je 0x1188e6e
jb 0x1188e8f
arpl word [ebp + 0x73], sp
jae 0x1188e25
add byte [ebx - 1], dl
salc
push ebx
call esi
push 0
call eax
jmp 0x1188e3c
dec ebp
push eax
jb 0x1188ea2
je 0x1188e9a
arpl word [eax + 0x65], si
outsb dx, byte [esi]
je 0x1188e58
outsb dx, byte gs:[esi]
add byte fs:[esi - 0x75], bl
in eax, 0x5d
pop esi
mov esp, ebp
pop ebp
ret 0xc
jb 0x1188ebe
je 0x1188eb6
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 0x1188e93
call 0x1188e8c
inc ebp
js 0x1188eec
je 0x1188ed5
jb 0x1188ef6
arpl word [ebp + 0x73], sp
jae 0x1188e8c
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 0x1188ebb
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 0x1188ed0
call 0x1188ed0
add byte [eax], al
add byte [edi + 0x65], al
je 0x1188f15
inc edi
je 0x1188f15
jb 0x1188f36
arpl word [ecx + 0x64], ax
jb 0x1188f32
jae 0x1188f42
add byte [edi - 0x47], bl
sldt word [eax]
add bl, dh
cmpsb byte [esi], byte es:[edi]
je 0x1188ee0
add eax, 4
inc edx
jne 0x1188eb8
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 0x1188f17
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 0x1188ed2
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 0x1188f6b
call 0x1188f64
inc ebp
js 0x1188fc4
je 0x1188fad
jb 0x1188fce
arpl word [ebp + 0x73], sp
jae 0x1188f64
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 0x1188fa8
inc edi
je 0x1188fed
jb 0x118900e
arpl word [ecx + 0x64], ax
jb 0x118900a
jae 0x118901a
add byte [edi - 0x47], bl
sldt word [eax]
add bl, dh
cmpsb byte [esi], byte es:[edi]
je 0x1188fb8
add eax, 4
inc edx
jne 0x1188f90
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 0x1188fef
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