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

Disassembly:
sub esp, 0x6c
mov eax, dword [0x1041020c]
xor eax, esp
mov dword [esp + 0x68], eax
cmp byte [esp + 0x84], 0
mov ecx, dword [esp + 0x74]
push ebx
mov ebx, dword [esp + 0x80]
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0x14], ecx
mov eax, dword [ebp]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x10], eax
jne 0x10315448
mov edx, dword [ebp + 4]
cmp byte [edx + 0xc], 0
jne 0x10315448
mov eax, dword [ebx]
xorps xmm0, xmm0
push 1
push dword [esp + 0x90]
movups xmmword [esp + 0x60], xmm0
mov dword [esp + 0x60], eax
lea eax, [esp + 0x60]
push eax
push esi
push ecx
push edx
movq qword [esp + 0x80], xmm0
mov dword [esp + 0x88], 0
call fcn.103153c0
mov ecx, dword [esp + 0x2c]
add esp, 0x18
cmp byte [ebx + 4], 0
jne 0x10315468
mov eax, dword [esi + 0x14]
add eax, dword [ecx + 0x14]
push eax
push ebx
call fcn.10315fa0
add esp, 8
cmp byte [ebx + 4], 0
je 0x1031582b
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0
mov eax, dword [ebx + 0x18]
movups xmm0, xmmword [ebx]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x14]
movups xmmword [esp + 0x58], xmm0
push edi
movq xmm0, qword [ebx + 0x10]
lea edi, [esp + 0x6c]
mov edx, dword [eax + 0x14]
movq qword [esp + 0x6c], xmm0
mov dword [esp + 0x1c], edx
cmp edx, dword [ebx + 8]
ja 0x1031582a
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0xf9], 0
je 0x103154fc
lea eax, [esp + 0x34]
mov dword [esp + 0x44], 0
push eax
lea eax, [ecx + 0x120]
xorps xmm0, xmm0
push eax
push ebp
movups xmmword [esp + 0x40], xmm0
call fcn.10318480
mov eax, dword [esp + 0x20]
add eax, 0x10c
push eax
lea eax, [esp + 0x44]
push eax
push ebp
call fcn.10318480
mov eax, dword [esp + 0x30]
add esp, 0x18
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
xor esi, esi
mov bl, 0x80
test edx, edx
je 0x103155cb
jmp 0x10315514
mov ecx, dword [esp + 0x14]
test byte [edi], bl
je 0x103155ae
push 1
push dword [ebp + 0x10]
push dword [esp + 0x98]
push ecx
push esi
push eax
lea eax, [esp + 0x60]
push eax
call fcn.10317ee0
mov eax, dword [esp + 0x30]
push 0
push dword [ebp + 0x10]
push dword [esp + 0xb4]
push eax
push esi
push dword [esp + 0x48]
lea eax, [esp + 0x68]
push eax
call fcn.10317ee0
mov eax, dword [esp + 0x80]
add esp, 0x38
shr eax, 4
test al, 1
jne 0x10315591
mov eax, dword [esp + 0x34]
shr eax, 4
test al, 1
jne 0x10315591
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x1c]
add eax, 0xf0
push eax
call fcn.10315230
add esp, 0xc
test al, al
je 0x103155aa
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x4c]
push eax
push ebp
call fcn.10318480
mov al, bl
add esp, 0xc
not al
and byte [edi], al
mov edx, dword [esp + 0x1c]
mov eax, esi
and eax, 7
cmp al, 7
jne 0x103155bc
inc edi
mov bl, 0x80
jmp 0x103155be
shr bl, 1
mov eax, dword [esp + 0x18]
inc esi
cmp esi, edx
jb 0x10315510
cmp byte [esp + 0x94], 0
je 0x10315634
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x103155f0
cmp dword [ebp + 0x24], 0
jg 0x103155f0
lea eax, [eax + eax*4]
cmp dword [ebp + eax*4 + 0x10], 0
jge 0x103157b2
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
mov dword [esp + 0x44], eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x5c], 0
push eax
movups xmmword [esp + 0x3c], xmm0
push ebp
mov dword [esp + 0x40], 0x31
movups xmmword [esp + 0x54], xmm0
call fcn.10318480
add esp, 0xc
jmp 0x103157b2
mov ebx, dword [esp + 0x1c]
lea edx, [esp + 0x6c]
xor edi, edi
mov dword [esp + 0x24], edx
mov cl, 0x80
mov byte [esp + 0x13], cl
test ebx, ebx
je 0x103157b2
test byte [edx], cl
je 0x10315791
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x48]
push 1
push dword [ebp + 0x10]
push dword [esp + 0x98]
push dword [esp + 0x20]
push edi
push ebx
push eax
call fcn.10317ee0
mov eax, dword [ebp + 0x10]
add esp, 0x1c
xorps xmm0, xmm0
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov eax, edi
movups xmmword [esp + 0x34], xmm0
mov dword [esp + 0x44], 0
cmp edi, dword [ebx + 0x14]
jb 0x103156b1
mov eax, dword [ebx + 4]
test eax, eax
je 0x103156af
cmp dword [eax], 0
jne 0x103156af
mov dword [eax], 0x82
xor eax, eax
mov esi, dword [ebx + 8]
imul esi, eax
add esi, dword [ebx + 0x1c]
mov ecx, dword [esi + 8]
mov eax, ecx
mov edx, dword [esi + 4]
sub eax, edx
cmp eax, 0xffeb0000
jne 0x103156d3
mov edx, dword [esp + 0x3c]
xor ecx, ecx
jmp 0x103156ec
cmp eax, 0xffec0000
jne 0x103156e1
mov ecx, 2
jmp 0x103156ec
test eax, eax
js 0x103156e7
mov edx, ecx
mov ecx, 8
mov ebx, ecx
mov dword [esp + 0x34], ecx
and ebx, 0xa
je 0x10315704
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xe8]
lea edx, [edx + eax*2]
add edx, dword [esp + 0x90]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], edi
test ecx, ecx
je 0x10315740
cmp byte [esi], 0
je 0x10315740
test ebx, ebx
je 0x10315734
mov eax, dword [esi + 0x10]
or ecx, 0x10
mov dword [esp + 0x34], ecx
jmp 0x1031576e
mov eax, dword [esi + 0xc]
or ecx, 0x10
mov dword [esp + 0x34], ecx
jmp 0x1031576e
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x4c]
push eax
push ebp
call fcn.10318480
mov cl, byte [esp + 0x1f]
add esp, 0xc
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov eax, edi
and eax, 7
cmp al, 7
jne 0x103157a3
inc edx
mov cl, 0x80
mov dword [esp + 0x24], edx
jmp 0x103157a5
shr cl, 1
inc edi
mov byte [esp + 0x13], cl
cmp edi, ebx
jb 0x10315650
push ebp
call fcn.10318160
add esp, 4
cmp byte [esp + 0x94], 0
jne 0x1031581e
xor esi, esi
cmp dword [ebp + 0x14], esi
jbe 0x1031581e
lea edx, [ebp + 0x1c]
nop
mov eax, dword [edx]
shr eax, 5
test al, 1
jne 0x10315815
mov ebx, dword [esp + 0x18]
mov eax, dword [edx + 4]
cmp eax, dword [ebx + 0x14]
jb 0x103157f9
mov eax, dword [ebx + 4]
test eax, eax
je 0x103157f7
cmp dword [eax], 0
jne 0x103157f7
mov dword [eax], 0x82
xor eax, eax
mov ecx, dword [ebx + 8]
imul ecx, eax
mov eax, dword [edx + 0xc]
add ecx, dword [ebx + 0x1c]
test byte [edx], 0xa
je 0x1031580f
mov dword [ecx + 0x10], eax
jmp 0x10315812
mov dword [ecx + 0xc], eax
mov byte [ecx], 1
inc esi
add edx, 0x14
cmp esi, dword [ebp + 0x14]
jb 0x103157d0
mov eax, dword [esp + 0x30]
mov byte [ebp + 0xc], 1
mov byte [eax + 5], 0
pop edi
mov ecx, dword [esp + 0x74]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1033bd36
add esp, 0x6c
ret