joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c9dd
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b558]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040a033
mov dword [ebp - 0x14], eax
cmp dword [0x4b4178], esi
jne 0x40cad0
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40ca5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40cbb0
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40cbb0
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40cbb0
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4b4178], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4b417c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4b4180], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b4188], eax
test eax, eax
je 0x40cacd
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b4184], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40caf5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40cae8
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40cb0a
push 4
pop eax
jmp 0x40cbb2
cmp dword [ebp - 0x14], esi
je 0x40cb0a
push dword [0x4b4178]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40caef
mov eax, dword [0x4b4184]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40cb68
cmp dword [0x4b4188], edi
je 0x40cb68
push eax
call ebx
push dword [0x4b4188]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40cb68
test eax, eax
je 0x40cb68
call ecx
test eax, eax
je 0x40cb5d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40cb5d
test byte [ebp - 8], 1
jne 0x40cb68
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40cb98
mov eax, dword [0x4b417c]
cmp eax, edi
je 0x40cb95
push eax
call ebx
test eax, eax
je 0x40cb95
call eax
mov esi, eax
test esi, esi
je 0x40cb95
mov eax, dword [0x4b4180]
cmp eax, edi
je 0x40cb95
push eax
call ebx
test eax, eax
je 0x40cb95
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4b4178]
call ebx
test eax, eax
je 0x40cbb0
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40cbb2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004044c0
mov esp, ebp
pop ebp
ret
Function at 0x100015a5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x100015b4
pop dword [ebp - 0xc]
mov eax, 0x70a91495
add eax, 0x9f57011f
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xf38c06e2
add dword [ebp - 0x1c], 0x5ac63e69
mov dword [ebp - 0x18], 0x30adfe44
add dword [ebp - 0x18], 0x1854e01
mov dword [ebp - 0x14], 0x6329681e
sub dword [ebp - 0x14], 0x16dd23f0
mov dword [ebp - 0x10], 0x66d152a1
add dword [ebp - 0x10], 0x992ead5f
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xc33e897
add dword [ebp - 0x1c], 0x683e80bf
mov dword [ebp - 0x18], 0xbcefadb5
add dword [ebp - 0x18], 0x847cb3c0
mov dword [ebp - 0x14], 0xffb2b598
add dword [ebp - 0x14], 0x63bcb6d4
mov dword [ebp - 0x10], 0xc2cbb0de
sub dword [ebp - 0x10], 0xc2cbb0de
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x35423
push 0
call eax
mov ecx, 0x68889a80
sub ecx, 0x68885767
mov esi, eax
mov edi, 0x48d6a99b
add edi, 0xc729ba65
add edi, dword [ebp - 0xc]
mov edx, 0xd6f4990e
sub dword [ebp - 4], 0xd611cf3
mov ebx, dword [edi]
xor dword [ebp - 8], esi
add ebx, edx
xor dword [ebp - 8], ecx
mov dword [esi], ebx
sub dword [ebp - 4], 0x36be5486
add esi, 0x8a82d1f4
add esi, 0x757d2e10
add edi, 0x387974f8
add edi, 0xc7868b0c
loop 0x100016c6
add eax, 0x485e8bbc
add eax, 0xb7a2737b
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x40333c
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x410aa0
call fcn.00406024
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x40323d
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40323d
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40323d
cmp dword [eax + 0x400074], 0xe
jbe 0x40323d
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x403241
and dword [ebp - 0x1c], 0
push 1
call main
pop ecx
test eax, eax
jne 0x403255
push 0x1c
call main
pop ecx
call fcn.00407199
test eax, eax
jne 0x403266
push 0x10
call main
pop ecx
call fcn.00406d3d
and dword [ebp - 4], 0
call fcn.00403bed
test eax, eax
jge 0x403280
push 0x1b
call main
pop ecx
call sub.kernel32.dll_GetCommandLineW
mov dword [0x413d00], eax
call fcn.00406ce0
mov dword [0x412ff8], eax
call main
test eax, eax
jge 0x4032a5
push 8
call main
pop ecx
call fcn.00406a03
test eax, eax
jge 0x4032b6
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x4032c9
push eax
call main
pop ecx
mov eax, dword [0x413340]
mov dword [0x413344], eax
push eax
push dword [0x413334]
push dword [0x41332c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4032f7
push eax
call main
call fcn.0040428b
jmp 0x40332c
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.00406069
ret
call main
jmp 0x4031eb

Function at 0x409448
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x409457
pop dword [ebp - 0x50]
mov eax, 0xfff66f5e
sub eax, 0xffb5db07
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x3a16c
push 0
mov eax, 0xd28f7b6f
add eax, 0x2db165b1
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0x4a88
xor ebx, ebx
add ebx, eax
mov esi, 0x417800
add esi, dword [ebp - 0x50]
mov edx, 0xade14b5c
add dword [ebp - 0x48], edx
mov edi, dword [esi]
add dword [ebp - 0x48], 0x28422bd4
add edi, edx
xor dword [ebp - 0x48], 0x237413de
mov dword [ebx], edi
xor dword [ebp - 0x2c], esi
add ebx, 4
add esi, 4
loop 0x4094a6
add eax, 0xc9feb5fb
add eax, 0x360266f8
mov ebx, eax
add eax, 0x696ebebd
sub eax, 0x696ebeb8
mov ecx, 0x1ffd750c
sub ecx, 0x1fbd750c
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x40a240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x40a24f
pop dword [ebp - 0x1c]
mov eax, 0xb1bfd5e9
sub eax, 0xb17f339a
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x727b96b4
add dword [ebp - 0x2c], 0xdbd6ae97
mov dword [ebp - 0x28], 0x7e2ec98f
add dword [ebp - 0x28], 0xb40482b6
mov dword [ebp - 0x24], 0xc271c9f2
add dword [ebp - 0x24], 0x89da7a3c
mov dword [ebp - 0x20], 0xa550c107
add dword [ebp - 0x20], 0x5aaf3ef9
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xace3e927
sub eax, 0xaca2b887
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x4659af70
sub dword [ebp - 0x2c], 0xd1e7461a
mov dword [ebp - 0x28], 0x3e0d5b9
sub dword [ebp - 0x28], 0xc2747444
mov dword [ebp - 0x24], 0x1d4490e9
sub dword [ebp - 0x24], 0xb9d5247d
mov dword [ebp - 0x20], 0xbc6e1331
add dword [ebp - 0x20], 0x4391eccf
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x355e8
push 0
call eax
mov ecx, 0xc9091fa3
add ecx, 0x36f71320
xor edi, edi
add edi, eax
mov ebx, 0xfcc8f30
sub ebx, 0xf8adf30
add ebx, dword [ebp - 0x1c]
mov edx, 0x3f3c6015
sub dword [ebp - 0xc], eax
mov esi, dword [ebx]
xor dword [ebp - 0x14], esi
xor esi, edx
xor dword [ebp - 0x18], 0xf7d94d0f
mov dword [edi], esi
sub dword [ebp - 0x18], ecx
add edi, 0xa351c713
sub edi, 0xa351c70f
add ebx, 0x764537d8
sub ebx, 0x764537d4
loop 0x40a368
add eax, 0xc6613cb9
sub eax, 0xc6607eda
xor ebx, ebx
add ebx, eax
add eax, 0xb59b4268
add eax, 0x4a64bd9d
mov ecx, 0x91a31cfe
sub ecx, 0x91631cfe
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x410100
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
mov esi, ecx
call main
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x41011c
mov dword [eax], ecx
jmp 0x41011e
mov eax, ecx
push ecx
push ecx
push esi
push 0x410190
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
leave
ret
Function at 0x404a60
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ecx, ebp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov al, 0x50
pop ecx
xor dword [esi - 8], 0x3b
ror byte [ebx + 0x34890845], 1
clc
jae 0x404a99
push esp
inc eax
and byte [ebp + 0x6f290fc0], al
add al, byte [eax]
add byte [edx + 0xc], ch
fnop
add esp, 4
xor eax, eax
or ebx, dword [esi + 0x5b]
mov esp, ebp
pop ebp
ret 8
mov dl, 0x37
inc ebp
dec ebp
dec esi
adc byte [ecx], bl
adc al, 0x2b
pop eax
cmp edx, dword [edx]
ja 0x404af1
add edx, ecx
pop edi
mov dword [edx + 0x51c18b5e], ecx
mov esp, ebp
pop ebp
ret 0x2608
sbb eax, 0xfb810000
add byte [eax], ah
add byte [eax], al
jae 0x404b06
invalid
inc esi
shl dword [eax - 0x7cb5f316], cl
cli
dec dword [ecx - 0x78f003ab]
cmpsd dword [esi], dword es:[edi]
add dword [edi], ebp
cmp ecx, dword [edx]
jmp 0x40d0a6
Function at 0x10001a1c
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x1002fe93
call fcn.1002e26d
mov esi, ecx
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.10001d22
xor ebx, ebx
lea edi, [esi + 4]
push edi
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push 0x1000182b
push ebx
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x20
mov dword [esi], eax
test eax, eax
je 0x10001a61
call fcn.1002e23b
ret 4
push 6
mov dword [edi], ebx
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3

Function at 0x10007490
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 4]
xor ecx, ecx
push esi
mov esi, dword [esp + 0xc]
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x1000749b
pop esi
mov eax, edx
ret

Function at 0x100074b1
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 4]
xor ecx, ecx
push esi
mov esi, dword [esp + 0xc]
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x100074bc
pop esi
mov eax, edx
ret
Function at 0x1001c744
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 4]
xor ecx, ecx
push esi
mov esi, dword [esp + 0xc]
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 8
jb 0x1001c74f
pop esi
mov eax, edx
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x403203
pop dword [ebp - 0x10]
mov eax, 0x403203
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x82f44250
sub dword [ebp - 0x20], 0x34a1fd05
mov dword [ebp - 0x1c], 0xacd9fcd1
add dword [ebp - 0x1c], 0x85594f74
mov dword [ebp - 0x18], 0x564b6813
add dword [ebp - 0x18], 0xf600dc1b
mov dword [ebp - 0x14], 0x899d4d83
sub dword [ebp - 0x14], 0x899d4d83
lea eax, [ebp - 0x20]
push eax
mov eax, 0x697c4944
sub eax, 0x693bd8e0
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x721f72f3
add dword [ebp - 0x20], 0x252f663
mov dword [ebp - 0x1c], 0xa5fb727
sub dword [ebp - 0x1c], 0xc8f355b2
mov dword [ebp - 0x18], 0x7b123251
add dword [ebp - 0x18], 0xe85d3a1b
mov dword [ebp - 0x14], 0x95a6ca7d
add dword [ebp - 0x14], 0x6a593583
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0xc37c96c8
sub eax, 0xc33c2620
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x35389
push 0
call eax
mov ecx, 0x8842cf1a
sub ecx, 0x88428c98
mov esi, eax
mov edi, 0x410000
add edi, dword [ebp - 0x10]
mov ebx, 0x642fd6c9
add dword [ebp - 4], ebx
mov edx, dword [edi]
xor dword [ebp - 8], esi
add edx, ebx
sub dword [ebp - 0xc], ebx
mov dword [esi], edx
sub dword [ebp - 8], edx
add esi, 0x8ad6c020
add esi, 0x75293fe4
add edi, 0x62b07fb4
sub edi, 0x62b07fb0
loop 0x403314
add eax, 0xccce0c8e
add eax, 0x3332f04d
xor ebx, ebx
add ebx, eax
add eax, 0xafb1d1f5
sub eax, 0xafb1d1f0
mov ecx, 0x431baaa9
sub ecx, 0x42dbaaa9
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x402634
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push dword [ebp + 8]
mov esi, dword [sym.imp.WS2_32.dll_inet_addr]
call esi
cmp eax, 0xffffffff
je 0x402655
push dword [ebp + 8]
call esi
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
pop esi
jne 0x402682
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x402682
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
cmp dword [eax], 0
je 0x402682
push 4
push eax
lea eax, [ebp - 4]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 4]
leave
ret 8

