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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006d205
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe0
push ebx
push esi
push edi
push dword [esp + 0x2c]
lea eax, [esp + 0xdc]
mov dword [esp + 0x40], edx
push eax
xor ebx, ebx
mov dword [esp + 0x18], 0x76820624
lea eax, [esp + 0xd0]
mov dword [esp + 0x6c], ebx
push eax
mov edi, ecx
mov dword [esp + 0x74], ebx
xorps xmm0, xmm0
mov dword [esp + 0x78], ebx
push ebx
lea ecx, [esp + 0x74]
movdqu xmmword [esp + 0xd8], xmm0
call fcn.100325f4
push 2
mov dword [esp + 0xf8], ebx
mov dword [esp + 0x10], ebx
pop ecx
jmp 0x1003a361
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0xc0], 0xfffffff6
inc dword [esp + 0xc]
cmp dword [esp + 0xc], ecx
jl 0x1003a34e
mov dword [esp + 0x10], 0xffffffe9
cmp dword [esp + 0x10], 0xf
push 3
pop esi
je 0x1003a3b6
mov dword [esp + 0xc], 1
mov dword [esp + 0xc], ebx
jmp 0x1003a3a2
mov dword [esp + 0x9c], 0xd1f2e966
lea ecx, [esp + 0x9c]
call fcn.10039851
inc dword [esp + 0xc]
cmp dword [esp + 0xc], esi
jle 0x1003a387
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xf
jne 0x1003a379
push 2
pop ecx
mov dword [esp + 0x10], ebx
jmp 0x1003a3cb
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xc0], ecx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ecx
jl 0x1003a3bc
or dword [esp + 0xf4], 0xffffffff
cmp dword [esp + 0x64], 0
je 0x1003a3f6
push dword [esp + 0x64]
call fcn.10054b67
pop ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
cmp dword [edi + 0x10], ebx
jne 0x1003a402
xor al, al
jmp 0x1003ab77
lea eax, [esp + 0x3c]
push eax
push ebx
push 0x2c44
call fcn.1003b0ad
mov dword [esp + 0x24], 0xffffffff
add esp, 0xc
mov dword [esp + 0x20], 1
mov dword [esp + 0x18], 0xfffffff2
jmp 0x1003a4aa
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0xc], ebx
jmp 0x1003a450
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x80], 0xbe1d925b
inc dword [esp + 0xc]
cmp dword [esp + 0xc], esi
jl 0x1003a43d
mov dword [esp + 0x80], 0xfffffff1
jmp 0x1003a47b
mov dword [esp + 0x7c], ebx
lea edx, [esp + 0x18]
lea ecx, [esp + 0x7c]
call fcn.10039b06
inc dword [esp + 0x80]
cmp dword [esp + 0x80], 0x11
jge 0x1003a463
mov dword [esp + 0xc], ebx
jmp 0x1003a49f
mov byte [esp + 0x1f], bl
cmp byte [esp + 0x1f], 0
je 0x1003a49b
call fcn.10039f54
dec dword [esp + 0xc]
cmp dword [esp + 0xc], 0xffffffe5
je 0x1003a48b
dec dword [esp + 0x18]
cmp dword [esp + 0x18], 0xffffffe6
jg 0x1003a42f
cmp dword [esp + 0x18], ebx
je 0x1003a583
mov dword [esp + 0x28], 0xafd77ccc
mov dword [esp + 0xc], ebx
jmp 0x1003a4e0
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0xac], 0x37a5b7d8
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 4
jl 0x1003a4cd
mov dword [esp + 0x18], esi
cmp dword [esp + 0x18], ebx
jl 0x1003a590
mov dword [esp + 0xc], ebx
jmp 0x1003a50e
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x98], 0xffffffff
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 1
jl 0x1003a4fb
mov eax, dword [esp + 0x18]
xor edx, edx
mov eax, dword [esp + eax*4 + 0xac]
mov eax, dword [esp + 0xb8]
mov eax, dword [esp + 0xac]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + eax*4 + 0xac]
mov eax, dword [esp + 0x20]
cmp eax, ecx
setl dl
mov dword [esp + 0x98], edx
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0x18]
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
setg cl
mov dword [esp + 0x28], ecx
dec dword [esp + 0x18]
jns 0x1003a4f5
jmp 0x1003a590
lea ecx, [esp + 0x37]
mov byte [esp + 0x37], bl
call fcn.10039f67
cmp dword [edi + 0x14], 0x10
jb 0x1003a59a
mov ecx, dword [edi]
jmp 0x1003a59c
mov ecx, edi
cmp dword [edi + 0x14], 0x10
mov dword [esp + 0x38], ecx
jb 0x1003a5aa
mov edx, dword [edi]
jmp 0x1003a5ac
mov edx, edi
mov eax, dword [edi + 0x10]
add eax, edx
cmp ecx, eax
je 0x1003ab75
push 1
lea ecx, [esp + 0x5c]
call fcn.1002cb22
xor edx, edx
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0xc], ebx
inc edx
jmp 0x1003a5e8
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x58]
mov dword [eax + ecx*4], 0x51da622a
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edx
jl 0x1003a5d5
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], edx
mov ecx, dword [eax]
mov eax, dword [esp + 0x30]
add eax, ecx
imul eax, eax, 7
sub ecx, eax
je 0x1003a638
mov dword [esp + 0x20], edx
cmp dword [esp + 0x20], ebx
mov edx, dword [esp + 0x58]
je 0x1003a61c
cmp dword [edx], ebx
je 0x1003a61c
xor ecx, ecx
inc ecx
jmp 0x1003a61e
mov ecx, ebx
xor eax, eax
cmp ecx, 0x4da8
setl al
xor ecx, ecx
cmp dword [edx], eax
setne cl
add ecx, dword [edx]
mov dword [esp + 0x20], ecx
jmp 0x1003a686
lea ecx, [esp + 0x30]
call fcn.1003a26d
mov dword [esp + 0x30], ebx
cmp dword [esp + 0x30], ebx
jg 0x1003a682
mov dword [esp + 0xc], esi
mov byte [esp + 0x1f], bl
cmp byte [esp + 0x1f], 0
je 0x1003a65f
call fcn.1003a274
mov dword [esp + 0xc], ebx
cmp dword [esp + 0xc], ebx
jl 0x1003a67c
mov byte [esp + 0x35], bl
lea ecx, [esp + 0x35]
call fcn.1003a282
dec dword [esp + 0xc]
jns 0x1003a669
inc dword [esp + 0x30]
jmp 0x1003a645
mov edx, dword [esp + 0x58]
push edx
call fcn.10054b67
mov eax, dword [esp + 0x3c]
pop ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov al, byte [eax]
mov dword [esp + 0x60], ebx
cmp al, 0x30
jl 0x1003aa02
cmp al, 0x39
jg 0x1003aa02
mov dword [esp + 0xc], 7
lea ecx, [esp + 0x8c]
mov dword [esp + 0x14], 0xffff
mov dword [esp + 0x10], 0x3e5ec352
mov dword [esp + 0x20], 0xdc509ca4
mov dword [esp + 0x28], 0xa3fd
mov dword [esp + 0x2c], 0xffffffff
push 2
call fcn.1002cb22
mov dword [esp + 0x10], ebx
jmp 0x1003a709
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x8c]
mov dword [eax + ecx*4], 1
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x1003a6f3
mov byte [esp + 0x36], bl
lea ecx, [esp + 0x36]
call fcn.1003a290
mov eax, dword [esp + 0xc]
xor ecx, ecx
cmp eax, 0x1320f2d6
setle cl
imul ecx, dword [esp + 0xc]
test ecx, ecx
je 0x1003a73f
cmp dword [esp + 0x14], ebx
je 0x1003a73f
xor eax, eax
inc eax
jmp 0x1003a741
mov eax, ebx
xor edx, edx
cmp eax, 0xd6b5
mov eax, dword [esp + 0xc]
setl dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x14]
setle cl
xor edx, edx
cmp ecx, 0xff44
setne dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x14]
setne cl
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp dword [esp + 0x28], eax
setle cl
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov eax, dword [esp + 0x10]
add eax, 8
cmp eax, 0xfffffff8
setl cl
imul eax, ecx, 0x1718
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0xc]
neg eax
sbb eax, eax
xor edx, edx
inc eax
imul eax, eax, 0x3725
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp ecx, eax
setne dl
imul edx, dword [esp + 0xc]
sub edx, dword [esp + 0xc]
jne 0x1003a7db
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
xor edx, edx
sub ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
cmp ecx, eax
setge dl
sub edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x8c]
push eax
mov dword [eax], edx
call fcn.10054b67
mov dword [esp], 0x78d2
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x94], ebx
push eax
push 0x5d16
push 0x370d
push ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
call fcn.1003b0ca
mov dword [esp + 0x24], 5
add esp, 0x18
mov dword [esp + 0x10], 0xc58f5537
mov dword [esp + 0xc], ebx
cmp dword [esp + 0xc], 0xc
jne 0x1003a9f8
push dword [esp + 0x2c]
movdqa xmm0, xmmword [0x10008390]
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0xe0]
mov dword [esp + 0x2c], 0xc285ce96
push eax
push ebx
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], ebx
movdqu xmmword [esp + 0xe8], xmm0
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.100325f4
mov dword [esp + 0x14], ebx
jmp 0x1003a8b2
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x70], 0xfffffff8
inc dword [esp + 0x14]
cmp dword [esp + 0x14], esi
jl 0x1003a8a2
mov eax, dword [esp + 0x70]
xor ecx, ecx
mov eax, dword [esp + 0x78]
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 8]
cmp eax, edx
setle cl
xor eax, eax
cmp ecx, edx
mov ecx, dword [esp + 0x24]
setle al
xor edx, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc]
cmp eax, ecx
setne dl
xor eax, eax
cmp edx, dword [esp + 0x2c]
setle al
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x2c], eax
mov eax, dword [esp + 0x70]
setl cl
xor edx, edx
cmp ecx, 0xffffffff
setne dl
add edx, dword [esi + 8]
imul eax, edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x10], 0x1d
jmp 0x1003a9be
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], ebx
jmp 0x1003a950
lea edx, [esp + 0x24]
lea ecx, [esp + 0x40]
call fcn.1003a2a3
inc dword [esp + 0x24]
cmp dword [esp + 0x24], 4
jl 0x1003a93f
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x10], ebx
je 0x1003a9b4
cmp dword [esp + 0x14], ebx
je 0x1003a9b4
xor eax, eax
inc eax
jmp 0x1003a9b6
mov eax, ebx
mov dword [esp + 0x24], eax
dec dword [esp + 0x10]
cmp dword [esp + 0x10], 0xffffffe5
jge 0x1003a935
cmp dword [esp + 0x40], 0
je 0x1003a9e6
push dword [esp + 0x40]
call fcn.10054b67
pop ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 0xc
push 3
pop esi
je 0x1003a859
mov ecx, dword [esp + 0x38]
inc ecx
jmp 0x1003a59c
mov dword [esp + 0xc], 8
lea ecx, [esp + 0xa0]
mov dword [esp + 0x2c], ebx
push esi
call fcn.1002cb22
xor edi, edi
inc edi
mov dword [esp + 0xf4], edi
mov dword [esp + 0x28], 0xfa8fad7
mov dword [esp + 0xc], ebx
jmp 0x1003aa49
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xa0]
mov dword [eax + ecx*4], 0xe0f758fc
inc dword [esp + 0xc]
cmp dword [esp + 0xc], esi
jl 0x1003aa33
mov dword [esp + 0xc], ebx
cmp dword [esp + 0xc], 0xfffffff3
jne 0x1003ab50
mov esi, dword [esp + 0xa0]
push 3
lea ecx, [esp + 0x50]
call fcn.1002cb22
mov dword [esp + 0x20], 0xe197e7c1
lea edx, [esp + 0x4c]
mov dword [esp + 0x28], 6
lea ecx, [esp + 0xbc]
call fcn.1003a2af
cmp dword [esp + 0xc], ebx
je 0x1003aafe
cmp dword [esp + 0x2c], ebx
jne 0x1003aac8
mov eax, dword [esp + 0x4c]
imul eax, dword [eax], 9
test eax, eax
je 0x1003aaaf
mov edx, edi
cmp dword [esp + 0x20], ebx
jne 0x1003aab1
mov edx, ebx
mov eax, dword [esp + 0x4c]
xor ecx, ecx
cmp dword [eax], edx
setne cl
sub ecx, dword [eax]
jne 0x1003aac4
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x4c]
xor ecx, ecx
cmp dword [eax], 0xaed1d25b
sete cl
cmp ecx, dword [esp + 0xc]
jne 0x1003aae5
mov edx, edi
cmp dword [esp + 0x20], ebx
jne 0x1003aae7
mov edx, ebx
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx]
imul eax, edx
imul eax, eax, 0x639e
cmp dword [ecx], eax
jne 0x1003ab02
mov edx, edi
jmp 0x1003ab04
mov ecx, dword [esp + 0x4c]
mov edx, ebx
xor eax, eax
cmp edx, dword [ecx]
setge al
mov dword [esp + 0x20], eax
mov eax, 0x8ca8
mov dword [esi + 4], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
sub eax, dword [ecx + 4]
push dword [esp + 0x4c]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x2c], eax
call fcn.10054b67
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
dec dword [esp + 0x10]
cmp dword [esp + 0x10], 0xfffffff3
pop ecx
je 0x1003aa65
cmp dword [esp + 0xa0], 0
je 0x1003ab67
push dword [esp + 0xa0]
call fcn.10054b67
pop ecx
lea ecx, [esp + 0x3c]
call fcn.1003a2ce
jmp 0x1003a3fb
mov al, 1
mov ecx, dword [esp + 0xec]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret