joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100109d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov al, 0x65
push ebx
mov byte [ebp - 0x2f], al
mov byte [ebp - 0x2c], al
mov al, 0x6c
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ecx], 0x1001b374
mov byte [ebp - 0x30], 0x6b
mov byte [ebp - 0x2e], 0x72
mov byte [ebp - 0x2d], 0x6e
mov byte [ebp - 0x2b], al
mov byte [ebp - 0x2a], 0x33
mov byte [ebp - 0x29], 0x32
mov byte [ebp - 0x28], 0x2e
mov byte [ebp - 0x27], 0x64
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], al
mov byte [ebp - 0x24], 0
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
mov al, 0x65
mov cl, 0x74
mov byte [ebp - 0x20], 0x43
mov byte [ebp - 0x1f], 0x72
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1d], 0x61
mov byte [ebp - 0x1c], cl
mov byte [ebp - 0x1b], al
mov byte [ebp - 0x1a], 0x45
mov byte [ebp - 0x19], 0x76
mov byte [ebp - 0x18], al
mov byte [ebp - 0x17], 0x6e
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], 0x41
mov byte [ebp - 0x14], 0
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x30]
push eax
push ecx
call dword [0x1001b0c4]
push eax
call dword [0x1001b0cc]
mov dword [ebp - 8], eax
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
push 0x1001eb0c
call dword [0x1001b0c4]
mov dword [0x10021838], eax
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
call dword [ebp - 8]
mov esi, dword [ebp - 4]
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.10010cf0
test al, al
je 0x10010bb7
cmp byte [0x10021834], bl
jne 0x10010bb7
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
mov edx, dword [0x10021838]
push 0x1001eeb0
push edx
call dword [0x1001b0cc]
mov dword [ebp - 8], eax
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x80000000
push 0x10020d00
push 0x1001eea8
push 0
call dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
push 0x30
call dword [0x1001b16c]
add esp, 4
push 0x1001ee98
call dword [0x1001b0c4]
mov dword [ebp - 8], eax
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
mov edx, dword [ebp - 8]
mov esi, dword [0x1001b0cc]
push 0x1001ee80
push edx
call esi
push 0x1001e0e0
push 0x1001e0d0
mov dword [ebp - 0xc], eax
call dword [0x1001b0c4]
push eax
call esi
mov dword [ebp - 0x10], eax
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
mov esi, dword [ebp - 4]
push 0
mov eax, dword [esi + 0x10]
push eax
push 0
push 0
push 0
push 0
push 0x50000000
push 0x1001ee74
call dword [ebp - 0xc]
push 0x30
mov dword [esi + 0x14], eax
call dword [0x1001b16c]
mov ecx, dword [ebp - 8]
add esp, 4
push ecx
call dword [ebp - 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002b87
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
mov ecx, 0x4cf1
xor edi, edi
add edi, eax
mov ebx, 0x1013a00
add ebx, dword [ebp - 0x38]
mov edx, 0x4c785d83
add edx, 0x14760eec
add dword [ebp - 0x30], esi
mov esi, dword [ebx]
sub dword [ebp - 0x34], 0x1f2a49d1
sub esi, edx
xor dword [ebp - 0x18], esi
mov dword [edi], esi
add dword [ebp - 0x28], esi
add edi, 0xb0a9a2d1
add edi, 0x4f565d33
add ebx, 4
loop 0x1002bb0
add eax, 0x12487
xor ebx, ebx
add ebx, eax
add eax, 0x425263ef
add eax, 0xbdad9c16
mov ecx, 0x3d221bb
sub ecx, 0x2d221bb
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x401070
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
push esi
push 0x4197b0
call fcn.00401040
push 0x419818
call fcn.00401040
push esi
push 0x4198d4
call fcn.00401040
push esi
push 0x419908
call fcn.00401040
push esi
push 0x419930
call fcn.00401040
push str.0.
call fcn.00401040
push 0x419a50
call fcn.00401040
add esp, 0x2c
push 1
call fcn.0040305d
int3

Function at 0x401140
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
cmp edx, 1
jl 0x40116c
push 0xc
push edx
mov dword [esi], 0x14
mov dword [esi + 8], edx
mov dword [esi + 0xc], 0
call int.00403073
add esp, 8
mov dword [esi + 0x10], eax
pop esi
test eax, eax
je 0x401173
ret
push 5
call fcn.0040305d
push 4
call fcn.0040305d
int3
Function at 0x414b9d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x414bac
pop dword [ebp - 0x50]
mov eax, 0x2e962392
add eax, 0xd1ab281a
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x50ba6
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0x5c87a200
sub ecx, 0x5c875795
xor ebx, ebx
add ebx, eax
mov esi, 0x4ee8963a
sub esi, 0x4ea1383a
add esi, dword [ebp - 0x50]
mov edi, 0xa73b2959
mov edx, dword [esi]
mov dword [ebp - 0x18], 0x8f206e29
add edx, edi
xor dword [ebp - 0x48], ecx
mov dword [ebx], edx
xor dword [ebp - 0x24], eax
add ebx, 0x9a85000e
add ebx, 0x657afff6
add esi, 0xb9731326
add esi, 0x468cecde
loop 0x414c02
add eax, 0x11c7f
xor ebx, ebx
add ebx, eax
add eax, 0xd693f869
add eax, 0x296c079c
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x10004090
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x100040e8
cmp byte [esi + ebx - 1], 0xa
je 0x100040bc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x10005118], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x4084a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x410014]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x424c84], 0
push esi
push edi
jne 0x408542
mov ecx, dword [0x4104f0]
mov byte [0x424c84], 1
test ecx, ecx
je 0x4084d4
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [0x4104ec]
test ecx, ecx
je 0x408542
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp byte [0x41070f], 0
je 0x408501
mov eax, dword [0x4104fc]
test eax, eax
je 0x408542
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wunlink]
add esp, 4
jmp 0x408542
cmp dword [0x4104fc], 0
je 0x408542
mov ecx, dword [0x410728]
mov eax, ecx
mov edx, dword [0x41072c]
or eax, edx
je 0x408542
mov esi, dword [0x410730]
mov eax, esi
mov edi, dword [0x410734]
or eax, edi
je 0x408542
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], edi
call fcn.0040a2a0
push 4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x4090c0
Capabilities:
Terminate process