Function at 0x402689
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x10]
and dword [ebp - 4], 0
imul edx, edx, 0x9e3779b9
push esi
mov esi, dword [ebp + 0xc]
test edx, edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
je 0x4026fe
mov esi, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, dword [ebp - 4]
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, dword [ebp - 4]
xor ebx, ecx
sub dword [ebp - 4], 0x61c88647
add ebx, eax
lea eax, [ebx + edi]
mov edi, eax
mov ebx, eax
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, dword [ebp - 4]
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, dword [ebp - 4]
xor ebx, eax
add ebx, ecx
cmp dword [ebp - 4], edx
lea ecx, [ebx + edi]
jne 0x4026ac
mov esi, dword [ebp + 0xc]
pop edi
pop ebx
mov dword [esi], eax
mov dword [esi + 4], ecx
pop esi
leave
ret

Function at 0x402706
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
imul eax, eax, 0x61c88647
mov esi, dword [esp + 0xc]
test eax, eax
mov edx, dword [esi]
mov ecx, dword [esi + 4]
je 0x40276e
mov esi, dword [esp + 8]
push ebx
push edi
mov edi, edx
mov ebx, edx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, edx
add eax, 0x61c88647
add edi, ebx
sub ecx, edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, ecx
add edi, ebx
sub edx, edi
test eax, eax
jne 0x402724
mov esi, dword [esp + 0x14]
pop edi
pop ebx
mov dword [esi], edx
mov dword [esi + 4], ecx
pop esi
ret

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..data
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x42006227
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..text
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x2a96cd5
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401f72
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea ecx, [ebp - 0x14]
call fcn.00420a92
lea eax, [ebp + 8]
lea ecx, [ebp - 0x14]
push eax
call fcn.00420aba
lea ecx, [ebp - 0x14]
call fcn.00420ae0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x401fef
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x14]
call fcn.00420b86
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.00420b86
push eax
lea ecx, [ebp - 0x14]
call fcn.00420b82
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.0046ab30
add esp, 0xc
push esi
push 0xf
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
lea ecx, [ebp - 0x14]
call fcn.00420aa5
lea ecx, [ebp + 8]
call fcn.0040139c
leave
ret

Function at 0x402259
Capabilities:
Check os version

Disassembly:
cmp dword [0x488e00], 0
push esi
push edi
jne 0x4022de
mov edi, 0x114
mov esi, 0x488cc0
push edi
push 0
push esi
call fcn.0046aa50
add esp, 0xc
mov dword [0x488cc0], edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
call esi
mov ecx, dword [0x488cc4]
movzx edx, word [0x488cc8]
movzx eax, cx
shl eax, 0x10
or eax, edx
cmp ecx, 5
mov dword [0x488e00], eax
jb 0x4022de
push 0x11c
mov edi, 0x488ba0
push 0
push edi
call fcn.0046aa50
add esp, 0xc
mov dword [0x488ba0], 0x11c
push edi
call esi
mov eax, dword [0x488ba4]
mov dword [0x488cc4], eax
mov eax, dword [0x488ba8]
mov dword [0x488cc8], eax
mov edi, dword [esp + 0xc]
cmp dword [edi], 0
je 0x402352
push dword [0x488cc8]
push dword [0x488cc4]
push str.Windows__d._d
push edi
call fcn.004017cc
mov eax, dword [0x488cd0]
add esp, 0x10
cmp eax, 2
jne 0x402312
mov esi, str._Win32_NT
jmp 0x40232c
cmp eax, 1
jne 0x40231e
mov esi, str._Win32_WINDOWS
jmp 0x40232c
test eax, eax
mov esi, str._Win32s
je 0x40232c
mov esi, str._Unbekannt
mov eax, esi
test eax, eax
je 0x402339
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
mov ecx, edi
call fcn.00401658
mov eax, dword [esp + 0x10]
test eax, eax
je 0x402352
mov ecx, dword [0x488cd0]
mov dword [eax], ecx
mov eax, dword [0x488e00]
pop edi
pop esi
ret

Function at 0x40242f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 8]
push str._Kontakt
push eax
call fcn.00449c20
pop ecx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00408569
xor ecx, ecx
push 5
push ecx
push ecx
push dword [eax]
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
call fcn.0040139c
lea ecx, [ebp - 8]
call fcn.0040139c
xor eax, eax
leave
ret 0x10
Function at 0x403745
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
push 0x2001f
push dword [ebp + 8]
mov ebx, ecx
xor esi, esi
lea ecx, [ebp - 4]
push dword [ebx]
mov dword [ebp - 4], esi
call fcn.00403829
mov edi, eax
cmp edi, esi
je 0x403785
cmp dword [ebp - 4], esi
je 0x40377e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x403822
lea eax, [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 8], 0x100
push eax
push esi
push dword [ebp - 4]
call edi
test eax, eax
jne 0x4037f6
lea eax, [ebp - 0x214]
lea ecx, [ebp - 4]
push eax
call fcn.00403745
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x4037e3
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0x100
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x214]
push eax
push esi
push dword [ebp - 4]
jmp 0x4037a8
cmp dword [ebp - 4], esi
je 0x4037f1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
jmp 0x403822
cmp dword [ebp - 4], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x403809
push dword [ebp - 4]
call edi
mov dword [ebp - 4], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp - 4], esi
mov ebx, eax
je 0x403820
push dword [ebp - 4]
call edi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x403867
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
push ebx
push esi
push edi
push str.:RepeatDEL___s_if_exist___s__goto_RepeatDEL___s_
lea ecx, [ebp - 0x10]
call fcn.0040811c
push str._selfdestruct.bat
lea eax, [ebp - 0xc]
push 0x491d58
push eax
call fcn.00408569
mov edx, dword [0x488b6c]
mov esi, 0x81
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x428]
mov dword [ebp - 0x42c], edx
rep stosd dword es:[edi], eax
mov ecx, esi
lea edi, [ebp - 0x220]
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x634], edx
rep stosd dword es:[edi], eax
mov ecx, esi
lea edi, [ebp - 0x630]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x224]
mov esi, 0x104
push eax
push esi
call edi
lea eax, [ebp - 0x634]
push eax
push esi
call edi
push dword [ebp - 0xc]
lea eax, [ebp - 0x224]
push eax
call fcn.0046bb42
pop ecx
lea eax, [ebp - 0x42c]
pop ecx
xor ebx, ebx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ecx
lea eax, [ebp - 0x42c]
mov ecx, esp
push eax
call fcn.0040811c
lea eax, [ebp - 8]
push eax
call fcn.00458ea6
pop ecx
lea eax, [ebp - 0x224]
pop ecx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
je 0x403a01
push dword [ebp - 0xc]
mov eax, dword [0x47e520]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 8]
push dword [ebp - 0x10]
push eax
call fcn.004017cc
add esp, 0x14
lea ecx, [ebp - 4]
push 0x47ea4c
push 0x47ea44
call fcn.00401b5d
mov eax, dword [ebp - 4]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x403993
xor esi, esi
jmp 0x4039c2
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.0046aab0
mov esi, esp
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x18]
mov byte [esi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x1c]
push ebx
push ecx
push dword [eax - 8]
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x634]
push ebx
push eax
lea eax, [ebp - 0x224]
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
call fcn.0040139c
lea ecx, [ebp - 8]
call fcn.0040139c
lea ecx, [ebp - 0xc]
call fcn.0040139c
lea ecx, [ebp - 0x10]
call fcn.0040139c
lea esp, [ebp - 0x640]
pop edi
pop esi
pop ebx
leave
ret