joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001480
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1006b00c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 1
push edi
mov edi, dword [ebp + 8]
jne 0x100015a1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x401b87
call esi
lea eax, [ebp - 8]
mov byte [0x401b87], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x401b87
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x401bad
call esi
lea eax, [ebp - 8]
mov byte [0x401bad], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x401bad
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x402ca0
call esi
mov eax, dword [0x10058428]
mov ecx, 0x402ca0
mov dword [ecx], eax
movzx eax, byte [0x1005842c]
mov byte [ecx + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push ecx
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x402ce0
call esi
mov eax, dword [0x10058428]
mov ecx, 0x402ce0
mov dword [ecx], eax
movzx eax, byte [0x1005842c]
mov byte [ecx + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push ecx
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x402cb0
call esi
mov eax, dword [0x10058428]
mov ecx, 0x402cb0
mov dword [ecx], eax
movzx eax, byte [0x1005842c]
mov byte [ecx + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push ecx
call esi
push edi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push 0
push 0x10054470
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop edi
call fcn.10055c84
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10005160
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x100051c1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x100051a4
cmp edi, 2
jb 0x100051a4
cmp byte [esi], cl
jne 0x100051a4
cmp byte [esi + 1], cl
jne 0x100051a4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100589b8]
jmp 0x10005175
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100589b8]
test edi, edi
jne 0x10005175
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x100051f0
cmp cl, 0x23
jne 0x100051d7
cmp byte [esi], cl
jne 0x100051d7
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x100589b8]
test cl, cl
jne 0x100051c8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10005390
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x100053b5
push 0x736
push str.D:MyFilesDLLDLL_WITH_HWIDSIGSCAN_RANPINASImGui_StandaloneImGuiimgui.cpp
push str.filename__mode
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov edi, dword [ebp + 8]
test edi, edi
je 0x100053c2
mov dword [edi], 0
mov edx, 0x10061e28
mov ecx, esi
call fcn.10005200
mov esi, eax
test esi, esi
je 0x100054b2
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x100054a8
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x100054a8
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
cmp ebx, 0xffffffff
je 0x100054a8
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x100054a8
mov eax, dword [0x100716d8]
test eax, eax
je 0x1000543c
inc dword [eax + 0xb0]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100054a8
push esi
push dword [ebp + 8]
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x1000548d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x100716d8]
add esp, 4
test eax, eax
je 0x1000547a
dec dword [eax + 0xb0]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x1000549f
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007a00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1006b00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [ebx + 0xfc], 0
mov dword [ebp - 8], edi
jg 0x10007a3c
push 0x756
push str.D:MyFilesDLLDLL_WITH_HWIDSIGSCAN_RANPINASImGui_StandaloneImGuiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [ebx + 0xfc]
lea edx, [ebp - 8]
mov ebx, dword [ebx + 0x104]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x100589b8]
sub esi, 1
jne 0x10007a56
mov eax, dword [0x100716d8]
not ebx
cmp dword [eax + 0x3f28], ebx
jne 0x10007a8e
push ecx
push edi
lea edx, [esi + 4]
mov ecx, ebx
call fcn.1002a1c0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10055c84
mov esp, ebp
pop ebp
ret 4
Function at 0x1001c220
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x53b8], 0
lea esi, [edi + 0x53bc]
je 0x1001c2a2
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1001c25c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1002b4e0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.10005a00
mov edx, dword [esi]
mov ecx, 0x10071677
push dword [edi + 0x53b8]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x53c4]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.10005a00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001c770
Capabilities:
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
or ecx, 0xffffffff
mov al, byte [edi]
lea esi, [edi + 1]
test al, al
je 0x1001c7ac
push ebx
or ebx, 0xffffffff
cmp al, 0x23
jne 0x1001c792
cmp byte [esi], al
jne 0x1001c792
cmp byte [esi + 1], al
cmove ecx, ebx
movzx edx, cl
movzx eax, al
xor edx, eax
shr ecx, 8
mov al, byte [esi]
inc esi
xor ecx, dword [edx*4 + 0x100589b8]
test al, al
jne 0x1001c784
pop ebx
not ecx
call fcn.1001c6b0
test eax, eax
jne 0x1001c7c0
mov ecx, edi
pop edi
pop esi
jmp fcn.1001c5d0
pop edi
pop esi
ret

