joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c190
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10084014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push esi
push edi
test eax, eax
jne 0x1000c1ae
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000c251
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x28
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000c251
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
push str.SeSecurityPrivilege
push 0
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x1000c251
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1000c251
push ecx
mov ecx, dword [ebp - 0x18]
mov edx, str.SeDebugPrivilege
call fcn.1000c120
add esp, 4
test al, al
je 0x1000c251
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.10067dd5
mov esp, ebp
pop ebp
ret

Function at 0x1000c270
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10084014]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000c2de
movaps xmm0, xmmword [0x1007a5b0]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
mov word [ebp - 0x24], 0x21
nop dword [eax]
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x10
jb 0x1000c2b0
lea eax, [ebp - 0xc]
mov byte [ebp - 0x23], 0
push eax
lea eax, [ebp - 0x33]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x1000c2ee
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
push 0
push 0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x20]
test eax, eax
je 0x1000c2d8
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret
Function at 0x10011500
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x10084014]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
dec eax
push edi
mov edi, dword [ebp + 8]
cmp eax, 8
ja case.default.0x10011529
jmp dword [eax*4 + 0x100116b8]
push 0
lea eax, [esp + 0x10]
push eax
push 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [esp + 0x10]
push eax
push 2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [esp + 0x10]
push eax
push 4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0
push eax
push 4
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0x10071b3f
mov ecx, esi
call fcn.10005e10
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x1001161e
push 0x20
push eax
mov ecx, esi
call fcn.10007fb0
cmp dword [esi + 0x14], 0x10
jb 0x100115e5
mov esi, dword [esi]
push 0
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x18]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [esp + 0x10]
push eax
push 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret 0xc
push 0x90
push str.c:usersmonsterdocuments_visual_studio_2015projectsdreamsoftdreamsoftN3Base_N3TableBase.hpp
push 0x10071b3f
sub esp, 0x18
mov ecx, esp
push 0x13
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.ERROR____s_n_s:__d_n_n
mov byte [ecx], 0
call fcn.100027b0
lea eax, [esp + 0x38]
push eax
call fcn.1000bcb0
add esp, 0x28
lea eax, [esp + 0x14]
cmp dword [esp + 0x28], 0x10
cmovae eax, dword [esp + 0x14]
push 0
push str._ASSERTT_n
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x28]
cmp eax, 0x10
jb 0x100116a3
inc eax
push eax
push dword [esp + 0x18]
call fcn.100026b0
mov ecx, dword [esp + 0x2c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10013490
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
push 0
push 0
push 0
push 0x1000f0b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.100179e0
call fcn.10066a20
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.10066ef0
push 0x10012d70
push 0x1008672c
call fcn.10066730
call fcn.10066a80
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push 0x919fd0
call edi
test eax, eax
jne 0x10013512
mov dword [0x1008672c], 0x919fd0
call fcn.10066a20
call esi
push eax
call fcn.10066ef0
push 0x10012d70
push 0x1008672c
call fcn.100662a0
call fcn.10066a80
call fcn.10066a20
call esi
push eax
call fcn.10066ef0
push 0x10012da0
push 0x10086728
call fcn.10066730
call fcn.10066a80
mov eax, dword [sym.imp.WS2_32.dll_connect]
push 4
push eax
mov dword [0x10086728], eax
call edi
test eax, eax
jne 0x10013567
call fcn.10066a20
call esi
push eax
call fcn.10066ef0
push 0x10012da0
push 0x10086728
call fcn.100662a0
call fcn.10066a80
call fcn.10066a20
call esi
push eax
call fcn.10066ef0
push 0x10013040
push 0x10086724
call fcn.10066730
call fcn.10066a80
mov eax, dword [sym.imp.WS2_32.dll_WSAConnect]
push 4
push eax
mov dword [0x10086724], eax
call edi
test eax, eax
jne 0x100135bc
call fcn.10066a20
call esi
push eax
call fcn.10066ef0
push 0x10013040
push 0x10086724
call fcn.100662a0
call fcn.10066a80
call fcn.10066a20
call esi
push eax
call fcn.10066ef0
push 0x10013300
push 0x10086720
call fcn.10066730
call fcn.10066a80
mov eax, dword [sym.imp.WS2_32.dll_WSAStartup]
push 4
push eax
mov dword [0x10086720], eax
call edi
test eax, eax
jne 0x10013611
call fcn.10066a20
call esi
push eax
call fcn.10066ef0
push 0x10013300
push 0x10086720
call fcn.100662a0
call fcn.10066a80
call fcn.10066a20
call esi
push eax
call fcn.10066ef0
push 0x10013330
push 0x1008671c
call fcn.10066730
call fcn.10066a80
mov eax, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 4
push eax
mov dword [0x1008671c], eax
call edi
test eax, eax
jne 0x10013666
call fcn.10066a20
call esi
push eax
call fcn.10066ef0
push 0x10013330
push 0x1008671c
call fcn.100662a0
call fcn.10066a80
pop edi
pop esi
pop ecx
ret
Function at 0x10015560
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c668
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x10084014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov dword [ebp - 4], 0
push 2
mov dword [ebp - 0x150], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
lea eax, [ebp - 0x150]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1001567e
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x12c], 0
jne 0x100155e4
xor eax, eax
jmp 0x100155f9
lea eax, [ebp - 0x12c]
lea esi, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100155f0
sub eax, esi
push eax
lea eax, [ebp - 0x12c]
mov ecx, edx
push eax
call fcn.100027b0
lea ecx, [ebp - 0x28]
call fcn.10015370
mov esi, dword [ebp - 0x14]
lea ecx, [ebp + 8]
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x28]
add esp, 0x18
cmp dword [ebp + 0x1c], 0x10
cmovae ecx, dword [ebp + 8]
cmp esi, 0x10
cmovae eax, edi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10015650
test dl, dl
je 0x1001564c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10015650
add eax, 2
add ecx, 2
test dl, dl
jne 0x10015630
xor eax, eax
jmp 0x10015655
sbb eax, eax
or eax, 1
test eax, eax
je 0x100156b7
cmp esi, 0x10
jb 0x10015668
lea eax, [esi + 1]
push eax
push edi
call fcn.100026b0
lea eax, [ebp - 0x150]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x100155c1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x10015699
inc ecx
push ecx
push dword [ebp + 8]
call fcn.100026b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x148]
cmp eax, 0x10
jb 0x10015687
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100026b0
jmp 0x10015687
Function at 0x100156e0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x10084014]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1007ae90]
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x3c], 0x78424345
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0x4d495e44
mov word [ebp - 0x34], 0x48
mov cl, byte [ebp - 0x4c]
xor byte [ebp + eax - 0x4b], cl
inc eax
cmp eax, 0x18
jb 0x10015714
push ebx
mov byte [ebp - 0x30], 0x44
mov al, 0x2a
xor al, byte [ebp - 0x30]
mov bl, 0x28
mov ah, bl
mov byte [ebp - 0x2f], al
mov al, byte [ebp - 0x30]
mov dl, 0x20
mov bh, ah
mov byte [ebp - 0x21], ah
xor bl, al
mov byte [ebp - 0x26], 0
xor ah, al
mov byte [ebp - 0x33], 0
xor bh, al
mov byte [ebp - 0x2b], ah
mov dh, dl
mov byte [ebp - 0x2c], bl
xor dl, al
mov byte [ebp - 0x28], bh
xor dh, al
mov byte [ebp - 0x2d], dl
mov cl, 0x30
mov byte [ebp - 0x29], dh
xor cl, al
mov byte [ebp - 0x26], 0
mov ch, 0x6a
mov byte [ebp - 0x2e], cl
xor ch, al
mov al, byte [ebp - 0x21]
xor al, byte [ebp - 0x30]
mov byte [ebp - 0x27], al
lea eax, [ebp - 0x4b]
push eax
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x2a], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ebx
test eax, eax
jne 0x100157a3
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret
push 0
push 0x1c
lea ecx, [ebp - 0x20]
push ecx
push 0
push esi
call eax
mov ecx, dword [ebp - 0x14]
xor edx, edx
test eax, eax
pop esi
cmovne ecx, edx
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret
Function at 0x100157d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10084014]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1007a5c0]
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x24], 0x43e3f39
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0x31352238
mov word [ebp - 0x1c], 0x34
mov cl, byte [ebp - 0x34]
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 0x18
jb 0x10015804
push ebx
mov byte [ebp - 0x18], 0x16
mov al, 0x78
xor al, byte [ebp - 0x18]
mov bl, 0x7a
mov ah, bl
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x18]
mov dl, 0x72
mov bh, ah
mov byte [ebp - 9], ah
xor bl, al
mov byte [ebp - 0xe], 0
xor ah, al
mov byte [ebp - 0x1b], 0
xor bh, al
mov byte [ebp - 0x13], ah
mov dh, dl
mov byte [ebp - 0x14], bl
xor dl, al
mov byte [ebp - 0x10], bh
xor dh, al
mov byte [ebp - 0x15], dl
mov cl, 0x62
mov byte [ebp - 0x11], dh
xor cl, al
mov byte [ebp - 0xe], 0
mov ch, 0x38
mov byte [ebp - 0x16], cl
xor ch, al
mov al, byte [ebp - 9]
xor al, byte [ebp - 0x18]
mov byte [ebp - 0xf], al
lea eax, [ebp - 0x33]
push eax
lea eax, [ebp - 0x17]
mov byte [ebp - 0x12], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ebx
test eax, eax
jne 0x10015893
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret
push 0
push 4
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push 9
push esi
call eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.10067dd5
mov esp, ebp
pop ebp
ret

Function at 0x10015a20
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x10084014]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push 0
push 2
mov edi, ecx
mov dword [esp + 0x18], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10015a82
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
nop dword [eax]
cmp dword [esp + 0x18], edi
je 0x10015aa0
lea eax, [esp + 0x10]
push eax
push esi
call ebx
test eax, eax
jne 0x10015a70
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret

Function at 0x10015bf0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 1
mov dword [0x1008406c], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x1008406c], edx
inc eax
cmp eax, 0x270
jl 0x10015c01
mov dword [0x10084068], 0x270
pop ebp
ret 8
Function at 0x10015d20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea eax, [ecx + 8]
mov esi, 0x270
nop dword [eax]
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x10015d30
pop esi
ret

Function at 0x10015d70
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, ecx
mov ecx, 0xe3
push esi
push edi
lea edi, [ebx + 0x9c4]
mov edx, dword [edi + 4]
lea edi, [edi + 4]
xor edx, dword [edi - 4]
and edx, 0x7fffffff
xor edx, dword [edi - 4]
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, edx
mov dword [edi - 0x9c4], eax
sub ecx, 1
jne 0x10015d80
lea esi, [ebx + 0xd50]
mov edi, 0x18c
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
xor ecx, dword [esi - 4]
and ecx, 0x7fffffff
xor ecx, dword [esi - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi - 0xd50]
xor eax, ecx
mov dword [esi - 0x9c4], eax
sub edi, 1
jne 0x10015dc2
mov ecx, dword [ebx + 0x1380]
xor ecx, dword [ebx + 4]
and ecx, 0x7fffffff
xor ecx, dword [ebx + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx + 0x9c0], eax
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret
Function at 0x10016960
Capabilities:
Encode data using xor
Encrypt data using rc4 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push 0
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
push 0x10086764
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x10016a40
push 0x10086760
push 0
push 0
push 0x8004
push dword [0x10086764]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10016a40
movaps xmm0, xmmword [0x1007aa10]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x2a722423
movaps xmm0, xmmword [0x1007b220]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x20763002
movaps xmm0, xmmword [0x1007b1a0]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x63323817
mov word [ebp - 4], 0x3f
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x100169e4
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], 0
push eax
push dword [0x10086760]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10016a40
push 0x1008675c
push 0x800000
push dword [0x10086760]
push 0x6801
push dword [0x10086764]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x10016a40
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x10086758], eax
call fcn.10066a20
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.10066ef0
push 0x100167d0
push 0x10086754
call fcn.10066730
call fcn.10066a80
push 4
push 0x450890
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10016aaf
mov dword [0x10086754], 0x450890
call fcn.10066a20
call esi
push eax
call fcn.10066ef0
push 0x100167d0
push 0x10086754
call fcn.100662a0
call fcn.10066a80
call fcn.10066a20
call esi
push eax
call fcn.10066ef0
push 0x10016870
push 0x10086750
call fcn.10066730
call fcn.10066a80
push 4
push 0x4504c0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10016b0c
mov dword [0x10086750], 0x4504c0
call fcn.10066a20
call esi
push eax
call fcn.10066ef0
push 0x10016870
push 0x10086750
call fcn.100662a0
call fcn.10066a80
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10016fe0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x10084014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x110]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x1008ac14
cmp dword [0x1008ac28], 0x10
cmovae eax, dword [0x1008ac14]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.Option.Ini
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp byte [ebp - 0x110], 0
mov dword [ebp - 0x114], 0xf
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x128], 0
jne 0x10017066
xor eax, eax
jmp 0x10017079
lea eax, [ebp - 0x110]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10017070
sub eax, edx
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x128]
call fcn.100027b0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea eax, [ebp - 0x110]
push eax
push 1
push str.LootWeapon
push str.PetLooting
call esi
movzx ecx, al
cmp al, 1
lea eax, [ebp - 0x110]
mov edi, 1
push eax
push edi
push str.LootArmor
cmova ecx, edi
push str.PetLooting
mov byte [0x1008aca0], cl
call esi
movzx ecx, al
cmp al, 1
lea eax, [ebp - 0x110]
push eax
push edi
push str.LootAccessory
cmova ecx, edi
push str.PetLooting
mov byte [0x1008aca1], cl
call esi
movzx ecx, al
cmp al, 1
lea eax, [ebp - 0x110]
push eax
push edi
push str.LootNormal
cmova ecx, edi
push str.PetLooting
mov byte [0x1008aca2], cl
call esi
movzx ecx, al
cmp al, 1
lea eax, [ebp - 0x110]
push eax
push edi
push str.LootMagic
cmova ecx, edi
push str.PetLooting
mov byte [0x1008aca3], cl
call esi
movzx ecx, al
cmp al, 1
lea eax, [ebp - 0x110]
push eax
push edi
push str.LootRare
cmova ecx, edi
push str.PetLooting
mov byte [0x1008aca4], cl
call esi
movzx ecx, al
cmp al, 1
lea eax, [ebp - 0x110]
push eax
push edi
push str.LootUpgrade
cmova ecx, edi
push str.PetLooting
mov byte [0x1008aca5], cl
call esi
movzx ecx, al
cmp al, 1
lea eax, [ebp - 0x110]
push eax
cmova ecx, edi
push edi
mov byte [0x1008aca6], cl
push str.LootUnique
push str.PetLooting
call esi
movzx ecx, al
cmp al, 1
lea eax, [ebp - 0x110]
push eax
push edi
push str.LootCraft
cmova ecx, edi
push str.PetLooting
mov byte [0x1008aca7], cl
call esi
cmp al, 1
movzx ecx, al
mov eax, dword [ebp - 0x114]
cmova ecx, edi
mov byte [0x1008aca8], cl
cmp eax, 0x10
jb 0x100171e2
inc eax
push eax
push dword [ebp - 0x128]
call fcn.100026b0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10067dd5
mov esp, ebp
pop ebp
ret
Function at 0x10017320
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x100bd9ad], 0
jne 0x10017368
push 0x100bd9c0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp eax, 1
jne 0x10017358
push 0x100bd9c8
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov al, 1
mov byte [0x100bd9ac], al
mov byte [0x100bd9ad], al
jmp 0x1001736d
xor al, al
mov byte [0x100bd9ad], 1
mov byte [0x100bd9ac], al
jmp 0x1001736d
mov al, byte [0x100bd9ac]
test al, al
je 0x100173b4
push 0x100bd9c0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [0x100bd9c4]
mov ecx, dword [0x100bd9c0]
call fcn.1006b040
mov edx, dword [0x100bd9cc]
mov ecx, dword [0x100bd9c8]
movsd qword [ebp - 8], xmm0
call fcn.1006b040
movsd xmm1, qword [ebp - 8]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WINMM.dll_timeGetTime]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1007abc0]
cvtpd2ps xmm0, xmm0
mov esp, ebp
pop ebp
ret
Function at 0x10017810
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x10084014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x1fc
lea eax, [ebp - 0x200]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x200], 0x1fc
lea eax, [ebp - 0x200]
mov dword [ebp - 0x1fc], esi
mov dword [ebp - 0x1f8], 1
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov byte [0x1008676c], 0
mov byte [0x100866ff], 0
pop esi
call fcn.10067dd5
mov esp, ebp
pop ebp
ret