joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008bc0
Capabilities:
Hash data using crc32b

Disassembly:
push ebx
xor edx, edx
push edi
xor eax, eax
test dl, 1
je 0x10008bd0
mov eax, 0x80
mov ecx, edx
shr ecx, 1
test cl, 1
je 0x10008bdc
or eax, 0x40
shr ecx, 1
test cl, 1
je 0x10008be6
or eax, 0x20
shr ecx, 1
test cl, 1
je 0x10008bf0
or eax, 0x10
shr ecx, 1
test cl, 1
je 0x10008bfa
or eax, 8
shr ecx, 1
test cl, 1
je 0x10008c04
or eax, 4
shr ecx, 1
test cl, 1
je 0x10008c0e
or eax, 2
test cl, 2
je 0x10008c16
or eax, 1
shl eax, 0x18
mov ecx, eax
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
xor edi, edi
mov dword [esi + edx*4], ecx
mov eax, ecx
lea ecx, [edi + 0x1f]
jmp 0x10008cd0
test al, 1
je 0x10008cdd
mov ebx, 1
shl ebx, cl
or edi, ebx
dec ecx
shr eax, 1
cmp ecx, 0xffffffff
jg 0x10008cd0
mov dword [esi + edx*4], edi
inc edx
cmp edx, 0xff
jle 0x10008bc4
pop edi
pop ebx
ret

Function at 0x10008d00
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x1004df6c
push eax
lea ecx, [ebp - 4]
push ecx
mov dword [esi], 0xffffffff
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCR100.dll_fopen_s]
add esp, 0xc
test eax, eax
je 0x10008d32
xor al, al
mov esp, ebp
pop ebp
ret 4
push edi
push 0x400
call dword [sym.imp.MSVCR100.dll_malloc]
mov edi, eax
add esp, 4
mov dword [ebp - 8], edi
test edi, edi
jne 0x10008d60
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 4]
push eax
push 0x400
push 1
push edi
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
test eax, eax
je 0x10008dc3
push ebx
lea ebx, [ebx]
mov ecx, eax
mov edx, edi
test eax, eax
je 0x10008da9
mov eax, dword [esi]
movzx ebx, byte [edx]
mov edi, eax
and edi, 0xff
xor edi, ebx
mov ebx, dword [ebp + 8]
shr eax, 8
xor eax, dword [ebx + edi*4]
inc edx
dec ecx
mov dword [esi], eax
jne 0x10008d88
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push ecx
push 0x400
push 1
push edi
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
test eax, eax
jne 0x10008d80
pop ebx
push edi
call dword [sym.imp.MSVCR100.dll_free]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
mov eax, dword [esi]
not eax
add esp, 8
mov dword [esi], eax
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x100092a0
Capabilities:
Terminate thread

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esi + 0x100034], ebx
je 0x100092d6
mov dword [0x101777f8], 0xffffffff
mov eax, dword [esi + 0x100034]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x100034]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x100034], ebx
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x100092ec
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x100092fd
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 8], ebx
mov byte [esi + 0x100038], bl
pop ebx
ret

