Function at 0x1000114a
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
jmp 0x10008620
sub esp, 0x40
mov eax, dword [0x100d115c]
push ebx
mov ebx, dword [0x100d1168]
push ebp
push esi
mov esi, dword [0x100d1170]
push edi
mov edi, dword [0x100d1164]
mov ebp, eax
lea ecx, [edi + esi + 1]
imul ebp, ebx
imul ecx, edi
lea edx, [eax + eax - 4]
mov eax, dword [esp + 0x58]
imul edx, esi
sub ecx, ebp
sub ecx, dword [0x100d116c]
mov dword [esp + 0x18], 0
add ecx, dword [0x100d1160]
mov dword [esp + 0x20], ebp
lea ecx, [edx + ecx*2 + 0x40]
lea edx, [eax + edi*2]
push edx
call fcn.10005540
add esp, 4
test eax, eax
je 0x10008dbd
mov ecx, dword [esp + 0x54]
movzx edx, word [ecx]
mov eax, esi
sub eax, edi
imul eax, edi
add eax, 0x5a4d
cmp edx, eax
jne 0x10008dbd
mov eax, dword [0x100d1160]
imul eax, dword [0x100d115c]
mov ecx, dword [ecx + 0x3c]
mov edx, eax
imul edx, dword [0x100d116c]
sub ecx, edx
mov edx, edi
imul edx, esi
sub ecx, edx
mov edx, dword [0x100d116c]
sub ecx, ebp
mov ebp, dword [0x100d1160]
imul ebp, ebx
sub ecx, ebx
imul ebp, edx
sub ecx, ebx
sub ecx, esi
sub ecx, esi
add ecx, edi
add ecx, edi
lea ecx, [ecx + edx + 0xf8]
mov edx, 1
sub edx, ebp
imul edx, dword [0x100d116c]
lea edx, [edx + edx*4 - 5]
imul edx, ebx
add edx, dword [esp + 0x58]
lea ebp, [edi + edi]
sub eax, ebp
lea eax, [eax + eax*4]
add eax, edx
push eax
call fcn.10005540
add esp, 4
test eax, eax
je 0x10008dbd
mov ecx, dword [0x100d1160]
lea eax, [esi*4 - 4]
imul eax, edi
lea edx, [esi + ecx*2]
mov ecx, dword [esp + 0x54]
add edx, edx
add edx, edx
sub eax, edx
add eax, dword [ecx + 0x3c]
mov edx, dword [0x100d115c]
add eax, ecx
mov ecx, dword [0x100d116c]
mov dword [esp + 0x10], eax
mov eax, edi
imul eax, edx
mov ebp, ecx
sub ebp, eax
add ebp, 2
imul ebp, edi
lea eax, [ebx + ecx + 1]
imul eax, ebx
sub ebp, eax
mov eax, 2
sub eax, esi
imul eax, edx
add ebp, eax
mov eax, dword [0x100d1160]
imul eax, ecx
sub ebp, eax
mov eax, dword [esp + 0x20]
lea eax, [eax + ebp + 0x4550]
mov ebp, dword [esp + 0x10]
cmp dword [ebp], eax
jne 0x10008dbd
movzx ebp, word [ebp + 4]
lea eax, [edi + 1]
imul eax, edx
sub eax, ebx
sub eax, esi
lea eax, [eax + eax*2 + 0x14c]
cmp ebp, eax
jne 0x10008dbd
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x1c], eax
mov eax, ecx
imul eax, esi
lea ebp, [eax + edi*4]
sub ebp, edx
lea edx, [esi + 1]
imul edx, ebx
lea eax, [edx + edx + 4]
mov edx, eax
lea eax, [edi + edi]
sub edx, eax
mov eax, dword [0x100d1160]
imul edx, eax
sub ebp, ebx
lea edx, [edx + ebp*2 + 1]
mov ebp, dword [esp + 0x1c]
test ebp, edx
jne 0x10008dbd
lea edx, [ecx + ecx]
mov ebp, edi
sub ebp, edx
add ebp, 2
imul ebp, eax
add eax, ebx
add eax, esi
add eax, eax
sub ebp, eax
lea eax, [ecx + 1]
imul eax, ecx
sub ebp, eax
lea eax, [ecx + esi + 1]
imul eax, dword [0x100d115c]
add ebp, edi
add eax, ebp
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x10]
movzx ebp, word [eax + 0x14]
shl edx, 5
add edx, eax
lea eax, [edx + ebp + 0x18]
mov ebp, dword [0x100d1160]
mov dword [esp + 0x24], eax
lea eax, [ecx + esi + 1]
imul eax, edi
lea edx, [ebp + ebp]
sub eax, edx
mov edx, dword [esp + 0x10]
movzx edx, word [edx + 6]
sub eax, ebx
sub eax, ecx
lea eax, [eax + eax*2]
add eax, edx
mov dword [esp + 0x28], eax
je 0x10008965
lea eax, [esi + esi*2]
mov edx, 6
sub edx, eax
imul edx, edi
lea eax, [ebx + ebx*2]
add edx, eax
lea eax, [esi + esi*2]
sub edx, eax
mov eax, dword [esp + 0x24]
add eax, 0xc
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
cmp dword [eax + 4], 0
jne 0x100088c9
mov eax, dword [0x100d115c]
sub eax, ecx
sub eax, 1
imul eax, esi
mov dword [esp + 0x28], eax
lea eax, [ebp + 1]
mov ebp, dword [esp + 0x28]
imul eax, edi
add ebp, ebx
add eax, ebp
add eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
add eax, dword [ebp]
jmp 0x1000891b
mov edx, dword [0x100d115c]
add ebp, ebp
add ebp, ebp
mov eax, 4
sub eax, ebp
imul eax, edx
imul eax, esi
add eax, 4
imul eax, edi
lea ebp, [ebx*4]
sub eax, ebp
mov ebp, edi
imul eax, esi
imul ebp, edx
add ebp, ebx
lea edx, [ecx + ebp*2]
add edx, edx
add edx, edx
sub eax, edx
mov edx, dword [0x100d1160]
add edx, edx
add edx, edx
add eax, edx
mov edx, dword [esp + 0x14]
add eax, dword [edx + 4]
add eax, dword [edx]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
add ebp, edx
cmp eax, ebp
mov ebp, dword [0x100d1160]
jbe 0x10008955
imul ebp, esi
add ebp, 2
imul ebp, dword [0x100d115c]
lea edx, [ecx + 2]
imul edx, ebx
sub edx, ebp
mov ebp, dword [0x100d1160]
sub edx, ebp
lea eax, [eax + edx*2]
add eax, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
add dword [esp + 0x14], 0x28
sub dword [esp + 0x24], 1
jne 0x10008893
mov eax, ebx
sub eax, edi
add eax, ecx
imul eax, ebp
lea ecx, [esi + 1]
imul ecx, edi
add eax, ecx
lea edx, [esi + esi]
sub eax, edx
sub eax, ebx
lea eax, [eax + eax*8]
lea ecx, [esp + eax*8 + 0x2c]
push ecx
call dword [0x100d51ec]
mov ebp, dword [0x100d1160]
mov edi, dword [0x100d1168]
mov esi, dword [0x100d1164]
mov eax, dword [0x100d115c]
imul eax, dword [0x100d1170]
mov ebx, dword [0x100d116c]
lea edx, [ebp + ebp]
mov dword [esp + 0x20], edx
lea ecx, [edi + edi]
lea edx, [esi + esi]
sub edx, ecx
sub edx, 2
imul edx, esi
add edx, dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov ecx, ebx
sub ecx, eax
lea edx, [edx + ecx*2]
mov ecx, 1
sub ecx, edi
imul ecx, esi
lea eax, [ebx + ebp]
imul eax, dword [0x100d115c]
lea ecx, [eax + ecx + 1]
mov eax, dword [0x100d1170]
imul ecx, ebx
add eax, edi
lea eax, [eax + eax*2]
sub ecx, eax
lea eax, [ecx + ebp*2]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x10]
add ecx, dword [eax + 0x50]
push ecx
call fcn.100054c0
lea ecx, [edi + 1]
imul ecx, esi
add ecx, dword [esp + 0x2c]
mov edx, ebp
imul edx, ebp
lea ecx, [edx + ecx + 3]
mov dword [esp + 0x28], eax
imul ecx, ebx
mov eax, dword [0x100d1170]
neg eax
add eax, eax
sub eax, ecx
add eax, dword [esp + 0x24]
mov ecx, esi
add eax, edi
imul ecx, esi
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x28]
add eax, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov eax, esi
imul eax, ebx
mov dword [esp + 0x28], ecx
lea ecx, [eax + eax*2]
add ecx, ecx
sub edx, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [0x100d115c]
mov ecx, ebp
imul ecx, eax
add ecx, 1
imul eax, ebx
imul ecx, ebp
imul eax, ebx
imul eax, dword [0x100d1170]
add ecx, eax
mov eax, dword [esp + 0x28]
imul eax, edi
add ecx, eax
imul ecx, ebx
mov eax, esi
sub eax, edi
add eax, eax
sub eax, ecx
sub eax, dword [0x100d1170]
mov ecx, dword [esp + 0x1c]
add eax, ebp
lea ecx, [ecx + eax*2]
add ecx, eax
push ecx
call fcn.100054c0
add esp, 8
cmp dword [esp + 0x14], eax
jne 0x10008dbd
mov ecx, dword [0x100d115c]
mov edx, dword [esp + 0x70]
push edx
mov eax, dword [esp + 0x28]
mov edx, ecx
imul edx, edi
imul edx, edi
sub eax, edx
mov edx, ebp
imul eax, edi
imul edx, edi
imul edx, ebx
lea edx, [edx + esi + 3]
imul edx, ebp
add eax, edx
mov edx, ecx
imul edx, ecx
add edx, 2
imul edx, dword [0x100d1170]
sub eax, edx
lea eax, [eax + esi + 4]
push eax
mov edx, esi
imul edx, edi
mov eax, 2
sub eax, edx
imul eax, ebx
sub eax, esi
sub eax, 3
imul eax, ebp
add eax, ecx
mov edx, 0x1000
sub edx, esi
sub edx, edi
lea ecx, [eax + edx*2]
mov edx, ebx
imul edx, dword [0x100d1170]
mov eax, 1
sub eax, edx
imul eax, ebp
add eax, esi
add eax, dword [0x100d115c]
lea edx, [eax + eax + 0x1000]
lea eax, [edi + edi]
sub edx, eax
mov eax, dword [esp + 0x1c]
or ecx, edx
push ecx
push eax
mov eax, dword [0x100d1170]
lea ecx, [edi + ebx]
imul ecx, eax
mov edx, 1
sub edx, ecx
sub edx, esi
imul edx, edi
sub edx, dword [esp + 0x30]
sub edx, ebx
sub edx, eax
mov eax, dword [esp + 0x38]
lea ecx, [eax*4 - 4]
mov eax, dword [esp + 0x20]
imul ecx, esi
lea edx, [ecx + edx*4]
add edx, dword [eax + 0x34]
push edx
call dword [esp + 0x70]
mov ebp, eax
add esp, 0x14
test ebp, ebp
jne 0x10008cac
mov esi, dword [0x100d116c]
mov eax, dword [0x100d1160]
mov ecx, dword [esp + 0x70]
mov edi, dword [0x100d1170]
mov ebp, dword [0x100d1164]
lea ebp, [edi + ebp + 2]
mov edx, dword [0x100d115c]
push ecx
mov ebx, 1
sub ebx, esi
imul ebx, eax
mov ecx, esi
imul ecx, edi
mov edi, dword [0x100d1164]
imul ebp, edi
sub ebx, ecx
mov ecx, dword [0x100d1168]
add ebx, 1
imul ebx, ecx
add ebx, ebp
lea ebp, [edx + edx*2]
add ebx, ebp
lea ebx, [ebx + ebx + 4]
mov ebp, ebx
lea ebx, [eax + eax]
sub ebp, ebx
push ebp
mov ebx, edi
imul ebx, dword [0x100d1170]
add ebx, ebx
mov ebp, eax
neg ebp
add ebp, ebp
sub ebp, ebx
add ebp, ecx
lea ebx, [ecx + ebp - 2]
imul ebx, dword [0x100d1170]
mov ebp, eax
imul ebp, esi
add ebp, 1
imul ebp, edi
lea ebp, [ebp + ebp - 2]
imul ebp, esi
add ebx, ebp
lea ebp, [edx + edx + 2]
imul ebp, edx
add ebx, ebp
lea ebx, [ebx + edi*2 + 0x2000]
lea edi, [eax + eax]
sub ebx, edi
lea edi, [ecx + ecx + 2]
mov ebp, edi
lea edi, [edx + edx]
sub ebp, edi
imul ebp, edx
mov edi, 0x400
sub edi, ecx
lea ebp, [ebp + edi*4]
lea edi, [eax + eax]
imul eax, dword [0x100d1164]
sub ebp, edi
or ebx, ebp
mov edi, ecx
push ebx
imul edi, esi
add eax, 1
mov ebx, 2
imul eax, esi
sub ebx, edi
imul ebx, edx
add ebx, eax
mov eax, dword [0x100d1170]
mov edx, eax
imul edx, eax
add ebx, edx
add ebx, ebx
lea eax, [ecx + ecx]
sub ebx, eax
add ebx, dword [esp + 0x20]
push ebx
push 0
call dword [esp + 0x70]
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x10008dbd
mov eax, dword [0x100d1160]
mov ecx, dword [0x100d1168]
mov edx, dword [0x100d1170]
mov edi, eax
imul edi, ecx
mov esi, dword [0x100d116c]
imul edi, ecx
imul edi, edx
lea ebx, [esi + esi]
sub ebx, edi
add ebx, 1
imul ebx, esi
sub ebx, dword [0x100d1164]
sub ebx, ecx
add ebx, eax
lea edi, [ebx*4 + 0x40]
push edi
mov edi, eax
sub edi, ecx
sub edi, edx
imul edi, ecx
lea ecx, [edx + 1]
imul ecx, esi
sub edi, ecx
mov ecx, eax
imul ecx, eax
mov eax, dword [0x100d115c]
add ecx, edx
lea eax, [eax + eax*2]
add ecx, edi
add eax, ecx
lea edx, [eax + eax*4 + 8]
push edx
call dword [0x100d5224]
push eax
call dword [0x100d51e4]
mov edx, dword [0x100d1170]
mov ecx, dword [0x100d116c]
mov esi, eax
mov eax, dword [0x100d115c]
mov edi, dword [0x100d1168]
add eax, 1
imul eax, edx
sub eax, ecx
imul eax, dword [0x100d1164]
lea ebx, [edx + edi*2]
add ebx, ebx
sub eax, ebx
mov ebx, dword [0x100d115c]
sub eax, ecx
add eax, ebx
lea eax, [eax + eax*4]
shl eax, 6
add esi, eax
jne 0x10008dc7
mov eax, dword [esp + 0x70]
push eax
mov eax, dword [0x100d1160]
imul eax, ebx
add eax, 1
imul eax, ecx
lea esi, [edx + edx*2]
lea edx, [eax + edx*2 + 1]
imul edx, edi
lea eax, [ecx + ecx]
sub eax, edx
lea edx, [eax + eax*2]
mov eax, dword [0x100d1164]
lea ebx, [esi - 3]
imul ebx, eax
lea edi, [edi + edi*2]
sub ebx, edi
add ebx, esi
imul ebx, eax
lea eax, [ecx + ecx*2 - 6]
imul eax, dword [0x100d1160]
add edx, ebx
lea ecx, [edx + eax + 0x8000]
push ecx
push 0
push ebp
call dword [esp + 0x70]
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret
mov dword [esi + 4], ebp
mov ecx, dword [0x100d115c]
mov edi, dword [0x100d1164]
mov edx, dword [0x100d1160]
imul edi, ecx
mov eax, dword [0x100d1168]
sub edi, edx
sub edi, eax
sub edi, dword [0x100d1170]
mov ebx, 0x400
sub ebx, dword [0x100d1170]
sub edi, 1
imul edi, dword [0x100d116c]
lea edi, [edi + ebx*2]
sub edi, edx
lea edx, [eax + 1]
imul edx, ecx
add edx, edx
add edx, edx
mov ecx, 4
sub ecx, edx
imul ecx, eax
mov eax, dword [esp + 0x10]
lea edx, [ecx + edi*4]
movzx ecx, word [eax + 0x16]
mov eax, dword [esp + 0x60]
and edx, ecx
mov ecx, dword [esp + 0x64]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x6c]
neg edx
sbb edx, edx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0x70]
neg edx
mov dword [esi + 0x14], edx
mov edx, dword [esp + 0x5c]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x68]
mov dword [esi + 0x34], ecx
mov dword [esi + 0x28], edx
mov eax, dword [0x100d115c]
mov ecx, dword [0x100d1168]
mov edx, dword [0x100d116c]
mov edi, eax
imul edi, ecx
imul edi, edx
mov ebx, 1
sub ebx, edi
mov edi, dword [0x100d1164]
imul ebx, eax
imul edi, eax
lea eax, [edi + ecx + 1]
imul eax, dword [0x100d1164]
sub ebx, eax
mov eax, dword [0x100d1160]
lea edi, [eax + 1]
imul edi, eax
add eax, edx
sub ebx, edi
sub ebx, ecx
lea ecx, [eax*4 - 0xc]
imul ecx, dword [0x100d1170]
add ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
sub ebx, edx
lea edx, [ecx + ebx*4]
mov dword [esi + 0x3c], edx
mov eax, dword [eax + 0x54]
mov edx, dword [0x100d115c]
mov ebx, dword [0x100d116c]
mov edi, dword [0x100d1164]
lea ecx, [eax + edx*2]
imul edx, dword [0x100d1170]
mov dword [esp + 0x28], eax
mov eax, 1
sub eax, dword [0x100d1168]
sub eax, ebx
imul eax, edi
sub eax, edx
lea edx, [ebx + ebx]
sub eax, edx
sub eax, dword [0x100d1168]
mov edx, dword [esp + 0x58]
lea eax, [edx + eax*2]
push eax
call fcn.10005540
add esp, 4
test eax, eax
je 0x100092c0
mov eax, dword [0x100d1160]
mov ecx, dword [esp + 0x70]
mov edx, edi
sub edx, eax
add edx, 2
imul edx, ebx
sub edx, eax
push ecx
mov ecx, dword [0x100d1170]
add edx, edi
lea edx, [edx + ecx + 4]
mov ecx, edi
imul ecx, ebx
push edx
mov edx, dword [0x100d1168]
sub edx, ecx
lea ecx, [edx*4 - 0xc]
imul ecx, dword [0x100d1168]
mov edx, edi
imul edx, edi
add edx, edx
add edx, edx
mov edi, 4
sub edi, edx
imul edi, eax
mov eax, dword [0x100d115c]
sub eax, dword [0x100d1170]
add ecx, edi
lea eax, [ecx + eax*4 + 0x1000]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [ebx + ebx*2]
sub eax, ecx
push eax
push ebp
call dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov edi, eax
mov eax, dword [0x100d115c]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x24]
add edx, dword [eax + 0x54]
push edx
push ecx
push edi
call dword [0x100d522c]
mov eax, dword [0x100d116c]
mov ecx, dword [0x100d1168]
imul ecx, eax
mov edx, ecx
imul edx, dword [0x100d1170]
add edx, edx
add edx, edx
mov ebx, 4
sub ebx, edx
imul ebx, dword [0x100d1160]
mov edx, dword [0x100d1170]
sub edx, eax
lea edx, [ebx + edx*4]
imul edx, dword [0x100d1164]
lea edx, [edx + eax*4]
imul eax, dword [0x100d1170]
mov ebx, edx
shl ebx, 5
sub ebx, edx
add ecx, 0xf8
imul ecx, dword [0x100d1168]
mov edx, eax
shl edx, 5
sub edx, eax
add edx, edx
add edx, edx
add edx, edx
sub edx, ecx
imul edx, dword [0x100d115c]
mov ecx, dword [esp + 0x74]
lea eax, [edx + ebx*2]
mov edx, dword [ecx + 0x3c]
lea eax, [edx + eax*4]
add edi, eax
mov dword [esi], edi
mov eax, dword [0x100d116c]
mov ecx, dword [0x100d1164]
mov edx, eax
imul edx, eax
mov ebx, ecx
imul ecx, eax
sub ebx, edx
mov edx, dword [0x100d115c]
imul edx, dword [0x100d1168]
add ebx, ebx
sub ebx, edx
sub ebx, ecx
mov ecx, dword [0x100d1160]
imul ecx, dword [0x100d115c]
add ebx, ecx
sub ebx, dword [0x100d1160]
sub ebx, dword [0x100d1168]
sub ebx, eax
lea edx, [ebp + ebx*2]
mov dword [edi + 0x34], edx
mov eax, dword [0x100d1168]
mov ecx, dword [0x100d115c]
mov edx, eax
imul edx, eax
sub edx, ecx
add edx, 1
imul edx, eax
mov eax, dword [0x100d1164]
mov ebx, dword [esp + 0x30]
lea edi, [edx + eax*2]
mov edx, dword [0x100d1170]
sub edi, edx
add edi, ecx
mov ecx, dword [0x100d1160]
imul ecx, dword [0x100d116c]
sub ecx, eax
shl edi, 6
sub ecx, edx
add ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
add edi, esi
push edi
push ebx
push ecx
push edx
call fcn.10005580
add esp, 0x30
test eax, eax
je 0x100092c0
mov edi, dword [0x100d116c]
mov edx, dword [0x100d115c]
mov eax, edi
sub eax, dword [0x100d1170]
lea ecx, [edi + 4]
imul ecx, dword [0x100d1160]
add eax, 3
imul eax, dword [0x100d1164]
sub eax, ecx
lea ecx, [edx + 2]
imul ecx, edx
add eax, ecx
mov ecx, dword [0x100d1170]
add ecx, ecx
add ecx, ecx
sub eax, ecx
sub eax, dword [0x100d1168]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x34]
lea eax, [ecx + eax*4]
sub eax, dword [ebx + 0x34]
mov dword [esp + 0x58], eax
je 0x100091e7
mov ebx, dword [0x100d1160]
mov ecx, ebx
imul ebx, dword [0x100d1168]
imul ecx, edx
mov eax, ecx
imul eax, edx
sub eax, 3
imul eax, dword [0x100d1164]
mov edx, edi
sub edx, dword [0x100d1168]
lea edx, [edx + edx*2]
add eax, edx
mov edx, dword [0x100d1170]
add edx, edx
sub eax, edx
sub eax, ecx
mov ecx, dword [esp + 0x58]
lea edx, [ecx + eax*2]
add edx, eax
mov eax, dword [0x100d1164]
mov ecx, edi
sub ecx, eax
imul ecx, eax
mov eax, dword [0x100d1160]
add ecx, ebx
push edx
lea edx, [ecx + ecx - 2]
imul edx, dword [0x100d1170]
add eax, edi
lea ecx, [edx + eax*2]
shl ecx, 6
add ecx, esi
push ecx
call fcn.10006870
mov ecx, dword [0x100d1160]
mov edx, eax
mov eax, dword [0x100d1164]
mov edi, ecx
imul edi, eax
imul eax, dword [0x100d115c]
imul eax, dword [0x100d116c]
add edi, edi
mov ebx, 2
sub ebx, edi
imul ebx, ecx
add edx, ebx
add esp, 8
sub eax, dword [0x100d1170]
lea eax, [edx + eax*2]
mov dword [esi + 0x18], eax
jmp 0x100091ee
mov dword [esi + 0x18], 1
mov ecx, dword [0x100d115c]
mov edx, dword [0x100d116c]
lea eax, [ecx + edx*2 + 2]
imul eax, dword [0x100d1164]
sub eax, dword [0x100d1160]
add eax, ecx
add eax, dword [0x100d1168]
add eax, edx
lea ecx, [eax + eax*4]
shl ecx, 6
add ecx, esi
push ecx
call fcn.10006d40
add esp, 4
test eax, eax
je 0x100092c0
mov ecx, dword [0x100d1168]
mov edx, dword [0x100d116c]
mov eax, 0xfffffffe
sub eax, ecx
imul eax, dword [0x100d1164]
add ecx, edx
add ecx, ecx
sub eax, ecx
mov ecx, dword [0x100d1160]
add ecx, 3
imul ecx, dword [0x100d1170]
sub eax, ecx
add eax, dword [0x100d115c]
lea edx, [eax + eax*2]
shl edx, 6
add edx, esi
push edx
call fcn.10005ff0
add esp, 4
test eax, eax
je 0x100092c0
mov eax, dword [0x100d1160]
mov ecx, eax
imul ecx, eax
imul ecx, eax
mov edx, dword [0x100d116c]
imul ecx, eax
imul ecx, dword [0x100d115c]
mov eax, dword [0x100d1164]
imul eax, dword [0x100d1170]
sub edx, ecx
sub edx, eax
sub edx, dword [0x100d1168]
shl edx, 7
add edx, esi
push edx
call fcn.10006780
add esp, 4
test eax, eax
jne 0x100092d3
push esi
call fcn.10001a4b
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x28]
test ecx, ecx
je 0x10009376
cmp dword [esi + 0x14], 0
je 0x1000933d
mov edx, dword [0x100d1168]
mov edi, dword [0x100d1160]
mov eax, dword [0x100d115c]
imul edi, edx
mov ebx, eax
sub ebx, edi
mov edi, dword [0x100d1170]
sub ebx, edi
imul ebx, eax
mov eax, dword [0x100d1164]
imul eax, eax
sub ebx, eax
mov eax, dword [0x100d116c]
lea eax, [eax + eax*2]
sub ebx, eax
sub ebx, edx
sub ebx, edi
lea ecx, [ecx + ebx*2]
add ecx, ebp
pop edi
mov dword [0x100d5234], ecx
mov dword [esi + 0x10], 1
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov eax, dword [0x100d1168]
mov edx, dword [0x100d116c]
mov edi, eax
sub edi, dword [0x100d115c]
imul edi, edx
lea edi, [edi + edi - 2]
imul edi, dword [0x100d1164]
lea edx, [edx + eax*2]
add edx, edx
sub edi, edx
add edi, ecx
add edi, ebp
mov dword [esi + 0x38], edi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
pop edi
mov dword [esi + 0x38], 0
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret