joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007440
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x10007472
jl 0x10007465
test ecx, ecx
jne 0x10007472
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x1000754f
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x2c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
je 0x100074a2
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x100074a4
xor eax, eax
cdq
mov dword [esp + 0x1c], edx
mov esi, eax
test edx, edx
jl 0x100074f8
jg 0x100074b5
test esi, esi
je 0x100074f8
mov eax, dword [esp + 0x10]
cmp eax, edx
jg 0x100074c9
jl 0x100074c3
cmp ecx, esi
jae 0x100074c9
mov esi, ecx
mov dword [esp + 0x1c], eax
push esi
push dword [esp + 0x1c]
push edi
call fcn.10087600
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
sub ecx, esi
mov eax, dword [eax]
sbb edx, dword [esp + 0x1c]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x14]
jmp 0x1000751c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x10007538
mov ecx, dword [esp + 0xc]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
lea eax, [ebx + 0x2c]
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
test edx, edx
jg 0x10007487
jl 0x10007538
test ecx, ecx
jne 0x10007487
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x1000758d
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x1000758d
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push dword [esp + 0x14]
call fcn.10087600
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [esp + 0x18], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x100075f7
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x100075b3
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x100075e2
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.1008b242
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x100075f7
cmp edi, eax
ja 0x100075c0
test edi, edi
je 0x100075f7
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.1008b242
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100099f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a8cc0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100c90c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.100859a3
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.10081ed7
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.10009990
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10014cc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x100c90c0]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
cmp eax, 9
ja case.0x10014ce8.0
jmp dword [eax*4 + 0x10014ea0]
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.10085995
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.10085995
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 0
push 0x100b68a3
mov ecx, esi
call fcn.10005f40
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x10014dde
push ecx
push eax
mov ecx, esi
call fcn.100154e0
cmp dword [esi + 0x14], 0xf
jbe 0x10014d7f
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.10085995
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.10085995
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.10085995
mov esp, ebp
pop ebp
ret 0xc
push 0x90
push str.C:UsersMONSTERDesktopDreamSoft_v1924DreamSoftN3BaseN3TableBase.hpp
push 0x100b68a3
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x13
movups xmmword [ecx], xmm0
push str.ERROR____s_n_s:__d_n_n
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10002620
lea eax, [esp + 0x38]
push eax
call fcn.10005dd0
add esp, 0x28
lea eax, [esp + 0x14]
cmp dword [esp + 0x28], 0xf
cmova eax, dword [esp + 0x14]
push 0
push str._ASSERTT_n
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x28]
cmp ecx, 0xf
jbe 0x10014e84
mov edx, dword [esp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10014e7a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014e99
push ecx
push edx
call fcn.100859f6
add esp, 8
mov ecx, dword [esp + 0x2c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.10085995
mov esp, ebp
pop ebp
ret 0xc
call fcn.1008ac0f
nop
dec ebp
add dword [eax], edx
out dx, eax
dec esp
add dword [eax], edx
out dx, eax
dec esp
add dword [eax], edx
adc eax, 0x1510014d
dec ebp
add dword [eax], edx
cmpsd dword [esi], dword es:[edi]
dec ebp
add dword [eax], edx
cmpsd dword [esi], dword es:[edi]
dec ebp
add dword [eax], edx
cmp ecx, dword [ebp + 1]
adc byte [edi - 854589107], ah
dec ebp
add dword [eax], edx
int3
Function at 0x10016a50
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
push 0
push 0
push 0
push 0x10012c60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.1001bd10
call fcn.100845d0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.10084aa0
push 0x100160f0
push 0x100ce528
call fcn.100842e0
call fcn.10084630
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push 0x919fd0
call edi
test eax, eax
jne 0x10016ad2
mov dword [0x100ce528], 0x919fd0
call fcn.100845d0
call esi
push eax
call fcn.10084aa0
push 0x100160f0
push 0x100ce528
call fcn.10083e50
call fcn.10084630
call fcn.100845d0
call esi
push eax
call fcn.10084aa0
push 0x10016120
push 0x100ce524
call fcn.100842e0
call fcn.10084630
mov eax, dword [sym.imp.WS2_32.dll_connect]
push 4
push eax
mov dword [0x100ce524], eax
call edi
test eax, eax
jne 0x10016b27
call fcn.100845d0
call esi
push eax
call fcn.10084aa0
push 0x10016120
push 0x100ce524
call fcn.10083e50
call fcn.10084630
call fcn.100845d0
call esi
push eax
call fcn.10084aa0
push 0x10016410
push 0x100ce520
call fcn.100842e0
call fcn.10084630
mov eax, dword [sym.imp.WS2_32.dll_WSAConnect]
push 4
push eax
mov dword [0x100ce520], eax
call edi
test eax, eax
jne 0x10016b7c
call fcn.100845d0
call esi
push eax
call fcn.10084aa0
push 0x10016410
push 0x100ce520
call fcn.10083e50
call fcn.10084630
call fcn.100845d0
call esi
push eax
call fcn.10084aa0
push 0x10016720
push 0x100ce51c
call fcn.100842e0
call fcn.10084630
mov eax, dword [sym.imp.WS2_32.dll_WSAStartup]
push 4
push eax
mov dword [0x100ce51c], eax
call edi
test eax, eax
jne 0x10016bd1
call fcn.100845d0
call esi
push eax
call fcn.10084aa0
push 0x10016720
push 0x100ce51c
call fcn.10083e50
call fcn.10084630
call fcn.100845d0
call esi
push eax
call fcn.10084aa0
push 0x100168f0
push 0x100ce518
call fcn.100842e0
call fcn.10084630
mov eax, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 4
push eax
mov dword [0x100ce518], eax
call edi
test eax, eax
jne 0x10016c26
call fcn.100845d0
call esi
push eax
call fcn.10084aa0
push 0x100168f0
push 0x100ce518
call fcn.10083e50
call fcn.10084630
pop edi
pop esi
pop ecx
ret
Function at 0x100196c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a9ddd
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x100c90c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
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 edi, eax
lea eax, [ebp - 0x150]
push eax
push edi
mov dword [ebp - 0x154], edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10019805
nop word [eax + eax]
sub esp, 0x18
lea ecx, [ebp - 0x12c]
mov edx, esp
lea esi, [ecx + 1]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10019752
sub ecx, esi
lea eax, [ebp - 0x12c]
push ecx
push eax
mov ecx, edx
call fcn.10002620
lea ecx, [ebp - 0x28]
call fcn.100194b0
mov edi, dword [ebp - 0x14]
lea ecx, [ebp + 8]
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x28]
add esp, 0x18
cmp dword [ebp + 0x1c], 0xf
cmova ecx, dword [ebp + 8]
cmp edi, 0xf
cmova eax, esi
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100197b0
test dl, dl
je 0x100197ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100197b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10019790
xor eax, eax
jmp 0x100197b5
sbb eax, eax
or eax, 1
test eax, eax
je 0x10019836
cmp edi, 0xf
jbe 0x100197e9
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x100197df
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100198a6
push ecx
push esi
call fcn.100859f6
add esp, 8
mov edi, dword [ebp - 0x154]
lea eax, [ebp - 0x150]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x10019730
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x10019884
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001987a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100198a1
jmp 0x1001987a
push dword [ebp - 0x154]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x148]
cmp ecx, 0xf
jbe 0x1001980e
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001986e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100198a6
push ecx
push edx
call fcn.100859f6
add esp, 8
jmp 0x1001980e
push ecx
push edx
call fcn.100859f6
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10085995
mov esp, ebp
pop ebp
ret
call fcn.1008ac0f
call fcn.1008ac0f
int3
Function at 0x100198b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x100c90c0]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x100bf560]
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x3c], 0x8323335
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0x3d392e34
mov word [ebp - 0x34], 0x38
mov cl, byte [ebp - 0x4c]
xor byte [ebp + eax - 0x4b], cl
inc eax
cmp eax, 0x18
jb 0x100198e4
push ebx
mov byte [ebp - 0x30], 0xd
mov al, 0x63
xor al, byte [ebp - 0x30]
mov bl, 0x61
mov ah, bl
mov byte [ebp - 0x2f], al
mov al, byte [ebp - 0x30]
mov dl, 0x69
mov bh, ah
mov byte [ebp - 0x21], ah
mov dh, dl
mov byte [ebp - 0x26], 0
xor dl, al
mov byte [ebp - 0x33], 0
xor bl, al
mov byte [ebp - 0x2d], dl
xor ah, al
mov byte [ebp - 0x2c], bl
xor dh, al
mov byte [ebp - 0x2b], ah
xor bh, al
mov byte [ebp - 0x29], dh
mov cl, 0x79
mov byte [ebp - 0x28], bh
xor cl, al
mov byte [ebp - 0x26], 0
mov ch, 0x23
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 - 0x2f]
push eax
mov byte [ebp - 0x2a], ch
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x4b]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ebx
test eax, eax
je 0x10019987
push 0
push 0x1c
lea ecx, [ebp - 0x20]
push ecx
push 0
push esi
call eax
test eax, eax
jne 0x10019987
mov eax, dword [ebp - 0x14]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085995
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.10085995
mov esp, ebp
pop ebp
ret
Function at 0x100199a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100c90c0]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x100bf910]
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x24], 0x1c262721
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0x292d3a20
mov word [ebp - 0x1c], 0x2c
mov cl, byte [ebp - 0x34]
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 0x18
jb 0x100199d4
push ebx
mov byte [ebp - 0x18], 0x5b
mov al, 0x35
xor al, byte [ebp - 0x18]
mov bl, 0x37
mov ah, bl
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x18]
mov dl, 0x3f
mov bh, ah
mov byte [ebp - 9], ah
mov dh, dl
mov byte [ebp - 0xe], 0
xor dl, al
mov byte [ebp - 0x1b], 0
xor bl, al
mov byte [ebp - 0x15], dl
xor ah, al
mov byte [ebp - 0x14], bl
xor dh, al
mov byte [ebp - 0x13], ah
xor bh, al
mov byte [ebp - 0x11], dh
mov cl, 0x2f
mov byte [ebp - 0x10], bh
xor cl, al
mov byte [ebp - 0xe], 0
mov ch, 0x75
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 - 0x17]
push eax
mov byte [ebp - 0x12], ch
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x33]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ebx
test eax, eax
jne 0x10019a63
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085995
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.10085995
mov esp, ebp
pop ebp
ret

Function at 0x10019be0
Capabilities:
Enumerate processes

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

Function at 0x10019dc0
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 [0x100c9c34], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x100c9c34], edx
inc eax
cmp eax, 0x270
jb 0x10019dd1
mov dword [0x100c9c30], 0x270
pop ebp
ret 8
Function at 0x10019e00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x10019e5d
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x10019e20
mov eax, dword [esi]
jmp 0x10019f3b
cmp eax, 0x4e0
jb 0x10019f3b
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
lea edx, [edi]
mov eax, ebx
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x10019e76
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x10019ec1
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001ac70
Capabilities:
Contain obfuscated stackstrings
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 0x100ce560
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1001ad50
push 0x100ce55c
push 0
push 0
push 0x8004
push dword [0x100ce560]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1001ad50
movaps xmm0, xmmword [0x100c0090]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x6e366067
movaps xmm0, xmmword [0x100bf820]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x64327446
movaps xmm0, xmmword [0x100bf540]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x27767c53
mov word [ebp - 4], 0x7b
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x1001acf4
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], 0
push eax
push dword [0x100ce55c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1001ad50
push 0x100ce558
push 0x800000
push dword [0x100ce55c]
push 0x6801
push dword [0x100ce560]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x1001ad50
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 [0x100ce554], eax
call fcn.100845d0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.10084aa0
push 0x1001aac0
push 0x100ce550
call fcn.100842e0
call fcn.10084630
push 4
push 0x450890
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001adbf
mov dword [0x100ce550], 0x450890
call fcn.100845d0
call esi
push eax
call fcn.10084aa0
push 0x1001aac0
push 0x100ce550
call fcn.10083e50
call fcn.10084630
call fcn.100845d0
call esi
push eax
call fcn.10084aa0
push 0x1001ab60
push 0x100ce54c
call fcn.100842e0
call fcn.10084630
push 4
push 0x4504c0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001ae1c
mov dword [0x100ce54c], 0x4504c0
call fcn.100845d0
call esi
push eax
call fcn.10084aa0
push 0x1001ab60
push 0x100ce54c
call fcn.10083e50
call fcn.10084630
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001b300
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x100c90c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x103
lea eax, [ebp - 0x10f]
mov byte [ebp - 0x110], 0
push 0
push eax
call fcn.10087b80
add esp, 0xc
mov eax, 0x100cafd0
cmp dword [0x100cafe4], 0xf
cmova eax, dword [0x100cafd0]
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]
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x114], 0
movups xmmword [ebp - 0x128], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001b390
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.10002620
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea eax, [ebp - 0x110]
push eax
push 1
push str.LootWeapon
push str.PetLooting
call esi
mov byte [0x100cb058], al
cmp al, 1
jbe 0x1001b3d7
mov byte [0x100cb058], 1
lea eax, [ebp - 0x110]
push eax
push 1
push str.LootArmor
push str.PetLooting
call esi
mov byte [0x100cb059], al
cmp al, 1
jbe 0x1001b3fc
mov byte [0x100cb059], 1
lea eax, [ebp - 0x110]
push eax
push 1
push str.LootAccessory
push str.PetLooting
call esi
mov byte [0x100cb05a], al
cmp al, 1
jbe 0x1001b421
mov byte [0x100cb05a], 1
lea eax, [ebp - 0x110]
push eax
push 1
push str.LootNormal
push str.PetLooting
call esi
mov byte [0x100cb05b], al
cmp al, 1
jbe 0x1001b446
mov byte [0x100cb05b], 1
lea eax, [ebp - 0x110]
push eax
push 1
push str.LootMagic
push str.PetLooting
call esi
mov byte [0x100cb05c], al
cmp al, 1
jbe 0x1001b46b
mov byte [0x100cb05c], 1
lea eax, [ebp - 0x110]
push eax
push 1
push str.LootRare
push str.PetLooting
call esi
mov byte [0x100cb05d], al
cmp al, 1
jbe 0x1001b490
mov byte [0x100cb05d], 1
lea eax, [ebp - 0x110]
push eax
push 1
push str.LootUpgrade
push str.PetLooting
call esi
mov byte [0x100cb05e], al
cmp al, 1
jbe 0x1001b4b5
mov byte [0x100cb05e], 1
lea eax, [ebp - 0x110]
push eax
push 1
push str.LootUnique
push str.PetLooting
call esi
mov byte [0x100cb05f], al
cmp al, 1
jbe 0x1001b4da
mov byte [0x100cb05f], 1
lea eax, [ebp - 0x110]
push eax
push 1
push str.LootCraft
push str.PetLooting
call esi
mov byte [0x100cb060], al
cmp al, 1
jbe 0x1001b4ff
mov byte [0x100cb060], 1
mov ecx, dword [ebp - 0x114]
cmp ecx, 0xf
jbe 0x1001b535
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b52b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b544
push ecx
push edx
call fcn.100859f6
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10085995
mov esp, ebp
pop ebp
ret
call fcn.1008ac0f
int3