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

Disassembly:
sub esp, 0x14
mov eax, dword [0x10047104]
mov ecx, dword [0x10047110]
push ebx
push ebp
mov ebp, dword [0x10047108]
push esi
mov esi, dword [0x1004710c]
push edi
mov edi, dword [0x100470fc]
mov edx, edi
sub edx, esi
imul edx, edi
mov ebx, eax
sub ebx, ecx
imul ebx, ebp
add edx, ebx
mov dword [esp + 0x14], edx
mov edx, dword [0x10047100]
mov ebx, edx
imul ebx, edx
imul edx, edi
mov dword [esp + 0x1c], ebx
imul ebx, ebp
add ebx, ecx
imul ebx, ebx, 0xf8
add ebx, ebp
lea ebp, [eax + eax*2]
shl ebp, 4
lea ebx, [ebx + ebp + 0xf6]
mov ebp, edx
imul ebx, eax
imul ebp, edi
mov edi, esi
sub edi, ebp
add edi, 0x30
imul edi, dword [0x10047100]
sub edi, ebx
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
sub ebx, ecx
sub ebx, esi
shl ebx, 8
add edi, dword [ebx + ebp + 0x3c]
mov ebp, edi
mov edi, dword [0x10047108]
lea ebx, [edi + 0x30]
imul ebx, edi
sub ebp, ebx
mov ebx, dword [0x10047100]
mov edi, ecx
imul ebx, esi
imul edi, edi, 0x12a
sub ebp, edi
mov edi, esi
imul edi, edi, 0x5f
sub ebp, edi
mov edi, eax
sub edi, ebx
mov ebx, dword [esp + 0x28]
sub edi, ecx
lea edi, [edi + edi*4]
shl edi, 4
mov dword [esp + 0x18], edi
mov edi, dword [ebx + ebp + 0x78]
mov ebp, dword [esp + 0x18]
add edi, ebp
add edi, ebx
mov ebx, dword [0x100470fc]
imul ebx, eax
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x1c]
imul edi, dword [0x10047100]
inc ebx
imul ebx, ecx
add ebx, edi
mov edi, dword [0x10047108]
imul ebx, ecx
inc edi
imul edi, eax
lea edi, [edi + edi*2]
add edi, edi
imul edx, eax
sub edi, ebx
imul edx, eax
sub edi, dword [0x100470fc]
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx + 0x20]
lea edi, [ebx + edi*2]
mov ebx, dword [esp + 0x28]
add edi, ebx
mov dword [esp + 0x18], edi
lea edi, [esi*4]
mov ebp, edi
mov edi, dword [esp + 0x14]
sub edi, ebp
mov ebp, dword [esp + 0x10]
mov ebp, dword [ebp + 0x1c]
sub edi, ecx
lea edi, [ebp + edi*4]
add edi, ebx
mov dword [esp + 0x20], edi
mov edi, dword [0x10047100]
add edi, edi
add edi, edi
mov dword [esp + 0x1c], edi
mov edi, ecx
imul edi, esi
imul edi, eax
add edi, edi
add edi, edi
mov ebp, 0xd
sub ebp, edi
mov edi, dword [esp + 0x10]
imul ebp, esi
add ebp, dword [edi + 0x24]
mov edi, dword [0x100470fc]
add ebp, dword [esp + 0x1c]
add edi, esi
add edi, dword [0x10047108]
lea edx, [edx*4 + 4]
lea edi, [edi*4 - 4]
imul edx, eax
imul edi, ecx
sub edi, edx
mov edx, dword [0x10047100]
add ebp, ebx
add edx, edx
add edx, edx
mov ebx, 8
sub ebx, edx
imul ebx, dword [0x10047108]
mov edx, dword [esp + 0x10]
add edi, ebx
add edi, dword [edx + 0x18]
mov ebx, dword [0x10047100]
lea edx, [ebx*4]
add edi, edx
mov dword [esp + 0x14], 0
je 0x100017c3
lea edx, [ebx + eax*2]
mov ebx, dword [0x100470fc]
lea ebx, [ebx*4 - 4]
imul ebx, esi
add edx, edx
add edx, edx
sub ebx, edx
mov edx, dword [esp + 0x18]
lea edx, [edx + ebx*4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx]
add edx, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x18], edx
mov dl, byte [edx]
test dl, dl
je 0x100017a5
ror ebx, 0xd
cmp dl, 0x61
movsx edx, dl
jl 0x10001794
sub edx, 0x20
add ebx, edx
mov edx, dword [esp + 0x18]
inc edx
mov dword [esp + 0x18], edx
mov dl, byte [edx]
test dl, dl
jne 0x10001786
add ebx, 0x2b189921
cmp ebx, dword [esp + 0x2c]
je 0x100017cd
mov edx, dword [esp + 0x14]
add dword [esp + 0x10], 4
inc edx
mov dword [esp + 0x14], edx
cmp edx, edi
jb 0x10001770
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
mov edx, dword [0x10047108]
mov edi, dword [0x10047100]
imul edi, edx
add edi, eax
imul edi, esi
lea edi, [edi + ecx*2]
lea ebx, [edx + edx*2]
add edi, ebx
add edi, edi
mov ebx, edi
mov edi, dword [esp + 0x14]
sub edi, ebx
movzx ebx, word [ebp + edi*2]
mov edi, dword [0x100470fc]
lea ebp, [edi - 1]
imul ebp, esi
lea esi, [ecx + ebp + 2]
imul esi, dword [0x10047100]
add ebx, esi
mov esi, 1
sub esi, eax
mov eax, dword [esp + 0x20]
imul esi, edi
add ebx, esi
sub ebx, ecx
pop edi
sub ebx, edx
mov eax, dword [eax + ebx*4]
add eax, dword [esp + 0x24]
pop esi
pop ebp
pop ebx
add esp, 0x14
ret