Function at 0x10026846
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, 0x100b587a
call fcn.100b2f10
sub esp, 0x54c
push ebx
push esi
push edi
mov ebx, ecx
call fcn.100263e5
mov ecx, dword [ebx + 0x18]
push 0x200
lea edx, [ebp - 0x358]
call fcn.10009b4d
test eax, eax
jne 0x1002728f
lea esi, [ebx + 0x20]
lea eax, [ebp - 0x358]
push eax
mov ecx, esi
call fcn.10024cf7
test al, al
je 0x1002728c
mov eax, dword [ebx + 0x18]
lea edx, [ebp - 0x20]
push edx
push 2
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x1002728f
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
call fcn.100b30e0
mov edi, dword [ebp - 0x1c]
mov dword [ebx + 0x60], eax
cmp edi, edx
mov dword [ebx + 0x64], edx
ja 0x100268dc
jb 0x1002728c
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx + 0x60]
jb 0x1002728c
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi]
add eax, 1
adc edx, 0
call fcn.100b30e0
cmp edi, edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
jb 0x10026965
ja 0x10026900
cmp dword [ebp - 0x20], eax
jb 0x10026965
mov eax, dword [ebx + 0x18]
mov ecx, dword [esi]
mov edx, dword [ebx + 0x34]
push 0
mov edi, dword [eax]
mov eax, dword [ebx + 0x30]
push 0
call fcn.100b30e0
push edx
push eax
push dword [ebx + 0x18]
call dword [edi + 0x10]
test eax, eax
jne 0x1002728f
mov ecx, dword [ebx + 0x18]
mov edi, 0x200
push edi
lea edx, [ebp - 0x558]
call fcn.10009b4d
test eax, eax
jne 0x10026965
lea eax, [ebp - 0x558]
push edi
push eax
lea eax, [ebp - 0x358]
push eax
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x10026965
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x64], eax
push dword [ebx + 0x44]
mov ecx, ebx
push dword [ebx + 0x40]
call fcn.100263bf
lea ecx, [ebp - 0xf0]
call fcn.10027326
and dword [ebp - 4], 0
and dword [ebp - 0x18], 0
mov edi, 0x1000
lea ecx, [ebx + 0x6c]
push edi
mov byte [ebp - 4], 1
call fcn.10009acb
mov edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x18]
push edi
call fcn.10009b4d
mov edi, eax
test edi, edi
je 0x100269c1
mov eax, dword [ebp - 0x18]
and byte [ebp - 4], 0
test eax, eax
je 0x100269ba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, edi
jmp 0x1002724a
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax + 0x1c]
call fcn.10024e69
mov edx, dword [esi]
cmp eax, edx
jge 0x100269eb
mov eax, dword [ebp - 0x18]
and byte [ebp - 4], 0
test eax, eax
je 0x100269e3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 1
pop esi
jmp 0x1002724a
cmp eax, 0xf
mov dword [ebx + 0x58], eax
ja 0x100269d2
mov ecx, eax
push 1
sub ecx, edx
pop eax
shl eax, cl
mov ecx, dword [ebx + 0x6c]
xor edi, edi
push edi
push edi
push eax
push edx
push ecx
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x14], eax
call fcn.10026127
test al, al
je 0x10026a37
cmp dword [ebp - 0xf0], 0x454c4946
jne 0x10026a37
lea ecx, [ebp - 0xf0]
call fcn.10025ae9
cmp dword [ebp - 0xbc], edi
jne 0x10026a42
mov eax, dword [ebp - 0x18]
and byte [ebp - 4], 0
cmp eax, edi
jmp 0x100269db
lea ecx, [ebp - 0x18]
mov eax, dword [ebx + 0x18]
push ecx
lea ecx, [ebp - 0xf0]
push dword [ebx + 0x3c]
push dword [ebx + 0x38]
push dword [ebx + 0x24]
push edi
push eax
call fcn.10025bdc
cmp eax, edi
mov dword [ebp - 0x1c], eax
je 0x10026a7f
mov eax, dword [ebp - 0x18]
and byte [ebp - 4], 0
cmp eax, edi
je 0x10026a77
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x1c]
jmp 0x1002724a
cmp dword [ebp - 0x18], edi
je 0x100269e3
mov eax, dword [ebp - 0xd8]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x1c]
mov eax, dword [eax]
mov edi, dword [eax + 0x30]
mov dword [ebp - 0x44], edi
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x18]
call fcn.100b30e0
push 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x40]
pop ecx
mov eax, edi
call fcn.100b3040
cmp edx, dword [ebp - 0x1c]
jb 0x10026ad5
ja 0x10026ac9
cmp eax, dword [ebp - 0x20]
jbe 0x10026ad5
and byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
jmp 0x100269dd
mov ecx, dword [ebx + 0x58]
mov edx, dword [ebp - 0x40]
mov eax, edi
call fcn.100b3040
test edx, edx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
ja 0x10026ac9
cmp eax, 0x40000000
ja 0x10026ac9
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x10026b12
mov ecx, dword [eax]
lea edx, [ebp - 0x44]
push edx
lea edx, [ebp - 0x60]
push edx
push eax
call dword [ecx + 0xc]
mov edi, eax
test edi, edi
jne 0x100269a9
mov ecx, dword [ebx + 0x58]
push 1
pop eax
mov edi, 0x8000
shl eax, cl
cmp eax, edi
mov dword [ebp - 0x1c], eax
ja 0x100269d2
push edi
lea ecx, [ebx + 0x6c]
call fcn.10009acb
mov eax, dword [ebp - 0x60]
lea ecx, [ebx + 0xc]
mov dword [ebp - 0x28], eax
call fcn.10028a1e
push dword [ebp - 0x28]
lea ecx, [ebx + 0xc]
call fcn.10009cd2
and dword [ebp - 0x3c], 0
and dword [ebp - 0x38], 0
mov ecx, dword [ebx + 0x68]
test ecx, ecx
je 0x10026b89
mov eax, dword [ebx + 0x10]
and dword [ebp - 0x30], 0
mov dword [ebp - 0x34], eax
and eax, 0x3ff
xor edx, edx
or eax, edx
jne 0x10026b89
mov eax, dword [ecx]
lea edx, [ebp - 0x3c]
push edx
lea edx, [ebp - 0x34]
push edx
push ecx
call dword [eax + 0x10]
test eax, eax
mov dword [ebp - 0x28], eax
jne 0x10026c47
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x10], edi
sbb ecx, dword [ebp - 0x38]
mov dword [ebp - 0x64], ecx
jne 0x10026ba6
cmp eax, edi
jae 0x10026ba6
mov dword [ebp - 0x10], eax
jmp 0x10026ba9
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x1c]
jb 0x10026c6f
mov edx, dword [ebx + 0x6c]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.10009b4d
mov edi, eax
test edi, edi
jne 0x100269a9
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x3c], eax
adc dword [ebp - 0x38], edi
mov eax, dword [ebx + 0x6c]
lea ecx, [ebp - 0x158]
add eax, edi
mov dword [ebp - 0x28], eax
call fcn.10027326
mov eax, dword [ebx + 0x10]
xor ecx, ecx
cmp eax, 3
mov byte [ebp - 4], 2
jne 0x10026bf5
lea ecx, [ebx + 0x74]
push ecx
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x158]
push dword [esi]
push dword [ebp - 0x28]
call fcn.10026127
test al, al
je 0x1002725d
lea eax, [ebp - 0x158]
lea ecx, [ebx + 0xc]
push eax
call fcn.10028986
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 1
call fcn.10027386
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0x10], eax
add edi, eax
cmp dword [ebp - 0x10], eax
jae 0x10026bd1
mov edi, 0x8000
jmp 0x10026b54
mov eax, dword [ebp - 0x18]
and byte [ebp - 4], 0
test eax, eax
je 0x10026c58
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.10027386
mov eax, dword [ebp - 0x28]
jmp 0x1002728f
and dword [ebp - 0x10], 0
cmp dword [ebx + 0x10], 0
jbe 0x10026d10
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 0x10]
mov esi, dword [edx + eax*4]
mov edi, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov ecx, edi
or ecx, eax
je 0x10026d01
mov ecx, eax
mov dword [ebp - 0x20], edi
and ecx, 0xffff
xor edi, edi
cmp ecx, edi
ja 0x100269d2
jb 0x10026cb5
mov ecx, dword [ebx + 0x10]
cmp dword [ebp - 0x20], ecx
ja 0x100269d2
mov ecx, dword [ebp - 0x20]
shr eax, 0x10
mov edx, dword [edx + ecx*4]
cmp word [edx + 4], ax
jne 0x10026cd0
mov eax, dword [edx + 8]
or eax, dword [edx + 0xc]
jne 0x10026cd0
mov cl, 1
jmp 0x10026cd2
xor cl, cl
mov al, byte [esi + 6]
and al, 1
je 0x10026ce9
test byte [edx + 6], 1
je 0x10026ce9
test cl, cl
je 0x100269d2
jmp 0x10026cf5
test al, al
jne 0x10026cf3
test byte [edx + 6], 1
je 0x10026cf5
xor cl, cl
test cl, cl
je 0x10026d01
push esi
mov ecx, edx
call fcn.100272f1
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebx + 0x10]
jb 0x10026c7d
xor esi, esi
cmp dword [ebx + 0x10], esi
jbe 0x10026d28
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + esi*4]
call fcn.10025ae9
inc esi
cmp esi, dword [ebx + 0x10]
jb 0x10026d17
mov eax, dword [ebx + 0x10]
and dword [ebp - 0x10], 0
test eax, eax
jbe 0x10026f9a
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x10]
mov esi, dword [eax + ecx*4]
mov dword [ebp - 0x28], esi
cmp dword [esi], 0x454c4946
jne 0x10026f8b
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x10026f8b
cmp ecx, 0x10
jae 0x10026d6d
cmp byte [ebx + 0x94], 0
je 0x10026f8b
test byte [esi + 6], 1
jne 0x10026d80
cmp byte [ebx + 0x95], 0
je 0x10026f8b
mov eax, dword [esi + 0x28]
or dword [ebp - 0x1c], 0xffffffff
mov dword [esi + 0x10], eax
mov al, byte [esi + 6]
shr al, 1
test al, 1
jne 0x10026dc2
mov edi, dword [esi + 0x34]
and dword [ebp - 0x14], 0
test edi, edi
jbe 0x10026dc2
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x30]
mov ecx, dword [eax]
mov ecx, dword [edx + ecx*4]
cmp dword [ecx + 8], 0
je 0x10026dbc
inc dword [ebp - 0x14]
add eax, 8
cmp dword [ebp - 0x14], edi
jb 0x10026da4
jmp 0x10026dc2
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
xor eax, eax
cmp dword [esi + 0x28], eax
jne 0x10026e6e
cmp dword [ebp - 0x10], 0x10
jae 0x10026e11
cmp dword [esi + 0x34], eax
mov dword [ebp - 0x14], eax
jbe 0x10026e6e
mov edi, dword [esi + 0x18]
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
mov eax, dword [edi + eax*4]
cmp byte [eax + 0x14], 0
je 0x10026df8
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
jmp 0x10026dfd
mov ecx, dword [eax + 0x10]
xor eax, eax
or ecx, eax
jne 0x10026e11
inc dword [ebp - 0x14]
add edx, 8
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x34]
jb 0x10026de5
jmp 0x10026e6e
lea ecx, [esi + 0x24]
call fcn.10028908
mov edi, eax
lea edx, [ebp - 0x88]
or dword [edi], 0xffffffff
or dword [edi + 4], 0xffffffff
mov al, byte [str._NONAME__]
test al, al
mov byte [ebp - 0x88], al
je 0x10026e4f
mov ecx, str._NONAME__
lea eax, [ebp - 0x88]
sub ecx, eax
mov al, byte [edx + ecx + 1]
inc edx
test al, al
mov byte [edx], al
jne 0x10026e44
mov ecx, dword [ebp - 0x10]
call fcn.100012d8
lea eax, [ebp - 0x88]
lea ecx, [edi + 8]
push eax
call fcn.10002b1e
and dword [edi + 0x10], 0
mov byte [edi + 0x14], 3
and dword [ebp - 0x14], 0
cmp dword [esi + 0x28], 0
jbe 0x10026f8b
push dword [ebp - 0x14]
mov ecx, esi
call fcn.100272ac
test eax, eax
jl 0x10026e92
dec dword [esi + 0x10]
jmp 0x10026f79
mov eax, dword [ebp - 0x14]
or dword [ebp - 0x4c], 0xffffffff
or dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x58], eax
mov al, byte [esi + 6]
shr al, 1
test al, 1
je 0x10026eb8
mov dword [ebp - 0x50], 0xfffffffe
jmp 0x10026ec8
mov eax, dword [ebp - 0x1c]
test eax, eax
jge 0x10026ec5
or dword [ebp - 0x50], 0xffffffff
jmp 0x10026ec8
mov dword [ebp - 0x50], eax
cmp dword [esi + 0x14], 0
jge 0x10026ed4
mov eax, dword [ebx + 4]
mov dword [esi + 0x14], eax
mov ecx, ebx
call fcn.10028e3e
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push 5
lea esi, [ebp - 0x58]
lea eax, [eax + eax*4]
and dword [ebp - 0x30], 0
lea edi, [ecx + eax*4]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x48], eax
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x28]
mov dword [ebx + 4], ecx
cmp dword [eax + 0x34], 0
jbe 0x10026f79
mov esi, dword [ebp - 0x28]
mov al, byte [esi + 6]
shr al, 1
test al, 1
jne 0x10026f1b
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x1c]
je 0x10026f6e
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x10], 8
mov eax, dword [eax + ecx*8]
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + eax*4]
lea ecx, [eax + 4]
jne 0x10026f41
mov edx, str._Bad
call fcn.10002baf
test al, al
jne 0x10026f6e
mov eax, dword [ebp - 0x30]
mov ecx, ebx
mov byte [ebx + 0xbc], 1
mov dword [ebp - 0x50], eax
call fcn.10028e3e
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push 5
lea esi, [ebp - 0x58]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*4]
pop ecx
rep movsd dword es:[edi], dword [esi]
inc dword [ebx + 4]
mov esi, dword [ebp - 0x28]
inc dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
cmp eax, dword [esi + 0x34]
jb 0x10026f07
inc dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x28]
jb 0x10026e7c
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebx + 0x10]
jb 0x10026d37
cmp dword [ebx + 0x10], 9
jbe 0x100270a8
mov eax, dword [ebx + 0xc]
and dword [ebp - 0x14], 0
mov esi, dword [eax + 0x24]
cmp dword [esi + 0x34], 0
jbe 0x100270a8
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0x14]
mov edx, str._SDS
mov eax, dword [eax + ecx*8]
mov ecx, dword [esi + 0x18]
mov edi, dword [ecx + eax*4]
lea ecx, [edi + 4]
call fcn.10002baf
test al, al
jne 0x10026fe8
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x34]
jb 0x10026fb8
jmp 0x100270a8
and dword [ebp - 0x30], 0
lea ecx, [ebp - 0x30]
mov eax, dword [ebx + 0x18]
push ecx
mov ecx, esi
push dword [ebx + 0x3c]
mov byte [ebp - 4], 3
push dword [ebx + 0x38]
push dword [ebx + 0x24]
push dword [ebp - 0x14]
push eax
call fcn.10025bdc
mov esi, eax
test esi, esi
je 0x1002703c
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 1
test eax, eax
je 0x10027022
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
and byte [ebp - 4], 0
test eax, eax
je 0x1002724a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1002724a
cmp dword [ebp - 0x30], 0
je 0x10027097
cmp byte [edi + 0x14], 0
je 0x10027050
mov eax, dword [edi + 0x30]
mov edi, dword [edi + 0x34]
jmp 0x10027055
mov eax, dword [edi + 0x10]
xor edi, edi
test edi, edi
ja 0x10027097
jb 0x10027062
cmp eax, 0x20000000
jae 0x10027097
lea ecx, [eax + 1]
test ecx, 0x40000
je 0x10027097
lea edi, [eax - 0x40000]
lea esi, [ebx + 0x80]
push edi
mov ecx, esi
call fcn.10009acb
mov edx, dword [esi]
mov ecx, dword [ebp - 0x30]
push edi
call fcn.10009b4d
test eax, eax
jne 0x10027097
mov ecx, ebx
call fcn.10027353
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 1
test eax, eax
je 0x100270a8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and byte [ebp - 0x21], 0
and byte [ebp - 0x22], 0
and dword [ebp - 0x10], 0
cmp dword [ebx + 4], 0
jbe 0x10027173
and dword [ebp - 0x1c], 0
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebx + 0xc]
add ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov eax, dword [esi + eax*4]
mov dword [ebp - 0x28], eax
mov eax, dword [eax + 0x24]
mov eax, dword [eax + edx*4]
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov dword [ebp - 0x68], edx
mov edx, edi
mov eax, dword [ebp - 0x68]
and edx, 0xffff
cmp eax, 5
mov dword [ebp - 0x34], eax
jne 0x10027102
test edx, edx
jne 0x10027102
or dword [ecx + 0xc], 0xffffffff
jmp 0x10027160
xor eax, eax
cmp edx, eax
ja 0x10027140
jb 0x10027112
mov eax, dword [ebx + 0x10]
cmp dword [ebp - 0x34], eax
jae 0x10027140
mov eax, dword [ebp - 0x34]
mov eax, dword [esi + eax*4]
mov dl, byte [eax + 6]
shr dl, 1
test dl, 1
je 0x10027140
mov eax, dword [eax + 0x14]
test eax, eax
mov dword [ebp - 0x14], eax
jl 0x10027140
lea edx, [eax + eax*4]
mov eax, dword [ebx]
shr edi, 0x10
mov eax, dword [eax + edx*4]
mov esi, dword [esi + eax*4]
cmp word [esi + 4], di
je 0x1002715a
mov eax, dword [ebp - 0x28]
test byte [eax + 6], 1
je 0x10027151
mov byte [ebp - 0x21], 1
push 0xfffffffffffffffe
jmp 0x10027157
mov byte [ebp - 0x22], 1
push 0xfffffffffffffffd
pop eax
jmp 0x1002715d
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0xc], eax
inc dword [ebp - 0x10]
add dword [ebp - 0x1c], 0x14
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebx + 4]
jb 0x100270c2
cmp byte [ebx + 0x94], 0
mov esi, dword [ebx + 4]
je 0x100271ba
mov dword [ebx + 0xb0], esi
push dword [0x100d84f4]
lea ecx, [ebp - 0x20]
inc esi
call fcn.10002aa2
lea eax, [ebp - 0x20]
lea ecx, [ebx + 0x98]
push eax
mov byte [ebp - 4], 4
call fcn.10028a4e
cmp dword [ebp - 0x20], 0
mov byte [ebp - 4], 1
je 0x100271ba
push dword [ebp - 0x20]
call fcn.100032c4
pop ecx
cmp byte [ebp - 0x21], 0
je 0x100271fb
mov dword [ebx + 0xb4], esi
push dword [0x100d84f8]
lea ecx, [ebp - 0x20]
inc esi
call fcn.10002aa2
lea eax, [ebp - 0x20]
lea ecx, [ebx + 0x98]
push eax
mov byte [ebp - 4], 5
call fcn.10028a4e
cmp dword [ebp - 0x20], 0
mov byte [ebp - 4], 1
je 0x100271fb
push dword [ebp - 0x20]
call fcn.100032c4
pop ecx
cmp byte [ebp - 0x22], 0
je 0x10027237
mov dword [ebx + 0xb8], esi
push dword [0x100d84fc]
lea ecx, [ebp - 0x2c]
call fcn.10002aa2
lea eax, [ebp - 0x2c]
lea ecx, [ebx + 0x98]
push eax
mov byte [ebp - 4], 6
call fcn.10028a4e
cmp dword [ebp - 0x2c], 0
je 0x10027237
push dword [ebp - 0x2c]
call fcn.100032c4
pop ecx
mov eax, dword [ebp - 0x18]
and byte [ebp - 4], 0
test eax, eax
je 0x10027248
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.10027386
mov eax, esi
jmp 0x1002728f
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 1
call fcn.10027386
mov eax, dword [ebp - 0x18]
and byte [ebp - 4], 0
test eax, eax
je 0x1002727d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.10027386
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret