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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov eax, dword [0x10022004]
neg eax
add eax, dword [0x10022014]
mov ecx, dword [0x10022008]
imul ecx, dword [0x10022004]
add eax, ecx
sub eax, dword [0x10022010]
mov ecx, dword [0x10022010]
imul ecx, dword [0x10022014]
add eax, ecx
sub eax, dword [0x10022008]
add eax, dword [section..data]
add eax, dword [0x10022004]
sub eax, dword [0x10022010]
mov ecx, dword [section..data]
imul ecx, dword [0x10022004]
add eax, ecx
sub eax, dword [0x10022008]
mov ecx, dword [0x10022004]
imul ecx, dword [0x1002200c]
add eax, ecx
mov ecx, dword [0x1002200c]
imul ecx, dword [0x10022010]
sub eax, ecx
add eax, dword [0x10022014]
mov ecx, dword [0x10022004]
imul ecx, dword [0x10022008]
add eax, ecx
sub eax, dword [0x1002200c]
sub eax, dword [0x10022004]
add eax, dword [0x10022014]
mov ecx, dword [0x10022008]
imul ecx, dword [0x10022004]
add eax, ecx
sub eax, dword [0x10022010]
mov ecx, dword [0x10022010]
imul ecx, dword [0x10022014]
add eax, ecx
sub eax, dword [0x10022008]
add eax, dword [section..data]
add eax, dword [0x10022004]
sub eax, dword [0x10022010]
mov ecx, dword [section..data]
imul ecx, dword [0x10022004]
add eax, ecx
sub eax, dword [0x10022008]
mov ecx, dword [0x10022004]
imul ecx, dword [0x1002200c]
add eax, ecx
mov ecx, dword [0x1002200c]
imul ecx, dword [0x10022010]
sub eax, ecx
add eax, dword [0x10022014]
mov ecx, dword [0x10022004]
imul ecx, dword [0x10022008]
add eax, ecx
sub eax, dword [0x1002200c]
mov ecx, dword [rsp + 0x70]
imul ecx, eax
mov eax, ecx
cdqe
imul rax, rax, 0x40
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov ecx, dword [0x10022008]
neg ecx
imul ecx, dword [0x1002200c]
imul ecx, dword [section..data]
mov edx, dword [0x10022014]
imul edx, dword [section..data]
imul edx, dword [0x10022010]
sub ecx, edx
mov edx, dword [0x10022014]
imul edx, dword [0x10022010]
imul edx, dword [0x10022014]
imul edx, dword [section..data]
imul edx, dword [0x10022004]
sub ecx, edx
add ecx, dword [0x10022004]
add ecx, dword [0x10022008]
mov edx, dword [0x10022014]
imul edx, dword [0x10022014]
sub ecx, edx
mov edx, dword [0x10022004]
imul edx, dword [0x1002200c]
sub ecx, edx
add ecx, dword [0x10022008]
add ecx, dword [0x1002200c]
add ecx, dword [0x10022010]
add ecx, dword [0x10022004]
mov edx, dword [0x10022008]
imul edx, dword [0x1002200c]
imul edx, dword [section..data]
sub ecx, edx
mov edx, dword [0x10022014]
imul edx, dword [section..data]
imul edx, dword [0x10022010]
sub ecx, edx
mov edx, dword [0x10022014]
imul edx, dword [0x10022010]
imul edx, dword [0x10022014]
imul edx, dword [section..data]
imul edx, dword [0x10022004]
sub ecx, edx
add ecx, dword [0x10022004]
add ecx, dword [0x10022008]
mov edx, dword [0x10022014]
imul edx, dword [0x10022014]
sub ecx, edx
mov edx, dword [0x10022004]
imul edx, dword [0x1002200c]
sub ecx, edx
add ecx, dword [0x10022008]
add ecx, dword [0x1002200c]
add ecx, dword [0x10022010]
add ecx, dword [0x10022004]
mov edx, dword [rsp + 0x88]
imul edx, ecx
mov ecx, edx
movsxd rcx, ecx
imul rcx, rcx, 0x108
add rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x88]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 0
jmp 0x10003833
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x1000392f
mov eax, dword [0x10022010]
neg eax
imul eax, dword [0x10022004]
sub eax, dword [0x1002200c]
mov ecx, dword [0x1002200c]
imul ecx, dword [0x10022014]
mov edx, dword [0x10022014]
add edx, eax
mov eax, edx
add ecx, eax
mov eax, ecx
mov ecx, dword [0x1002200c]
imul ecx, dword [0x10022008]
imul ecx, dword [0x10022010]
sub eax, ecx
sub eax, dword [0x10022010]
mov ecx, dword [0x10022010]
imul ecx, dword [section..data]
sub eax, ecx
sub eax, dword [0x10022004]
sub eax, dword [0x10022010]
sub eax, dword [0x10022004]
add eax, dword [0x10022014]
add eax, dword [0x1002200c]
mov ecx, dword [rsp + 0x88]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x28]
call fcn.1000ed40
test eax, eax
jne 0x1000392a
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
jmp 0x10003931
jmp 0x10003828
xor eax, eax
add rsp, 0x68
ret