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

Disassembly:
mov edx, dword [esp + 0xc]
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
mov eax, dword [edx + ebp*4 + 4]
push esi
mov esi, ecx
mov ecx, eax
shr ecx, 0xf
mov ebx, 1
and ecx, 0xf
sub ecx, ebx
push edi
je 0x1015322c
sub ecx, 2
je 0x10152854
mov eax, dword [esp + 0x68]
pop edi
pop esi
mov ebx, 2
pop ebp
mov dword [eax], ebx
pop ebx
add esp, 0x54
ret 0x18
mov ecx, eax
mov edi, eax
shr ecx, 0x19
and edi, 0x7fff
test cl, 1
je 0x1015286a
add edi, dword [edx + ebp*4 + 0x28]
shr eax, 0x18
test al, 1
je 0x10152d74
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x78]
lea edi, [ecx + edi*4]
imul edi, dword [eax + 0xdc]
imul edi, dword [eax + 0xc]
add edi, dword [eax + 0xb8]
lea edx, [edx + ebp*8 + 0x10]
mov dword [esp + 0x14], edi
xor edi, edi
cmp dword [eax + 0xdc], edi
mov dword [esp + 0x1c], edx
jbe 0x10152970
lea ebx, [ebx]
test bl, 1
je 0x1015295e
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov eax, dword [eax + 0xc]
push edx
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0x13
call fcn.1017f130
mov ebx, eax
add esp, 0x10
test bl, 1
je 0x1015295e
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x1015293c
mov ebx, dword [esp + 0x78]
xor edx, edx
cmp ebp, 2
jae 0x10152917
cmp ebx, 4
jae 0x10152917
cmp edi, 2
jae 0x10152917
cmp eax, 2
jae 0x10152917
lea edx, [ebx + ebp*4]
lea edx, [edi + edx*2]
lea edx, [eax + edx*2 + 0xd2]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x18]
mov ebp, dword [ecx + 0x5c]
mov ebx, dword [ecx + 0x4c]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x68]
mov ebp, dword [esp + 0x74]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x101528ed
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x24], eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x7c]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add edi, 1
cmp edi, dword [eax + 0xdc]
jb 0x101528b0
mov eax, dword [esi + 0x24]
xor edi, edi
cmp dword [eax + 0xdc], edi
mov dword [esp + 0x10], edi
jbe 0x10152a73
test bl, 1
je 0x10152a5d
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0
mov eax, dword [eax + 0xc]
push 0
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0x21
call fcn.1016b000
mov ebx, eax
add esp, 0x14
test bl, 1
je 0x10152a5d
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x10152a2b
xor edx, edx
cmp ebp, 2
jae 0x101529f2
mov ebx, dword [esp + 0x78]
cmp ebx, 4
jae 0x101529f2
cmp edi, 2
jae 0x101529f2
cmp eax, 2
jae 0x101529f2
lea edx, [ebx + ebp*4]
lea edx, [edi + edx*2]
lea edx, [eax + edx*2 + 0xd2]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x18]
mov ebx, dword [ecx + 0x5c]
mov edi, dword [ecx + 0x4c]
mov edi, dword [ebx + edi*4]
mov ecx, dword [ecx + 0x68]
add edi, eax
mov dword [ecx + edi*4], edx
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x50]
mov edi, dword [ebx + edi*4]
mov ecx, dword [ecx + 0x34]
add edi, eax
mov dword [ecx + edi*4], edx
mov ecx, dword [esi + 0x24]
mov edi, dword [esp + 0x10]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x101529c8
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x28]
mov ecx, dword [esp + 0x6c]
mov dword [eax], 4
mov edx, dword [ecx]
mov eax, dword [esp + 0x18]
mov dword [eax + 0x24], edx
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x80]
lea edx, [esp + 0x28]
push edx
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add edi, 1
cmp edi, dword [eax + 0xdc]
mov dword [esp + 0x10], edi
jb 0x10152985
test bl, 1
je 0x10152aba
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
shrd ecx, edx, 0x1f
shr edx, 0x1f
test cl, 1
je 0x10152a97
mov ecx, dword [esp + 0x70]
mov ebp, dword [ecx + ebp*4 + 0x20]
jmp 0x10152a99
xor ebp, ebp
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x70]
push ecx
push ebp
push eax
push 0
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.1014ead0
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
cmp dword [eax + 0xdc], 0
mov dword [esp + 0x10], 0
jbe 0x10152c21
mov ebp, 0xf6
mov dword [esp + 0x18], ebp
jmp 0x10152ae0
test bl, 1
je 0x10152c00
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x74], 0
mov eax, dword [eax + 0xc]
push 0
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0x47
call fcn.1016b000
mov ebx, eax
add esp, 0x14
test bl, 1
je 0x10152c00
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x10152bc5
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
xor edx, edx
cmp edi, 2
jae 0x10152b5c
cmp ebx, 4
jae 0x10152b5c
cmp ebp, 0xfa
jae 0x10152b5c
cmp eax, 2
jae 0x10152b5c
lea edx, [ebx + edi*4]
mov edi, dword [esp + 0x10]
lea edx, [edi + edx*2]
lea edx, [eax + edx*2 + 0xd2]
mov edx, dword [ecx + edx*4]
xor edi, edi
cmp ebp, 0xfa
jae 0x10152b70
cmp eax, 2
jae 0x10152b70
add ebp, eax
mov edi, dword [ecx + ebp*4]
mov ecx, dword [esp + 0x70]
mov ebp, dword [ecx + 0x5c]
mov ebx, dword [ecx + 0x4c]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x68]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esp + 0x70]
mov ebp, dword [ecx + 0x50]
mov ebx, dword [ecx + 0x44]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x34]
mov ebp, dword [esp + 0x18]
add ebx, eax
mov dword [ecx + ebx*4], edi
mov ecx, dword [esp + 0x70]
mov edi, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x50]
mov edi, dword [ebx + edi*4 + 4]
mov ecx, dword [ecx + 0x34]
add edi, eax
mov dword [ecx + edi*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x10152b27
mov eax, dword [esi + 0x24]
mov edx, dword [eax + 0xdc]
imul edx, dword [eax + 0xc]
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x28]
shl edx, 7
mov dword [ecx], edx
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x24], eax
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x7c]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.1011db90
mov ebx, dword [eax]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x24]
add ecx, 1
add ebp, 2
cmp ecx, dword [eax + 0xdc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], ebp
jb 0x10152ae0
mov eax, dword [esi + 0x24]
xor edi, edi
cmp dword [eax + 0xdc], edi
jbe 0x10153a3c
test bl, 1
je 0x10152d52
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0
mov eax, dword [eax + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 6
call fcn.1017f130
mov ebx, eax
add esp, 0x10
test bl, 1
je 0x10152d52
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x10152cd9
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
xor edx, edx
cmp ebx, 2
jae 0x10152ca2
cmp ebp, 4
jae 0x10152ca2
cmp edi, 2
jae 0x10152ca2
cmp eax, 2
jae 0x10152ca2
lea edx, [ebp + ebx*4]
lea edx, [edi + edx*2]
lea edx, [eax + edx*2 + 0xd2]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x70]
mov ebp, dword [ecx + 0x5c]
mov ebx, dword [ecx + 0x4c]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x68]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esp + 0x70]
mov ebx, dword [ecx + 0x44]
mov ebp, dword [ecx + 0x50]
mov ebx, dword [ebp + ebx*4 + 4]
mov ecx, dword [ecx + 0x34]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x10152c73
mov eax, dword [esi + 0x24]
xor ecx, ecx
test edi, edi
jne 0x10152ce7
mov ecx, dword [eax + 0x1c]
jmp 0x10152cf3
cmp edi, 2
jae 0x10152cf3
mov ecx, dword [eax + edi*4 + 0xe0]
mov eax, dword [esp + 0x70]
mov edx, dword [eax + 0x44]
mov ebx, dword [eax + 0x50]
mov edx, dword [ebx + edx*4]
mov eax, dword [eax + 0x34]
mov dword [eax + edx*4], ecx
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x70]
imul edx, edi
add edx, dword [esp + 0x14]
mov ecx, dword [eax + 0x28]
mov dword [ecx], edx
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x4c]
mov ecx, dword [esp + 0x70]
push eax
call fcn.1017e2a0
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x70]
mov dword [edx + 0x24], ecx
mov eax, dword [esp + 0x70]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x84]
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add edi, 1
cmp edi, dword [eax + 0xdc]
jb 0x10152c32
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
add esp, 0x54
ret 0x18
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x18]
test al, al
mov eax, dword [esi + 0x24]
je 0x101530d2
mov ecx, dword [esp + 0x78]
lea edi, [ecx + edi*4]
imul edi, dword [eax + 0xdc]
imul edi, dword [eax + 0xc]
add edi, dword [eax + 0xb8]
mov dword [esp + 0x14], edi
xor edi, edi
cmp dword [eax + 0xdc], edi
mov dword [esp + 0x10], edi
jbe 0x10152e7c
test bl, 1
je 0x10152e66
lea edx, [esp + 0x70]
mov dword [esp + 0x70], 0
mov eax, dword [eax + 0xc]
push edx
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0x13
call fcn.1017f130
mov ebx, eax
add esp, 0x10
test bl, 1
je 0x10152e66
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x10152e44
xor edx, edx
cmp ebp, 2
jae 0x10152e20
mov ebx, dword [esp + 0x78]
cmp ebx, 4
jae 0x10152e20
cmp edi, 2
jae 0x10152e20
cmp eax, 2
jae 0x10152e20
lea edx, [ebx + ebp*4]
lea edx, [edi + edx*2]
lea edx, [eax + edx*2 + 0xd2]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x70]
mov edi, dword [ecx + 0x4c]
mov ebx, dword [ecx + 0x5c]
mov edi, dword [ebx + edi*4]
mov ecx, dword [ecx + 0x68]
add edi, eax
mov dword [ecx + edi*4], edx
mov ecx, dword [esi + 0x24]
mov edi, dword [esp + 0x10]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x10152df6
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x24], eax
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x7c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add edi, 1
cmp edi, dword [eax + 0xdc]
mov dword [esp + 0x10], edi
jb 0x10152db5
mov eax, dword [esi + 0x24]
xor edi, edi
cmp dword [eax + 0xdc], edi
mov dword [esp + 0x10], edi
jbe 0x10152f7f
test bl, 1
je 0x10152f69
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x74], 0
mov eax, dword [eax + 0xc]
push 0
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0x21
call fcn.1016b000
mov ebx, eax
add esp, 0x14
test bl, 1
je 0x10152f69
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x10152f37
xor edx, edx
cmp ebp, 2
jae 0x10152efe
mov ebx, dword [esp + 0x78]
cmp ebx, 4
jae 0x10152efe
cmp edi, 2
jae 0x10152efe
cmp eax, 2
jae 0x10152efe
lea edx, [ebx + ebp*4]
lea edx, [edi + edx*2]
lea edx, [eax + edx*2 + 0xd2]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x70]
mov ebx, dword [ecx + 0x5c]
mov edi, dword [ecx + 0x4c]
mov edi, dword [ebx + edi*4]
mov ecx, dword [ecx + 0x68]
add edi, eax
mov dword [ecx + edi*4], edx
mov ecx, dword [esp + 0x70]
mov edi, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x50]
mov edi, dword [ebx + edi*4]
mov ecx, dword [ecx + 0x34]
add edi, eax
mov dword [ecx + edi*4], edx
mov ecx, dword [esi + 0x24]
mov edi, dword [esp + 0x10]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x10152ed4
mov edx, dword [esp + 0x70]
mov eax, dword [edx + 0x28]
mov ecx, dword [esp + 0x6c]
mov dword [eax], 4
mov edx, dword [ecx]
mov eax, dword [esp + 0x70]
mov dword [eax + 0x24], edx
mov ecx, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x80]
lea edx, [esp + 0x3c]
push edx
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add edi, 1
cmp edi, dword [eax + 0xdc]
mov dword [esp + 0x10], edi
jb 0x10152e91
mov eax, dword [esi + 0x24]
xor edi, edi
cmp dword [eax + 0xdc], edi
jbe 0x10153a3c
test bl, 1
je 0x101530b0
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0
mov eax, dword [eax + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 6
call fcn.1017f130
mov ebx, eax
add esp, 0x10
test bl, 1
je 0x101530b0
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x10153037
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
xor edx, edx
cmp ebx, 2
jae 0x10153000
cmp ebp, 4
jae 0x10153000
cmp edi, 2
jae 0x10153000
cmp eax, 2
jae 0x10153000
lea edx, [ebp + ebx*4]
lea edx, [edi + edx*2]
lea edx, [eax + edx*2 + 0xd2]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x70]
mov ebp, dword [ecx + 0x5c]
mov ebx, dword [ecx + 0x4c]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x68]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esp + 0x70]
mov ebx, dword [ecx + 0x44]
mov ebp, dword [ecx + 0x50]
mov ebx, dword [ebp + ebx*4 + 4]
mov ecx, dword [ecx + 0x34]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x10152fd1
mov eax, dword [esi + 0x24]
xor ecx, ecx
test edi, edi
jne 0x10153045
mov ecx, dword [eax + 0x1c]
jmp 0x10153051
cmp edi, 2
jae 0x10153051
mov ecx, dword [eax + edi*4 + 0xe0]
mov eax, dword [esp + 0x70]
mov edx, dword [eax + 0x44]
mov ebx, dword [eax + 0x50]
mov edx, dword [ebx + edx*4]
mov eax, dword [eax + 0x34]
mov dword [eax + edx*4], ecx
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x70]
imul edx, edi
add edx, dword [esp + 0x14]
mov ecx, dword [eax + 0x28]
mov dword [ecx], edx
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x4c]
mov ecx, dword [esp + 0x70]
push eax
call fcn.1017e2a0
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x70]
mov dword [edx + 0x24], ecx
mov eax, dword [esp + 0x70]
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x84]
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add edi, 1
cmp edi, dword [eax + 0xdc]
jb 0x10152f90
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
add esp, 0x54
ret 0x18
xor ebp, ebp
cmp dword [eax + 0xdc], ebp
mov dword [esp + 0x10], ebp
jbe 0x10153a3c
jmp 0x101530f0
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov eax, dword [eax + 0xc]
push edx
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0xf
call fcn.1017f130
mov ebx, eax
add esp, 0x10
test bl, 1
je 0x10153206
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x101531e4
lea esp, [esp]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov edx, dword [edx + edi*4 + 4]
and edx, 0x7fff
xor ebx, ebx
cmp edx, dword [ecx + 0x18]
jae 0x10153175
cmp dword [esp + 0x78], 4
jae 0x10153175
cmp ebp, 2
jae 0x10153175
mov edi, dword [ecx + 0xc]
cmp eax, edi
jae 0x10153175
mov ebx, dword [esp + 0x78]
lea edx, [ebx + edx*4]
lea edx, [ebp + edx*2]
imul edx, edi
mov edi, dword [ecx + 0xcc]
add edx, eax
mov ebx, dword [edi + edx*4]
xor edx, edx
cmp dword [esp + 0x74], 2
jae 0x101531a6
mov edi, dword [esp + 0x78]
cmp edi, 4
jae 0x101531a6
cmp ebp, 2
jae 0x101531a6
cmp eax, 2
jae 0x101531a6
mov edx, dword [esp + 0x74]
lea edx, [edi + edx*4]
lea edx, [ebp + edx*2]
lea edx, [eax + edx*2 + 0xd2]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x18]
mov ebp, dword [ecx + 0x50]
mov edi, dword [ecx + 0x44]
mov edi, dword [ebp + edi*4]
mov ecx, dword [ecx + 0x34]
mov ebp, dword [esp + 0x10]
add edi, eax
mov dword [ecx + edi*4], ebx
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx + 0x4c]
mov ebx, dword [ecx + 0x5c]
mov edi, dword [ebx + edi*4]
mov ecx, dword [ecx + 0x68]
add edi, eax
mov dword [ecx + edi*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x10153130
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x24], eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x7c]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add ebp, 1
cmp ebp, dword [eax + 0xdc]
mov dword [esp + 0x10], ebp
jb 0x101530f0
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
add esp, 0x54
ret 0x18
mov ecx, eax
shr ecx, 0x18
test cl, 1
je 0x10153764
lea ecx, [edx + ebp*8 + 0x10]
mov dword [esp + 0x1c], ecx
mov ecx, eax
shr ecx, 0x19
test cl, 1
je 0x10153256
mov edx, dword [edx + ebp*4 + 0x28]
mov dword [esp + 0x14], edx
jmp 0x1015325e
mov dword [esp + 0x14], 0
mov ecx, dword [esi + 0x24]
mov edi, dword [ecx + 0xdc]
mov ebp, dword [ecx + 0xc]
and eax, 0x7fff
push eax
call fcn.1011ba00
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x78]
lea ecx, [ecx + edx*4]
imul ecx, ebp
mov ebp, dword [esp + 0x74]
imul ecx, edi
add eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x24]
xor edi, edi
cmp dword [eax + 0xdc], edi
jbe 0x10153365
test bl, 1
je 0x10153353
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov eax, dword [eax + 0xc]
push edx
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0x13
call fcn.1017f130
mov ebx, eax
add esp, 0x10
test bl, 1
je 0x10153353
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x10153331
mov ebx, dword [esp + 0x78]
xor edx, edx
cmp ebp, 2
jae 0x1015330c
cmp ebx, 4
jae 0x1015330c
cmp edi, 2
jae 0x1015330c
cmp eax, 2
jae 0x1015330c
lea edx, [ebx + ebp*4]
lea edx, [edi + edx*2]
lea edx, [eax + edx*2 + 0xd2]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x18]
mov ebp, dword [ecx + 0x5c]
mov ebx, dword [ecx + 0x4c]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x68]
mov ebp, dword [esp + 0x74]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x101532e2
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x24], eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x7c]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add edi, 1
cmp edi, dword [eax + 0xdc]
jb 0x101532a1
mov eax, dword [esi + 0x24]
xor edi, edi
cmp dword [eax + 0xdc], edi
jbe 0x10153462
test bl, 1
je 0x10153450
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0
mov eax, dword [eax + 0xc]
push 0
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0x21
call fcn.1016b000
mov ebx, eax
add esp, 0x14
test bl, 1
je 0x10153450
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x1015341e
mov ebx, dword [esp + 0x78]
xor edx, edx
cmp ebp, 2
jae 0x101533e3
cmp ebx, 4
jae 0x101533e3
cmp edi, 2
jae 0x101533e3
cmp eax, 2
jae 0x101533e3
lea edx, [ebx + ebp*4]
lea edx, [edi + edx*2]
lea edx, [eax + edx*2 + 0xd2]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x18]
mov ebp, dword [ecx + 0x5c]
mov ebx, dword [ecx + 0x4c]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x68]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esp + 0x18]
mov ebp, dword [ecx + 0x50]
mov ebx, dword [ecx + 0x44]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x34]
mov ebp, dword [esp + 0x74]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x101533b9
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x28]
mov ecx, dword [esp + 0x6c]
mov dword [eax], 4
mov edx, dword [ecx]
mov eax, dword [esp + 0x18]
mov dword [eax + 0x24], edx
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x80]
lea edx, [esp + 0x4c]
push edx
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add edi, 1
cmp edi, dword [eax + 0xdc]
jb 0x10153376
test bl, 1
je 0x101534a8
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
shrd eax, edx, 0x1f
shr edx, 0x1f
test al, 1
je 0x10153485
mov eax, dword [esp + 0x70]
mov eax, dword [eax + ebp*4 + 0x20]
jmp 0x10153487
xor eax, eax
mov edx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x7c]
push edx
push eax
mov eax, dword [esp + 0x78]
push ecx
push 0
push eax
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call fcn.1014ead0
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
cmp dword [eax + 0xdc], 0
mov dword [esp + 0x10], 0
jbe 0x10153611
mov ebp, 0xf6
mov dword [esp + 0x18], ebp
lea esp, [esp]
test bl, 1
je 0x101535f0
lea edx, [esp + 0x70]
push edx
mov dword [esp + 0x74], 0
mov eax, dword [eax + 0xc]
push 0
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0x47
call fcn.1016b000
mov ebx, eax
add esp, 0x14
test bl, 1
je 0x101535f0
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x101535b5
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
xor edx, edx
cmp edi, 2
jae 0x1015354c
cmp ebx, 4
jae 0x1015354c
cmp ebp, 0xfa
jae 0x1015354c
cmp eax, 2
jae 0x1015354c
lea edx, [ebx + edi*4]
mov edi, dword [esp + 0x10]
lea edx, [edi + edx*2]
lea edx, [eax + edx*2 + 0xd2]
mov edx, dword [ecx + edx*4]
xor edi, edi
cmp ebp, 0xfa
jae 0x10153560
cmp eax, 2
jae 0x10153560
add ebp, eax
mov edi, dword [ecx + ebp*4]
mov ecx, dword [esp + 0x70]
mov ebp, dword [ecx + 0x5c]
mov ebx, dword [ecx + 0x4c]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x68]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esp + 0x70]
mov ebp, dword [ecx + 0x50]
mov ebx, dword [ecx + 0x44]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x34]
mov ebp, dword [esp + 0x18]
add ebx, eax
mov dword [ecx + ebx*4], edi
mov ecx, dword [esp + 0x70]
mov edi, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x50]
mov edi, dword [ebx + edi*4 + 4]
mov ecx, dword [ecx + 0x34]
add edi, eax
mov dword [ecx + edi*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x10153517
mov eax, dword [esi + 0x24]
mov edx, dword [eax + 0xdc]
imul edx, dword [eax + 0xc]
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x28]
shl edx, 7
mov dword [ecx], edx
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x24], eax
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x7c]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.1011db90
mov ebx, dword [eax]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x24]
add ecx, 1
add ebp, 2
cmp ecx, dword [eax + 0xdc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], ebp
jb 0x101534d0
mov eax, dword [esi + 0x24]
xor edi, edi
cmp dword [eax + 0xdc], edi
jbe 0x10153a3c
test bl, 1
je 0x10153742
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0
mov eax, dword [eax + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 6
call fcn.1017f130
mov ebx, eax
add esp, 0x10
test bl, 1
je 0x10153742
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x101536c9
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
xor edx, edx
cmp ebx, 2
jae 0x10153692
cmp ebp, 4
jae 0x10153692
cmp edi, 2
jae 0x10153692
cmp eax, 2
jae 0x10153692
lea edx, [ebp + ebx*4]
lea edx, [edi + edx*2]
lea edx, [eax + edx*2 + 0xd2]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x70]
mov ebp, dword [ecx + 0x5c]
mov ebx, dword [ecx + 0x4c]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x68]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esp + 0x70]
mov ebx, dword [ecx + 0x44]
mov ebp, dword [ecx + 0x50]
mov ebx, dword [ebp + ebx*4 + 4]
mov ecx, dword [ecx + 0x34]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x10153663
mov eax, dword [esi + 0x24]
xor ecx, ecx
test edi, edi
jne 0x101536d7
mov ecx, dword [eax + 0x1c]
jmp 0x101536e3
cmp edi, 2
jae 0x101536e3
mov ecx, dword [eax + edi*4 + 0xe0]
mov eax, dword [esp + 0x70]
mov edx, dword [eax + 0x44]
mov ebx, dword [eax + 0x50]
mov edx, dword [ebx + edx*4]
mov eax, dword [eax + 0x34]
mov dword [eax + edx*4], ecx
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x70]
imul edx, edi
add edx, dword [esp + 0x14]
mov ecx, dword [eax + 0x28]
mov dword [ecx], edx
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x48]
mov ecx, dword [esp + 0x70]
push eax
call fcn.1017e290
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x70]
mov dword [edx + 0x24], ecx
mov eax, dword [esp + 0x70]
push eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x84]
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add edi, 1
cmp edi, dword [eax + 0xdc]
jb 0x10153622
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
add esp, 0x54
ret 0x18
mov edx, eax
shr edx, 0x19
test dl, 1
je 0x101538e3
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [ecx + ebp*4 + 0x28]
push edx
and eax, 0x7fff
push eax
mov eax, dword [esp + 0x7c]
push 0
push eax
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
call fcn.1014dff0
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
cmp dword [eax + 0xdc], 0
mov dword [esp + 0x10], 0
jbe 0x10153a3c
mov ebp, 0xf6
mov dword [esp + 0x18], ebp
test bl, 1
je 0x101538b2
lea edx, [esp + 0x70]
mov dword [esp + 0x70], 0
mov eax, dword [eax + 0xc]
push edx
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0xf
call fcn.1017f130
mov ebx, eax
add esp, 0x10
test bl, 1
je 0x101538b2
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x10153890
xor edi, edi
cmp ebp, 0xfa
jae 0x1015381b
cmp eax, 2
jae 0x1015381b
lea edx, [eax + ebp]
mov edi, dword [ecx + edx*4]
xor edx, edx
cmp dword [esp + 0x74], 2
jae 0x10153852
mov ebx, dword [esp + 0x78]
cmp ebx, 4
jae 0x10153852
cmp ebp, 0xfa
jae 0x10153852
cmp eax, 2
jae 0x10153852
mov edx, dword [esp + 0x74]
lea edx, [ebx + edx*4]
mov ebx, dword [esp + 0x10]
lea edx, [ebx + edx*2]
lea edx, [eax + edx*2 + 0xd2]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x70]
mov ebp, dword [ecx + 0x50]
mov ebx, dword [ecx + 0x44]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x34]
mov ebp, dword [esp + 0x18]
add ebx, eax
mov dword [ecx + ebx*4], edi
mov ecx, dword [esp + 0x70]
mov edi, dword [ecx + 0x4c]
mov ebx, dword [ecx + 0x5c]
mov edi, dword [ebx + edi*4]
mov ecx, dword [ecx + 0x68]
add edi, eax
mov dword [ecx + edi*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x10153806
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x24], eax
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x7c]
push edx
lea eax, [esp + 0x60]
push eax
call fcn.1011db90
mov ebx, dword [eax]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x24]
add ecx, 1
add ebp, 2
cmp ecx, dword [eax + 0xdc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], ebp
jb 0x101537c1
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
add esp, 0x54
ret 0x18
mov eax, dword [esi + 0x24]
xor ebp, ebp
cmp dword [eax + 0xdc], ebp
mov dword [esp + 0x10], ebp
jbe 0x10153a3c
jmp 0x10153900
test bl, 1
je 0x10153a26
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov eax, dword [eax + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0xf
call fcn.1017f130
mov ebx, eax
add esp, 0x10
test bl, 1
je 0x10153a26
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x10153a04
jmp 0x10153950
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov edx, dword [edx + edi*4 + 4]
and edx, 0x7fff
xor ebx, ebx
cmp edx, dword [ecx + 0x10]
jae 0x10153995
cmp dword [esp + 0x78], 4
jae 0x10153995
cmp ebp, 2
jae 0x10153995
mov edi, dword [ecx + 0xc]
cmp eax, edi
jae 0x10153995
mov ebx, dword [esp + 0x78]
lea edx, [ebx + edx*4]
lea edx, [ebp + edx*2]
imul edx, edi
mov edi, dword [ecx + 0xc4]
add edx, eax
mov ebx, dword [edi + edx*4]
xor edx, edx
cmp dword [esp + 0x74], 2
jae 0x101539c6
mov edi, dword [esp + 0x78]
cmp edi, 4
jae 0x101539c6
cmp ebp, 2
jae 0x101539c6
cmp eax, 2
jae 0x101539c6
mov edx, dword [esp + 0x74]
lea edx, [edi + edx*4]
lea edx, [ebp + edx*2]
lea edx, [eax + edx*2 + 0xd2]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x18]
mov ebp, dword [ecx + 0x50]
mov edi, dword [ecx + 0x44]
mov edi, dword [ebp + edi*4]
mov ecx, dword [ecx + 0x34]
mov ebp, dword [esp + 0x10]
add edi, eax
mov dword [ecx + edi*4], ebx
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx + 0x4c]
mov ebx, dword [ecx + 0x5c]
mov edi, dword [ebx + edi*4]
mov ecx, dword [ecx + 0x68]
add edi, eax
mov dword [ecx + edi*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x10153950
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x24], eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x7c]
push edx
lea eax, [esp + 0x64]
push eax
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add ebp, 1
cmp ebp, dword [eax + 0xdc]
mov dword [esp + 0x10], ebp
jb 0x10153900
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
add esp, 0x54
ret 0x18