Function at 0x10009980
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 0
push 0x20
push 3
push 0
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100099e0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x100099c6
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [esi + 4], 0
mov ecx, dword [esi + 8]
push ecx
call fcn.1003e3cc
add esp, 4
mov dword [esi + 4], eax
test eax, eax
jne 0x100099e7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 8]
push 0
lea edx, [ebp - 4]
push edx
push ecx
push eax
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
test eax, eax
je 0x100099da
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1000a180
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
call fcn.10009980
test al, al
jne 0x1000a18e
pop esi
ret
push edi
mov edi, dword [esi + 8]
cmp edi, 8
jae 0x1000a19c
pop edi
xor al, al
pop esi
ret
mov edx, dword [esi + 4]
mov eax, 0x10049d00
mov ecx, 8
sub edx, eax
push ebx
lea esp, [esp]
mov ebx, dword [edx + eax]
cmp ebx, dword [eax]
jne 0x1000a222
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x1000a1b0
add edi, 0xfffffff8
xor ecx, ecx
test edi, edi
jle 0x1000a218
jmp 0x1000a1d0
mov eax, dword [esi + 4]
lea edi, [eax + ecx + 8]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
mov eax, ecx
sub eax, edx
movsx edx, byte [eax + 0x1004e030]
and edx, 0xf
mov al, byte [edx + 0x10049d08]
sub byte [edi], al
mov edx, dword [esi + 4]
lea eax, [edx + ecx + 8]
mov edx, ecx
and edx, 0xf
mov dl, byte [edx + 0x10049d08]
xor byte [eax], dl
mov eax, dword [esi + 8]
inc ecx
sub eax, 8
cmp ecx, eax
jl 0x1000a1d0
push esi
call fcn.1000a230
pop ebx
pop edi
pop esi
ret
pop ebx
pop edi
xor al, al
pop esi
ret
Function at 0x1000ae30
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100526d8
push 0x1003ecb8
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x1005b034]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14c], eax
push ecx
push str..PhysicalDrive_d
lea edx, [ebp - 0x12c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push esi
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x148], edi
cmp edi, 0xffffffff
je 0x1000afe2
xor eax, eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x134], esi
push esi
lea ecx, [ebp - 0x150]
push ecx
push 8
lea edx, [ebp - 0x140]
push edx
push 0xc
lea eax, [ebp - 0x138]
push eax
push 0x2d1400
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
call ebx
test eax, eax
jne 0x1000af14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000afe2
mov ecx, dword [ebp - 0x13c]
push ecx
call fcn.1003e3cc
mov esi, eax
mov dword [ebp - 0x144], esi
mov edx, dword [ebp - 0x13c]
push edx
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0x10
push 0
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
push esi
push 0xc
lea edx, [ebp - 0x138]
push edx
push 0x2d1400
push edi
call ebx
test eax, eax
jne 0x1000af73
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
jmp 0x1000afe2
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1000af60
mov dword [ebp - 4], 0
add eax, esi
push eax
push 0x100
mov eax, dword [ebp - 0x14c]
push eax
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x1000afe4
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret
Function at 0x1000b5b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041b98
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1005b034]
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 2
mov edi, edx
push 0x1004e124
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], ebx
call fcn.10007540
cmp eax, 0xffffffff
jne 0x1000b613
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
xor edi, edi
mov eax, 0x1004df8f
mov byte [esi], bl
call fcn.10002d20
jmp 0x1000b670
push 0xffffffffffffffff
lea ebx, [eax + 2]
push edi
lea esi, [ebp - 0x2c]
call fcn.100065e0
xor ebx, ebx
push 2
mov eax, esi
mov dword [ebp - 4], ebx
call fcn.1000bf60
xor ecx, ecx
call fcn.10002ea0
push ebx
push ebx
push ebx
push 0x1000b0b0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [ebp - 0x30]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
lea edi, [ebp - 0x2c]
mov byte [esi], bl
call fcn.10003280
cmp dword [ebp - 0x18], 0x10
jb 0x1000b670
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
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.1003e6b0
mov esp, ebp
pop ebp
ret
Function at 0x1000d410
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x1005b034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x10174640]
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000d473
mov eax, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push eax
push ecx
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push str.Error_al_crear_el_snapshot_de_procesos.
push ecx
call fcn.10002ad0
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x130]
push edx
push esi
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1000d4ab
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
cmp dword [ebp - 0x128], ebx
je 0x1000d4c5
lea eax, [ebp - 0x130]
push eax
push esi
call edi
test eax, eax
jne 0x1000d495
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret
Function at 0x1000d4e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x1005b034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x10174534]
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000d543
mov eax, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push eax
push ecx
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push str.Error_al_crear_el_snapshot_de_procesos.
push ecx
call fcn.10002ad0
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x130]
push edx
push esi
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1000d57b
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
cmp dword [ebp - 0x128], ebx
je 0x1000d595
lea eax, [ebp - 0x130]
push eax
push esi
call edi
test eax, eax
jne 0x1000d565
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret
Function at 0x1000d5b0
Capabilities:
Enumerate threads
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1005b034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10174534]
push ebx
push esi
push edi
push 0
push 4
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x24], edi
cmp edi, 0xffffffff
jne 0x1000d616
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov edx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push ecx
push ecx
push str.Error_al_crear_el_snapshot_de_hilos.
push edx
call fcn.10002ad0
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20]
push eax
push edi
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1000d677
mov ebx, dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x14], ecx
jne 0x1000d668
mov edx, dword [ebp - 0x18]
push edx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x1000d668
push esi
call ebx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test edi, edi
jne 0x1000d603
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1000d632
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret
Function at 0x1000e740
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SOFTWAREWebzenMuConfig
push closesocket
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000e79b
lea ecx, [ebp - 8]
push ecx
push 0x10177394
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp - 4]
push str.LangSelection
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
xor eax, eax
lea ecx, [ecx]
mov cl, byte [eax + str.null]
mov byte [eax + 0x10177394], cl
inc eax
test cl, cl
jne 0x1000e7a0
mov esp, ebp
pop ebp
ret

Function at 0x1000ecf0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 4], 0
call edi
test eax, eax
je 0x1000ed21
mov edx, dword [ebp - 4]
lea ecx, [ebp - 4]
push ecx
push edx
push 1
push esi
mov byte [esi], 0xc3
call edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x1000ed30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003f7ec
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1005b034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x18
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x1000ed96
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x1000ed7b
mov dword [esi + 0x10], eax
jmp 0x1000ed98
mov ecx, eax
cmp eax, edi
mov eax, dword [ecx]
mov edx, dword [eax]
jne 0x1000ed8d
push esi
call edx
mov dword [esi + 0x10], eax
jmp 0x1000ed98
push 0
call edx
mov dword [esi + 0x10], eax
jmp 0x1000ed98
xor esi, esi
push 0
push 0
push esi
push 0x1000edd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x101775b0], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100109c0
Capabilities:
Create thread

