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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov dword [esp + 0x7c], ecx
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x80], ecx
inc ecx
je 0x10077425
mov edi, dword [edx]
lea ebx, [edi + 1]
mov esi, ebx
shr esi, 3
lea eax, [esi*8]
sub eax, esi
cmp edi, 8
mov esi, edx
cmovb eax, edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x1c], esi
mov edx, eax
shr edx, 1
cmp ecx, edx
jbe 0x100769c9
inc eax
cmp ecx, eax
cmova eax, ecx
test eax, eax
je 0x10076ebd
cmp eax, 8
jae 0x10076eed
xor ecx, ecx
cmp eax, 3
seta cl
lea eax, [ecx*4 + 4]
jmp 0x10076f28
movdqa xmm0, xmmword [0x103e65b0]
xor eax, eax
xor edx, edx
jmp 0x100769f9
mov edx, dword [esi + 4]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [edx + eax]
por xmm1, xmm0
movdqa xmmword [edx + eax], xmm1
mov dl, 1
mov eax, ecx
test dl, 1
je 0x10076a20
lea ecx, [eax + 0xf]
mov edx, eax
inc ecx
add edx, 0xf
cmovb ecx, ebx
cmp edx, ebx
cmovae ecx, ebx
add eax, 0xf
jb 0x10076a29
cmp eax, ebx
jb 0x100769e0
jmp 0x10076a29
cmp eax, ebx
jae 0x10076a29
lea ecx, [eax + 1]
jmp 0x100769e0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
inc ecx
cmp ecx, 0x10
jae 0x10076a44
push ecx
push eax
add eax, 0x10
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
jmp 0x10076a58
movq xmm0, qword [eax]
movq xmm1, qword [eax + 8]
movq qword [eax + ecx + 8], xmm1
movq qword [eax + ecx], xmm0
mov ecx, dword [esi]
cmp ecx, 0xffffffff
je 0x10076ed6
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
jmp 0x10076e43
mov edi, dword [esp + 0x28]
lea ecx, [edx + edx*2]
lea ecx, [eax + ecx*8 - 0x18]
mov dword [esp + 0x20], ecx
mov eax, dword [edi]
mov ebx, dword [edi + 4]
mov edx, dword [edi + 8]
mov edi, dword [edi + 0xc]
mov esi, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edi
xor eax, 0x6e657261
xor esi, 0x70736575
mov dword [esp + 0x48], esi
mov esi, ebx
xor ebx, 0x6c796765
xor esi, 0x736f6d65
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], eax
mov eax, edx
mov dword [esp + 0x54], ebx
xor edx, 0x79746573
xor eax, 0x6e646f6d
mov dword [esp + 0x58], eax
mov eax, edi
xor edi, 0x74656462
xor eax, 0x646f7261
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
lea edx, [esp + 0x68]
mov dword [esp + 0x64], edi
mov dword [edx + 8], 0
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 0xc], 0
lea edx, [esp + 0x38]
call fcn.10062170
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
shl edx, 0x18
mov dword [esp + 0x18], esi
mov ebx, eax
or edx, dword [esp + 0x6c]
mov dword [esp + 0x10], edx
xor ecx, edx
mov edx, dword [esp + 0x60]
xor edx, esi
mov esi, dword [esp + 0x48]
add esi, eax
mov dword [esp + 8], esi
mov esi, dword [esp + 0x4c]
adc esi, edi
shld ebx, edi, 0xd
shld edi, eax, 0xd
mov eax, dword [esp + 0x50]
mov dword [esp], esi
xor edi, esi
mov esi, dword [esp + 0x54]
xor ebx, dword [esp + 8]
add eax, edx
mov dword [esp + 4], eax
mov eax, edx
adc esi, ecx
shrd edx, ecx, 0x10
shld eax, ecx, 0x10
mov dword [esp + 0xc], esi
xor edx, esi
mov esi, dword [esp + 8]
xor eax, dword [esp + 4]
add dword [esp], eax
mov ecx, eax
adc esi, edx
shld ecx, edx, 0x15
shrd eax, edx, 0xb
mov edx, ebx
xor eax, esi
xor ecx, dword [esp]
add dword [esp + 4], ebx
adc dword [esp + 0xc], edi
shld edx, edi, 0x11
shrd ebx, edi, 0xf
mov edi, esi
mov esi, dword [esp + 0x18]
xor edx, dword [esp + 4]
xor edi, dword [esp + 0x10]
xor dword [esp], esi
mov esi, dword [esp + 0xc]
xor ebx, esi
xor esi, 0xff
add dword [esp], edx
adc edi, ebx
mov dword [esp + 8], edi
mov edi, edx
shrd edx, ebx, 0x13
shld edi, ebx, 0xd
mov ebx, esi
xor edx, dword [esp + 8]
mov esi, ecx
xor edi, dword [esp]
add ebx, ecx
adc dword [esp + 4], eax
shld esi, eax, 0x10
shrd ecx, eax, 0x10
xor esi, ebx
xor ecx, dword [esp + 4]
add dword [esp + 8], esi
mov eax, esi
adc dword [esp], ecx
shld eax, ecx, 0x15
shrd esi, ecx, 0xb
mov ecx, edi
xor esi, dword [esp]
xor eax, dword [esp + 8]
add ebx, edi
adc dword [esp + 4], edx
shld ecx, edx, 0x11
shrd edi, edx, 0xf
xor ecx, ebx
xor edi, dword [esp + 4]
add dword [esp + 8], ecx
mov edx, ecx
adc dword [esp], edi
shld edx, edi, 0xd
shrd ecx, edi, 0x13
mov edi, eax
xor ecx, dword [esp]
xor edx, dword [esp + 8]
add dword [esp + 4], eax
adc ebx, esi
shld edi, esi, 0x10
shrd eax, esi, 0x10
xor edi, dword [esp + 4]
mov esi, ebx
xor eax, ebx
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 8]
add dword [esp], edi
mov esi, edi
adc ebx, eax
shrd edi, eax, 0xb
shld esi, eax, 0x15
mov eax, edx
mov dword [esp + 8], ebx
xor edi, ebx
mov ebx, dword [esp + 4]
xor esi, dword [esp]
add ebx, edx
adc dword [esp + 0xc], ecx
shld eax, ecx, 0x11
shrd edx, ecx, 0xf
mov ecx, dword [esp]
mov dword [esp + 4], ebx
xor edx, dword [esp + 0xc]
xor eax, ebx
mov ebx, eax
add ecx, eax
adc dword [esp + 8], edx
shld ebx, edx, 0xd
shrd eax, edx, 0x13
mov edx, dword [esp + 4]
xor ebx, ecx
xor eax, dword [esp + 8]
add dword [esp + 0xc], esi
mov ecx, esi
adc edx, edi
shrd esi, edi, 0x10
shld ecx, edi, 0x10
mov edi, dword [esp + 0xc]
xor esi, edx
xor ecx, edi
shld ecx, esi, 0x15
add edi, ebx
adc edx, eax
shrd eax, ebx, 0xf
xor eax, ecx
mov ecx, dword [esp + 0x1c]
xor eax, edx
xor eax, edi
xor edi, edi
mov ebx, eax
mov dword [esp], eax
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
nop word cs:[eax + eax]
nop
mov esi, ebx
and esi, edx
movdqu xmm0, xmmword [ecx + esi]
lea ebx, [edi + esi + 0x10]
add edi, 0x10
pmovmskb eax, xmm0
test ax, ax
je 0x10076d10
bsf ax, ax
movzx eax, ax
add esi, eax
and esi, edx
cmp byte [ecx + esi], 0
jns 0x10076e00
mov eax, edx
mov edi, dword [esp + 0x14]
and eax, dword [esp]
mov ebx, edi
sub ebx, eax
mov dword [esp + 4], ebx
mov ebx, esi
sub ebx, eax
xor ebx, dword [esp + 4]
and ebx, edx
cmp ebx, 0x10
jb 0x10076e20
lea eax, [esi - 0x10]
mov ebx, dword [esp]
mov edi, dword [esp + 0x1c]
and eax, edx
mov dl, byte [ecx + esi]
shr ebx, 0x19
cmp dl, 0xff
mov byte [ecx + esi], bl
mov byte [eax + ecx + 0x10], bl
je 0x10076e5b
mov eax, dword [edi + 4]
neg esi
mov edx, dword [esp + 0x20]
lea ecx, [esi + esi*2]
movsd xmm0, qword [eax + ecx*8 - 8]
movsd qword [esp + 0x48], xmm0
movsd xmm0, qword [eax + ecx*8 - 0x18]
movsd xmm1, qword [eax + ecx*8 - 0x10]
movsd qword [esp + 0x40], xmm1
movsd qword [esp + 0x38], xmm0
movsd xmm0, qword [edx + 0x10]
movsd qword [eax + ecx*8 - 8], xmm0
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
movsd qword [eax + ecx*8 - 0x10], xmm1
movsd qword [eax + ecx*8 - 0x18], xmm0
movsd xmm0, qword [esp + 0x48]
movsd qword [edx + 0x10], xmm0
movq xmm0, qword [esp + 0x38]
movq xmm1, qword [esp + 0x40]
movq qword [edx + 8], xmm1
movq qword [edx], xmm0
mov edx, dword [esp + 0x34]
mov eax, dword [edi + 4]
jmp 0x10076a80
movdqa xmm0, xmmword [ecx]
pmovmskb eax, xmm0
bsf ax, ax
movzx esi, ax
jmp 0x10076d3e
mov ebx, dword [esp]
lea eax, [edi - 0x10]
mov esi, dword [esp + 0x1c]
and edx, eax
shr ebx, 0x19
mov byte [ecx + edi], bl
mov byte [edx + ecx + 0x10], bl
mov ecx, dword [esp + 0x24]
mov edx, edi
cmp edx, ecx
lea edx, [edx + 1]
je 0x10076ea4
mov eax, dword [esi + 4]
cmp byte [eax + edx], 0x80
jne 0x10076e3c
mov dword [esp + 0x14], edx
neg edx
mov dword [esp + 0x34], edx
jmp 0x10076a80
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 4]
neg esi
lea eax, [edx - 0x10]
and eax, dword [edi]
mov byte [ecx + edx], 0xff
mov byte [eax + ecx + 0x10], 0xff
lea ecx, [esi + esi*2]
mov esi, dword [esp + 0x20]
mov eax, dword [edi + 4]
movsd xmm0, qword [esi + 0x10]
movsd qword [eax + ecx*8 - 8], xmm0
movq xmm0, qword [esi]
movq xmm1, qword [esi + 8]
mov esi, edi
movq qword [eax + ecx*8 - 0x10], xmm1
movq qword [eax + ecx*8 - 0x18], xmm0
mov ecx, dword [esp + 0x24]
jmp 0x10076e3c
mov ecx, dword [esi]
lea edx, [ecx + 1]
shr edx, 3
lea eax, [edx*8]
sub eax, edx
cmp ecx, 8
cmovb eax, ecx
jmp 0x10076ed8
mov eax, esi
xor esi, esi
mov dword [esp + 0x2c], 0x104005c0
mov dword [esp + 0x78], 0
jmp 0x10076fca
xor eax, eax
sub eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x7c]
mov dword [esi + 8], eax
mov dword [ecx], 0
jmp 0x1007741d
mov ecx, 8
mul ecx
jo 0x10077425
mov esi, eax
mov ecx, 0x24924925
mul ecx
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
mov edx, 0xffffffff
shr eax, 2
dec eax
bsr ecx, eax
mov eax, 1
xor ecx, 0x1f
shr edx, cl
inc edx
cmp esi, 0xd
cmova eax, edx
mov ecx, 0x18
mov dword [esp], eax
mov dword [esp + 0x30], ebx
mul ecx
jo 0x10077425
lea edi, [eax + 0xf]
and edi, 0xfffffff0
sub edi, eax
add edi, eax
jb 0x10077425
mov eax, dword [esp]
lea esi, [eax + 0x10]
mov eax, edi
add eax, esi
jb 0x10077425
cmp eax, 0xfffffff1
jae 0x10077425
mov dword [esp + 4], eax
lea ebx, [eax + 0x10]
call sub.KERNEL32.dll_GetProcessHeap
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1007743e
mov ecx, eax
and ecx, 0xfffffff0
mov dword [ecx + 0xc], eax
lea eax, [ecx + edi + 0x10]
mov edi, dword [esp]
lea ecx, [edi - 1]
shr edi, 3
lea edx, [edi*8]
sub edx, edi
cmp ecx, 8
cmovb edx, ecx
mov dword [esp + 0x78], edx
push esi
mov esi, ecx
push 0xff
mov dword [esp + 0x34], eax
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
mov edi, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edi, dword [edi]
mov dword [esp + 0x88], esi
movdqa xmm0, xmmword [ecx]
add ebx, ecx
lea edx, [ecx + 0x10]
mov dword [esp + 0x84], edi
mov dword [esp + 0x30], ebx
pmovmskb eax, xmm0
not eax
test ax, ax
je 0x10077010
nop dword [eax]
mov dword [esp + 0x14], edx
lea edx, [eax - 1]
mov dword [esp + 0x18], ecx
and edx, eax
jmp 0x10077044
cmp edx, ebx
jae 0x100773c8
movdqa xmm0, xmmword [edx]
add ecx, 0xfffffe80
add edx, 0x10
pmovmskb eax, xmm0
cmp ax, 0xffff
je 0x10077010
mov esi, 0xfffffffe
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
sub esi, eax
not eax
mov edx, eax
and edx, esi
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x84]
bsf ax, ax
movzx eax, ax
neg eax
lea eax, [eax + eax*2]
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
mov edi, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebx
xor ecx, 0x6e657261
xor edi, 0x70736575
mov dword [esp + 0x48], edi
mov edi, edx
xor edx, 0x6c796765
xor edi, 0x736f6d65
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ecx
mov ecx, esi
mov dword [esp + 0x54], edx
xor esi, 0x79746573
lea edx, [esp + 0x68]
xor ecx, 0x6e646f6d
mov dword [esp + 0x58], ecx
mov ecx, ebx
xor ebx, 0x74656462
xor ecx, 0x646f7261
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], ebx
mov dword [edx + 8], 0
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 0xc], 0
lea edx, [esp + 0x38]
lea ecx, [ecx + eax*8 - 0x18]
mov dword [esp + 0x24], ecx
call fcn.10062170
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x4c]
shl eax, 0x18
mov dword [esp + 0x20], ecx
or eax, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
xor esi, eax
mov eax, dword [esp + 0x60]
xor eax, ecx
mov ecx, dword [esp + 0x48]
add ecx, edx
mov dword [esp + 8], ecx
mov ecx, edx
mov edx, dword [esp + 0x5c]
mov edi, ecx
adc ebx, edx
shld edi, edx, 0xd
shld edx, ecx, 0xd
mov ecx, dword [esp + 8]
mov dword [esp], ebx
xor edx, ebx
mov ebx, dword [esp + 0x54]
xor edi, ecx
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x50]
add edi, eax
mov dword [esp + 4], edi
mov edi, eax
adc ebx, esi
shrd eax, esi, 0x10
shld edi, esi, 0x10
xor eax, ebx
xor edi, dword [esp + 4]
add dword [esp], edi
mov esi, edi
adc ecx, eax
shrd edi, eax, 0xb
shld esi, eax, 0x15
mov dword [esp + 8], ecx
xor edi, ecx
mov ecx, dword [esp + 0x34]
xor esi, dword [esp]
add dword [esp + 4], ecx
mov eax, ecx
adc ebx, edx
shld eax, edx, 0x11
shrd ecx, edx, 0xf
mov edx, dword [esp + 8]
mov dword [esp + 0x10], eax
mov eax, ecx
mov ecx, dword [esp + 0x20]
xor edx, dword [esp + 0xc]
xor dword [esp], ecx
mov ecx, eax
mov eax, dword [esp + 0x10]
xor ecx, ebx
xor ebx, 0xff
mov dword [esp + 0xc], ebx
xor eax, dword [esp + 4]
add dword [esp], eax
mov ebx, eax
adc edx, ecx
shrd eax, ecx, 0x13
shld ebx, ecx, 0xd
mov ecx, esi
xor eax, edx
mov dword [esp + 8], edx
mov edx, dword [esp + 4]
xor ebx, dword [esp]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
add eax, esi
adc edx, edi
shld ecx, edi, 0x10
shrd esi, edi, 0x10
mov dword [esp + 0xc], eax
xor ecx, eax
mov eax, dword [esp + 8]
xor esi, edx
mov dword [esp + 4], edx
mov edx, dword [esp]
mov edi, ecx
add eax, ecx
adc edx, esi
shld edi, esi, 0x15
shrd ecx, esi, 0xb
mov dword [esp + 8], eax
mov esi, ebx
xor edi, eax
xor ecx, edx
mov dword [esp], edx
add dword [esp + 0xc], ebx
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x10]
adc edx, eax
shrd ebx, eax, 0xf
shld esi, eax, 0x11
mov eax, dword [esp + 8]
mov dword [esp + 4], edx
xor ebx, edx
mov edx, dword [esp + 0xc]
xor esi, edx
add eax, esi
mov dword [esp + 0x10], esi
adc dword [esp], ebx
shrd esi, ebx, 0x13
shld dword [esp + 0x10], ebx, 0xd
mov ebx, dword [esp + 4]
xor dword [esp + 0x10], eax
mov dword [esp + 8], eax
mov eax, edi
xor esi, dword [esp]
add ebx, edi
adc edx, ecx
shrd edi, ecx, 0x10
shld eax, ecx, 0x10
mov dword [esp + 0xc], edx
xor edi, edx
mov edx, dword [esp]
xor eax, ebx
mov ecx, eax
add edx, eax
adc dword [esp + 8], edi
shld ecx, edi, 0x15
shrd eax, edi, 0xb
mov edi, dword [esp + 0x10]
mov dword [esp], edx
xor ecx, edx
xor eax, dword [esp + 8]
add ebx, edi
mov edx, edi
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xc]
adc ebx, esi
shld edx, esi, 0x11
shrd edi, esi, 0xf
xor edx, dword [esp + 4]
mov esi, edi
mov edi, ebx
xor esi, ebx
mov ebx, esi
add dword [esp], edx
adc dword [esp + 8], esi
mov esi, edx
shrd edx, ebx, 0x13
shld esi, ebx, 0xd
xor edx, dword [esp + 8]
mov ebx, ecx
xor esi, dword [esp]
add edi, ecx
adc dword [esp + 4], eax
shld ebx, eax, 0x10
shrd ecx, eax, 0x10
mov eax, dword [esp + 4]
xor ebx, edi
xor ecx, eax
shld ebx, ecx, 0x15
add edi, esi
adc eax, edx
shrd edx, esi, 0xf
xor ecx, ecx
xor edx, ebx
mov ebx, dword [esp + 0x88]
xor edx, eax
xor edx, edi
mov edi, dword [esp + 0x2c]
mov dword [esp], edx
nop word cs:[eax + eax]
nop dword [eax + eax]
mov eax, edx
and eax, ebx
movdqu xmm0, xmmword [edi + eax]
lea edx, [ecx + eax + 0x10]
add ecx, 0x10
pmovmskb esi, xmm0
test si, si
je 0x10077330
bsf cx, si
mov edx, edi
mov esi, ebx
movzx ecx, cx
add eax, ecx
and eax, ebx
cmp byte [edi + eax], 0
jns 0x100773b7
mov ebx, dword [esp]
lea ecx, [eax - 0x10]
and ecx, esi
shr ebx, 0x19
mov byte [edx + eax], bl
mov byte [ecx + edx + 0x10], bl
mov ecx, dword [esp + 0x24]
neg eax
mov ebx, dword [esp + 0x30]
lea eax, [eax + eax*2]
movsd xmm0, qword [ecx + 0x10]
movsd qword [edx + eax*8 - 8], xmm0
movq xmm0, qword [ecx]
movq xmm1, qword [ecx + 8]
mov ecx, dword [esp + 0x18]
movq qword [edx + eax*8 - 0x10], xmm1
movq qword [edx + eax*8 - 0x18], xmm0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
test ax, ax
jne 0x10077000
jmp 0x10077010
movdqa xmm0, xmmword [edx]
pmovmskb eax, xmm0
bsf ax, ax
movzx eax, ax
jmp 0x1007735e
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov ecx, esi
mov ebx, dword [esp + 0x80]
mov eax, dword [edi]
mov esi, dword [edi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov edx, dword [esp + 0x78]
sub edx, ebx
test eax, eax
mov dword [edi + 8], edx
mov edx, dword [esp + 0x7c]
mov dword [edi + 0xc], ebx
mov dword [edx], 0
je 0x1007741d
inc eax
mov ecx, 0x18
mul ecx
add eax, 0xf
and eax, 0xfffffff0
sub esi, eax
call sub.KERNEL32.dll_GetProcessHeap
push dword [esi - 4]
push 0
push eax
call sub.KERNEL32.dll_HeapFree
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x10400527
mov edx, 0x1c
push 0x104004b4
call fcn.100082b0
add esp, 4
ud2
mov ecx, dword [esp + 4]
mov edx, 0x10
call fcn.10006540
ud2