Function at 0x1001c7d0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x100716d8]
lea edx, [ecx + 1]
push ebx
mov dword [ebp - 4], eax
or ebx, 0xffffffff
mov al, byte [ecx]
push esi
push edi
test al, al
je 0x1001c817
or esi, 0xffffffff
nop
cmp al, 0x23
jne 0x1001c7fe
cmp byte [edx], al
jne 0x1001c7fe
cmp byte [edx + 1], al
cmove ebx, esi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x100589b8]
test al, al
jne 0x1001c7f0
mov ecx, dword [ebp - 4]
xor esi, esi
not ebx
mov eax, dword [ecx + 0x537c]
test eax, eax
jle 0x1001c86f
mov edx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor edi, edi
test esi, esi
js 0x1001c838
cmp esi, eax
jl 0x1001c855
push 0x74d
push str.D:MyFilesDLLDLL_WITH_HWIDSIGSCAN_RANPINASImGui_StandaloneImGuiimgui.h
push str.i___0__i___Size
call edx
mov ecx, dword [ebp - 4]
add esp, 0xc
mov edx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [ecx + 0x5384]
cmp dword [eax + edi + 4], ebx
je 0x1001c878
mov eax, dword [ecx + 0x537c]
inc esi
add edi, 0x24
cmp esi, eax
jl 0x1001c830
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
js 0x1001c884
cmp esi, dword [ecx + 0x537c]
jl 0x1001c898
push 0x74d
push str.D:MyFilesDLLDLL_WITH_HWIDSIGSCAN_RANPINASImGui_StandaloneImGuiimgui.h
push str.i___0__i___Size
call edx
add esp, 0xc
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*8]
pop edi
pop esi
pop ebx
mov eax, dword [eax + 0x5384]
lea eax, [eax + ecx*4]
mov esp, ebp
pop ebp
ret
Function at 0x10028170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
mov dword [ebp - 4], ebx
push dword [ebx + 0x390]
lea ecx, [esi + 0x5340]
call fcn.100057a0
cmp dword [ebx + 0x388], 0
mov edi, eax
je 0x100281b2
push 0x41bf
push str.D:MyFilesDLLDLL_WITH_HWIDSIGSCAN_RANPINASImGui_StandaloneImGuiimgui.cpp
push str.window__DockNode__0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
test edi, edi
je 0x100281d1
cmp dword [edi + 0x1c], 0
je 0x10028202
push 1
mov edx, ebx
call fcn.100211f0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x390]
mov ecx, esi
call fcn.100202d0
mov edi, eax
mov eax, dword [edi + 0x9c]
and eax, 0xfffffe92
or eax, 0x92
mov dword [edi + 0x9c], eax
mov eax, dword [esi + 0x3ea0]
mov dword [edi + 0x84], eax
test byte [edi + 0xa0], 1
jne 0x100282c6
mov esi, edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x10028223
mov esi, eax
test byte [esi + 0xa0], 1
je 0x10028211
movss xmm0, dword [esi + 0x3c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1002823a
movss xmm0, dword [esi + 0x40]
comiss xmm0, xmm1
ja 0x10028252
push 0x41d9
push str.D:MyFilesDLLDLL_WITH_HWIDSIGSCAN_RANPINASImGui_StandaloneImGuiimgui.cpp
push str.ancestor_node__Size.x___0.0f__ancestor_node__Size.y___0.0f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [esi + 0x18]
mov edx, esi
test eax, eax
je 0x10028269
nop dword [eax + eax]
mov edx, eax
mov eax, dword [edx + 0x18]
test eax, eax
jne 0x10028260
and byte [edx + 0xa0], 0xdf
mov ecx, dword [edx + 0x1c]
test ecx, ecx
je 0x1002827c
call fcn.10022350
mov ecx, dword [edx + 0x20]
test ecx, ecx
je 0x10028288
call fcn.10022350
cmp dword [edx + 0x18], 0
jne 0x100282ae
mov eax, dword [edx + 0x78]
test eax, eax
je 0x100282ae
nop word [eax + eax]
or byte [eax + 0xa0], 0x20
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x100282a0
push dword [esi + 0x40]
mov edx, edi
mov ecx, esi
push dword [esi + 0x3c]
push dword [esi + 0x38]
push dword [esi + 0x34]
call fcn.100266a0
add esp, 0x10
mov esi, dword [ebp - 4]
mov ecx, edi
mov bl, byte [edi + 0xa0]
mov edx, esi
push 1
call fcn.10021850
mov al, byte [edi + 0xa0]
add esp, 4
xor al, bl
and al, 1
xor byte [edi + 0xa0], al
cmp edi, dword [esi + 0x388]
je 0x1002830d
push 0x41e2
push str.D:MyFilesDLLDLL_WITH_HWIDSIGSCAN_RANPINASImGui_StandaloneImGuiimgui.cpp
push str.node__window__DockNode
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10033b00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10033b3a
mov eax, dword [0x100716d8]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x10033b2d
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10033b6b
mov eax, dword [0x100716d8]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x10033b5e
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10033b9c
mov eax, dword [0x100716d8]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x10033b8f
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x10033be9
mov eax, dword [0x100716d8]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x10033bdc
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x10033c1a
mov eax, dword [0x100716d8]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x10033c0d
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x10033c4b
mov eax, dword [0x100716d8]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x10033c3e
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10036580
Function at 0x10054c20
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x10054c31
pop esi
ret
push ebx
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esi + 0x10]
lea ebx, [esi + 0x10]
lea eax, [eax*2 + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x10054c69
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
test ecx, ecx
jne 0x10054c75
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
xor eax, eax
pop esi
ret
cmp dword [esi + 0x14], 8
jb 0x10054c7d
mov esi, dword [esi]
mov eax, dword [ebx]
push esi
inc eax
push eax
push ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
mov eax, 1
pop esi
ret
Function at 0x10006560
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
nop
xor eax, eax
test cl, 1
je 0x1000657b
bts eax, 7
shr ecx, 1
test cl, 1
je 0x10006586
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10006591
bts eax, 5
shr ecx, 1
test cl, 1
je 0x1000659c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x100065a7
bts eax, 3
shr ecx, 1
test cl, 1
je 0x100065b2
bts eax, 2
shr ecx, 1
test cl, 1
je 0x100065bd
bts eax, 1
test cl, 2
je 0x100065c6
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
lea esi, [edi + eax*4]
lea ecx, [edx + 1]
test bl, 1
je 0x10006662
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x10006653
mov ecx, dword [ebp - 4]
inc ecx
mov dword [esi], edx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x10006570
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1013e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x1012fecc
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
push eax
mov dword [edi], 0xffffffff
mov dword [ebp - 8], 0
call fcn.100e50fc
add esp, 0xc
test eax, eax
je 0x100066e0
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10078509
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0x400
call fcn.100e547f
add esp, 4
mov ebx, eax
mov dword [ebp - 0x10], ebx
push dword [ebp - 8]
test ebx, ebx
jne 0x10006716
call fcn.100e4faa
add esp, 4
xor al, al
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10078509
mov esp, ebp
pop ebp
ret 0xc
push 0x400
push 1
push ebx
call fcn.100e5344
add esp, 0x10
test eax, eax
je 0x1000676b
push esi
nop dword [eax + eax]
mov esi, ebx
mov ebx, dword [edi]
lea esi, [esi + 1]
movzx ecx, byte [esi - 1]
movzx edx, bl
xor edx, ecx
shr ebx, 8
mov ecx, dword [ebp - 0xc]
xor ebx, dword [ecx + edx*4]
mov dword [edi], ebx
sub eax, 1
jne 0x10006732
push dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
push 0x400
push 1
push ebx
call fcn.100e5344
add esp, 0x10
test eax, eax
jne 0x10006730
pop esi
push ebx
call fcn.100e5143
push dword [ebp - 8]
call fcn.100e4faa
mov ecx, dword [ebp - 4]
add esp, 8
not dword [edi]
xor ecx, ebp
mov al, 1
pop ebx
pop edi
call fcn.10078509
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10006810
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x60]
mov dword [esi], vtable.CAntiHack.0
test eax, eax
je 0x1000683c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x60], 0
test byte [ebp + 8], 1
je 0x1000684d
push 0x64
push esi
call fcn.10078831
add esp, 8
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100069e0
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 0
push 0
push 0
push 0x10006920
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 1
push 0x10006920
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 2
push 0x10006920
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 3
push 0x10006920
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 4
push 0x10006920
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
test eax, eax
je 0x10006a73
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp dword [pe_dos_header]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x10006ac0
Capabilities:
Get disk information
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x1013e00c]
xor eax, esp
mov dword [esp + 0x38], eax
push esi
push 0
push 0
push 0
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x5045454
push eax
push 0
push 0
push 0x1012fedc
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea eax, [esp + 8]
push eax
call dword [sym.imp.RPCRT4.dll_UuidCreateSequential]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx ecx, word [esp + 0x3a]
movzx eax, word [esp + 0x38]
shl ecx, 0x10
or ecx, eax
movzx eax, word [esp + 0x16]
xor ecx, 0xb542d8e1
push ecx
movzx ecx, word [esp + 0x1c]
shl ecx, 0x10
or ecx, eax
mov eax, dword [esp + 0x16]
xor eax, 0x5d78a569
xor ecx, 0xf45bc123
push ecx
push eax
mov eax, dword [esp + 0x10]
xor eax, 0x12b586fe
push eax
lea eax, [esi + 4]
push str._08X__08X__08X__08X
push eax
call fcn.10006c00
mov ecx, dword [esp + 0x54]
add esp, 0x18
pop esi
xor ecx, esp
call fcn.10078509
mov esp, ebp
pop ebp
ret

Function at 0x10006c20
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
mov dword [esi], vtable.CAutoClick.0
test eax, eax
je 0x10006c4c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
test byte [ebp + 8], 1
je 0x10006c5d
push 0x14
push esi
call fcn.10078831
add esp, 8
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x10007890
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1013e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1013efbc]
push esi
mov esi, dword [0x1013efc0]
push edi
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x101336a0]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 8
andps xmm0, xmmword [0x10133aa0]
mulsd xmm0, qword [0x10133610]
push esi
addsd xmm0, qword [0x10133730]
movsd qword [ebp - 0x10], xmm0
call edi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movsd qword [esi], xmm0
push 8
push esi
call edi
mov eax, dword [0x1013efbc]
mov esi, dword [0x1013efc4]
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x101336a0]
push eax
push 0x40
push 8
push esi
andps xmm0, xmmword [0x10133aa0]
mulsd xmm0, qword [0x10133610]
addsd xmm0, qword [0x10133730]
movsd qword [ebp - 0x10], xmm0
call edi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movsd qword [esi], xmm0
push 8
push esi
call edi
mov eax, dword [0x1013efbc]
mov esi, dword [0x1013efc8]
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x101336a0]
push eax
push 0x40
push 4
push esi
andps xmm0, xmmword [0x10133aa0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x10133650]
addss xmm0, dword [0x10133904]
movss dword [ebp - 0xc], xmm0
call edi
movss xmm0, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movss dword [esi], xmm0
push 4
push esi
call edi
mov eax, dword [0x1013efbc]
mov esi, dword [0x1013efcc]
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x101336a0]
push eax
andps xmm0, xmmword [0x10133aa0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x10133650]
addss xmm0, dword [0x10133904]
movss dword [ebp - 0xc], xmm0
push 0x40
push 4
push esi
call edi
movss xmm0, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movss dword [esi], xmm0
push 4
push esi
call edi
mov eax, dword [0x1013efbc]
mov esi, dword [0x1013efd0]
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x101336a0]
push eax
push 0x40
push 4
push esi
andps xmm0, xmmword [0x10133aa0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x10133650]
addss xmm0, dword [0x101338fc]
movss dword [ebp - 0xc], xmm0
call edi
movss xmm0, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movss dword [esi], xmm0
push 4
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10078509
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret