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

Disassembly:
sub esp, 0x48
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x7c], 1
jle 0x10030602
mov eax, dword [edi + 0x78]
test eax, eax
je 0x1003027f
mov ecx, dword [edi + 0x88]
lea edx, [eax + eax*2]
movq xmm0, qword [edi]
movq qword [ecx + edx*8], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + edx*8 + 8], eax
mov eax, dword [edi + 0x78]
mov ecx, dword [edi + 0x88]
movq xmm0, qword [edi + 0xc]
lea edx, [eax + eax*2]
movq qword [ecx + edx*8 + 0xc], xmm0
mov eax, dword [edi + 0x14]
mov dword [ecx + edx*8 + 0x14], eax
lea edx, [edi + 0x60]
mov ecx, dword [edi + 0x88]
mov dword [edi + 0x78], 0
movq xmm0, qword [ecx]
movq qword [edi], xmm0
mov eax, dword [ecx + 8]
mov dword [edi + 8], eax
movq xmm0, qword [ecx + 0xc]
movq qword [edi + 0xc], xmm0
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x14], eax
mov esi, dword [edi + 0xc]
lea eax, [eax + esi*2]
mov dword [edi + 0x38], eax
mov eax, dword [edi]
test eax, eax
je 0x1003023c
lea ecx, [eax + eax*4]
mov eax, dword [edi + 8]
lea ecx, [ecx - 5]
lea ecx, [eax + ecx*8]
test ecx, ecx
je 0x1003023c
cmp dword [ecx + 0x1c], 0
jne 0x10030219
movups xmm0, xmmword [edx]
movups xmmword [ecx], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [ecx + 0x10], xmm0
jmp 0x1003027f
mov esi, 0x14
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10030233
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10030220
jmp 0x1003027f
mov ecx, edi
call fcn.10028bb0
jmp 0x1003027f
mov eax, dword [edi + 0x70]
xorps xmm0, xmm0
mov dword [esp + 0x3c], eax
mov ecx, edi
mov eax, dword [edi + 0x74]
movlpd qword [esp + 0x2c], xmm0
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x48], xmm0
movups xmm0, xmmword [edx]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x54], 0
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x48], esi
call fcn.10024d00
mov eax, dword [edi]
test eax, eax
jle 0x100302af
mov esi, eax
lea ecx, [esi + esi*4]
shl ecx, 3
nop dword [eax]
mov edx, dword [edi + 8]
cmp dword [ecx + edx - 0xc], 0
jne 0x100302af
cmp dword [ecx + edx - 8], 0
jne 0x100302af
lea eax, [esi - 1]
sub ecx, 0x28
mov dword [edi], eax
mov esi, eax
test eax, eax
jg 0x10030290
mov edx, dword [edi + 0x7c]
push ebp
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
test edx, edx
jle 0x100302e5
test eax, eax
jle 0x100302e5
lea esi, [edi + 8]
lea ecx, [eax + eax*4]
mov dword [esp + 0x14], esi
mov eax, dword [esi]
lea eax, [eax + ecx*8]
add eax, 0xffffffd8
mov dword [esp + 0x10], eax
je 0x100302ec
mov ebx, dword [eax + 0x1c]
add ebx, dword [eax + 0x18]
jmp 0x100302f2
mov dword [esp + 0x10], ebp
lea esi, [edi + 8]
xor ebx, ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], 1
cmp edx, 1
jle 0x10030446
mov eax, 0x18
mov dword [esp + 0x28], eax
nop dword [eax]
mov esi, dword [edi + 0x88]
add esi, eax
mov eax, dword [esi]
mov ebp, eax
test eax, eax
jle 0x10030339
mov edx, dword [esi + 8]
lea ecx, [eax + eax*4]
cmp dword [edx + ecx*8 - 0xc], 0
jne 0x10030339
cmp dword [edx + ecx*8 - 8], 0
jne 0x10030339
lea ebp, [eax - 1]
mov dword [esi], ebp
mov edx, ebp
test ebp, ebp
jle 0x100303de
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100303e2
mov edx, dword [esi + 8]
mov ecx, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], 0x14
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10030377
add ecx, 4
add edx, 4
sub dword [esp + 0x20], 4
jae 0x10030360
xor eax, eax
jmp 0x1003039c
cmp al, byte [edx]
jne 0x10030397
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10030397
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10030397
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10030397
xor eax, eax
jmp 0x1003039c
sbb eax, eax
or eax, 1
mov edx, ebp
test eax, eax
jne 0x100303e2
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x20], eax
jne 0x100303e2
mov ebp, dword [esp + 0x2c]
cmp dword [ebp + 0x20], eax
jne 0x100303e2
mov eax, dword [ebp + 0x1c]
add dword [ecx + 0x1c], eax
mov eax, dword [esi]
mov ecx, dword [esi + 8]
add ebx, dword [ebp + 0x1c]
lea eax, [eax + eax*4]
lea eax, [eax*8 - 0x28]
push eax
lea eax, [ecx + 0x28]
push eax
push ecx
call fcn.1004e3c0
add esp, 0xc
dec dword [esi]
mov edx, dword [esi]
test edx, edx
jle 0x100303f2
mov eax, dword [esi + 8]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 0xffffffd8
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x1c]
xor ecx, ecx
mov eax, dword [esp + 0x18]
add ebp, edx
add eax, dword [esi + 0xc]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], eax
test edx, edx
jle 0x10030425
mov edx, dword [esi + 8]
xor eax, eax
mov dword [eax + edx + 0x18], ebx
lea eax, [eax + 0x28]
mov edx, dword [esi + 8]
inc ecx
add ebx, dword [eax + edx - 0xc]
cmp ecx, dword [esi]
jl 0x10030412
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
inc ecx
add eax, 0x18
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
cmp ecx, dword [edi + 0x7c]
jl 0x10030310
mov esi, dword [esp + 0x14]
mov eax, dword [edi]
mov ecx, edi
add eax, ebp
push eax
call fcn.100308a0
mov eax, dword [edi + 0xc]
lea ebp, [edi + 0xc]
add eax, dword [esp + 0x18]
mov ecx, ebp
push eax
call fcn.10025490
mov eax, dword [edi]
sub eax, dword [esp + 0x1c]
mov esi, dword [esi]
mov ecx, dword [ebp]
sub ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x14]
lea edx, [eax + ecx*2]
mov ecx, 1
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ecx
cmp dword [edi + 0x7c], ecx
jle 0x1003050a
mov ebp, 0x18
nop word [eax + eax]
mov ebx, dword [edi + 0x88]
add ebx, ebp
mov eax, dword [ebx]
test eax, eax
je 0x100304d0
lea esi, [eax + eax*4]
shl esi, 3
push esi
push dword [ebx + 8]
push dword [esp + 0x24]
call fcn.1004e3c0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
add dword [esp + 0x1c], esi
mov edx, dword [esp + 0x18]
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x100304f4
add esi, esi
push esi
push dword [ebx + 0x14]
push edx
call fcn.1004e3c0
mov edx, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0x10]
add edx, esi
mov dword [esp + 0x18], edx
inc ecx
add ebp, 0x18
mov dword [esp + 0x10], ecx
cmp ecx, dword [edi + 0x7c]
jl 0x100304a0
mov esi, dword [esp + 0x14]
lea ebp, [edi + 0xc]
mov esi, dword [esi]
mov eax, dword [edi]
mov dword [edi + 0x38], edx
test eax, eax
je 0x1003051d
lea eax, [eax + eax*4]
cmp dword [esi + eax*8 - 8], 0
je 0x10030564
mov eax, dword [edi + 0x70]
xorps xmm0, xmm0
mov dword [esp + 0x40], eax
mov ecx, edi
mov eax, dword [edi + 0x74]
mov dword [esp + 0x44], eax
mov eax, dword [ebp]
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x4c], xmm0
movups xmm0, xmmword [edi + 0x60]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x58], 0
movups xmmword [esp + 0x34], xmm0
call fcn.10024d00
mov eax, dword [edi]
mov ebx, edi
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x14]
lea ecx, [ecx - 5]
mov eax, dword [eax]
cmp dword [eax + ecx*8 + 0x1c], 0
lea ecx, [eax + ecx*8]
jne 0x10030591
movups xmm0, xmmword [ebx + 0x60]
movups xmmword [ecx], xmm0
movq xmm0, qword [ebx + 0x70]
movq qword [ecx + 0x10], xmm0
jmp 0x100305fa
lea edx, [ebx + 0x60]
mov esi, 0x14
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100305b3
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100305a0
jmp 0x100305fa
mov eax, dword [edi + 0x70]
xorps xmm0, xmm0
mov dword [esp + 0x40], eax
mov ecx, edi
mov eax, dword [edi + 0x74]
mov dword [esp + 0x44], eax
mov eax, dword [ebp]
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x4c], xmm0
movups xmm0, xmmword [ebx + 0x60]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x58], 0
movups xmmword [esp + 0x34], xmm0
call fcn.10024d00
mov dword [edi + 0x7c], 1
pop ebp
push 0
mov ecx, edi
call fcn.100308a0
push 0
lea ecx, [edi + 0xc]
call fcn.10025490
push 0
lea ecx, [edi + 0x18]
call fcn.10030930
mov eax, dword [edi + 0x2c]
xorps xmm0, xmm0
mov eax, dword [eax + 0x28]
mov dword [edi + 0x24], eax
movups xmmword [edi + 0x60], xmm0
movq qword [edi + 0x70], xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov ecx, dword [edi + 0x40]
test ecx, ecx
jns 0x1003069a
mov eax, ecx
xor esi, esi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg esi, eax
cmp esi, ecx
jle 0x1003069a
mov eax, esi
shl eax, 4
push eax
call fcn.10018460
mov ebx, eax
add esp, 4
mov eax, dword [edi + 0x44]
test eax, eax
je 0x10030694
mov ecx, dword [edi + 0x3c]
shl ecx, 4
push ecx
push eax
push ebx
call fcn.1004e3c0
push dword [edi + 0x44]
call fcn.10018490
add esp, 0x10
mov dword [edi + 0x44], ebx
mov dword [edi + 0x40], esi
mov dword [edi + 0x3c], 0
mov ecx, dword [edi + 0x4c]
test ecx, ecx
jns 0x100306f4
mov eax, ecx
xor esi, esi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg esi, eax
cmp esi, ecx
jle 0x100306f4
lea eax, [esi*4]
push eax
call fcn.10018460
mov ebx, eax
add esp, 4
mov eax, dword [edi + 0x50]
test eax, eax
je 0x100306ee
mov ecx, dword [edi + 0x48]
shl ecx, 2
push ecx
push eax
push ebx
call fcn.1004e3c0
push dword [edi + 0x50]
call fcn.10018490
add esp, 0x10
mov dword [edi + 0x50], ebx
mov dword [edi + 0x4c], esi
push 0
lea ecx, [edi + 0x54]
mov dword [edi + 0x48], 0
call fcn.10028150
xorps xmm0, xmm0
mov dword [edi + 0x78], 0
lea eax, [esp + 0x2c]
mov dword [edi + 0x7c], 1
push eax
mov ecx, edi
movq qword [esp + 0x50], xmm0
movups xmmword [esp + 0x30], xmm0
movups xmmword [esp + 0x40], xmm0
call fcn.10024d00
mov dword [edi + 0x8c], 0x3f800000
pop edi
pop esi
pop ebx
add esp, 0x48
ret