Disassembly:
cmp dword [0x10172f48], 0
je 0x10010a10
mov eax, dword [0x10174648]
push 0x10177808
mov dword [0x10168fa0], eax
xor eax, eax
push eax
push 0x10168f9c
push 0x10010ae0
push eax
push eax
mov dword [0x10176548], 5
mov dword [0x10168fa8], eax
mov dword [0x10168fac], eax
mov dword [0x10168fb0], eax
mov dword [0x10168fb4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10168fa4], eax
ret

Function at 0x10010a20
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
cmp dword [0x1017654c], 0
push edi
je 0x10010a3a
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x1017654c]
cmp eax, dword [ecx]
jne case.0x10010a6e.0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi*4 + 0x10168fa8]
cmp eax, 0x1388
jb 0x10010a64
call edi
mov dword [esi*4 + 0x10168fa8], eax
mov dword [esi*4 + 0x10168fb0], 0
mov eax, dword [0x10176548]
cmp eax, 5
ja case.0x10010a6e.0
jmp dword [eax*4 + 0x10010ac0]
inc dword [esi*4 + 0x10168fb0]
pop edi
ret
inc dword [esi*4 + 0x10168fb0]
cmp dword [esi*4 + 0x10168fb0], 5
jbe case.0x10010a6e.0
call fcn.10014f00
mov dword [0x101768d4], 0x1004e570
mov dword [0x101768d0], 0x1004e87c
call fcn.10010300
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
jmp fcn.10009890

Function at 0x10010a7e
Capabilities:
Terminate process

Disassembly:
cmp dword [0x1017654c], 0
push edi
je 0x10010a3a
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x1017654c]
cmp eax, dword [ecx]
jne case.0x10010a6e.0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi*4 + 0x10168fa8]
cmp eax, 0x1388
jb 0x10010a64
call edi
mov dword [esi*4 + 0x10168fa8], eax
mov dword [esi*4 + 0x10168fb0], 0
mov eax, dword [0x10176548]
cmp eax, 5
ja case.0x10010a6e.0
jmp dword [eax*4 + 0x10010ac0]
inc dword [esi*4 + 0x10168fb0]
pop edi
ret
inc dword [esi*4 + 0x10168fb0]
cmp dword [esi*4 + 0x10168fb0], 5
jbe case.0x10010a6e.0
call fcn.10014f00
mov dword [0x101768d4], 0x1004e570
mov dword [0x101768d0], 0x1004e87c
call fcn.10010300
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
jmp fcn.10009890

Function at 0x10010c80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREWebzenMuConfig
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10010cf3
lea ecx, [ebp - 8]
push ecx
push 0x10168fbc
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp - 4]
push str.LangSelection
push eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10010ce9
push 0x1004e898
push 0x10
push 0x10168fbc
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x10017560
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x1005b034]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea esi, [ebp - 0x408]
call fcn.10008bc0
mov eax, esi
push eax
mov esi, 0x10173018
mov eax, str..Xor_PlusSettings_tga.ozn
call fcn.10008d00
test al, al
je 0x100175cd
push 0
push 0x20
push 3
push 0
push 1
push closesocket
push str..Xor_PlusSettings_tga.ozn
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x100175cd
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x5104
je 0x100175de
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0x40c]
push ecx
push 0x5104
push 0x1016de6c
push esi
mov dword [ebp - 0x40c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100175c6
xor eax, eax
jmp 0x10017610
mov dl, byte [eax + 0x1016de6c]
sub dl, 0xb
xor dl, 0x7d
mov byte [eax + 0x1016de6c], dl
inc eax
cmp eax, 0x5104
jb 0x10017610
call fcn.10010c80
mov eax, 0x1016ded8
call fcn.10010d00
mov eax, 0x1016f8a0
call fcn.10010d60
mov eax, 0x10171268
call fcn.10010dc0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret

Function at 0x100176c0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1110
call fcn.1003f530
mov eax, dword [0x1005b034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea ecx, [ebp - 0x10c]
push ecx
push 0x1000
lea edx, [ebp - 0x1110]
mov dword [ebp - 0x110], eax
mov eax, dword [0x10174a6c]
push edx
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x10017765
xor esi, esi
test dword [ebp - 0x10c], 0xfffffffc
jbe 0x10017765
mov edi, dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
mov ebx, dword [sym.imp.MSVCR100.dll__mbsstr]
mov edx, dword [ebp + esi*4 - 0x1110]
mov eax, dword [0x10174a6c]
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push edx
push eax
call edi
test eax, eax
je 0x10017757
mov ecx, dword [ebp - 0x110]
push ecx
lea edx, [ebp - 0x108]
push edx
call ebx
add esp, 8
test eax, eax
jne 0x1001777a
mov eax, dword [ebp - 0x10c]
inc esi
shr eax, 2
cmp esi, eax
jb 0x10017720
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret 4