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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
mov esi, dword [ebp + 8]
cmp byte [ebp + 0xc], 0
mov dword [esp + 0x2c], ecx
je 0x100760dd
mov edi, dword [edx]
mov ebx, edx
test edi, edi
je 0x100760dd
mov ecx, dword [edi + 8]
call fcn.100f4af0
mov eax, dword [0x10551f14]
test eax, eax
jne 0x10076949
xor ecx, ecx
lea eax, [edi + 8]
mov dword [esp + 0xb0], ebx
mov dword [esp + 0x90], eax
mov al, byte [edi + 0xc]
test al, al
jne 0x10076bc0
movzx eax, byte [esi]
xor ebx, ebx
mov dword [esp + 0xb4], ecx
test eax, eax
je 0x10076192
cmp eax, 1
je 0x10076184
call sub.KERNEL32.dll_GetProcessHeap
push 0x10
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
mov dword [esp + 4], eax
je 0x10076baf
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xc]
lea edx, [eax + 8]
push dword [eax + 4]
push dword [eax]
push edx
push dword [esp + 0x10]
call dword [ecx]
mov ecx, dword [esp + 0x14]
add esp, 0x10
mov eax, 2
jmp 0x10076194
movzx eax, byte [esi]
xor ebx, ebx
test eax, eax
je 0x1007612e
cmp eax, 1
je 0x10076120
call sub.KERNEL32.dll_GetProcessHeap
push 0x10
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10076baf
mov edi, eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xc]
lea edx, [eax + 8]
push dword [eax + 4]
push dword [eax]
push edx
push edi
call dword [ecx]
add esp, 0x10
mov eax, 2
jmp 0x10076130
movzx ebx, byte [esi + 1]
mov eax, 1
shl ebx, 8
jmp 0x10076130
xor eax, eax
or ebx, eax
lea eax, [esp + 0x38]
lea edx, [esi + 0x10]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
mov ecx, dword [esi + 0x14]
push dword [esi + 0xc]
push dword [esi + 8]
push edx
push eax
call dword [ecx]
add esp, 0x10
movq xmm0, qword [esp + 0x40]
mov eax, dword [esp + 0x2c]
movq xmm2, qword [esp + 0x30]
movq xmm1, qword [esp + 0x38]
movq qword [eax + 0x10], xmm0
movq qword [eax + 8], xmm1
movq qword [eax], xmm2
mov dword [eax + 0x18], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx ebx, byte [esi + 1]
mov eax, 1
shl ebx, 8
jmp 0x10076194
xor eax, eax
or ebx, eax
lea eax, [edi + 0x10]
lea edx, [esi + 0x10]
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xac], eax
lea eax, [esp + 0xc0]
mov ecx, dword [esi + 0x14]
push dword [esi + 0xc]
push dword [esi + 8]
push edx
push eax
call dword [ecx]
add esp, 0x10
movsd xmm0, qword [esp + 0xc8]
movq xmm2, qword [esp + 0xb8]
movsd xmm1, qword [esp + 0xc0]
mov dword [esp + 0x14], edi
movsd qword [esp + 0x80], xmm0
movsd qword [esp + 0x78], xmm1
movq qword [esp + 0x70], xmm2
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
mov esi, dword [edi + 0x1c]
mov edi, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], esi
xor eax, 0x6e657261
xor edi, 0x70736575
mov dword [esp + 0x40], edi
mov edi, ecx
xor ecx, 0x6c796765
xor edi, 0x736f6d65
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], eax
mov eax, edx
mov dword [esp + 0x4c], ecx
mov ecx, esi
xor edx, 0x79746573
xor esi, 0x74656462
xor eax, 0x6e646f6d
xor ecx, 0x646f7261
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], edx
lea ecx, [esp + 0x70]
lea edx, [esp + 0x30]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
call fcn.10062430
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x54]
pcmpeqd xmm2, xmm2
mov dword [esp + 0x88], 0x10
shl edx, 0x18
mov dword [esp + 0x28], esi
or edx, dword [esp + 0x64]
mov dword [esp + 0x1c], edx
xor ecx, edx
mov edx, dword [esp + 0x58]
xor edx, esi
add eax, edi
mov esi, edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
adc eax, ebx
shld esi, ebx, 0xd
shld ebx, edi, 0xd
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
xor ebx, eax
mov eax, dword [esp + 0x48]
xor esi, dword [esp + 4]
add eax, edx
mov dword [esp + 0xc], eax
mov eax, edx
adc edi, ecx
shrd edx, ecx, 0x10
shld eax, ecx, 0x10
mov dword [esp + 8], edi
xor edx, edi
mov edi, dword [esp + 4]
xor eax, dword [esp + 0xc]
add dword [esp + 0x10], eax
mov ecx, eax
adc edi, edx
shrd eax, edx, 0xb
shld ecx, edx, 0x15
mov edx, esi
mov dword [esp + 4], edi
xor eax, edi
mov edi, dword [esp + 0x10]
xor ecx, edi
add dword [esp + 0xc], esi
adc dword [esp + 8], ebx
shld edx, ebx, 0x11
shrd esi, ebx, 0xf
mov ebx, dword [esp + 4]
xor edi, dword [esp + 0x28]
xor edx, dword [esp + 0xc]
xor ebx, dword [esp + 0x1c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 8]
xor esi, ebx
xor ebx, 0xff
add edi, edx
mov dword [esp + 8], ebx
mov ebx, dword [esp + 4]
mov dword [esp + 0x10], edi
mov edi, edx
adc ebx, esi
shld edi, esi, 0xd
shrd edx, esi, 0x13
mov esi, ecx
mov dword [esp + 4], ebx
xor edx, ebx
xor edi, dword [esp + 0x10]
add dword [esp + 8], ecx
mov ebx, dword [esp + 0xc]
adc ebx, eax
shld esi, eax, 0x10
shrd ecx, eax, 0x10
xor esi, dword [esp + 8]
xor ecx, ebx
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x10]
add dword [esp + 4], esi
mov eax, esi
adc ebx, ecx
shld eax, ecx, 0x15
shrd esi, ecx, 0xb
mov ecx, edi
mov dword [esp + 0x10], ebx
xor esi, ebx
xor eax, dword [esp + 4]
add dword [esp + 8], edi
mov ebx, dword [esp + 0xc]
adc ebx, edx
shld ecx, edx, 0x11
shrd edi, edx, 0xf
mov edx, dword [esp + 4]
xor ecx, dword [esp + 8]
xor edi, ebx
mov dword [esp + 0xc], ebx
add edx, ecx
mov ebx, ecx
adc dword [esp + 0x10], edi
shld ebx, edi, 0xd
shrd ecx, edi, 0x13
mov dword [esp + 4], edx
mov edi, eax
xor ebx, edx
xor ecx, dword [esp + 0x10]
add dword [esp + 0xc], eax
mov edx, dword [esp + 8]
adc edx, esi
shrd eax, esi, 0x10
shld edi, esi, 0x10
mov dword [esp + 8], edx
xor eax, edx
mov edx, dword [esp + 0xc]
xor edi, edx
add dword [esp + 0x10], edi
mov esi, edi
adc dword [esp + 4], eax
shld esi, eax, 0x15
shrd edi, eax, 0xb
mov eax, dword [esp + 8]
xor edi, dword [esp + 4]
xor esi, dword [esp + 0x10]
add edx, ebx
mov dword [esp + 0xc], edx
mov edx, ebx
adc eax, ecx
shld edx, ecx, 0x11
shrd ebx, ecx, 0xf
mov ecx, dword [esp + 0x10]
xor edx, dword [esp + 0xc]
xor ebx, eax
mov dword [esp + 8], eax
add ecx, edx
mov eax, edx
adc dword [esp + 4], ebx
shld eax, ebx, 0xd
shrd edx, ebx, 0x13
mov ebx, dword [esp + 0xc]
xor eax, ecx
xor edx, dword [esp + 4]
add dword [esp + 8], esi
mov ecx, esi
adc ebx, edi
shrd esi, edi, 0x10
shld ecx, edi, 0x10
mov edi, dword [esp + 8]
xor esi, ebx
xor ecx, edi
shld ecx, esi, 0x15
mov esi, dword [esp + 0x14]
add edi, eax
adc ebx, edx
shrd edx, eax, 0xf
xor edx, ecx
xor edx, ebx
mov bl, byte [esp + 0x71]
mov eax, dword [esi + 0x20]
xor edx, edi
mov ecx, edx
mov dword [esp + 0x94], edx
shr ecx, 0x19
movd xmm0, ecx
mov dword [esp + 0xa8], ecx
mov byte [esp + 0x1b], bl
mov edi, eax
mov dword [esp + 4], eax
punpcklbw xmm0, xmm0
and edi, edx
pshuflw xmm0, xmm0, 0xe0
lea edx, [edi + 0x10]
mov dword [esp + 8], edi
pshufd xmm0, xmm0, 0
and edx, eax
mov eax, dword [esi + 0x24]
movdqa xmm3, xmm0
mov dword [esp + 0x8c], edx
mov dl, byte [esp + 0x70]
movdqu xmm1, xmmword [eax + edi]
lea edi, [esi + 0x20]
mov esi, dword [esp + 0x74]
mov dword [esp + 0xa0], edi
mov edi, dword [esp + 0x78]
mov byte [esp + 0x10], dl
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x7c]
pcmpeqb xmm3, xmm1
pmovmskb edx, xmm3
mov dword [esp + 0xa4], edi
mov dword [esp + 0xc], esi
test dx, dx
je 0x10076590
mov ecx, dword [esp + 4]
mov edi, dword [esp + 8]
mov esi, edx
mov dword [esp + 8], edi
lea edx, [esi - 1]
and edx, esi
bsf si, si
movzx esi, si
add esi, edi
and esi, ecx
mov cl, byte [esp + 0x10]
neg esi
lea ebx, [esi + esi*2]
lea esi, [eax + ebx*8 - 0x18]
cmp cl, 1
je 0x1007665f
cmp cl, 2
je 0x100765e5
test cl, cl
je 0x10076ba3
mov bl, byte [esi]
jmp 0x10076680
mov ecx, dword [esp + 4]
mov edi, dword [esp + 0x8c]
pcmpeqb xmm1, xmm2
pmovmskb edx, xmm1
test dx, dx
jne 0x10076700
mov esi, dword [esp + 0x88]
movdqu xmm1, xmmword [eax + edi]
movdqa xmm3, xmm0
lea edx, [edi + esi + 0x10]
pcmpeqb xmm3, xmm1
add esi, 0x10
and edx, ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], edx
pmovmskb edx, xmm3
test dx, dx
je 0x10076594
jmp 0x10076547
mov dword [esp + 0x20], ebx
mov bl, byte [esi]
cmp bl, 2
jne 0x10076680
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 4]
mov ecx, dword [esp + 0x20]
mov edi, dword [eax + ecx*8 - 0x14]
mov dword [esp + 0x1c], esi
cmp esi, dword [edi + 4]
jne 0x1007653a
mov ecx, dword [esp + 0x24]
mov edi, dword [edi]
xor ebx, ebx
mov ecx, dword [ecx]
mov dword [esp + 0x28], ecx
nop
cmp dword [esp + 0x1c], ebx
je 0x10076695
mov ecx, dword [esp + 0x28]
mov esi, edx
mov dh, byte [edi + ebx]
movzx ecx, byte [ecx + ebx]
inc ebx
mov dl, cl
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
mov cl, dh
add cl, 0xbf
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, dh
cmp dl, cl
mov edx, esi
je 0x10076620
jmp 0x1007653a
mov dword [esp + 0x20], ebx
mov bl, byte [esi]
cmp bl, 1
jne 0x10076680
cmp byte [esp + 0x1b], 1
mov bl, byte [esi + 1]
jne 0x1007668d
test bl, bl
je 0x1007653a
jmp 0x10076695
test bl, bl
jne 0x1007653a
jmp 0x10076ba3
test bl, bl
jne 0x1007653a
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x20]
cmp ecx, dword [eax + esi*8 - 0xc]
jne 0x1007653a
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0xa4]
xor edi, edi
mov dword [esp + 0x1c], edx
mov esi, dword [eax + ecx*8 - 0x10]
nop dword [eax]
cmp dword [esp + 0xc], edi
je 0x100769cf
movzx ecx, byte [ebx + edi]
movzx edx, byte [esi + edi]
inc edi
mov ch, cl
add ch, 0xbf
cmp ch, 0x1a
setb ch
shl ch, 5
or ch, cl
mov cl, dl
add cl, 0xbf
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, dl
cmp ch, cl
je 0x100766c0
mov edx, dword [esp + 0x1c]
jmp 0x1007653a
mov ecx, dword [esp + 0xac]
movsd xmm0, qword [esp + 0x80]
movq xmm2, qword [esp + 0x70]
movq xmm1, qword [esp + 0x78]
mov edi, dword [esp + 0x94]
xor esi, esi
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 4]
movsd qword [esp + 0x40], xmm0
movq qword [esp + 0x38], xmm1
movq qword [esp + 0x30], xmm2
nop word cs:[eax + eax]
nop dword [eax]
mov edx, edi
and edx, ecx
movdqu xmm0, xmmword [eax + edx]
lea edi, [esi + edx + 0x10]
add esi, 0x10
pmovmskb ebx, xmm0
test bx, bx
je 0x10076750
bsf cx, bx
movzx ecx, cx
add edx, ecx
and edx, dword [esp + 4]
mov cl, byte [eax + edx]
test cl, cl
jns 0x10076b78
mov esi, dword [esp + 0x14]
test cl, 1
je 0x10076794
cmp dword [esi + 0x28], 0
je 0x10076958
and cl, 1
xor edi, edi
neg cl
movsx ecx, cl
add dword [esi + 0x28], ecx
lea ecx, [edx - 0x10]
mov ebx, dword [esp + 0xa8]
and ecx, dword [esp + 4]
mov byte [eax + edx], bl
mov byte [ecx + eax + 0x10], bl
neg edx
movsd xmm0, qword [esp + 0x40]
lea ecx, [edx + edx*2]
movsd qword [eax + ecx*8 - 8], xmm0
movq xmm0, qword [esp + 0x30]
movq xmm1, qword [esp + 0x38]
movq qword [eax + ecx*8 - 0x10], xmm1
movq qword [eax + ecx*8 - 0x18], xmm0
inc dword [esi + 0x2c]
mov esi, dword [ebp + 8]
movzx eax, byte [esi]
test eax, eax
je 0x10076834
cmp eax, 1
je 0x10076826
call sub.KERNEL32.dll_GetProcessHeap
push 0x10
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10076baf
mov ebx, eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xc]
lea edx, [eax + 8]
push dword [eax + 4]
push dword [eax]
push edx
push ebx
call dword [ecx]
add esp, 0x10
mov eax, 2
jmp 0x10076836
movzx edi, byte [esi + 1]
mov eax, 1
shl edi, 8
jmp 0x10076836
xor eax, eax
or edi, eax
lea eax, [esp + 0x38]
lea edx, [esi + 0x10]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebx
mov ecx, dword [esi + 0x14]
push dword [esi + 0xc]
push dword [esi + 8]
push edx
push eax
call dword [ecx]
add esp, 0x10
mov edi, dword [esp + 0xb0]
mov ecx, dword [edi]
mov eax, dword [ecx + 4]
mov esi, dword [esp + 0x14]
cmp eax, 0xffffffff
jne 0x10076878
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x10076870
lea edx, [eax + 1]
lock cmpxchg dword [ecx + 4], edx
je 0x1007688b
mov ecx, dword [edi]
cmp eax, 0xffffffff
jne 0x10076878
jmp 0x10076870
mov eax, dword [edi]
movsd xmm0, qword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
movsd xmm2, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x38]
movsd qword [ecx + 0x10], xmm0
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm2
mov dword [ecx + 0x18], eax
cmp byte [esp + 0xb4], 0
jne 0x100768cb
mov eax, dword [0x10551f14]
test eax, eax
jne 0x10076b4e
mov eax, dword [esp + 0x90]
mov esi, dword [eax]
mov eax, dword [0x10551f24]
test eax, eax
je 0x100768f5
cmp eax, 0x100f3390
jne 0x1007691a
mov eax, dword [esi]
mov byte [eax + 0x18], 0
push eax
call sub.KERNEL32.dll_LeaveCriticalSection
jmp 0x1007617c
mov ecx, 0x103a03b9
mov edx, 0x17
call fcn.100f2fc0
test eax, eax
mov eax, 0x100f3390
cmovne eax, edx
mov dword [0x10551f24], eax
cmp eax, 0x100f3390
je 0x100768e4
mov eax, dword [0x10551f3c]
test eax, eax
jne 0x10076941
mov ecx, str.ReleaseSRWLockExclusive
mov edx, 0x17
call fcn.100f2fc0
test eax, eax
mov eax, 0x100f51d0
cmovne eax, edx
mov dword [0x10551f3c], eax
push esi
call eax
jmp 0x1007617c
call fcn.100faaa0
mov ecx, eax
xor cl, 1
jmp 0x10076063
mov edx, dword [esp + 0xa0]
mov byte [esp + 8], cl
lea eax, [esp + 0x98]
lea ecx, [esp + 0xd0]
push eax
call fcn.10076c10
add esp, 4
mov ebx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x94]
xor esi, esi
nop dword [eax]
mov edx, ecx
and edx, ebx
movdqu xmm0, xmmword [eax + edx]
lea ecx, [esi + edx + 0x10]
add esi, 0x10
pmovmskb edi, xmm0
test di, di
je 0x10076990
bsf cx, di
mov dword [esp + 4], ebx
movzx ecx, cx
add edx, ecx
and edx, ebx
cmp byte [eax + edx], 0
jns 0x10076b8f
mov esi, dword [esp + 0x14]
mov cl, byte [esp + 8]
jmp 0x10076794
cmp byte [esp + 0x10], 2
jb 0x100769fa
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 0xc]
lea ecx, [esi + 8]
push dword [esi + 4]
push dword [esi]
push ecx
call dword [eax + 4]
add esp, 0xc
call sub.KERNEL32.dll_GetProcessHeap
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x80]
push dword [esp + 0xc]
push ebx
push ecx
call dword [eax + 4]
add esp, 0xc
mov eax, dword [0x10551ebc]
mov esi, dword [esp + 0x14]
cmp eax, 5
jb 0x10076a27
mov eax, dword [0x10551ec0]
mov eax, dword [0x10411958]
dec eax
cmp eax, 5
jb 0x10076b34
mov ecx, dword [0x104112c0]
test ecx, ecx
je 0x10076b34
mov al, 1
cmp ecx, 1
je 0x10076a56
cmp ecx, 2
jne 0x10076b64
mov al, 2
movzx edx, al
mov ecx, 0x104112c0
call fcn.10109ff0
test al, al
je 0x10076b34
mov ecx, dword [0x104112c4]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x10076bf2
mov edx, dword [ecx + 0x2c]
mov esi, dword [ecx + 0x34]
mov edi, dword [ecx + 0x38]
mov dword [esp + 0x70], 0
mov dword [esp + 0x30], 0x10399634
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], edi
lea edi, [ebp + 8]
lea edx, [esp + 0x98]
mov dword [esp + 0x98], edi
mov dword [esp + 0x40], edx
lea edi, [esp + 0x70]
lea edx, [esp + 0x30]
mov dword [esp + 0x9c], 0x10077710
mov dword [esp + 0x44], 1
mov dword [esp + 0xb8], edi
mov dword [esp + 0xbc], edx
lea edi, [esp + 0xb8]
lea edx, [ecx + 0x2c]
mov dword [esp + 0xc0], 0x103986f0
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], 1
mov dword [esp + 0xd8], edx
lea edx, [esp + 0xd0]
call fcn.1010a850
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov byte [eax], 3
cmp byte [esp + 0xb4], 0
jne 0x100768cb
jmp 0x100768be
call fcn.100faaa0
test al, al
jne 0x100768cb
mov byte [esi + 0xc], 1
jmp 0x100768cb
mov ecx, 0x104112c0
call fcn.10109f40
test al, al
jne 0x10076a56
jmp 0x10076b34
movdqa xmm0, xmmword [eax]
pmovmskb ecx, xmm0
bsf cx, cx
movzx edx, cx
mov cl, byte [eax + edx]
jmp 0x10076781
movdqa xmm0, xmmword [eax]
pmovmskb ecx, xmm0
bsf cx, cx
movzx edx, cx
jmp 0x100769c2
mov ecx, 0x1037fbf8
call fcn.10032c50
ud2
mov ecx, 0x10
mov edx, 4
call fcn.100067d0
ud2
mov eax, dword [esp + 0x90]
mov edx, 0x2b
mov dword [esp + 0x30], eax
mov byte [esp + 0x34], cl
lea eax, [esp + 0x30]
mov ecx, 0x103c93eb
push 0x10399624
push 0x10399614
push eax
call fcn.1000aa20
add esp, 0xc
ud2
mov ecx, 0x103986bd
mov edx, 0x22
push 0x1039963c
call fcn.1000a9c0
add esp, 4
ud2