Function at 0x101466f0
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x40]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x48]
mov byte [esp + 0x48], 0
call fcn.101493c0
xor cl, cl
mov byte [edi + 0x18], al
add esp, 8
mov byte [esp + 0x13], cl
test al, al
je 0x10146e77
mov ebp, dword [esp + 0x3c]
movzx eax, cl
mov edx, 8
imul esi, eax, 0x68
add esi, edi
mov byte [esi + 0x20], cl
lea eax, [esi + 0x20]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
movzx eax, byte [ecx]
shr eax, 5
and eax, 3
mov dword [esi + 0x28], eax
mov al, byte [ecx + 1]
and al, 0xf
mov byte [esi + 0x2c], al
movzx eax, byte [ecx]
and eax, 0x1f
sub eax, 1
je 0x1014686e
sub eax, 1
je 0x10146796
sub eax, 1
jne 0x10146963
mov dword [esi + 0x24], 4
mov word [esi + 0x34], dx
mov dword [esi + 0x80], 1
mov dword [esi + 0x84], eax
mov word [esi + 0x78], ax
jmp 0x10146963
mov ebp, dword [esp + 0x14]
mov dword [esi + 0x24], 2
mov dword [esi + 0x48], 1
movzx eax, byte [ebp + 9]
shr eax, 3
and eax, 0xf
jmp dword [eax*4 + 0x10146eb8]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x24], 1
movzx eax, byte [eax + 9]
and eax, 7
jmp dword [eax*4 + 0x10146edc]
mov ebx, dword [esi + 0x24]
test ebx, ebx
jne 0x10146bf8
mov ecx, dword [esp + 0x14]
movzx eax, byte [ecx + 9]
and eax, 0x3f
mov dword [esi + 0x30], eax
movzx eax, byte [ecx]
and eax, 0x1f
lea edx, [eax - 4]
cmp edx, 0x11
ja case.default.0x1014698e
jmp dword [edx*4 + 0x10146ef8]
mov ebx, 1
jmp 0x10146a31
mov ebx, 4
jmp 0x10146a31
mov al, byte [edi + 0x16]
cmp al, 0x10
jne 0x101469b7
mov ebx, 2
jmp 0x10146a31
xor ebx, ebx
cmp al, 0x20
setne bl
add ebx, 3
jmp 0x10146a31
mov al, byte [edi + 0x16]
cmp al, 0x10
jne 0x101469b7
mov ebx, 3
jmp 0x10146a31
xor ebx, ebx
cmp byte [edi + 0x16], 0x10
setne bl
add ebx, 2
jmp 0x10146a31
mov al, byte [edi + 0x17]
cmp al, 0x10
jne 0x101469b7
mov ebx, 2
jmp 0x10146a31
mov ebx, 5
jmp 0x10146a31
mov ebx, 6
jmp 0x10146a31
mov ebx, 7
jmp 0x10146a31
mov ebx, 8
jmp 0x10146a31
mov ebx, 9
jmp 0x10146a31
mov ebx, 0x11
jmp 0x10146a31
mov ebx, 0xc
jmp 0x10146a31
mov ebx, 0xe
jmp 0x10146a31
mov ebx, 0xf
jmp 0x10146a31
mov ebx, 0x10
movzx eax, byte [ecx + 9]
and eax, 0x3f
dec eax
jmp dword [eax*4 + 0x10146f40]
cmp ebx, 2
jne 0x10146e4d
mov ecx, dword [edi + 0x430]
mov eax, ecx
mov edx, dword [edi + 0x434]
and eax, 0x10000000
or eax, 0
je 0x10146dbb
mov dword [esi + 0x4c], 0xbf
jmp 0x10146e4d
add eax, 0xffffffea
cmp eax, 9
ja case.0x10146c35.26
jmp dword [eax*4 + 0x10146f58]
push 0
lea eax, [esi + 0x20]
push eax
push edi
push ebp
call fcn.10146470
add esp, 0x10
test eax, eax
js 0x10146e97
jmp case.0x10146c35.26
push 7
jmp 0x10146c3e
push 8
jmp 0x10146c3e
push 9
jmp 0x10146c3e
mov dword [esi + 0x24], 3
mov eax, dword [edi + 0x598]
mov dword [esi + 0x74], eax
mov ax, word [edi + 0x5b0]
mov word [esi + 0x70], ax
jmp case.0x10146c35.26
push 0
lea eax, [esi + 0x20]
mov byte [esi + 0x2c], 0
push eax
push edi
push ebp
call fcn.10146470
add esp, 0x10
test eax, eax
js 0x10146e97
mov dword [esi + 0x48], 2
jmp case.0x10146c35.26
mov dword [esi + 0x24], 2
mov dword [esi + 0x48], 1
mov byte [esi + 0x60], 1
mov eax, dword [edi + 0x580]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0x584]
mov dword [esi + 0x6c], eax
jmp case.0x10146c35.26
push 0
lea eax, [esi + 0x20]
mov byte [esi + 0x2c], 0
push eax
push edi
push ebp
call fcn.10146470
add esp, 0x10
test eax, eax
js 0x10146e97
mov dword [esi + 0x48], 3
mov ebx, dword [esi + 0x24]
test ebx, ebx
je 0x10146d32
mov eax, dword [edi + 0xc]
cmp eax, 4
je 0x10146d08
cmp eax, 5
jne 0x10146bf8
cmp byte [edi + 0x588], 8
jne 0x10146bf8
push dword [esi + 0x6c]
movzx eax, byte [ebp + 0x30]
push dword [esi + 0x68]
cdq
push edx
push eax
call fcn.10149850
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], edx
jmp 0x10146bf8
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
and eax, 0x1f
sub eax, 0x1a
je 0x10146d4a
sub eax, 1
jne 0x10146e4d
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x24], 4
movzx eax, byte [ebp + 0x18]
mov ax, word [ecx + eax*2 + 2]
shl ax, 3
mov word [esi + 0x34], ax
movzx eax, byte [esp + 0x40]
lea eax, [eax + eax*2]
lea ebx, [edi + eax*8]
mov al, byte [ecx + 9]
and al, 0x3f
cmp al, 5
jne 0x10146d88
mov al, byte [ebx + 0x598]
and al, 0xf
movzx eax, al
cdq
jmp 0x10146d94
mov eax, dword [ebx + 0x598]
mov edx, dword [ebx + 0x59c]
inc byte [esp + 0x40]
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], edx
mov al, byte [ebx + 0x590]
mov byte [esi + 0x78], al
mov al, byte [ebx + 0x591]
mov byte [esi + 0x79], al
jmp 0x10146e4d
mov eax, ecx
and eax, 0x20000000
or eax, 0
jne 0x10146e46
mov eax, ecx
and eax, 0x40000000
or eax, 0
je 0x10146ddc
mov dword [esi + 0x4c], 0xc1
jmp 0x10146e4d
and ecx, 0x80000000
or ecx, 0
je 0x10146df0
mov dword [esi + 0x4c], 0xbe
jmp 0x10146e4d
mov ecx, edx
xor eax, eax
and ecx, 1
or eax, ecx
je 0x10146e04
mov dword [esi + 0x4c], 0xc2
jmp 0x10146e4d
and edx, 2
xor eax, eax
or eax, edx
je 0x10146e16
mov dword [esi + 0x4c], 0xc3
jmp 0x10146e4d
cmp dword [esi + 0x4c], 0
jne 0x10146e4d
mov eax, dword [esi + 0x50]
cmp eax, 0x39
je 0x10146e46
cmp eax, 0x3a
je 0x10146e46
cmp eax, 0x29
je 0x10146e46
cmp eax, 0x2a
je 0x10146e46
cmp eax, 0x19
je 0x10146e46
cmp eax, 0x1a
je 0x10146e46
mov dword [esi + 0x4c], 0xc1
jmp 0x10146e4d
mov dword [esi + 0x4c], 0xc0
push dword [esp + 0x14]
push dword [esp + 0x38]
push edi
push ebp
call fcn.10148ad0
mov cl, byte [esp + 0x23]
add esp, 0x10
add dword [esp + 0x14], 0xc
inc cl
mov byte [esp + 0x13], cl
cmp cl, byte [edi + 0x18]
jb 0x10146726
cmp dword [edi + 0x490], 2
jne 0x10146e92
movzx eax, byte [edi + 0x2c]
sub eax, 2
je 0x10146e9f
sub eax, 1
jne 0x10146e92
mov byte [edi + 0x2c], 9
mov eax, 0x100000
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
cmp dword [edi + 0x24], 2
jne 0x10146e8e
mov byte [edi + 0x2c], 8
mov eax, 0x100000
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret