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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
push ebx
push esi
push edi
mov dword [ebp - 0xe0], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x70]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x6c]
mov dword [ebp - 0x7c], ecx
cmp dword [ebp - 0x40], 1
jge 0x42d127
mov dword [ebp - 0x40], 1
call fcn.004debb0
mov dword [ebp - 0x28], eax
call fcn.004deba0
mov dword [ebp - 0x68], eax
call fcn.004debd0
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x7c]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x80]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x84]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x8c]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x90]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0xa0]
mov dword [edx + 0x30], ecx
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0xb0]
mov dword [edx + 0x44], ecx
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0xb4]
mov dword [edx + 0x48], ecx
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0xb8]
mov dword [edx + 0x4c], ecx
mov ecx, dword [ebp - 0xe0]
call fcn.0042dd10
mov dword [ebp - 0x24], 8
mov dword [ebp - 0x48], 8
mov eax, dword [ebp - 0x24]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x48]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ebp - 0x20]
mov dword [ecx + 0x34], edx
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0x38], ecx
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xe0]
mov dword [eax + 0x3c], edx
mov ecx, dword [ebp - 0x68]
sub ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0xe0]
mov dword [edx + 0x40], ecx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0xa4]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x78]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x60]
add ecx, dword [ebp - 0x18]
cmp ecx, 0x258
jle 0x42d295
mov edx, 0x258
sub edx, dword [ebp - 0x60]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 1
jge 0x42d2a0
jmp 0x42d818
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0xe0]
call fcn.0042d830
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + 0x40]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x14], 0x18
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x28]
shl ecx, 2
mov dword [ebp - 8], ecx
mov dword [ebp - 0x5c], 0xffffff
mov dword [ebp - 0x3c], 0x7f7f7f
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x1f
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
and edx, 0xffffffe0
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x94]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x98]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x9c]
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], 0x64
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ecx + 0xac]
sub eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x7c]
cdq
idiv dword [ebp - 0x40]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
jns 0x42d385
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0x64
jle 0x42d392
mov dword [ebp - 0x2c], 0x64
mov dword [ebp - 0x80], 0
jmp 0x42d3a4
mov edx, dword [ebp - 0x80]
add edx, 1
mov dword [ebp - 0x80], edx
cmp dword [ebp - 0x80], 0x40
jge 0x42d73d
mov eax, dword [ebp - 0x80]
and eax, 0x80000007
jns 0x42d3bd
dec eax
or eax, 0xfffffff8
inc eax
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x80]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0x98]
lea edx, [ecx + ecx - 7]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0xc4]
lea ecx, [eax + eax - 7]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x90]
imul edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x8c]
imul eax, dword [ebp - 0x8c]
add edx, eax
mov dword [ebp - 0xe4], edx
fild dword [ebp - 0xe4]
sub esp, 8
fstp qword [esp]
call fcn.0041e054
add esp, 8
fstp qword [ebp - 0xb8]
fldz
fcomp qword [ebp - 0xb8]
fnstsw ax
test ah, 0x44
jp 0x42d454
mov dword [ebp - 0xb8], 0x47ae147b
mov dword [ebp - 0xb4], 0x3f847ae1
fld qword [ebp - 0xb8]
fmul qword [ebp - 0xb8]
fadd st(0), st(0)
call fcn.0047f0a0
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x88], 0
cmp dword [ebp - 0x70], 0
jl 0x42d501
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x9c]
imul eax, dword [ebp - 0x2c]
cdq
mov ecx, 0x64
idiv ecx
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jge 0x42d4dd
mov dword [ebp - 0xc8], 0
cmp dword [ebp - 0xc8], 0xff
jle 0x42d4f3
mov dword [ebp - 0xc8], 0xff
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xa8], edx
jmp 0x42d553
mov eax, dword [ebp - 0x70]
neg eax
sub eax, dword [ebp - 0x9c]
imul eax, dword [ebp - 0x2c]
cdq
mov ecx, 0x64
idiv ecx
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jge 0x42d531
mov dword [ebp - 0xcc], 0
cmp dword [ebp - 0xcc], 0xff
jle 0x42d547
mov dword [ebp - 0xcc], 0xff
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xbc], edx
cmp dword [ebp - 0x10], 0
jl 0x42d5ab
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x9c]
imul eax, dword [ebp - 0x2c]
cdq
mov ecx, 0x64
idiv ecx
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
jge 0x42d587
mov dword [ebp - 0xd0], 0
cmp dword [ebp - 0xd0], 0xff
jle 0x42d59d
mov dword [ebp - 0xd0], 0xff
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xc0], edx
jmp 0x42d5fd
mov eax, dword [ebp - 0x10]
neg eax
sub eax, dword [ebp - 0x9c]
imul eax, dword [ebp - 0x2c]
cdq
mov ecx, 0x64
idiv ecx
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
jge 0x42d5db
mov dword [ebp - 0xd4], 0
cmp dword [ebp - 0xd4], 0xff
jle 0x42d5f1
mov dword [ebp - 0xd4], 0xff
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0xac], edx
cmp dword [ebp - 4], 0
jl 0x42d655
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x9c]
imul eax, dword [ebp - 0x2c]
cdq
mov ecx, 0x64
idiv ecx
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
jge 0x42d631
mov dword [ebp - 0xd8], 0
cmp dword [ebp - 0xd8], 0xff
jle 0x42d647
mov dword [ebp - 0xd8], 0xff
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0xa0], edx
jmp 0x42d6a7
mov eax, dword [ebp - 4]
neg eax
sub eax, dword [ebp - 0x9c]
imul eax, dword [ebp - 0x2c]
cdq
mov ecx, 0x64
idiv ecx
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
jge 0x42d685
mov dword [ebp - 0xdc], 0
cmp dword [ebp - 0xdc], 0xff
jle 0x42d69b
mov dword [ebp - 0xdc], 0xff
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0xa8]
shl eax, 0x10
mov ecx, dword [ebp - 0xc0]
shl ecx, 8
or eax, ecx
or eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0xbc]
shl edx, 0x10
mov eax, dword [ebp - 0xac]
shl eax, 8
or edx, eax
or edx, dword [ebp - 0x88]
mov dword [ebp - 0x84], edx
mov ecx, dword [ebp - 0x80]
and ecx, 0x80000001
jns 0x42d6f7
dec ecx
or ecx, 0xfffffffe
inc ecx
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x80]
and edx, 0xfffffffe
shl edx, 1
mov eax, dword [ebp - 0x74]
lea ecx, [eax + edx*4]
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0xa4]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp - 0x80]
and ecx, 0xfffffffe
shl ecx, 1
mov edx, dword [ebp - 0x74]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x84]
mov dword [eax + ecx*4 + 8], edx
jmp 0x42d39b
push eax
push ebx
push ecx
push edx
push esi
push edi
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x14]
mul edx
add esi, eax
mov ecx, dword [ebp - 0x18]
push ecx
mov eax, dword [esi + 0x14]
or eax, eax
je 0x42d805
movq mm0, qword [esi]
psrad mm0, 8
movd eax, mm0
cmp eax, dword [ebp - 0x54]
js 0x42d805
cmp eax, dword [ebp - 0xc]
jns 0x42d805
sub eax, dword [ebp - 0x20]
shl eax, 2
mov edi, eax
psrlq mm0, 0x20
movd eax, mm0
cmp eax, dword [ebp - 0x64]
js 0x42d805
cmp eax, dword [ebp - 0x50]
jns 0x42d805
sub eax, dword [ebp - 0x58]
mov edx, dword [ebp - 8]
mul edx
add edi, eax
add edi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x48]
movq mm0, qword [edi]
movq mm1, qword [ebx]
movq mm2, qword [ebx + 8]
movq mm3, qword [edi + 8]
movq mm4, qword [ebx + 0x10]
movq mm5, qword [ebx + 0x18]
paddusb mm0, mm1
paddusb mm3, mm4
psubusb mm0, mm2
psubusb mm3, mm5
movq qword [edi], mm0
movq qword [edi + 8], mm3
movq mm0, qword [edi + 0x10]
movq mm1, qword [ebx + 0x20]
movq mm2, qword [ebx + 0x28]
movq mm3, qword [edi + 0x18]
movq mm4, qword [ebx + 0x30]
movq mm5, qword [ebx + 0x38]
paddusb mm0, mm1
paddusb mm3, mm4
psubusb mm0, mm2
psubusb mm3, mm5
movq qword [edi + 0x10], mm0
movq qword [edi + 0x18], mm3
add ebx, 0x40
add edi, dword [ebp - 8]
dec ecx
jne 0x42d7a7
pop ecx
add esi, dword [ebp - 0x14]
dec ecx
jne 0x42d753
emms
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8