Function at 0x101064e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x8c
push ebx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x24]
add eax, 4
mov dword [esp + 0x18], eax
mov eax, dword [eax]
push esi
mov ecx, eax
push edi
xor edi, edi
mov ebx, 1
shr ecx, 0x13
test bl, cl
mov dword [esp + 0x24], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
jne 0x10106527
shr eax, 0x15
test bl, al
je 0x10106533
mov ecx, dword [ebp + 0x20]
call fcn.100565d0
mov dword [esp + 0x24], eax
mov edx, dword [ebp + 0x20]
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [ecx + 0xc]
xor esi, esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], ecx
lea ecx, [ecx]
cmp eax, edi
je 0x10106660
cmp esi, dword [eax + 0xc]
jae 0x10106660
mov eax, dword [eax + 8]
mov ecx, esi
and ecx, 0x1f
mov edi, 1
shl edi, cl
mov edx, esi
shr edx, 5
test dword [eax + edx*4], edi
setne al
test al, al
je 0x1010665a
mov edx, dword [esp + 0x30]
mov edi, dword [edx + 0x18]
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x34], edi
test edi, edi
je 0x101065d7
mov eax, dword [esp + 0x30]
cmp esi, dword [eax + 0x14]
jae 0x101065d7
mov edx, dword [edi + 8]
test edx, edx
je 0x101065b6
cmp esi, dword [edi + 0xc]
jae 0x101065b6
mov eax, dword [edx + esi*8]
mov edx, dword [edx + esi*8 + 4]
jmp 0x101065ba
xor edx, edx
mov eax, edx
mov edi, dword [esp + 0x34]
mov dword [esp + 0x5c], edx
mov edx, 0x1f
shl edx, cl
shr eax, 5
and eax, edx
and eax, 0xfffff
shr eax, cl
jmp 0x101065d9
xor eax, eax
test edi, edi
je 0x1010661c
mov edx, dword [esp + 0x30]
cmp esi, dword [edx + 0x14]
jae 0x1010661c
mov edx, dword [edi + 8]
test edx, edx
je 0x101065fb
cmp esi, dword [edi + 0xc]
jae 0x101065fb
mov edi, dword [edx + esi*8]
mov edx, dword [edx + esi*8 + 4]
jmp 0x101065ff
xor edx, edx
mov edi, edx
mov dword [esp + 0x58], edi
mov edi, edx
mov edx, 0x1f
shl edx, cl
and edx, edi
mov edi, dword [esp + 0x34]
and edx, 0xfffff
shr edx, cl
jmp 0x1010661e
xor edx, edx
cmp eax, 2
jne 0x10106631
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], eax
jmp 0x10106649
cmp eax, 0xc
jne 0x10106649
test edx, edx
jne 0x10106640
mov dword [esp + 0x44], esi
jmp 0x10106649
cmp edx, 1
jne 0x10106649
mov dword [esp + 0x48], esi
add dword [esp + 0x14], 1
add ecx, 5
cmp ecx, 0x14
jb 0x10106594
mov eax, dword [esp + 0x2c]
xor edi, edi
add esi, 1
cmp esi, dword [esp + 0x18]
jbe 0x10106550
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov edx, eax
shr edx, 0x11
and dl, 1
je 0x1010668b
cmp dword [esp + 0x24], edi
je 0x1010668b
mov dword [esp + 0x24], 1
mov ecx, eax
shr ecx, 0x14
and cl, 1
mov byte [esp + 0x2b], cl
je 0x101066ce
mov esi, eax
shr esi, 3
and esi, 1
add esi, esi
mov edi, eax
shr edi, 1
and edi, 1
add esi, esi
or esi, edi
mov edi, dword [esp + 0x24]
neg edi
sbb edi, edi
and edi, 2
or esi, edi
mov edi, dword [esp + 0xa8]
mov esi, dword [edi + esi*4]
mov dword [esp + 0x2c], esi
jmp 0x10106752
test dl, dl
je 0x10106701
mov esi, eax
shr esi, 3
and esi, 1
mov edi, eax
shr edi, 1
and edi, 1
add esi, esi
or esi, edi
mov edi, eax
shr edi, 2
add esi, esi
and edi, 1
or esi, edi
mov edi, dword [esp + 0xac]
mov esi, dword [edi + esi*4]
mov dword [esp + 0x2c], esi
jmp 0x10106752
mov ecx, eax
shr ecx, 3
test cl, 1
jne 0x10106719
mov ecx, eax
shr ecx, 5
test cl, 1
jne 0x10106719
xor ecx, ecx
jmp 0x1010671e
mov ecx, 8
mov esi, eax
shr esi, 1
and esi, 1
mov edi, eax
shr edi, 2
and edi, 1
add esi, esi
or esi, edi
mov edi, dword [esp + 0x24]
neg edi
sbb edi, edi
and edi, 4
or esi, edi
or esi, ecx
mov ecx, dword [esp + 0xa4]
mov ecx, dword [ecx + esi*4]
mov dword [esp + 0x2c], ecx
mov cl, byte [esp + 0x2b]
test cl, cl
je 0x10106766
shr eax, 2
test al, 1
jne 0x10106761
test dl, dl
je 0x10106766
mov ebx, 2
test bl, 1
je 0x1010678f
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ebp]
push eax
mov eax, dword [esp + 0xb4]
push ecx
push eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, ebp
call dword [edx + 0xc0]
mov ebx, dword [eax]
mov esi, dword [esp + 0x30]
xor edi, edi
mov dword [esp + 0x34], edi
lea esp, [esp]
mov eax, ebx
and eax, 1
mov dword [esp + 0x18], eax
je 0x101067c0
mov ecx, dword [ebp + 0x20]
push edi
call fcn.100567b0
test al, al
jne 0x1010686f
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10106841
cmp dword [esp + 0x24], 0
jne 0x10106841
mov ecx, dword [ebp + 0x20]
call fcn.100565b0
test al, al
je 0x10106841
mov eax, dword [esi + 8]
test eax, eax
je 0x10106841
cmp edi, dword [eax + 0xc]
jae 0x10106841
mov eax, dword [eax + 8]
mov ecx, edi
and ecx, 0x1f
mov esi, 1
shl esi, cl
mov edx, edi
shr edx, 5
test dword [eax + edx*4], esi
mov esi, dword [esp + 0x30]
setne al
test al, al
je 0x10106841
push 0
push edi
mov ecx, esi
call fcn.10056be0
cmp eax, 2
je 0x1010686f
push 1
push edi
mov ecx, esi
call fcn.10056be0
cmp eax, 2
je 0x1010686f
push 2
push edi
mov ecx, esi
call fcn.10056be0
cmp eax, 2
je 0x1010686f
push 3
push edi
mov ecx, esi
call fcn.10056be0
cmp eax, 2
je 0x1010686f
cmp dword [esp + 0x18], 0
je 0x10107749
cmp dword [esp + 0x24], 0
jne 0x10107749
mov ecx, dword [ebp + 0x20]
call fcn.100565b0
test al, al
jne 0x10107749
test edi, edi
jne 0x10107749
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0xb0]
mov edx, dword [ebp]
push eax
push esi
lea ecx, [esp + 0x80]
push ecx
mov ecx, ebp
call dword [edx + 0xcc]
mov ebx, dword [eax]
test bl, 1
je 0x101068ca
mov eax, dword [esp + 0x38]
mov edx, dword [ebp]
push eax
push esi
lea ecx, [esp + 0x94]
push ecx
mov ecx, ebp
call dword [edx + 0xc8]
mov ebx, dword [eax]
test bl, 1
je 0x101068ca
mov edx, dword [ebp]
push edi
push esi
lea eax, [esp + 0x70]
push eax
mov ecx, ebp
call dword [edx + 0xc4]
mov ebx, dword [eax]
cmp dword [esp + 0x24], 0
je 0x10106981
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
shr edx, 0x11
xor esi, esi
test dl, 1
je 0x10106950
mov edi, dword [esp + 0xb0]
lea esp, [esp]
test bl, 1
je 0x10106916
mov ecx, dword [esp + 0x44]
mov eax, dword [ebp]
push esi
push 0
push esi
push ecx
push 3
push edi
lea edx, [esp + 0x98]
push edx
mov ecx, ebp
call dword [eax + 0xd0]
mov ebx, dword [eax]
add esi, 1
cmp esi, 4
jb 0x101068f0
xor esi, esi
test bl, 1
je 0x10106946
mov ecx, dword [esp + 0x48]
mov eax, dword [ebp]
push esi
push 2
push esi
push ecx
push 3
push edi
lea edx, [esp + 0x88]
push edx
mov ecx, ebp
call dword [eax + 0xd0]
mov ebx, dword [eax]
add esi, 1
cmp esi, 4
jb 0x10106920
jmp 0x10106981
test bl, 1
je 0x10106979
mov ecx, dword [esp + 0xb0]
mov eax, dword [ebp]
push esi
push 0
push esi
push edi
push 3
push ecx
lea edx, [esp + 0xa8]
push edx
mov ecx, ebp
call dword [eax + 0xd0]
mov ebx, dword [eax]
add esi, 1
cmp esi, 4
jb 0x10106950
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
shr ecx, 1
test cl, 1
je 0x101069c9
mov ecx, dword [ebp + 0x20]
call fcn.100565b0
test al, al
je 0x101069c9
test bl, 1
je 0x101069c9
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ebp]
push 0
push 1
push eax
mov eax, dword [esp + 0xbc]
push ecx
push 3
push eax
lea ecx, [esp + 0x78]
push ecx
mov ecx, ebp
call dword [edx + 0xd0]
mov ebx, dword [eax]
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
shr eax, 0x11
xor edi, edi
test al, 1
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x1c], edi
je 0x101072b2
cmp dword [eax + 0xdc], edi
jbe 0x1010772e
nop
cmp dword [eax + 0xc], 1
je 0x10106eef
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
shr edx, 3
test dl, 1
je 0x10106ac0
xor ecx, ecx
test bl, 1
mov dword [esp + 0x14], ecx
je 0x10106ac0
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x14]
push ecx
push 1
push eax
mov ecx, ebp
call fcn.1011bdb0
push eax
push 0x1a
call fcn.1017f680
mov ecx, dword [esp + 0x28]
mov ebx, eax
add esp, 0x14
test bl, 1
je 0x10106ac0
mov edx, dword [ebp + 0x28]
xor eax, eax
cmp dword [edx + 0xc], eax
jbe 0x10106aa5
mov edi, dword [esp + 0x1c]
xor esi, esi
cmp edi, 2
jae 0x10106a5f
mov esi, dword [edx + edi*4 + 0x420]
mov edx, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x50]
mov edx, dword [ebx + edx*4]
mov ecx, dword [ecx + 0x34]
add edx, eax
mov dword [ecx + edx*4], esi
xor edx, edx
cmp edi, 2
jae 0x10106a81
mov edx, dword [ebp + 0x28]
mov edx, dword [edx + edi*4 + 0x420]
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 0x4c]
mov ebx, dword [ecx + 0x5c]
mov ecx, dword [ecx + 0x68]
add esi, eax
mov esi, dword [ebx + esi*4]
mov dword [ecx + esi*4], edx
mov edx, dword [ebp + 0x28]
mov ecx, dword [esp + 0x14]
add eax, 1
cmp eax, dword [edx + 0xc]
jb 0x10106a51
push ecx
mov ecx, dword [esp + 0xb4]
lea edx, [esp + 0x8c]
push edx
call fcn.1011db90
mov ebx, dword [eax]
mov edi, dword [esp + 0x1c]
lea eax, [edi + edi + 0x42]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
xor ecx, ecx
test bl, 1
mov dword [esp + 0x10], ecx
je 0x10106ba8
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx + 0xc]
lea edx, [esp + 0x10]
push edx
push 1
push eax
mov ecx, ebp
call fcn.1011bdb0
push eax
push 0x1a
call fcn.1017f680
mov ecx, dword [esp + 0x24]
mov ebx, eax
add esp, 0x14
test bl, 1
je 0x10106ba8
mov edx, dword [ebp + 0x28]
xor eax, eax
cmp dword [edx + 0xc], eax
jbe 0x10106b90
mov edi, dword [esp + 0x14]
lea esp, [esp]
xor esi, esi
cmp edi, 4
jae 0x10106b3c
cmp dword [esp + 0x1c], 2
jae 0x10106b3c
cmp eax, 2
jae 0x10106b3c
mov esi, dword [esp + 0x18]
add esi, eax
mov esi, dword [edx + esi*4]
mov edx, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x50]
mov edx, dword [ebx + edx*4]
mov ecx, dword [ecx + 0x34]
add edx, eax
mov dword [ecx + edx*4], esi
xor edx, edx
cmp edi, 4
jae 0x10106b6c
cmp dword [esp + 0x1c], 2
jae 0x10106b6c
cmp eax, 2
jae 0x10106b6c
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x28]
add edx, eax
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx + 0x4c]
mov ebx, dword [ecx + 0x5c]
mov ecx, dword [ecx + 0x68]
add esi, eax
mov esi, dword [ebx + esi*4]
mov dword [ecx + esi*4], edx
mov edx, dword [ebp + 0x28]
mov ecx, dword [esp + 0x10]
add eax, 1
cmp eax, dword [edx + 0xc]
jb 0x10106b20
push ecx
mov ecx, dword [esp + 0xb4]
lea edx, [esp + 0x68]
push edx
call fcn.1011db90
mov ebx, dword [eax]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
add dword [esp + 0x18], 4
add eax, 1
cmp eax, 4
mov dword [esp + 0x14], eax
jb 0x10106ad0
lea eax, [edi + edi + 0x62]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
xor ecx, ecx
test bl, 1
mov dword [esp + 0x10], ecx
je 0x10106ca8
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx + 0xc]
lea edx, [esp + 0x10]
push edx
push 1
push eax
mov ecx, ebp
call fcn.1011bdb0
push eax
push 0x1a
call fcn.1017f680
mov ecx, dword [esp + 0x24]
mov ebx, eax
add esp, 0x14
test bl, 1
je 0x10106ca8
mov edx, dword [ebp + 0x28]
xor eax, eax
cmp dword [edx + 0xc], eax
jbe 0x10106c90
mov edi, dword [esp + 0x14]
lea ecx, [ecx]
xor esi, esi
cmp edi, 4
jae 0x10106c3c
cmp dword [esp + 0x1c], 2
jae 0x10106c3c
cmp eax, 2
jae 0x10106c3c
mov esi, dword [esp + 0x18]
add esi, eax
mov esi, dword [edx + esi*4]
mov edx, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x50]
mov edx, dword [ebx + edx*4]
mov ecx, dword [ecx + 0x34]
add edx, eax
mov dword [ecx + edx*4], esi
xor edx, edx
cmp edi, 4
jae 0x10106c6c
cmp dword [esp + 0x1c], 2
jae 0x10106c6c
cmp eax, 2
jae 0x10106c6c
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x28]
add edx, eax
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx + 0x4c]
mov ebx, dword [ecx + 0x5c]
mov ecx, dword [ecx + 0x68]
add esi, eax
mov esi, dword [ebx + esi*4]
mov dword [ecx + esi*4], edx
mov edx, dword [ebp + 0x28]
mov ecx, dword [esp + 0x10]
add eax, 1
cmp eax, dword [edx + 0xc]
jb 0x10106c20
push ecx
mov ecx, dword [esp + 0xb4]
lea edx, [esp + 0x70]
push edx
call fcn.1011db90
mov ebx, dword [eax]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
add dword [esp + 0x18], 4
add eax, 1
cmp eax, 4
mov dword [esp + 0x14], eax
jb 0x10106bd1
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
shr ecx, 1
test cl, 1
je 0x10106e0c
test bl, 1
mov dword [esp + 0x14], 0
je 0x10106e0c
mov edx, dword [ebp + 0x28]
mov eax, dword [edx + 0xc]
lea ecx, [esp + 0x14]
push ecx
push 1
push eax
mov ecx, ebp
call fcn.1011bdb0
push eax
push 0x1a
call fcn.1017f680
mov ebx, eax
add esp, 0x14
test bl, 1
je 0x10106e0c
mov ecx, dword [ebp + 0x20]
call fcn.100565b0
test al, al
mov ecx, dword [ebp + 0x28]
je 0x10106d88
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x10106df4
xor edx, edx
cmp edi, 2
jae 0x10106d3b
cmp eax, 2
jae 0x10106d3b
lea edx, [eax + edi*2 + 0x52]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x50]
mov esi, dword [ebx + esi*4]
mov ecx, dword [ecx + 0x34]
add esi, eax
mov dword [ecx + esi*4], edx
xor edx, edx
cmp edi, 2
jae 0x10106d66
cmp eax, 2
jae 0x10106d66
mov ecx, dword [ebp + 0x28]
lea edx, [eax + edi*2 + 0x52]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 0x4c]
mov ebx, dword [ecx + 0x5c]
mov ecx, dword [ecx + 0x68]
add esi, eax
mov esi, dword [ebx + esi*4]
mov dword [ecx + esi*4], edx
mov ecx, dword [ebp + 0x28]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x10106d28
jmp 0x10106df4
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x10106df4
nop
xor edx, edx
cmp edi, 2
jae 0x10106da6
cmp eax, 2
jae 0x10106da6
lea edx, [eax + edi*2 + 0x104]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x50]
mov esi, dword [ebx + esi*4]
mov ecx, dword [ecx + 0x34]
add esi, eax
mov dword [ecx + esi*4], edx
xor edx, edx
cmp edi, 2
jae 0x10106dd4
cmp eax, 2
jae 0x10106dd4
mov ecx, dword [ebp + 0x28]
lea edx, [eax + edi*2 + 0x104]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 0x4c]
mov ebx, dword [ecx + 0x5c]
mov ecx, dword [ecx + 0x68]
add esi, eax
mov esi, dword [ebx + esi*4]
mov dword [ecx + esi*4], edx
mov ecx, dword [ebp + 0x28]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x10106d90
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xb0]
push edx
lea eax, [esp + 0x78]
push eax
call fcn.1011db90
mov ebx, dword [eax]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
shr edx, 2
test dl, 1
je 0x10106eef
xor ecx, ecx
test bl, 1
mov dword [esp + 0x14], ecx
je 0x10106eef
mov eax, dword [ebp + 0x28]
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x14]
push ecx
push 1
push eax
mov ecx, ebp
call fcn.1011bdb0
push eax
push 0x1a
call fcn.1017f680
mov ecx, dword [esp + 0x28]
mov ebx, eax
add esp, 0x14
test bl, 1
je 0x10106eef
mov edx, dword [ebp + 0x28]
xor eax, eax
cmp dword [edx + 0xc], eax
jbe 0x10106ed4
mov edi, dword [esp + 0x1c]
lea ebx, [ebx]
xor esi, esi
cmp edi, 2
jae 0x10106e86
cmp eax, 2
jae 0x10106e86
lea esi, [eax + edi*2 + 0x10a]
mov esi, dword [edx + esi*4]
mov edx, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x50]
mov edx, dword [ebx + edx*4]
mov ecx, dword [ecx + 0x34]
add edx, eax
mov dword [ecx + edx*4], esi
xor edx, edx
cmp edi, 2
jae 0x10106eb0
cmp eax, 2
jae 0x10106eb0
mov ecx, dword [ebp + 0x28]
lea edx, [eax + edi*2 + 0x10a]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 0x4c]
mov ebx, dword [ecx + 0x5c]
mov ecx, dword [ecx + 0x68]
add esi, eax
mov esi, dword [ebx + esi*4]
mov dword [ecx + esi*4], edx
mov edx, dword [ebp + 0x28]
mov ecx, dword [esp + 0x14]
add eax, 1
cmp eax, dword [edx + 0xc]
jb 0x10106e70
push ecx
mov ecx, dword [esp + 0xb4]
lea edx, [esp + 0x80]
push edx
call fcn.1011db90
mov ebx, dword [eax]
mov edi, dword [esp + 0x1c]
mov eax, dword [ebp + 0x28]
xor esi, esi
cmp dword [eax + 0xc], esi
jbe 0x10107297
lea ecx, [ecx]
xor eax, eax
test bl, 1
mov dword [esp + 0x10], eax
je 0x10107288
lea ecx, [esp + 0x10]
push ecx
push 1
mov ecx, ebp
call fcn.1011bdb0
mov edx, dword [esp + 0x34]
push eax
push edx
call fcn.10131ca0
mov ebx, eax
mov eax, dword [esp + 0x20]
add esp, 0x10
test bl, 1
je 0x10107288
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
shr edx, 3
xor edi, edi
test dl, 1
mov edx, dword [esp + 0x1c]
je 0x10106f77
xor ecx, ecx
cmp edx, 2
jae 0x10106f5f
mov ecx, dword [ebp + 0x28]
mov ecx, dword [ecx + edx*4 + 0x420]
mov edi, dword [eax + 0x44]
mov ebx, dword [eax + 0x50]
mov edi, dword [ebx + edi*4]
mov eax, dword [eax + 0x34]
mov dword [eax + edi*4], ecx
mov eax, dword [esp + 0x10]
mov edi, 1
lea edx, [esi + edx*2 + 0x42]
add edx, edx
xor ecx, ecx
add edx, edx
mov dword [esp + 0x14], edx
jmp 0x10106f90
mov eax, dword [esp + 0x10]
jmp 0x10106f90
cmp ecx, 4
mov dword [esp + 0x18], 0
jae 0x10106fb3
cmp dword [esp + 0x1c], 2
jae 0x10106fb3
cmp esi, 2
jae 0x10106fb3
mov ebx, dword [ebp + 0x28]
mov edx, dword [edx + ebx]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x44]
mov ebx, dword [eax + 0x50]
mov eax, dword [eax + 0x34]
add edx, edi
mov edx, dword [ebx + edx*4]
mov ebx, dword [esp + 0x18]
mov dword [eax + edx*4], ebx
mov edx, dword [esp + 0x14]
add ecx, 1
add edx, 0x10
add edi, 1
cmp ecx, 4
mov dword [esp + 0x14], edx
jb 0x10106f87
mov edx, dword [esp + 0x1c]
lea eax, [esi + edx*2 + 0x62]
add eax, eax
xor ecx, ecx
add eax, eax
mov dword [esp + 0x14], eax
cmp ecx, 4
mov dword [esp + 0x18], 0
jae 0x10107013
cmp dword [esp + 0x1c], 2
jae 0x10107013
cmp esi, 2
jae 0x10107013
mov edx, dword [ebp + 0x28]
mov eax, dword [eax + edx]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x44]
mov ebx, dword [eax + 0x50]
mov eax, dword [eax + 0x34]
add edx, edi
mov edx, dword [ebx + edx*4]
mov ebx, dword [esp + 0x18]
mov dword [eax + edx*4], ebx
mov eax, dword [esp + 0x14]
add ecx, 1
add eax, 0x10
add edi, 1
cmp ecx, 4
mov dword [esp + 0x14], eax
jb 0x10106ff0
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
shr edx, 1
test dl, 1
je 0x10107109
mov ecx, dword [ebp + 0x20]
call fcn.100565b0
mov ebx, dword [esp + 0x1c]
xor esi, esi
test al, al
mov eax, dword [ebp + 0x28]
je 0x101070b6
cmp dword [eax + 0xc], esi
jbe 0x101070b1
lea ecx, [ecx]
cmp ebx, 2
mov dword [esp + 0x18], 0
jae 0x1010708d
cmp esi, 2
jae 0x1010708d
lea ecx, [esi + ebx*2 + 0x52]
mov edx, dword [eax + ecx*4]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x50]
add ecx, edi
mov ecx, dword [edx + ecx*4]
mov edx, dword [eax + 0x34]
mov eax, dword [esp + 0x18]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp + 0x28]
add esi, 1
cmp esi, dword [eax + 0xc]
jb 0x10107070
add edi, 1
jmp 0x1010710d
cmp dword [eax + 0xc], 0
jbe 0x10107104
lea esp, [esp]
cmp ebx, 2
mov dword [esp + 0x18], 0
jae 0x101070e0
cmp esi, 2
jae 0x101070e0
lea ecx, [esi + ebx*2 + 0x104]
mov edx, dword [eax + ecx*4]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x50]
add ecx, edi
mov ecx, dword [edx + ecx*4]
mov edx, dword [eax + 0x34]
mov eax, dword [esp + 0x18]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp + 0x28]
add esi, 1
cmp esi, dword [eax + 0xc]
jb 0x101070c0
add edi, 1
jmp 0x1010710d
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
shr edx, 2
test dl, 1
je 0x10107177
mov eax, dword [ebp + 0x28]
xor esi, esi
cmp dword [eax + 0xc], esi
jbe 0x10107174
jmp 0x10107130
cmp ebx, 2
mov dword [esp + 0x18], 0
jae 0x10107150
cmp esi, 2
jae 0x10107150
lea ecx, [esi + ebx*2 + 0x10a]
mov edx, dword [eax + ecx*4]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x50]
add ecx, edi
mov ecx, dword [edx + ecx*4]
mov edx, dword [eax + 0x34]
mov eax, dword [esp + 0x18]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp + 0x28]
add esi, 1
cmp esi, dword [eax + 0xc]
jb 0x10107130
add edi, 1
test ebx, ebx
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x18], 0
jne 0x1010718f
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x18], ecx
jmp 0x1010719f
cmp ebx, 2
jae 0x1010719f
mov edx, dword [eax + ebx*4 + 0xe0]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x50]
add ecx, edi
mov ecx, dword [edx + ecx*4]
mov edx, dword [eax + 0x34]
mov eax, dword [esp + 0x18]
mov dword [edx + ecx*4], eax
add edi, 1
xor ecx, ecx
cmp ebx, 2
jae 0x101071cc
mov ecx, dword [ebp + 0x28]
mov ecx, dword [ecx + ebx*4 + 0x408]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x44]
add edx, edi
mov edi, dword [eax + 0x50]
mov edx, dword [edi + edx*4]
mov eax, dword [eax + 0x34]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.10130c30
mov ecx, dword [esp + 0x10]
push 1
call fcn.10130c40
mov edx, dword [ebp + 0x28]
mov eax, dword [edx + 0xc]
lea ecx, [eax - 1]
cmp esi, ecx
jne 0x1010722f
cmp eax, 1
je 0x10107214
mov eax, dword [esp + 0x10]
or dword [eax + 0x24], 2
mov edx, dword [ebp + 0x28]
mov eax, dword [edx + 0xdc]
sub eax, 1
cmp ebx, eax
jne 0x1010722f
mov ecx, dword [esp + 0x10]
push 1
call fcn.10130c50
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, dword [ebp + 0x20]
call fcn.100567f0
mov ecx, dword [esp + 0x10]
push eax
call fcn.10130c60
mov ecx, dword [ebp + 0x20]
call fcn.100565b0
test al, al
je 0x10107269
mov edx, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x20]
push edx
call fcn.100567f0
mov ecx, dword [esp + 0x10]
push eax
call fcn.10130c70
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x88]
push ecx
mov ecx, dword [esp + 0xb8]
call fcn.1011db90
mov ebx, dword [eax]
mov edi, dword [esp + 0x1c]
mov edx, dword [ebp + 0x28]
add esi, 1
cmp esi, dword [edx + 0xc]
jb 0x10106f00
mov eax, dword [ebp + 0x28]
add edi, 1
cmp edi, dword [eax + 0xdc]
mov dword [esp + 0x1c], edi
jb 0x101069f0
jmp 0x1010772e
cmp dword [eax + 0xdc], 0
jbe 0x1010772e
nop
xor edx, edx
test bl, 1
mov dword [esp + 0x10], edx
je 0x10107718
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, ebp
call fcn.1011bdb0
mov edx, dword [esp + 0x34]
push eax
push edx
call fcn.10131ca0
mov edx, dword [esp + 0x20]
mov ebx, eax
add esp, 0x10
test bl, 1
je 0x10107718
mov eax, dword [esp + 0x20]
mov esi, dword [eax]
mov ecx, esi
xor ebx, ebx
shr ecx, 5
test cl, 1
mov dword [esp + 0x14], ebx
jne 0x1010731b
mov eax, esi
shr eax, 3
test al, 1
je 0x10107348
xor eax, eax
cmp edi, 2
jae 0x1010732c
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx + edi*4 + 0x420]
mov ecx, dword [edx + 0x44]
mov esi, dword [edx + 0x50]
mov edx, dword [edx + 0x34]
mov ecx, dword [esi + ecx*4]
mov ebx, 1
mov dword [edx + ecx*4], eax
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x24], 0
je 0x1010752a
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
shr ecx, 0x14
test cl, 1
je 0x101074ac
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax + 8]
mov esi, dword [ecx + 8]
mov dword [esp + 0x50], ecx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x18], 0xffffffff
xor eax, eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x4c], ecx
jmp 0x10107390
mov esi, dword [esp + 0x54]
lea ecx, [ecx]
test esi, esi
je 0x10107437
cmp eax, dword [esi + 0xc]
jae 0x10107437
mov esi, dword [esi + 8]
mov ecx, eax
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
mov edi, eax
shr edi, 5
test dword [esi + edi*4], ebx
setne cl
test cl, cl
je 0x1010742f
mov ecx, dword [esp + 0x50]
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x1010742f
cmp eax, dword [edi + 0xc]
jae 0x1010742f
mov esi, dword [edi + 8]
test esi, esi
je 0x101073e4
cmp eax, dword [edi + 0xc]
jae 0x101073e4
mov ecx, dword [esi + eax*8]
mov esi, dword [esi + eax*8 + 4]
jmp 0x101073e8
xor esi, esi
mov ecx, esi
and ecx, 0xf
test ecx, ecx
mov dword [esp + 0x98], esi
je 0x1010742f
mov esi, dword [edi + 8]
test esi, esi
je 0x1010740b
cmp eax, dword [edi + 0xc]
jae 0x1010740b
mov ecx, dword [esi + eax*8]
mov esi, dword [esi + eax*8 + 4]
jmp 0x1010740f
xor esi, esi
mov ecx, esi
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
shr ecx, 8
and ecx, 0x1f
cmp ecx, 0xc
mov dword [esp + 0x98], esi
jne 0x10107437
mov dword [esp + 0x18], eax
jmp 0x10107437
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x4c]
jbe 0x10107389
mov ecx, dword [esp + 0x18]
cmp ecx, 0xffffffff
je 0x1010752a
xor eax, eax
cmp ecx, 0x20
jae 0x10107464
mov eax, dword [ebp + 0x28]
add ecx, 0x48
shl ecx, 4
mov eax, dword [ecx + eax]
mov ecx, dword [edx + 0x44]
mov esi, dword [edx + 0x50]
mov edx, dword [edx + 0x34]
add ecx, ebx
mov ecx, dword [esi + ecx*4]
mov dword [edx + ecx*4], eax
mov eax, dword [esp + 0x18]
xor ecx, ecx
cmp eax, 0x20
jae 0x1010748d
mov ecx, dword [ebp + 0x28]
shl eax, 4
mov ecx, dword [eax + ecx + 0x488]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x44]
mov esi, dword [eax + 0x50]
mov eax, dword [eax + 0x34]
add edx, ebx
mov edx, dword [esi + edx*4]
mov dword [eax + edx*4 + 4], ecx
mov edx, dword [esp + 0x10]
add ebx, 1
jmp 0x1010752a
mov esi, dword [ebp + 0x28]
mov ecx, dword [esi + 0xc]
lea eax, [edi + edi + 0x42]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
xor eax, eax
test ecx, ecx
jbe 0x10107516
jmp 0x101074d0
xor ecx, ecx
cmp dword [esp + 0x14], 4
jae 0x101074ee
cmp dword [esp + 0x1c], 2
jae 0x101074ee
cmp eax, 2
jae 0x101074ee
mov ecx, dword [esp + 0x18]
add ecx, eax
mov ecx, dword [esi + ecx*4]
mov esi, dword [edx + 0x44]
mov edi, dword [edx + 0x50]
mov edx, dword [edx + 0x34]
add esi, ebx
mov esi, dword [edi + esi*4]
add esi, eax
mov dword [edx + esi*4], ecx
mov esi, dword [ebp + 0x28]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
add eax, 1
cmp eax, ecx
jb 0x101074d0
mov edi, dword [esp + 0x1c]
add dword [esp + 0x14], 1
add dword [esp + 0x18], 4
add ebx, 1
cmp dword [esp + 0x14], 4
jb 0x101074c2
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
shr ecx, 1
test cl, 1
je 0x101075d6
mov ecx, dword [ebp + 0x20]
call fcn.100565b0
test al, al
mov ecx, dword [ebp + 0x28]
je 0x1010758c
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x101075cf
xor edx, edx
cmp edi, 2
jae 0x10107564
cmp eax, 2
jae 0x10107564
lea edx, [eax + edi*2 + 0x52]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx + 0x44]
mov edi, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x34]
add esi, ebx
mov esi, dword [edi + esi*4]
mov edi, dword [esp + 0x1c]
add esi, eax
mov dword [ecx + esi*4], edx
mov ecx, dword [ebp + 0x28]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x10107551
jmp 0x101075cf
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x101075cf
xor edx, edx
cmp edi, 2
jae 0x101075a9
cmp eax, 2
jae 0x101075a9
lea edx, [eax + edi*2 + 0x104]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx + 0x44]
mov edi, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x34]
add esi, ebx
mov esi, dword [edi + esi*4]
mov edi, dword [esp + 0x1c]
add esi, eax
mov dword [ecx + esi*4], edx
mov ecx, dword [ebp + 0x28]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x10107593
mov edx, dword [esp + 0x10]
add ebx, 1
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
shr ecx, 2
test cl, 1
je 0x1010762f
mov ecx, dword [ebp + 0x28]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x1010762c
mov edi, edi
xor esi, esi
cmp edi, 2
jae 0x10107606
cmp eax, 2
jae 0x10107606
lea esi, [eax + edi*2 + 0x10a]
mov esi, dword [ecx + esi*4]
mov ecx, dword [edx + 0x44]
mov edi, dword [edx + 0x50]
mov edx, dword [edx + 0x34]
add ecx, ebx
mov ecx, dword [edi + ecx*4]
mov edi, dword [esp + 0x1c]
add ecx, eax
mov dword [edx + ecx*4], esi
mov ecx, dword [ebp + 0x28]
mov edx, dword [esp + 0x10]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x101075f0
add ebx, 1
mov ecx, dword [ebp + 0x28]
xor eax, eax
test edi, edi
jne 0x1010763d
mov eax, dword [ecx + 0x1c]
jmp 0x10107649
cmp edi, 2
jae 0x10107649
mov eax, dword [ecx + edi*4 + 0xe0]
mov ecx, dword [edx + 0x44]
mov esi, dword [edx + 0x50]
mov edx, dword [edx + 0x34]
add ecx, ebx
mov ecx, dword [esi + ecx*4]
mov dword [edx + ecx*4], eax
add ebx, 1
xor eax, eax
cmp edi, 2
jae 0x1010766e
mov eax, dword [ebp + 0x28]
mov eax, dword [eax + edi*4 + 0x408]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x44]
mov esi, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x34]
add edx, ebx
mov edx, dword [esi + edx*4]
mov esi, dword [esp + 0x38]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x10]
push esi
call fcn.10130c30
mov eax, dword [esp + 0x24]
lea edx, [eax - 1]
cmp esi, edx
je 0x101076a0
test eax, eax
jne 0x101076c6
mov ecx, dword [esp + 0x10]
push 1
call fcn.10130c40
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax + 0xdc]
sub ecx, 1
cmp edi, ecx
jne 0x101076c6
mov ecx, dword [esp + 0x10]
push 1
call fcn.10130c50
mov edx, dword [esp + 0x34]
mov ecx, dword [ebp + 0x20]
push edx
call fcn.100567f0
mov ecx, dword [esp + 0x10]
push eax
call fcn.10130c60
mov ecx, dword [ebp + 0x20]
call fcn.100565b0
test al, al
je 0x10107700
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x20]
push eax
call fcn.100567f0
mov ecx, dword [esp + 0x10]
push eax
call fcn.10130c70
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xb4]
lea edx, [esp + 0x5c]
push edx
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [ebp + 0x28]
add edi, 1
cmp edi, dword [eax + 0xdc]
mov dword [esp + 0x1c], edi
jb 0x101072c0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
shr ecx, 0x11
test cl, 1
jne 0x10107759
add dword [esp + 0x38], 1
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
add edi, 1
cmp edi, dword [esi + 0xc]
mov dword [esp + 0x34], edi
jbe 0x101067a0
mov eax, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
add esp, 0x8c
ret 0x14