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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x2a0
mov eax, dword [ebp + 8]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x68], edx
movzx ecx, word [eax + 0x38]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0x44]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 0x48]
mov dword [esp + 0x64], ecx
mov ecx, dword [eax + 0x5c]
mov eax, dword [eax + 0x68]
mov dword [esp + 0x60], ecx
mov ecx, dword [edx]
mov dword [esp + 0x5c], eax
mov esi, dword [ecx]
cmp dword [esi + 0xc], 0
je 0x1017671e
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
push dword [esp + 0xc]
push dword [esi + 0x1c]
push dword [esi + 0x18]
call fcn.1016c9d0
add esp, 0xc
mov ecx, eax
mov edi, dword [esi]
mov edx, dword [esi + 4]
pcmpeqd xmm1, xmm1
mov dword [esp + 8], 0
shr ecx, 0x19
movd xmm0, ecx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
lea esi, [edi - 0xe8]
mov dword [esp + 0x10], edi
pshufd xmm0, xmm0, 0
and eax, edx
movdqa xmm3, xmm0
movdqu xmm2, xmmword [edi + eax]
pcmpeqb xmm3, xmm2
pmovmskb edi, xmm3
test di, di
je 0x10176630
lea ebx, [edi - 1]
tzcnt ecx, edi
add ecx, eax
and ebx, edi
mov edi, dword [esp + 0xc]
and ecx, edx
neg ecx
imul ecx, ecx, 0xe8
cmp dword [esi + ecx], edi
mov edi, ebx
jne 0x10176600
jmp 0x10176655
pcmpeqb xmm2, xmm1
pmovmskb ecx, xmm2
test ecx, ecx
jne 0x1017671e
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0x10]
lea eax, [eax + ecx + 0x10]
add ecx, 0x10
mov dword [esp + 8], ecx
jmp 0x101765ed
mov eax, dword [esp + 0x10]
lea esi, [eax + ecx - 0xe0]
mov eax, dword [eax + ecx - 0xc]
test eax, eax
je 0x101766cf
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x94], 0
lea ecx, [esp + 0x90]
lea edx, [esp + 0x2c]
push ecx
push ecx
push ecx
push edx
push eax
call sub.KERNEL32.dll_GetProcessTimes
push 0
push 0x989680
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.101b9908
add esp, 0x10
add eax, 0x49ef6f00
adc edx, 0xfffffffd
xor eax, dword [esi + 0x70]
xor edx, dword [esi + 0x74]
or edx, eax
jne 0x1017671e
movss xmm0, dword [esp + 0x60]
movss xmm1, dword [esp + 0x5c]
mov ebx, dword [esp + 0x68]
movlhps xmm1, xmm0
movups xmmword [esi + 0x40], xmm1
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
movzx edx, byte [ecx + 2]
movzx edi, word [ecx]
shl edx, 0x10
or edx, edi
mov edi, dword [ebx + 0xc]
mov ecx, esi
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
call fcn.10174300
add esp, 0x10
mov eax, dword [esp + 0x74]
mov dword [eax], 2
jmp 0x10177238
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x10176aab
mov eax, dword [esp + 0x24]
mov word [esp + 0x90], 0
mov dword [esp + 0x94], ecx
and eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x98], eax
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x90]
call fcn.1016f1f0
xor eax, eax
cmp dword [esp + 0x64], 0
setne al
cmp dword [esp + 0xc], 0
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x68]
mov edi, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
je 0x101768c5
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x10]
movzx esi, byte [edi + 2]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x78], eax
mov eax, dword [ecx]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x24], eax
movzx eax, word [edi]
mov dword [esp + 8], eax
push dword [esp + 0xc]
push 0
push 0x410
call sub.KERNEL32.dll_OpenProcess
test eax, eax
jne 0x101767e2
push dword [esp + 0xc]
push 0
push 0x1000
call sub.KERNEL32.dll_OpenProcess
test eax, eax
je 0x101768c5
mov dword [esp + 0x8c], edi
lea ebx, [esp + 0x90]
push 0x20a
push 0
push ebx
mov edi, eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x105
push ebx
push 0
mov dword [esp + 0x2c], edi
push edi
call sub.psapi.dll_GetModuleFileNameExW
mov edi, dword [esp + 8]
shl esi, 0x10
lea ebx, [esp + 0x30]
xor eax, eax
or edi, esi
mov dword [esp + 8], edi
nop word [eax + eax]
cmp word [esp + eax*2 + 0x90], 0
je 0x10176b16
inc eax
cmp eax, 0x105
jne 0x10176830
lea eax, [esp + 0x2c]
push 0x105
lea ecx, [esp + 0x94]
push ecx
push eax
call fcn.1014d9e0
add esp, 0xc
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push dword [esp + 0x34]
push esi
push eax
call fcn.1015a1e0
add esp, 0xc
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 4], eax
jne 0x10176b52
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test eax, eax
mov dword [esp], eax
je 0x10176ea0
setns al
js 0x10177294
mov byte [esp + 4], al
mov eax, dword [0x103564a0]
movzx eax, byte [eax]
mov eax, dword [0x1035648c]
mov eax, dword [eax]
test eax, eax
je 0x10176ed5
mov edi, ecx
jmp 0x10176eec
mov eax, dword [esp + 0x54]
movq xmm0, qword [esp + 0x4c]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0xf8], 0
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x138], eax
movq qword [esp + 0x130], xmm0
mov dword [esp + 0x13c], 4
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0xa0], 1
mov dword [esp + 0xa4], 0
mov dword [esp + 0xac], 1
mov dword [esp + 0xa8], 0
mov dword [esp + 0x154], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x158], 0
mov dword [esp + 0x148], 4
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0xb0], 1
mov dword [esp + 0xb4], 0
mov dword [esp + 0xbc], 1
mov dword [esp + 0xb8], 0
mov dword [esp + 0xc0], 1
mov dword [esp + 0xc4], 0
mov dword [esp + 0xcc], 1
mov dword [esp + 0xc8], 0
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], 0
mov edx, dword [esp + 0x70]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 1
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
jmp 0x10177198
test eax, eax
je 0x10176db1
cmp eax, 4
jne 0x10176e05
mov eax, dword [0x103564a0]
mov esi, dword [0x1035648c]
movzx eax, byte [eax]
mov eax, dword [esi]
test eax, eax
jne 0x10176adf
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x10177255
mov dword [esi], eax
push 6
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10177255
mov word [eax + 4], 0x6d65
mov dword [eax], 0x74737953
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 6
mov dword [esp + 0x54], 6
jmp 0x10176763
lea ecx, [esp + 0x2c]
push eax
lea eax, [esp + 0x94]
push eax
push ecx
call fcn.1014d9e0
add esp, 0xc
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push dword [esp + 0x34]
push esi
push eax
call fcn.1015a1e0
add esp, 0xc
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 4], eax
je 0x10176e66
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov dword [esp], eax
cmp dword [esp + 0x30], 0
je 0x10176b73
mov eax, dword [0x1035648c]
push esi
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
test edi, edi
mov dword [esp + 0x44], edi
je 0x10176bcc
setns bl
js 0x1017724e
mov eax, dword [0x103564a0]
mov esi, dword [0x1035648c]
movzx eax, byte [eax]
mov eax, dword [esi]
test eax, eax
jne 0x10176ba7
call sub.KERNEL32.dll_GetProcessHeap
mov edi, dword [esp + 0x44]
test eax, eax
je 0x10176bba
mov dword [esi], eax
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov edi, dword [esp + 0x44]
mov esi, eax
test eax, eax
jne 0x10176bd1
movzx eax, bl
push edi
push eax
call fcn.1001a7e0
add esp, 8
jmp 0x10177299
mov esi, 1
push edi
push dword [esp + 8]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
push edi
mov dword [esp + 0x70], esi
push esi
call fcn.1014fe50
add esp, 8
cmp edi, edx
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], 0
mov dword [esp + 0x14], 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x94], 0
cmovb edx, edi
test eax, eax
cmove edx, edi
mov dword [esp + 0x88], edx
lea eax, [esp + 0x90]
lea ecx, [esp + 0x3c]
push eax
push eax
push eax
push ecx
push dword [esp + 0x30]
call sub.KERNEL32.dll_GetProcessTimes
push 0
push 0x989680
push dword [esp + 0x48]
push dword [esp + 0x48]
call fcn.101b9908
add esp, 0x10
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov ecx, eax
mov dword [esp + 0x58], 0
add ecx, 0x49ef6f00
adc edx, 0xfffffffd
xor ebx, ebx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x80], edx
cmp esi, ecx
mov eax, edi
sbb eax, edx
mov eax, edx
cmovb ecx, ebx
cmovb eax, ebx
sub esi, ecx
mov ecx, dword [esp + 8]
sbb edi, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edi
and ecx, 0xffffff
cmp ecx, 0x10000
jb 0x10176f3a
mov dword [esp + 0x48], 0
lea eax, [esp + 0x48]
push eax
push 8
push dword [esp + 0x28]
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x10176f3a
mov eax, dword [esp + 0x48]
test eax, eax
je 0x10176f3a
mov dword [esp + 0x3c], 0
lea ebx, [esp + 0x3c]
push ebx
push 0
push 0
push 1
mov dword [esp + 0x18], eax
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x10176d39
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x10176f31
mov edi, dword [esp + 0x3c]
call sub.KERNEL32.dll_GetProcessHeap
push edi
push 8
push eax
call sub.KERNEL32.dll_HeapAlloc
mov edi, eax
test eax, eax
je 0x10176f31
push ebx
push dword [esp + 0x40]
push edi
push 1
push dword [esp + 0x18]
call sub.advapi32.dll_GetTokenInformation
test eax, eax
je 0x10176f23
mov edx, dword [edi]
lea ecx, [esp + 0x90]
call fcn.10174680
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov esi, dword [esp + 0x98]
mov dword [esp + 0x58], eax
call sub.KERNEL32.dll_GetProcessHeap
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
push dword [esp + 8]
call sub.KERNEL32.dll_CloseHandle
jmp 0x10176f3a
mov eax, dword [0x103564a0]
mov esi, dword [0x1035648c]
movzx eax, byte [eax]
mov eax, dword [esi]
test eax, eax
jne 0x10176dd4
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x10177259
mov dword [esi], eax
push 4
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10177259
mov dword [eax], 0x656c6449
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 4
mov dword [esp + 0x54], 4
jmp 0x10176763
lea eax, [esp + 0x14]
mov dword [esp + 0x90], 0x1034db00
mov dword [esp + 0x94], 1
mov dword [esp + 0xa0], 0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], 0x10178a30
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 1
lea eax, [esp + 0x90]
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.1001ac00
add esp, 8
jmp 0x10176763
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test eax, eax
mov dword [esp], eax
je 0x10176e99
setns al
js 0x1017728d
mov byte [esp + 4], al
mov eax, dword [0x103564a0]
movzx eax, byte [eax]
mov eax, dword [0x1035648c]
mov eax, dword [eax]
test eax, eax
je 0x10176ea7
mov edi, ecx
jmp 0x10176ebe
mov eax, 1
jmp 0x10176ed3
mov eax, 1
jmp 0x10176f01
mov edi, ecx
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x10177267
mov ecx, dword [0x1035648c]
mov dword [ecx], eax
push dword [esp]
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
mov ecx, edi
je 0x10177267
jmp 0x10176f01
mov edi, ecx
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x1017727a
mov ecx, dword [0x1035648c]
mov dword [ecx], eax
push dword [esp]
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
mov ecx, edi
je 0x1017727a
mov edi, dword [esp]
push edi
push ecx
mov dword [esp + 0xc], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp dword [esp + 0x30], 0
jne 0x10176b64
jmp 0x10176b73
call sub.KERNEL32.dll_GetProcessHeap
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
push dword [esp + 8]
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [0x103564a0]
mov edi, dword [0x1035648c]
movzx eax, byte [eax]
mov eax, dword [edi]
test eax, eax
jne 0x10176f5d
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x10177240
mov dword [edi], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10177240
mov ecx, dword [esp + 0x20]
mov dword [eax], 1
mov dword [eax + 4], 1
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x8c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x54]
movsd xmm0, qword [esp + 0x4c]
mov dword [esp + 0x138], ecx
mov ecx, dword [esp + 0x1c]
movsd qword [esp + 0x130], xmm0
movsd xmm0, qword [esp + 0x14]
mov dword [esp + 0x144], ecx
mov ecx, dword [esp + 0x34]
movsd qword [esp + 0x13c], xmm0
movq xmm0, qword [esp + 0x2c]
mov dword [esp + 0x150], ecx
movzx ecx, word [esp + 0x48]
movq qword [esp + 0x148], xmm0
mov word [esp + 0xad], cx
movzx ecx, byte [esp + 0x4a]
mov byte [esp + 0xaf], cl
movzx ecx, word [esp + 0x3c]
mov word [esp + 0xbd], cx
movzx ecx, byte [esp + 0x3e]
mov byte [esp + 0xbf], cl
mov ecx, dword [esp + 4]
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xa8], edx
mov byte [esp + 0xac], 1
mov dword [esp + 0x154], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x158], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x15c], ebx
mov dword [esp + 0x160], esi
mov dword [esp + 0xb0], 1
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov byte [esp + 0xbc], 1
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0xc4], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0xc8], ecx
mov ecx, 1
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x98], 1
mov dword [esp + 0x164], eax
mov dword [esp + 0x104], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10c], edx
mov dword [esp + 0x108], ecx
mov dword [esp + 0x168], 0
mov byte [esp + 0x16c], 1
mov dword [esp + 0x114], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x128], 0
movzx edx, byte [edi + 2]
movzx eax, word [edi]
shl edx, 0x10
or edx, eax
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 8]
lea esi, [esp + 0x90]
mov ecx, esi
push dword [ebx + 4]
push dword [ebx]
push dword [eax + 4]
push dword [eax]
call fcn.10174300
add esp, 0x10
push 0xe0
push esi
push dword [esp + 0x7c]
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0xc
push 4
call fcn.1001a7e0
add esp, 8
jmp 0x10177299
call fcn.1001a7a0
jmp 0x10177299
push 6
jmp 0x1017725b
push 4
push 1
call fcn.1001a7e0
add esp, 8
ud2
movzx eax, byte [esp + 4]
push dword [esp]
push eax
call fcn.1001a7e0
add esp, 8
jmp 0x10177299
movzx eax, byte [esp + 4]
push dword [esp]
push eax
call fcn.1001a7e0
add esp, 8
jmp 0x10177299
call fcn.1001a7a0
jmp 0x10177299
call fcn.1001a7a0
ud2