Function at 0x1002b353
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, 0x100d1d5e
call fcn.100cece0
sub esp, 0x544
push ebx
push esi
push edi
mov ebx, ecx
call fcn.1002af1a
mov ecx, dword [ebx + 0x18]
push 0x200
lea edx, [ebp - 0x350]
call fcn.10065112
test eax, eax
jne 0x1002bd8a
lea esi, [ebx + 0x20]
lea eax, [ebp - 0x350]
push eax
mov ecx, esi
call fcn.100297e0
test al, al
je 0x1002bd87
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 0x1002bd8a
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
call fcn.100ceea0
mov edi, dword [ebp - 0x1c]
mov dword [ebx + 0x60], eax
cmp edi, edx
mov dword [ebx + 0x64], edx
ja 0x1002b3e9
jb 0x1002bd87
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx + 0x60]
jb 0x1002bd87
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi]
add eax, 1
adc edx, 0
call fcn.100ceea0
cmp edi, edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
jb 0x1002b472
ja 0x1002b40d
cmp dword [ebp - 0x20], eax
jb 0x1002b472
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.100ceea0
push edx
push eax
push dword [ebx + 0x18]
call dword [edi + 0x10]
test eax, eax
jne 0x1002bd8a
mov ecx, dword [ebx + 0x18]
mov edi, 0x200
push edi
lea edx, [ebp - 0x550]
call fcn.10065112
test eax, eax
jne 0x1002b472
lea eax, [ebp - 0x550]
push edi
push eax
lea eax, [ebp - 0x350]
push eax
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x1002b472
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x64], eax
push dword [ebx + 0x44]
mov ecx, ebx
push dword [ebx + 0x40]
call fcn.1002aef4
lea ecx, [ebp - 0xe8]
call fcn.1002be21
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.1000a101
mov edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x18]
push edi
call fcn.10065112
mov edi, eax
test edi, edi
jne 0x1002b616
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax + 0x1c]
call fcn.10029952
mov edx, dword [esi]
cmp eax, edx
jge 0x1002b4df
mov eax, dword [ebp - 0x18]
and byte [ebp - 4], 0
test eax, eax
je 0x1002b5f3
jmp 0x1002b5ed
cmp eax, 0xf
mov dword [ebx + 0x58], eax
ja 0x1002b4cb
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 - 0xe8]
mov dword [ebp - 0x14], eax
call fcn.1002ac58
test al, al
je 0x1002b52b
cmp dword [ebp - 0xe8], 0x454c4946
jne 0x1002b52b
lea ecx, [ebp - 0xe8]
call fcn.10065112
cmp dword [ebp - 0xb4], edi
jne 0x1002b536
mov eax, dword [ebp - 0x18]
and byte [ebp - 4], 0
cmp eax, edi
jmp 0x1002b4d4
lea ecx, [ebp - 0x18]
mov eax, dword [ebx + 0x18]
push ecx
lea ecx, [ebp - 0xe8]
push dword [ebx + 0x3c]
push dword [ebx + 0x38]
push dword [ebx + 0x24]
push edi
push eax
call fcn.1002a6c4
cmp eax, edi
mov dword [ebp - 0x1c], eax
je 0x1002b573
mov eax, dword [ebp - 0x18]
and byte [ebp - 4], 0
cmp eax, edi
je 0x1002b56b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x1c]
jmp 0x1002bd45
cmp dword [ebp - 0x18], edi
je 0x1002b5f3
mov eax, dword [ebp - 0xd0]
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.100ceea0
push 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x40]
pop ecx
mov eax, edi
call fcn.100cee10
cmp edx, dword [ebp - 0x1c]
jb 0x1002b5b9
ja 0x1002b5e6
cmp eax, dword [ebp - 0x20]
ja 0x1002b5e6
mov ecx, dword [ebx + 0x58]
push 1
pop eax
shl eax, cl
cmp eax, 0x8000
mov dword [ebp - 0x1c], eax
ja 0x1002b5e6
mov edx, dword [ebp - 0x40]
mov eax, edi
call fcn.100cee10
test edx, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
ja 0x1002b5e6
cmp eax, 0x40000000
jbe 0x1002b5fb
and byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 1
pop esi
jmp 0x1002bd45
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x1002b62e
mov ecx, dword [eax]
lea edx, [ebp - 0x44]
push edx
lea edx, [ebp - 0x28]
push edx
push eax
call dword [ecx + 0xc]
mov edi, eax
test edi, edi
je 0x1002b62e
mov eax, dword [ebp - 0x18]
and byte [ebp - 4], 0
test eax, eax
je 0x1002b627
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, edi
jmp 0x1002bd45
mov edi, 0x8000
lea ecx, [ebx + 0x6c]
push edi
call fcn.1000a101
mov eax, dword [ebp - 0x28]
lea ecx, [ebx + 0xc]
mov dword [ebp - 0x30], eax
call fcn.1002d4e7
push dword [ebp - 0x30]
lea ecx, [ebx + 0xc]
call fcn.100486ef
and dword [ebp - 0x3c], 0
and dword [ebp - 0x38], 0
mov ecx, dword [ebx + 0x68]
test ecx, ecx
je 0x1002b692
mov eax, dword [ebx + 0x10]
and dword [ebp - 0x24], 0
mov dword [ebp - 0x28], eax
and eax, 0x3ff
xor edx, edx
or eax, edx
jne 0x1002b692
mov eax, dword [ecx]
lea edx, [ebp - 0x3c]
push edx
lea edx, [ebp - 0x28]
push edx
push ecx
call dword [eax + 0x10]
test eax, eax
mov dword [ebp - 0x30], eax
jne 0x1002b74e
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 - 0x5c], ecx
jne 0x1002b6ad
cmp eax, edi
jae 0x1002b6ad
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x1c]
jb 0x1002b776
mov edx, dword [ebx + 0x6c]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.10065112
mov edi, eax
test edi, edi
jne 0x1002b616
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x3c], eax
adc dword [ebp - 0x38], edi
mov eax, dword [ebx + 0x6c]
lea ecx, [ebp - 0x150]
add eax, edi
mov dword [ebp - 0x30], eax
call fcn.1002be21
mov eax, dword [ebx + 0x10]
xor ecx, ecx
cmp eax, 3
mov byte [ebp - 4], 2
jne 0x1002b6fc
lea ecx, [ebx + 0x74]
push ecx
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x150]
push dword [esi]
push dword [ebp - 0x30]
call fcn.1002ac58
test al, al
je 0x1002bd58
lea eax, [ebp - 0x150]
lea ecx, [ebx + 0xc]
push eax
call fcn.1002d44f
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 1
call fcn.1002be81
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0x10], eax
add edi, eax
cmp dword [ebp - 0x10], eax
jae 0x1002b6d8
mov edi, 0x8000
jmp 0x1002b65d
mov eax, dword [ebp - 0x18]
and byte [ebp - 4], 0
test eax, eax
je 0x1002b75f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.1002be81
mov eax, dword [ebp - 0x30]
jmp 0x1002bd8a
and dword [ebp - 0x10], 0
cmp dword [ebx + 0x10], 0
jbe 0x1002b817
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 0x1002b808
mov ecx, eax
mov dword [ebp - 0x20], edi
and ecx, 0xffff
xor edi, edi
cmp ecx, edi
ja 0x1002b4cb
jb 0x1002b7bc
mov ecx, dword [ebx + 0x10]
cmp dword [ebp - 0x20], ecx
ja 0x1002b4cb
mov ecx, dword [ebp - 0x20]
shr eax, 0x10
mov edx, dword [edx + ecx*4]
cmp word [edx + 4], ax
jne 0x1002b7d7
mov eax, dword [edx + 8]
or eax, dword [edx + 0xc]
jne 0x1002b7d7
mov cl, 1
jmp 0x1002b7d9
xor cl, cl
mov al, byte [esi + 6]
and al, 1
je 0x1002b7f0
test byte [edx + 6], 1
je 0x1002b7f0
test cl, cl
je 0x1002b4cb
jmp 0x1002b7fc
test al, al
jne 0x1002b7fa
test byte [edx + 6], 1
je 0x1002b7fc
xor cl, cl
test cl, cl
je 0x1002b808
push esi
mov ecx, edx
call fcn.1002bdec
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebx + 0x10]
jb 0x1002b784
xor esi, esi
cmp dword [ebx + 0x10], esi
jbe 0x1002b82f
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + esi*4]
call fcn.10065112
inc esi
cmp esi, dword [ebx + 0x10]
jb 0x1002b81e
mov eax, dword [ebx + 0x10]
and dword [ebp - 0x10], 0
test eax, eax
jbe 0x1002ba95
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x10]
mov esi, dword [eax + ecx*4]
mov dword [ebp - 0x30], esi
cmp dword [esi], 0x454c4946
jne 0x1002ba86
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x1002ba86
cmp ecx, 0x10
jae 0x1002b874
cmp byte [ebx + 0x94], 0
je 0x1002ba86
test byte [esi + 6], 1
jne 0x1002b887
cmp byte [ebx + 0x95], 0
je 0x1002ba86
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 0x1002b8c9
mov edi, dword [esi + 0x34]
and dword [ebp - 0x14], 0
test edi, edi
jbe 0x1002b8c9
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x30]
mov ecx, dword [eax]
mov ecx, dword [edx + ecx*4]
cmp dword [ecx + 0xc], 0
je 0x1002b8c3
inc dword [ebp - 0x14]
add eax, 8
cmp dword [ebp - 0x14], edi
jb 0x1002b8ab
jmp 0x1002b8c9
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
xor eax, eax
cmp dword [esi + 0x28], eax
jne 0x1002b969
cmp dword [ebp - 0x10], 0x10
jae 0x1002b918
cmp dword [esi + 0x34], eax
mov dword [ebp - 0x14], eax
jbe 0x1002b969
mov edi, dword [esi + 0x18]
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
mov eax, dword [edi + eax*4]
cmp byte [eax + 4], 0
je 0x1002b8ff
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
jmp 0x1002b904
mov ecx, dword [eax + 0x14]
xor eax, eax
or ecx, eax
jne 0x1002b918
inc dword [ebp - 0x14]
add edx, 8
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x34]
jb 0x1002b8ec
jmp 0x1002b969
lea ecx, [esi + 0x24]
call fcn.1002d3d1
mov edi, eax
lea edx, [ebp - 0x80]
or dword [edi], 0xffffffff
or dword [edi + 4], 0xffffffff
mov al, byte [str._NONAME__]
test al, al
mov byte [ebp - 0x80], al
je 0x1002b94d
mov ecx, str._NONAME__
lea eax, [ebp - 0x80]
sub ecx, eax
mov al, byte [edx + ecx + 1]
inc edx
test al, al
mov byte [edx], al
jne 0x1002b942
mov ecx, dword [ebp - 0x10]
call fcn.10065112
lea eax, [ebp - 0x80]
lea ecx, [edi + 8]
push eax
call fcn.10065112
and dword [edi + 0x10], 0
mov byte [edi + 0x14], 3
and dword [ebp - 0x14], 0
cmp dword [esi + 0x28], 0
jbe 0x1002ba86
push dword [ebp - 0x14]
mov ecx, esi
call fcn.1002bda7
test eax, eax
jl 0x1002b98d
dec dword [esi + 0x10]
jmp 0x1002ba74
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 0x1002b9b3
mov dword [ebp - 0x50], 0xfffffffe
jmp 0x1002b9c3
mov eax, dword [ebp - 0x1c]
test eax, eax
jge 0x1002b9c0
or dword [ebp - 0x50], 0xffffffff
jmp 0x1002b9c3
mov dword [ebp - 0x50], eax
cmp dword [esi + 0x14], 0
jge 0x1002b9cf
mov eax, dword [ebx + 4]
mov dword [esi + 0x14], eax
mov ecx, ebx
call fcn.1002d96f
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push 5
lea esi, [ebp - 0x58]
lea eax, [eax + eax*4]
and dword [ebp - 0x24], 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 - 0x30]
mov dword [ebx + 4], ecx
cmp dword [eax + 0x34], 0
jbe 0x1002ba74
mov esi, dword [ebp - 0x30]
mov al, byte [esi + 6]
shr al, 1
test al, 1
jne 0x1002ba16
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x1c]
je 0x1002ba69
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0x24]
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 + 8]
jne 0x1002ba3c
mov edx, str._Bad
call fcn.10002d3b
test al, al
jne 0x1002ba69
mov eax, dword [ebp - 0x24]
mov ecx, ebx
mov byte [ebx + 0xbc], 1
mov dword [ebp - 0x50], eax
call fcn.1002d96f
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 - 0x30]
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
cmp eax, dword [esi + 0x34]
jb 0x1002ba02
inc dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x28]
jb 0x1002b977
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebx + 0x10]
jb 0x1002b83e
cmp dword [ebx + 0x10], 9
jbe 0x1002bba3
mov eax, dword [ebx + 0xc]
and dword [ebp - 0x14], 0
mov esi, dword [eax + 0x24]
cmp dword [esi + 0x34], 0
jbe 0x1002bba3
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 + 8]
call fcn.10002d3b
test al, al
jne 0x1002bae3
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x34]
jb 0x1002bab3
jmp 0x1002bba3
and dword [ebp - 0x24], 0
lea ecx, [ebp - 0x24]
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.1002a6c4
mov esi, eax
test esi, esi
je 0x1002bb37
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 1
test eax, eax
je 0x1002bb1d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
and byte [ebp - 4], 0
test eax, eax
je 0x1002bd45
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1002bd45
cmp dword [ebp - 0x24], 0
je 0x1002bb92
cmp byte [edi + 4], 0
je 0x1002bb4b
mov eax, dword [edi + 0x30]
mov edi, dword [edi + 0x34]
jmp 0x1002bb50
mov eax, dword [edi + 0x14]
xor edi, edi
test edi, edi
ja 0x1002bb92
jb 0x1002bb5d
cmp eax, 0x20000000
jae 0x1002bb92
lea ecx, [eax + 1]
test ecx, 0x40000
je 0x1002bb92
lea edi, [eax - 0x40000]
lea esi, [ebx + 0x80]
push edi
mov ecx, esi
call fcn.1000a101
mov edx, dword [esi]
mov ecx, dword [ebp - 0x24]
push edi
call fcn.10065112
test eax, eax
jne 0x1002bb92
mov ecx, ebx
call fcn.1002be4e
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 1
test eax, eax
je 0x1002bba3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and byte [ebp - 0x2a], 0
and byte [ebp - 0x29], 0
and dword [ebp - 0x10], 0
cmp dword [ebx + 4], 0
jbe 0x1002bc6e
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 - 0x30], eax
mov eax, dword [eax + 0x24]
mov eax, dword [eax + edx*4]
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov dword [ebp - 0x60], edx
mov edx, edi
mov eax, dword [ebp - 0x60]
and edx, 0xffff
cmp eax, 5
mov dword [ebp - 0x28], eax
jne 0x1002bbfd
test edx, edx
jne 0x1002bbfd
or dword [ecx + 0xc], 0xffffffff
jmp 0x1002bc5b
xor eax, eax
cmp edx, eax
ja 0x1002bc3b
jb 0x1002bc0d
mov eax, dword [ebx + 0x10]
cmp dword [ebp - 0x28], eax
jae 0x1002bc3b
mov eax, dword [ebp - 0x28]
mov eax, dword [esi + eax*4]
mov dl, byte [eax + 6]
shr dl, 1
test dl, 1
je 0x1002bc3b
mov eax, dword [eax + 0x14]
test eax, eax
mov dword [ebp - 0x14], eax
jl 0x1002bc3b
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 0x1002bc55
mov eax, dword [ebp - 0x30]
test byte [eax + 6], 1
je 0x1002bc4c
mov byte [ebp - 0x2a], 1
push 0xfffffffffffffffe
jmp 0x1002bc52
mov byte [ebp - 0x29], 1
push 0xfffffffffffffffd
pop eax
jmp 0x1002bc58
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 0x1002bbbd
cmp byte [ebx + 0x94], 0
mov esi, dword [ebx + 4]
je 0x1002bcb5
mov dword [ebx + 0xb0], esi
push dword [0x100dd710]
lea ecx, [ebp - 0x20]
inc esi
call fcn.10002c2e
lea eax, [ebp - 0x20]
lea ecx, [ebx + 0x98]
push eax
mov byte [ebp - 4], 4
call fcn.1002d517
cmp dword [ebp - 0x20], 0
mov byte [ebp - 4], 1
je 0x1002bcb5
push dword [ebp - 0x20]
call fcn.100034b3
pop ecx
cmp byte [ebp - 0x2a], 0
je 0x1002bcf6
mov dword [ebx + 0xb4], esi
push dword [0x100dd714]
lea ecx, [ebp - 0x20]
inc esi
call fcn.10002c2e
lea eax, [ebp - 0x20]
lea ecx, [ebx + 0x98]
push eax
mov byte [ebp - 4], 5
call fcn.1002d517
cmp dword [ebp - 0x20], 0
mov byte [ebp - 4], 1
je 0x1002bcf6
push dword [ebp - 0x20]
call fcn.100034b3
pop ecx
cmp byte [ebp - 0x29], 0
je 0x1002bd32
mov dword [ebx + 0xb8], esi
push dword [0x100dd718]
lea ecx, [ebp - 0x34]
call fcn.10002c2e
lea eax, [ebp - 0x34]
lea ecx, [ebx + 0x98]
push eax
mov byte [ebp - 4], 6
call fcn.1002d517
cmp dword [ebp - 0x34], 0
je 0x1002bd32
push dword [ebp - 0x34]
call fcn.100034b3
pop ecx
mov eax, dword [ebp - 0x18]
and byte [ebp - 4], 0
test eax, eax
je 0x1002bd43
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.1002be81
mov eax, esi
jmp 0x1002bd8a
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 1
call fcn.1002be81
mov eax, dword [ebp - 0x18]
and byte [ebp - 4], 0
test eax, eax
je 0x1002bd78
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.1002be81
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret