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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100d6084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push esi
push edi
test eax, eax
jne 0x1000fb1e
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 0x1000fbc1
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 0x1000fbc1
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 0x1000fbc1
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 0x1000fbc1
push ecx
mov ecx, dword [ebp - 0x18]
mov edx, str.SeDebugPrivilege
call fcn.1000fa90
add esp, 4
test al, al
je 0x1000fbc1
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.1006e175
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.1006e175
mov esp, ebp
pop ebp
ret

Function at 0x1000fbe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x100d6084]
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 0x1000fc4e
movaps xmm0, xmmword [0x100c91b0]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
mov word [ebp - 0x24], 0x6b
nop dword [eax]
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x10
jb 0x1000fc20
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 0x1000fc5e
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006e175
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 0x1000fc48
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.1006e175
mov esp, ebp
pop ebp
ret
Function at 0x10014df0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x100d6084]
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.0x10014e19
jmp dword [eax*4 + 0x10014f9c]
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.1006e175
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.1006e175
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.1006e175
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 0x100bfa5f
mov ecx, esi
call fcn.10005f60
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x10014f0e
push 0x20
push eax
mov ecx, esi
call fcn.10009f50
cmp dword [esi + 0x14], 0x10
jb 0x10014ed5
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.1006e175
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.1006e175
mov esp, ebp
pop ebp
ret 0xc
push 0x90
push str.c:usersmonster_source_reposdreamsoft_v1.924dreamsoftN3Base_N3TableBase.hpp
push 0x100bfa5f
sub esp, 0x18
mov ecx, esp
push str.ERROR____s_n_s:__d_n_n
call fcn.10002940
lea eax, [esp + 0x38]
push eax
call fcn.1000f610
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 0x10014f84
inc eax
lea ecx, [esp + 0x14]
push eax
push dword [esp + 0x18]
call fcn.10002720
mov ecx, dword [esp + 0x2c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.1006e175
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10016d50
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
push 0
push 0
push 0
push 0x100129f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.1001b130
call fcn.1006cdc0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.1006d290
push 0x10016610
push 0x100db3ec
call fcn.1006cad0
call fcn.1006ce20
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push 0x919fd0
call edi
test eax, eax
jne 0x10016dd2
mov dword [0x100db3ec], 0x919fd0
call fcn.1006cdc0
call esi
push eax
call fcn.1006d290
push 0x10016610
push 0x100db3ec
call fcn.1006c640
call fcn.1006ce20
call fcn.1006cdc0
call esi
push eax
call fcn.1006d290
push 0x10016640
push 0x100db3e8
call fcn.1006cad0
call fcn.1006ce20
mov eax, dword [sym.imp.WS2_32.dll_connect]
push 4
push eax
mov dword [0x100db3e8], eax
call edi
test eax, eax
jne 0x10016e27
call fcn.1006cdc0
call esi
push eax
call fcn.1006d290
push 0x10016640
push 0x100db3e8
call fcn.1006c640
call fcn.1006ce20
call fcn.1006cdc0
call esi
push eax
call fcn.1006d290
push 0x100168f0
push 0x100db3e4
call fcn.1006cad0
call fcn.1006ce20
mov eax, dword [sym.imp.WS2_32.dll_WSAConnect]
push 4
push eax
mov dword [0x100db3e4], eax
call edi
test eax, eax
jne 0x10016e7c
call fcn.1006cdc0
call esi
push eax
call fcn.1006d290
push 0x100168f0
push 0x100db3e4
call fcn.1006c640
call fcn.1006ce20
call fcn.1006cdc0
call esi
push eax
call fcn.1006d290
push 0x10016bc0
push 0x100db3e0
call fcn.1006cad0
call fcn.1006ce20
mov eax, dword [sym.imp.WS2_32.dll_WSAStartup]
push 4
push eax
mov dword [0x100db3e0], eax
call edi
test eax, eax
jne 0x10016ed1
call fcn.1006cdc0
call esi
push eax
call fcn.1006d290
push 0x10016bc0
push 0x100db3e0
call fcn.1006c640
call fcn.1006ce20
call fcn.1006cdc0
call esi
push eax
call fcn.1006d290
push 0x10016bf0
push 0x100db3dc
call fcn.1006cad0
call fcn.1006ce20
mov eax, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 4
push eax
mov dword [0x100db3dc], eax
call edi
test eax, eax
jne 0x10016f26
call fcn.1006cdc0
call esi
push eax
call fcn.1006d290
push 0x10016bf0
push 0x100db3dc
call fcn.1006c640
call fcn.1006ce20
pop edi
pop esi
pop ecx
ret
Function at 0x10018dd0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ab278
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x100d6084]
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 0x10018ef1
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 0x10018e54
xor eax, eax
jmp 0x10018e69
lea eax, [ebp - 0x12c]
lea esi, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10018e60
sub eax, esi
push eax
lea eax, [ebp - 0x12c]
mov ecx, edx
push eax
call fcn.10002840
lea ecx, [ebp - 0x28]
call fcn.10018bf0
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 0x10018ec0
test dl, dl
je 0x10018ebc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10018ec0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10018ea0
xor eax, eax
jmp 0x10018ec5
sbb eax, eax
or eax, 1
test eax, eax
je 0x10018f2d
cmp esi, 0x10
jb 0x10018edb
lea eax, [esi + 1]
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.10002720
lea eax, [ebp - 0x150]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x10018e31
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x10018f0f
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.10002720
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.1006e175
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 0x10018efa
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10002720
jmp 0x10018efa
Function at 0x10018f60
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x100d6084]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x100c8dd0]
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x3c], 0x6f555452
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0x5a5e4953
mov word [ebp - 0x34], 0x5f
mov cl, byte [ebp - 0x4c]
xor byte [ebp + eax - 0x4b], cl
inc eax
cmp eax, 0x18
jb 0x10018f94
push ebx
mov byte [ebp - 0x30], 0xe
mov al, 0x60
xor al, byte [ebp - 0x30]
mov bl, 0x62
mov ah, bl
mov byte [ebp - 0x2f], al
mov al, byte [ebp - 0x30]
mov dl, 0x6a
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, 0x7a
mov byte [ebp - 0x29], dh
xor cl, al
mov byte [ebp - 0x26], 0
mov ch, 0x20
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 0x10019023
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006e175
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.1006e175
mov esp, ebp
pop ebp
ret
Function at 0x10019050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100d6084]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x100c90f0]
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x24], 0x457f7e78
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0x70746379
mov word [ebp - 0x1c], 0x75
mov cl, byte [ebp - 0x34]
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 0x18
jb 0x10019084
xor al, al
mov byte [ebp - 0x18], 0x6e
push ebx
mov byte [ebp - 0xe], al
mov bl, 2
xor al, byte [ebp - 0x18]
mov ah, bl
mov byte [ebp - 0x17], al
mov dl, 0xa
mov al, byte [ebp - 0x18]
mov bh, ah
mov byte [ebp - 9], ah
xor bl, al
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, 0x1a
mov byte [ebp - 0x11], dh
xor cl, al
mov byte [ebp - 0xe], 0
mov ch, 0x40
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 0x10019112
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006e175
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.1006e175
mov esp, ebp
pop ebp
ret

Function at 0x100192b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x100d6084]
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 0x10019312
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
nop dword [eax]
cmp dword [esp + 0x18], edi
je 0x10019330
lea eax, [esp + 0x10]
push eax
push esi
call ebx
test eax, eax
jne 0x10019300
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.1006e175
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.1006e175
mov esp, ebp
pop ebp
ret

Function at 0x10019480
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 [0x100d6bb4], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x100d6bb4], edx
inc eax
cmp eax, 0x270
jl 0x10019491
mov dword [0x100d6bb0], 0x270
pop ebp
ret 8
Function at 0x100195b0
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 0x100195c0
pop esi
ret

Function at 0x10019600
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 0x10019610
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 0x10019652
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 0x1001a070
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 0x100db424
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1001a150
push 0x100db420
push 0
push 0
push 0x8004
push dword [0x100db424]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1001a150
movaps xmm0, xmmword [str.t7O]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x1c441215
movaps xmm0, xmmword [0x100c8c30]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x16400634
movaps xmm0, xmmword [0x100c8f30]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x55040e21
mov word [ebp - 4], 9
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x1001a0f4
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], 0
push eax
push dword [0x100db420]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1001a150
push 0x100db41c
push 0x800000
push dword [0x100db420]
push 0x6801
push dword [0x100db424]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x1001a150
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 [0x100db418], eax
call fcn.1006cdc0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.1006d290
push 0x10019ed0
push 0x100db414
call fcn.1006cad0
call fcn.1006ce20
push 4
push 0x450890
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001a1bf
mov dword [0x100db414], 0x450890
call fcn.1006cdc0
call esi
push eax
call fcn.1006d290
push 0x10019ed0
push 0x100db414
call fcn.1006c640
call fcn.1006ce20
call fcn.1006cdc0
call esi
push eax
call fcn.1006d290
push 0x10019f70
push 0x100db410
call fcn.1006cad0
call fcn.1006ce20
push 4
push 0x4504c0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001a21c
mov dword [0x100db410], 0x4504c0
call fcn.1006cdc0
call esi
push eax
call fcn.1006d290
push 0x10019f70
push 0x100db410
call fcn.1006c640
call fcn.1006ce20
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001a700
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x100d6084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.10086a40
add esp, 0xc
mov eax, 0x100df8d0
cmp dword [0x100df8e4], 0x10
cmovae eax, dword [0x100df8d0]
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 0x1001a786
xor eax, eax
jmp 0x1001a799
lea eax, [ebp - 0x110]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001a790
sub eax, edx
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x128]
call fcn.10002840
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 [0x100df958], 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 [0x100df959], 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 [0x100df95a], 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 [0x100df95b], 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 [0x100df95c], 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 [0x100df95d], cl
call esi
movzx ecx, al
cmp al, 1
lea eax, [ebp - 0x110]
push eax
cmova ecx, edi
push edi
mov byte [0x100df95e], 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 [0x100df95f], cl
call esi
cmp al, 1
movzx ecx, al
mov eax, dword [ebp - 0x114]
cmova ecx, edi
mov byte [0x100df960], cl
cmp eax, 0x10
jb 0x1001a908
inc eax
lea ecx, [ebp - 0x128]
push eax
push dword [ebp - 0x128]
call fcn.10002720
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1006e175
mov esp, ebp
pop ebp
ret
Function at 0x1001aa50
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x10112689], 0
jne 0x1001aa98
push 0x101126b0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp eax, 1
jne 0x1001aa88
push 0x101126b8
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov al, 1
mov byte [0x10112688], al
mov byte [0x10112689], al
jmp 0x1001aa9d
xor al, al
mov byte [0x10112689], 1
mov byte [0x10112688], al
jmp 0x1001aa9d
mov al, byte [0x10112688]
test al, al
je 0x1001aae4
push 0x101126b0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [0x101126b4]
mov ecx, dword [0x101126b0]
call fcn.100a94b0
mov edx, dword [0x101126bc]
mov ecx, dword [0x101126b8]
movsd qword [ebp - 8], xmm0
call fcn.100a94b0
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 + 0x100c8be0]
cvtpd2ps xmm0, xmm0
mov esp, ebp
pop ebp
ret
Function at 0x1001af60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x100d6084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x1fc
lea eax, [ebp - 0x200]
mov esi, ecx
push 0
push eax
call fcn.10086a40
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 [0x100db42c], 0
mov byte [0x100db3bf], 0
pop esi
call fcn.1006e175
mov esp, ebp
pop ebp
ret