Disassembly:
push esi
call fcn.00409070
mov ecx, 0x7d1
call fcn.0040a110
push eax
push 0x40188c
call fcn.0040db90
add esp, 8
mov esi, 0x7d2
mov ecx, esi
call fcn.0040a110
push eax
push 0x401898
call fcn.0040db90
inc esi
add esp, 8
cmp esi, 0x7e8
jle 0x4090e3
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x40a110
Capabilities:
Extract resource via kernel32 functions
Resolve path using msvcrt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
mov eax, dword [0x410014]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x424e98], 0
push esi
push edi
mov esi, ecx
jne 0x40a1e0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p__wpgmptr]
push 0
push 0
push pe_nt_image_headers32
lea ecx, [ebp - 0x210]
push ecx
push pe_nt_image_headers32
lea ecx, [ebp - 0x410]
push ecx
push 3
lea ecx, [ebp - 0xc]
push ecx
push dword [eax]
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
push 0
push 0
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x618]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmakepath_s]
push 0xffffffffffffffff
push 0x4019c8
lea eax, [ebp - 0x210]
push pe_nt_image_headers32
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
add esp, 0x4c
test eax, eax
jne 0x40a1cf
sub esp, 0x18
lea edx, [ebp - 0x210]
lea ecx, [ebp - 0x618]
call fcn.004098f0
add esp, 0x18
test eax, eax
js 0x40a1cf
mov edi, dword [0x424e9c]
mov byte [0x424e98], 1
jmp 0x40a1e6
xor edi, edi
mov byte [0x424e98], 1
mov dword [0x424e9c], edi
jmp 0x40a1e6
mov edi, dword [0x424e9c]
movzx eax, word [0x424ea0]
push eax
mov eax, esi
shr eax, 4
inc eax
movzx eax, ax
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x40a247
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, eax
test ecx, ecx
je 0x40a247
and esi, 0xf
je 0x40a22e
jmp 0x40a220
movzx eax, word [ecx]
lea ecx, [ecx + eax*2]
add ecx, 2
sub esi, 1
jne 0x40a220
cmp word [ecx], 0
je 0x40a247
lea eax, [ecx + 2]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040dea1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0040dea1
mov esp, ebp
pop ebp
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x409070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x40907f
pop dword [ebp - 0x24]
mov eax, 0x40907f
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x362be
push 0
mov eax, 0x488e3b28
sub eax, 0x484d5a50
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x3d6475de
sub ecx, 0x3d6439ff
mov ebx, eax
mov esi, 0xb6831708
add esi, 0x49be24bc
add esi, dword [ebp - 0x24]
mov edi, 0xa440cc26
sub edi, 0x85e1e82e
xor dword [ebp - 0x14], edx
mov edx, dword [esi]
xor dword [ebp - 4], 0x1ac747f9
sub edx, edi
sub dword [ebp - 0xc], ecx
mov dword [ebx], edx
sub dword [ebp - 0xc], 0xe7736c0f
add ebx, 4
add esi, 0x453955fd
sub esi, 0x453955f9
loop 0x4090d9
add eax, 0x44e6e7e
sub eax, 0x44d8c2f
mov ebx, eax
add eax, 5
mov ecx, 0x983ea9a6
add ecx, 0x6801565a
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x10005a7a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x10005a89
pop dword [ebp - 0x48]
mov eax, 0x10005a89
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xfe417ed6
add dword [ebp - 0x58], 0x5010c675
mov dword [ebp - 0x54], 0x38c684bc
add dword [ebp - 0x54], 0xf96cc789
mov dword [ebp - 0x50], 0xfd2270e9
add dword [ebp - 0x50], 0x4f29d345
mov dword [ebp - 0x4c], 0xfe91c13e
sub dword [ebp - 0x4c], 0xfe91c13e
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xa305fe8b
sub dword [ebp - 0x58], 0x2e939535
mov dword [ebp - 0x54], 0xc952cb02
add dword [ebp - 0x54], 0x78199673
mov dword [ebp - 0x50], 0x6600618e
add dword [ebp - 0x50], 0xfd6f0ade
mov dword [ebp - 0x4c], 0x9297f9c2
sub dword [ebp - 0x4c], 0x9297f9c2
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x24b533eb
add eax, 0xeb4b8c41
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x37e6e
push 0
call eax
mov ecx, 0x3db54a5e
add ecx, 0xc24afd31
mov edi, eax
mov esi, 0x91573e21
add esi, 0x7ead35df
add esi, dword [ebp - 0x48]
mov ebx, 0x897107ee
sub ebx, 0xe903e78e
add dword [ebp - 0x10], edx
mov edx, dword [esi]
xor dword [ebp - 0x2c], edi
sub edx, ebx
mov dword [ebp - 0x24], 0xb65edffb
mov dword [edi], edx
sub dword [ebp - 0xc], edi
add edi, 4
add esi, 0xa5720a88
add esi, 0x5a8df57c
loop 0x10005ba1
add eax, 0x8d4f67f7
sub eax, 0x8d4e56e8
mov ebx, eax
add eax, 0x64463493
sub eax, 0x6446348e
mov ecx, 0x96abfa47
sub ecx, 0x86abfa47
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x10005e45
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x10005e54
pop dword [ebp - 4]
mov eax, 0xa3f172dd
sub eax, 0x93f11489
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x61291926
add dword [ebp - 0x14], 0xed292c25
mov dword [ebp - 0x10], 0x92ba7020
sub dword [ebp - 0x10], 0x608723db
mov dword [ebp - 0xc], 0x4d0bf3c4
sub dword [ebp - 0xc], 0xbfaf96
mov dword [ebp - 8], 0x450a2975
add dword [ebp - 8], 0xbaf5d68b
lea eax, [ebp - 0x14]
push eax
mov eax, 0xfaf71ced
add eax, 0x150ae317
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x48da4a42
sub dword [ebp - 0x14], 0xd467e0ec
mov dword [ebp - 0x10], 0x7aa86243
add dword [ebp - 0x10], 0xc6c3ff32
mov dword [ebp - 0xc], 0x26053a74
add dword [ebp - 0xc], 0x3d6a31f8
mov dword [ebp - 8], 0x1ca3600e
add dword [ebp - 8], 0xe35c9ff2
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0x7807a3cf
sub eax, 0x6805a3cf
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x3c6f6
push 0
call eax
mov ecx, 0x9e02f142
sub ecx, 0x9e02aa89
xor esi, esi
add esi, eax
mov edi, 0xe2384345
add edi, 0x2dca78bb
add edi, dword [ebp - 4]
mov edx, 0xd218c1be
mov ebx, dword [edi]
xor ebx, edx
mov dword [esi], ebx
add esi, 0x1c4dec61
add esi, 0xe3b213a3
add edi, 0x6b3649a9
sub edi, 0x6b3649a5
loop 0x10005f72
add eax, 0xe9f35db6
sub eax, 0xe9f24fff
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x4480ec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x4480fb
pop dword [ebp - 0x20]
mov eax, 0x4745b3a6
add eax, 0xb8fecd55
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x4bdf4
push 0
mov eax, 0x24497e76
sub eax, 0x2401bdca
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0x49da
xor ebx, ebx
add ebx, eax
mov esi, 0x4fa600
add esi, dword [ebp - 0x20]
mov edi, 0xc2f1d8a
sub edi, 0x36523c1a
xor dword [ebp - 0x14], 0x7480b81e
mov edx, dword [esi]
mov dword [ebp - 8], 0xce581c70
add edx, edi
sub dword [ebp - 0x1c], 0x6185a050
mov dword [ebx], edx
mov dword [ebp - 0x1c], 0x32117f21
add ebx, 4
add esi, 0xa8cf940e
add esi, 0x57306bf6
loop 0x448150
add eax, 0x5fc83585
add eax, 0xa038e4b6
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40632d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40633c
pop dword [ebp - 0xc]
mov eax, 0xefd65a8b
add eax, 0x106a08b1
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x9fdc45ec
add dword [ebp - 0x1c], 0xae75ff5f
mov dword [ebp - 0x18], 0x67c8d2f0
add dword [ebp - 0x18], 0xca6a7955
mov dword [ebp - 0x14], 0x4ef0ac86
sub dword [ebp - 0x14], 0x2a46858
mov dword [ebp - 0x10], 0x2e9fe1d2
sub dword [ebp - 0x10], 0x2e9fe1d2
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x7ac5c5dc
sub eax, 0x7a85557c
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x356a71c
add dword [ebp - 0x1c], 0x711bc23a
mov dword [ebp - 0x18], 0xb57f7ff3
sub dword [ebp - 0x18], 0x74131e7e
mov dword [ebp - 0x14], 0xebfcbd65
sub dword [ebp - 0x14], 0x888d50f9
mov dword [ebp - 0x10], 0x812ecdad
add dword [ebp - 0x10], 0x7ed13253
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xb36af26
sub eax, 0xaf63e26
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x356c5
push 0
call eax
mov ecx, 0x5ac0492e
sub ecx, 0x5ac005f6
xor ebx, ebx
add ebx, eax
mov edi, 0x410000
add edi, dword [ebp - 0xc]
mov edx, 0x9f8e5914
sub edx, 0x6eec0b5e
mov dword [ebp - 4], 0xea2e23de
mov esi, dword [edi]
add dword [ebp - 8], ebx
xor esi, edx
xor dword [ebp - 4], 0x14518b34
mov dword [ebx], esi
sub dword [ebp - 8], 0x8a80e37c
add ebx, 0x212bb1d3
sub ebx, 0x212bb1cf
add edi, 0xb189f798
add edi, 0x4e76086c
loop 0x40645a
add eax, 0xffb3
xor ebx, ebx
add ebx, eax
add eax, 0x798a0ab5
add eax, 0x8675f550
mov ecx, 0x3e299e76
add ecx, 0xc216618a
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows
Terminate process

Disassembly:
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov word [0x10003036], ax
xor edi, edi
movzx ecx, word [eax + 0x10002034]
mov word [eax + 0x10003030], cx
add eax, 2
cmp cx, di
jne 0x10001161
push 1
push edi
push edi
mov ebx, 0x10003030
push ebx
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x10003036], ax
movzx ecx, word [eax + str.desktop.ini]
mov word [eax + 0x10003030], cx
add eax, 2
cmp cx, di
jne 0x10001191
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push ebx
mov dword [0x10003018], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
push edi
cmp eax, 0xffffffff
jne 0x100011e4
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10003024
push esi
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x9f8370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x9f838e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xa21074
push ecx
mov edi, eax
call fcn.00a0c198
mov esi, eax
add esp, 8
test esi, esi
jne 0x9f83cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00a0c02e
push esi
call fcn.00a0bfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x9fb850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x9fb8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xa26720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x9fb8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00a0c1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x9fb8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xa26720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x9fb92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00a0d082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x9fb957
mov word [eax], si
add eax, 2
push eax
call fcn.00a0d030
add esp, 4
jmp 0x9fb959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x9fb8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x9fb8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x9fbff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret