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

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x20c
mov ecx, 8
push ebx
push esi
push edi
lea esi, [esp + 0x118]
push ebp
mov edi, dword [edx + 0x1c]
mov eax, dword [edx]
add eax, edi
sar eax, 1
mov dword [esp + 0x1c], eax
sub eax, edi
mov dword [esp + 0x38], eax
mov eax, dword [edx + 4]
mov edi, dword [edx + 0x18]
add eax, edi
sar eax, 1
mov dword [esp + 0x20], eax
sub eax, edi
mov dword [esp + 0x34], eax
mov eax, dword [edx + 8]
mov edi, dword [edx + 0x14]
add eax, edi
sar eax, 1
mov dword [esp + 0x24], eax
sub eax, edi
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0xc]
mov edi, dword [edx + 0x10]
add eax, edi
sar eax, 1
mov dword [esp + 0x28], eax
sub eax, edi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
add eax, edi
sar eax, 1
mov dword [esp + 0x3c], eax
sub eax, edi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
add eax, edi
sar eax, 1
mov dword [esp + 0x40], eax
sub eax, edi
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
add eax, edi
sar eax, 1
mov dword [esi], eax
sub eax, edi
mov dword [esi + 0x10], eax
mov edi, dword [esp + 0x30]
mov eax, edi
shl edi, 8
add edi, eax
lea ebx, [eax + edi*2]
lea edi, [ebx + ebx*8]
mov ebx, dword [esp + 0x38]
sub edi, eax
lea edi, [edi + edi*4]
add edi, 0x4000
sar edi, 0xf
sub ebx, dword [esp + 0x2c]
sar ebx, 1
mov eax, dword [esp + 0x2c]
mov ebp, eax
shl eax, 8
add eax, ebp
lea eax, [ebp + eax*2]
lea eax, [eax + eax*8]
sub eax, ebp
mov ebp, dword [esp + 0x34]
sub ebp, dword [esp + 0x30]
lea eax, [eax + eax*4]
sar ebp, 1
add eax, 0x4000
sar eax, 0xf
add ebp, eax
sar ebp, 1
mov dword [esp + 0x54], ebp
sub ebp, eax
lea eax, [edi + ebx]
mov dword [esp + 0x4c], ebp
sar eax, 1
mov dword [esp + 0x58], eax
sub eax, edi
mov dword [esp + 0x50], eax
mov edi, dword [esp + 0x44]
mov eax, edi
shl edi, 8
add edi, eax
lea ebx, [eax + edi*2]
lea edi, [ebx + ebx*8]
sub edi, eax
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x44]
lea edi, [edi + edi*4]
sar eax, 1
add edi, 0x4000
sar edi, 0xf
add eax, edi
sar eax, 1
mov dword [esi + 8], eax
sub eax, edi
mov dword [esi + 0x18], eax
mov edi, dword [esp + 0x4c]
mov eax, edi
shl edi, 6
add edi, eax
lea ebx, [eax + edi*4]
lea eax, [eax + ebx*4]
lea edi, [eax + eax*2]
mov eax, dword [esp + 0x50]
shl edi, 2
sub eax, dword [esp + 0x4c]
sar eax, 1
add edi, 0x4000
sar edi, 0xf
add eax, edi
sar eax, 1
mov dword [esi + 0xc], eax
sub eax, edi
mov dword [esi + 0x14], eax
mov edi, dword [esp + 0x54]
mov eax, edi
lea ebx, [edi + edi*2]
lea edi, [ebx + ebx*4]
add edx, 0x20
add esi, 0x20
lea ebp, [eax + edi*8]
lea ebx, [ebp + ebp*4]
lea edi, [eax + ebx*2]
lea ebp, [edi + edi*4]
lea edi, [ebp + ebp*4]
sub edi, eax
mov eax, dword [esp + 0x58]
add edi, 0x4000
sub eax, dword [esp + 0x54]
sar edi, 0xf
sar eax, 1
add eax, edi
sar eax, 1
mov dword [esi - 0x1c], eax
sub eax, edi
dec ecx
mov dword [esi - 4], eax
jne 0x1000101a
mov dword [esp + 0x18], 8
lea ecx, [esp + 0x11c]
mov dword [esp + 0x10], ecx
mov eax, dword [ecx]
add eax, dword [ecx + 0xe0]
sar eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0xc0]
add eax, dword [ecx + 0x20]
sar eax, 1
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0xa0]
add eax, dword [ecx + 0x40]
sar eax, 1
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x80]
add eax, dword [ecx + 0x60]
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x60]
sub eax, dword [ecx + 0x80]
sar eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x40]
sub eax, dword [ecx + 0xa0]
sar eax, 1
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x20]
sub eax, dword [ecx + 0xc0]
sar eax, 1
mov dword [esp + 0x34], eax
mov eax, dword [ecx]
sub eax, dword [ecx + 0xe0]
sar eax, 1
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x1c]
sar eax, 1
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x24]
sar eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x24]
sar eax, 1
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x28]
sar eax, 1
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov eax, edx
shl edx, 8
add edx, eax
lea ebx, [eax + edx*2]
lea edx, [ebx + ebx*8]
sub edx, eax
mov eax, esi
lea edx, [edx + edx*4]
add edx, 0x4000
sar edx, 0xf
shl esi, 8
add esi, eax
mov edi, dword [esp + 0x38]
sub edi, dword [esp + 0x2c]
lea ebx, [eax + esi*2]
sar edi, 1
lea esi, [ebx + ebx*8]
sub esi, eax
mov ebx, dword [esp + 0x34]
sub ebx, dword [esp + 0x30]
lea esi, [esi + esi*4]
sar ebx, 1
add esi, 0x4000
sar esi, 0xf
mov eax, ebx
sub eax, edx
sar eax, 1
mov dword [esp + 0x4c], eax
mov eax, edi
sub eax, esi
sar eax, 1
mov dword [esp + 0x50], eax
lea eax, [edx + ebx]
sar eax, 1
mov dword [esp + 0x54], eax
lea eax, [esi + edi]
sar eax, 1
mov dword [esp + 0x58], eax
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x4c]
mov eax, esi
mov ebp, dword [esp + 0x54]
shl esi, 8
add esi, eax
lea edx, [eax + esi*2]
lea esi, [edx + edx*8]
mov edx, edi
shl edi, 6
sub esi, eax
mov eax, dword [esp + 0x48]
add edi, edx
lea esi, [esi + esi*4]
sub eax, dword [esp + 0x44]
sar eax, 1
add esi, 0x4000
sar esi, 0xf
lea ebx, [edx + edi*4]
lea edx, [edx + ebx*4]
mov ebx, dword [esp + 0x50]
sub ebx, dword [esp + 0x4c]
lea edi, [edx + edx*2]
shl edi, 2
mov edx, ebp
sar ebx, 1
add edi, 0x4000
sar edi, 0xf
lea ebp, [ebp + ebp*2]
lea ebp, [ebp + ebp*4]
lea ebp, [edx + ebp*8]
lea ebp, [ebp + ebp*4]
lea ebp, [edx + ebp*2]
lea ebp, [ebp + ebp*4]
lea ebp, [ebp + ebp*4]
sub ebp, edx
mov edx, dword [esp + 0x58]
add ebp, 0x4000
sub edx, dword [esp + 0x54]
sar ebp, 0xf
sar edx, 1
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x40]
add ebp, dword [esp + 0x3c]
sar ebp, 1
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x3c]
sub ebp, dword [esp + 0x40]
sar ebp, 1
mov dword [esp + 0x60], ebp
lea ebp, [esi + eax]
sar ebp, 1
sub eax, esi
sar eax, 1
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], eax
lea eax, [edi + ebx]
sar eax, 1
sub ebx, edi
sar ebx, 1
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], ebx
add eax, edx
sub edx, dword [esp + 0x14]
sar eax, 1
sar edx, 1
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x5c]
add edx, edx
mov dword [eax], edx
lea edx, [eax + 0x20]
mov eax, dword [esp + 0x74]
add edx, 0x20
add eax, eax
add edx, 0x20
add edx, 0x20
add edx, 0x20
mov dword [edx - 0x80], eax
add edx, 0x20
mov eax, dword [esp + 0x64]
add eax, eax
mov dword [edx - 0x80], eax
mov eax, dword [esp + 0x6c]
add eax, eax
mov dword [edx - 0x60], eax
mov eax, dword [esp + 0x60]
add eax, eax
mov dword [edx - 0x40], eax
mov ebx, dword [esp + 0x70]
add ebx, ebx
mov dword [edx - 0x20], ebx
mov eax, dword [esp + 0x68]
add eax, eax
add ecx, 4
add dword [esp + 0x10], 4
mov dword [edx], eax
mov eax, dword [esp + 0x78]
add eax, eax
dec dword [esp + 0x18]
mov dword [edx + 0x20], eax
jne 0x100011f1
mov esi, dword [esp + 0x228]
mov edi, 0x1002d938
lea edx, [esp + 0x11c]
mov ecx, dword [esp + 0x224]
mov dword [esp + 0x18], 0x40
mov ebx, dword [edx]
add edx, 4
mov eax, esi
test ebx, ebx
jge 0x100014d8
add esi, 2
mov ebp, ebx
neg ebp
movsx eax, word [eax]
cmp eax, ebp
jg 0x100014fd
mov eax, dword [edi]
add esi, 2
movsx ebp, word [esi - 2]
imul ebp, ebx
add ebp, 0x4000
sar ebp, 0xf
mov word [ecx + eax*2], bp
jmp 0x10001508
movsx ebp, word [eax]
add esi, 2
cmp ebp, ebx
jg 0x100014fd
mov eax, dword [edi]
add esi, 2
movsx ebp, word [esi - 2]
imul ebp, ebx
add ebp, 0x4000
sar ebp, 0xf
mov word [ecx + eax*2], bp
jmp 0x10001508
add esi, 2
mov eax, dword [edi]
mov word [ecx + eax*2], 0
add edi, 4
dec dword [esp + 0x18]
jne 0x100014a4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x20c
ret