Function at 0x10093112
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
xor eax, eax
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, ebx
push esi
and eax, 0xffff7fff
mov esi, ecx
push edi
or edi, 0xffffffff
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 2
push eax
push 0x1002619c
push 0x3c
lea eax, [esp + 0x1c]
push eax
call fcn.100994c2
cmp eax, edi
jne 0x1009316d
test byte [0x100af360], 2
je 0x100936b5
push 0x2e7
jmp 0x100936a5
xor eax, eax
mov ecx, esi
push eax
push eax
push eax
push eax
push 4
push 4
lea eax, [esi + 0x84]
push eax
push 0x38
push dword [esp + 0x30]
call fcn.10096f0c
cmp eax, 0xffffffff
jne 0x100931a7
test byte [0x100af360], 2
je 0x100936b5
push 0x2f1
jmp 0x100936a5
xor ecx, ecx
inc ecx
test ebx, 0x8000
je 0x100931c9
test byte [0x100af360], 2
je 0x10093499
push 0x2f7
jmp 0x10093489
mov eax, dword [ebx*4 + 0x100260cc]
mov dword [esp + 0x14], eax
cmp ebx, ecx
je 0x100931e2
cmp ebx, 2
je 0x100931e2
cmp ebx, 3
jne 0x100931e9
or eax, 0x20
mov dword [esp + 0x14], eax
xor eax, eax
mov ecx, esi
push eax
push eax
push eax
push eax
push 4
push 4
lea eax, [esp + 0x2c]
push eax
push 0x38
push dword [esp + 0x30]
call fcn.10096f0c
cmp eax, 0xffffffff
jne 0x10093221
test byte [0x100af360], 2
je 0x100936b5
push 0x308
jmp 0x100936a5
cmp ebx, 5
jb 0x1009322e
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0x40]
jmp 0x10093231
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov ecx, esi
xor eax, eax
push eax
push eax
push eax
push eax
push 4
push 4
lea eax, [esp + 0x2c]
push eax
push 0x38
push dword [esp + 0x30]
call fcn.10096f0c
cmp eax, 0xffffffff
jne 0x1009326d
test byte [0x100af360], 2
je 0x100936b5
push 0x31b
jmp 0x100936a5
xor eax, eax
mov word [esi + 0x130], ax
mov edi, eax
cmp ebx, 2
je 0x1009328b
cmp ebx, 4
je 0x1009328b
cmp ebx, 5
jne 0x1009349e
mov ecx, esi
call fcn.1003e609
movzx ecx, word [eax + 2]
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov edx, ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], ecx
test ecx, ecx
jne 0x100932d3
test byte [0x100af360], 2
je 0x100932cb
push 0x336
mov edx, 0x10025e10
mov ecx, 0x80004005
call fcn.10036de6
pop ecx
or edi, 0xffffffff
jmp 0x100936b5
mov eax, dword [eax + 0xc]
xor ecx, ecx
inc ecx
add eax, 0x64
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
cmp dword [esp + 0x24], ecx
jb 0x10093462
mov ebx, dword [ebp + 0x18]
mov eax, dword [eax + 0x10]
mov eax, dword [ebx + eax]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x34], eax
test eax, 0xc0000000
je 0x10093444
test eax, 0x40000000
je 0x1009331e
and eax, 0x1fffffff
cmp eax, 0xd
je 0x10093444
mov eax, dword [esp + 0x20]
movzx eax, byte [eax + 0x43]
push eax
push dword [esp + 0x2c]
call dword [sym.imp.MSDATL3.dll_public:_unsigned_long_int___stdcall_CExtBuffer::GetDWORDOfExtBuffer_unsigned_long_int_]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
test edx, edx
jne 0x1009338a
mov ecx, dword [esi + 0x180]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x10093355
mov ecx, dword [ecx + 0x34c]
test ecx, ecx
jne 0x1009335b
lea ecx, [esi + 0xb8]
push eax
call dword [sym.imp.MSDATL3.dll_public:_unsigned_short_int____thiscall_CExtBuffer::GetNameFromOffset_unsigned_long_int_]
push eax
push dword [esp + 0x14]
mov ecx, esi
call fcn.10092d7f
cmp eax, 0xffffffff
jne 0x100933ee
test byte [0x100af360], 2
je 0x10093499
push 0x368
jmp 0x10093489
cmp eax, edx
je 0x100933f2
mov eax, dword [esi + 0x180]
test eax, eax
je 0x100933a2
mov ecx, dword [eax + 0x34c]
test ecx, ecx
jne 0x100933a8
lea ecx, [esi + 0xb8]
push edx
call dword [sym.imp.MSDATL3.dll_public:_unsigned_short_int____thiscall_CExtBuffer::GetNameFromOffset_unsigned_long_int_]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x180]
test eax, eax
je 0x100933c7
mov eax, dword [eax + 0x34c]
test eax, eax
jne 0x100933cd
lea eax, [esi + 0xb8]
push dword [esp + 0x2c]
mov ecx, eax
call dword [sym.imp.MSDATL3.dll_public:_unsigned_short_int____thiscall_CExtBuffer::GetNameFromOffset_unsigned_long_int_]
push eax
push dword [esp + 0x34]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x100934fa
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
test eax, 0x20000000
je 0x10093415
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp word [esi + 0x130], ax
jne 0x10093444
mov word [esi + 0x130], cx
jmp 0x10093444
push dword [ebp + 0x18]
mov ecx, esi
push eax
push dword [esp + 0x28]
push dword [esp + 0x1c]
call fcn.100923d9
mov edx, eax
mov ecx, edi
call fcn.10036de8
mov edi, eax
cmp edi, 0xffffffff
je 0x1009352e
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
inc ecx
add eax, 0x64
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
cmp ecx, dword [esp + 0x24]
jbe 0x100932ee
test edx, edx
jne 0x1009349c
cmp ebx, 4
jne 0x10093697
push dword [esp + 0x10]
mov ecx, esi
call fcn.100949d5
cmp eax, 0xffffffff
jne 0x1009349c
test byte [0x100af360], 2
je 0x10093499
push 0x394
mov edx, 0x10025e10
mov ecx, 0x80004005
call fcn.10036de6
pop ecx
or edi, 0xffffffff
xor eax, eax
and ebx, 0x7fff
mov word [esi + 0x134], bx
cmp word [esi + 0x130], ax
je 0x10093652
movzx eax, word [esi + 0x48]
push 3
push eax
push dword [esp + 0x18]
call dword [sym.imp.MSDATL3.dll_public:_unsigned_long_int___stdcall_CExtBuffer::GetItemCount_void_const]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.MSDATL3.dll_public:_void____stdcall_CExtBuffer::GetPtrOfExtBuffer_void_]
mov ecx, dword [esi + 0x20]
push eax
push esi
call fcn.1005482e
cmp eax, 0xffffffff
jne 0x10093555
test byte [0x100af360], 2
je 0x100932cb
push 0x3cc
jmp 0x100932bb
test byte [0x100af360], 2
je 0x10093518
push 0x376
mov edx, 0x10025e10
mov ecx, 0x80004005
call fcn.10036de6
pop ecx
xor eax, eax
lea ecx, [esi + 0x2c]
push eax
push eax
mov edx, 0x9d0e
call fcn.1003779f
jmp 0x10093499
test byte [0x100af360], 2
je 0x1009349c
push 0x389
mov edx, 0x10025e10
mov ecx, 0x80004005
call fcn.10036de6
pop ecx
jmp 0x1009349c
push 0x400
mov ecx, esi
call fcn.10047468
mov ecx, esi
call fcn.1003e609
movzx edx, word [esi + 0x130]
imul ebx, edx, 0x64
movzx ecx, word [eax + 2]
mov dword [esp + 0x30], ecx
add ebx, dword [eax + 0xc]
cmp edx, ecx
jmp 0x100935cf
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebx + 0x10]
mov eax, dword [ecx + eax]
test eax, 0xc0000000
mov dword [esp + 0x34], eax
setne cl
bt eax, 0x1d
setb al
test al, cl
je 0x100935c7
push dword [ebp + 0x18]
xor eax, eax
mov ecx, esi
push dword [esp + 0x38]
push ebx
push eax
call fcn.100923d9
mov edx, eax
mov ecx, edi
call fcn.10054813
mov edi, eax
cmp edi, 0xffffffff
je 0x1009361b
mov edx, dword [esp + 0x24]
inc edx
add ebx, 0x64
cmp edx, dword [esp + 0x30]
mov dword [esp + 0x24], edx
jbe 0x10093581
push 0x400
mov ecx, esi
call fcn.1003c74c
movzx eax, word [esi + 0x48]
mov ecx, dword [esi + 0x20]
or dword [esi + 0x74], 0xffffffff
push eax
xor eax, eax
mov byte [esi + 0x4d], 2
inc eax
mov byte [esi + 0x50], 2
push eax
push esi
call fcn.10054977
cmp eax, 0xffffffff
jne 0x10093635
test byte [0x100af360], 2
je 0x100932cb
push 0x3f8
jmp 0x100932bb
push 0x2000c00
mov ecx, esi
call fcn.10036de8
mov ecx, dword [esi + 0x20]
push esi
call fcn.1005300d
jmp 0x100936b5
movzx eax, word [esi + 0x48]
mov ecx, dword [esi + 0x20]
push eax
push 8
push esi
call fcn.1005586b
mov edx, eax
mov ecx, edi
call fcn.10054813
mov edi, eax
jmp 0x100936b5
cmp edi, 0xffffffff
je 0x100936b5
xor ecx, ecx
inc ecx
cmp bx, cx
je 0x10093662
mov dword [esi + 0x74], eax
push dword [esp + 0x10]
mov ecx, esi
call fcn.10097784
mov edx, eax
mov ecx, edi
call fcn.10054813
mov edi, eax
cmp edi, 2
jne 0x100936b5
xor eax, eax
inc eax
cmp word [esi + 0x134], ax
jne 0x100936b5
push 0x80000
mov ecx, esi
call fcn.10047468
jmp 0x100936b5
test byte [0x100af360], 2
je 0x100936b5
push 0x39b
mov edx, 0x10025e10
mov ecx, 0x80004005
call fcn.10036de6
pop ecx
mov esi, dword [esp + 0x10]
test esi, esi
je 0x100936cd
mov ecx, esi
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CExtBuffer::destructor_void_]
push esi
call dword [sym.imp.MSDART.DLL_mpFree]
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14