joyce8/EMBER2024-capa huggingface dataset:
Function at 0x198ccf0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13ce000]
push edi
or ebp, 0xffffffff
jmp 0x198cd12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x198cd19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x198cd08
mov eax, 1
add ebx, ebx
jne 0x198cd2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x198cd3c
jne 0x198cd5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x198cd5b
dec eax
add ebx, ebx
jne 0x198cd48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x198cd20
add ebx, ebx
jne 0x198cd57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x198cdad
xor ecx, ecx
sub eax, 3
jb 0x198cd73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x198cde2
sar eax, 1
mov ebp, eax
jmp 0x198cd7e
add ebx, ebx
jne 0x198cd7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x198cd4c
inc ecx
add ebx, ebx
jne 0x198cd8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x198cd4c
add ebx, ebx
jne 0x198cd99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x198cd8e
jne 0x198cdaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x198cd8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x198cdcc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x198cdbe
jmp 0x198cd0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x198cdcc
add edi, ecx
jmp 0x198cd0e
pop esi
mov edi, esi
mov ecx, 0x20752
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x198cdea
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x198cdef
lea edi, [esi + 0x1588000]
mov eax, dword [edi]
or eax, eax
je 0x198ce57
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x242dae4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x242dc28]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x198ce15
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x242dc30]
or eax, eax
je 0x198ce51
mov dword [ebx], eax
add ebx, 4
jmp 0x198ce32
call dword [esi + 0x242dc2c]
mov ebp, dword [esi + 0x242dc34]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x198ce8b
sub esp, 0xffffff80
jmp 0x9b1c38
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x4c46308e
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, str.__a_a
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x76145d9
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4010f4
Capabilities:
Read file on windows

Disassembly:
push ebx
mov eax, dword [0x41e708]
mov ebx, dword [esp + 8]
push eax
call fcn.0040c960
push 0
push pe_nt_image_headers32
push 3
push 0
push 1
push 0x80000000
push ebx
call sub.kernel32.dll_CreateFileA
mov dword [0x41c9ac], eax
add esp, 4
cmp eax, 0xffffffff
je 0x4011b2
push 0
push 0x41d0d0
push 4
push 0x41d0cc
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x4011b2
cmp dword [0x41d0d0], 4
jne 0x4011b2
cmp dword [0x41d0cc], 0xfacade0
jne 0x4011b2
push 0
push 0x41d0d0
push 0xfffc
mov eax, dword [0x41c444]
push eax
mov eax, dword [0x41c9ac]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x4011b2
mov eax, dword [0x41c444]
movsx eax, word [eax + 4]
add eax, eax
cmp dword [0x41d0d0], eax
jne 0x4011b2
mov eax, dword [0x41c9ac]
push eax
call sub.kernel32.dll_CloseHandle
test eax, eax
je 0x4011b2
mov eax, dword [0x41e5cc]
push eax
call fcn.0040c960
mov eax, 1
add esp, 4
jmp 0x4011da
mov eax, dword [0x41c9ac]
cmp eax, 0xffffffff
je 0x4011c2
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x41e5cc]
push eax
call fcn.0040c960
push ebx
push 0
call fcn.004094f8
xor eax, eax
add esp, 0xc
pop ebx
ret
Function at 0x401b9c
Capabilities:
Create thread

Disassembly:
sub esp, 0x4c
push esi
push ebx
mov esi, dword [esp + 0x58]
mov dword [0x4267f8], esi
cmp esi, 0xfc3
je 0x401c88
cmp dword [0x41c658], 1
je 0x401e62
mov ebx, dword [0x41c5ac]
test ebx, ebx
jne 0x401bf5
push 0x1f40
push 2
call sub.kernel32.dll_GlobalAlloc
push eax
call sub.kernel32.dll_GlobalLock
mov dword [0x41c5ac], eax
test eax, eax
je 0x401db6
mov dword [0x41c57c], ebx
mov byte [eax], bl
mov dword [0x41c654], 0x1388
mov eax, dword [0x41c578]
test eax, eax
jne 0x401c22
mov byte [0x41c664], 0x53
mov byte [0x41c474], 0x45
mov dword [0x41c654], 0x2ee0
jmp 0x401c45
cmp eax, 1
jne 0x401c37
mov byte [0x41c664], 0xd3
mov byte [0x41c474], 0xc5
jmp 0x401c45
mov byte [0x41c664], 0
mov byte [0x41c474], 0
mov dword [0x425094], 0x41c5d0
mov byte [0x41c5d0], 0
mov dword [0x425098], 0x41c478
mov byte [0x41c478], 0
mov dword [0x4250bc], 0
mov dword [0x41c5bc], 0
cmp dword [0x41c578], 2
je 0x401e01
cmp esi, 0xfc1
jne 0x401def
mov cl, byte [0x41c65c]
lea eax, [esp + 8]
mov byte [0x4250a0], 0
add cl, 0x30
mov dword [esp + 8], 0x34
mov byte [0x42509f], cl
push eax
lea eax, [esp + 0x24]
push eax
push str.COMx
call sub.kernel32.dll_GetDefaultCommConfigA
test eax, eax
je 0x401db6
push 0
push pe_nt_image_headers32
push 3
push 0
push 0
push 0xc0000000
push str.COMx
call sub.kernel32.dll_CreateFileA
mov edx, eax
mov dword [0x425088], edx
cmp edx, 0xffffffff
je 0x401db6
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0xfa
mov dword [esp + 0x1c], 0xfa
push eax
push edx
call sub.kernel32.dll_SetCommTimeouts
test eax, eax
je 0x401d46
lea eax, [esp + 0x28]
push eax
mov eax, dword [0x425088]
push eax
call sub.kernel32.dll_SetCommState
test eax, eax
jne 0x401d4d
mov eax, dword [0x425088]
jmp 0x401da6
push 0x20
push 0x20
mov eax, dword [0x425088]
push eax
call sub.kernel32.dll_SetupComm
push 0xc
mov eax, dword [0x425088]
push eax
call sub.kernel32.dll_PurgeComm
mov dword [0x41c668], 1
push 0x41c5b8
push 0
push 0
push 0x401abc
push 0
push 0
call sub.kernel32.dll_CreateThread
test eax, eax
je 0x401d97
cmp dword [0x41c5b8], 0
jne 0x401dc5
mov eax, dword [0x425088]
mov dword [0x41c668], 0
push eax
call sub.kernel32.dll_CloseHandle
mov dword [0x425088], 0xffffffff
push 0x24
call fcn.0040ca3c
add esp, 4
jmp 0x401e62
mov dword [0x41c5c0], 1
mov dword [0x41c658], 1
mov dword [0x41c660], 0
mov dword [0x426920], 0xfb9
jmp 0x401e62
cmp dword [0x41c658], 0
je 0x401e62
cmp dword [0x41c578], 2
jne 0x401e0c
push esi
call fcn.0041a734
add esp, 4
jmp 0x401e62
mov dword [0x41c668], 0
cmp dword [0x41c5b8], 0
je 0x401e2f
push 0x64
call sub.kernel32.dll_Sleep
cmp dword [0x41c5b8], 0
jne 0x401e1f
mov eax, dword [0x425088]
push eax
call sub.kernel32.dll_CloseHandle
mov dword [0x425088], 0xffffffff
mov dword [0x41c660], 0
mov dword [0x41c5c0], 0
mov dword [0x41c658], 0
pop ebx
pop esi
add esp, 0x4c
ret
Function at 0x402400
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x84
push ebx
mov dl, byte [esp + 0x8c]
mov byte [esp + 4], 0x45
add dl, 0x30
mov byte [esp + 5], 0x30
mov byte [esp + 6], dl
push 3
lea eax, [esp + 8]
push eax
call fcn.00402068
add esp, 8
cmp dword [0x426920], 0xfb7
jne 0x402444
mov dword [0x426920], 0xfb8
mov eax, 5
sub eax, dword [0x426924]
mov dword [0x426928], eax
call fcn.0040cde0
cmp dword [0x41c660], 0
je 0x4024bf
mov dword [0x41c660], 0
call sub.kernel32.dll_GetTickCount
mov ebx, eax
cmp dword [0x4267f8], 0
jne 0x4024a0
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e7
ja 0x4024a0
push 0x113
call fcn.0041242c
add esp, 4
cmp dword [0x4267f8], 0
je 0x40247c
cmp dword [0x4267f8], 0x7ed
jne 0x4024bf
cmp dword [0x41c5a8], 1
je 0x4024bf
mov dword [0x4267f8], 0
pop ebx
add esp, 0x84
ret
Function at 0x403848
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x24
push ebp
push edi
push esi
push ebx
cmp dword [0x425088], 0xffffffff
je 0x403ad2
call sub.kernel32.dll_GetTickCount
mov edi, eax
sub eax, dword [0x41c5b4]
cmp dword [0x41c654], eax
jae 0x40389d
cmp dword [0x41c5bc], 0
je 0x40389d
mov dword [0x425094], 0x41c5d0
mov dword [0x425098], 0x41c478
call fcn.00402020
call fcn.0040cde0
jmp 0x403ad2
mov eax, edi
sub eax, dword [0x41c5b4]
cmp eax, 0x2ee0
jbe 0x4038b8
mov dword [0x4250bc], 0
jmp 0x4038c5
cmp dword [0x4250bc], 0
jne 0x403ad2
push 0
push 0x41c5a4
push 0x20
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x425088]
push eax
call sub.kernel32.dll_ReadFile
mov ebx, eax
test ebx, ebx
jne 0x40390e
mov eax, dword [0x425088]
push eax
call sub.kernel32.dll_CloseHandle
mov dword [0x425088], 0xffffffff
push 0x24
call fcn.0040ca3c
mov dword [0x41c658], ebx
add esp, 4
jmp 0x403ad2
xor esi, esi
cmp dword [0x41c5a4], esi
jle 0x403ad2
mov ebp, 0x41c5d0
mov dword [0x41c5b4], edi
mov al, byte [esp + esi + 0x14]
mov byte [esp + 0x13], al
test al, al
jne 0x403938
mov byte [esp + 0x13], 0x23
mov ebx, dword [0x41c5bc]
test ebx, ebx
je 0x403a34
mov dword [0x41c5bc], 0
mov al, byte [esp + 0x13]
mov edx, dword [0x425094]
mov byte [edx], al
inc dword [0x425094]
cmp dword [0x425094], 0x41c652
jb 0x403978
mov dword [0x425094], 0x41c5d0
mov eax, dword [0x425098]
mov dl, byte [esp + 0x13]
mov al, byte [eax]
inc dword [0x425098]
cmp dl, al
je 0x4039a3
mov dword [0x425094], 0x41c5d0
mov dword [0x425098], 0x41c478
jmp 0x403a1c
cmp byte [0x41c474], dl
jne 0x403a1c
mov ecx, dword [0x425098]
mov edx, ecx
mov eax, ecx
and edx, 3
je 0x4039d0
jp 0x4039cb
cmp edx, 2
je 0x4039c6
cmp byte [eax], dh
je 0x4039f6
inc eax
cmp byte [eax], dh
je 0x4039f6
inc eax
cmp byte [eax], dh
je 0x4039f6
inc eax
mov edx, dword [eax]
test dl, dh
jne 0x4039de
test dl, dl
je 0x4039f6
test dh, dh
je 0x4039f5
test edx, 0xff0000
je 0x4039f4
add eax, 4
test edx, 0xff000000
jne 0x4039d0
sub eax, 3
inc eax
inc eax
sub eax, ecx
inc eax
push eax
push ecx
push 0x41c478
call sub.crtdll.dll_memmove
mov dword [0x425094], 0x41c5d0
mov dword [0x425098], 0x41c478
add esp, 0xc
mov eax, dword [0x425098]
cmp byte [eax], 0
je 0x403ac0
call fcn.00402020
jmp 0x403ac0
push ebx
push 0x41c5a4
push 1
lea eax, [esp + 0x1f]
push eax
mov eax, dword [0x425088]
push eax
call sub.kernel32.dll_WriteFile
mov al, byte [esp + 0x13]
mov edx, dword [0x425094]
mov byte [edx], al
mov dl, byte [0x41c5d0]
cmp byte [0x41c664], dl
je 0x403a6e
mov dword [0x425094], ebp
jmp 0x403ac5
mov al, byte [esp + 0x13]
cmp al, dl
jne 0x403a82
mov dword [0x425094], 0x41c5d1
jmp 0x403ac0
cmp byte [0x41c474], al
jne 0x403aa8
push ebx
push ebx
push 0x405
mov eax, dword [0x41e2a4]
push eax
call sub.user32.dll_PostMessageA
mov dword [0x4250bc], 1
jmp 0x403ac0
inc dword [0x425094]
cmp dword [0x425094], 0x41c652
jb 0x403ac0
mov dword [0x425094], ebp
call fcn.0040cde0
inc esi
cmp dword [0x41c5a4], esi
jg 0x403921
pop ebx
pop esi
pop edi
pop ebp
add esp, 0x24
ret
Function at 0x406d10
Capabilities:
Read file via mapping

Disassembly:
push edi
push esi
push ebx
mov edi, dword [esp + 0x10]
mov ebx, dword [edi + 0x10]
cmp ebx, 0xffffffff
je 0x406dad
test ebx, ebx
jne 0x406db1
call fcn.00406ab0
lea esi, [edi + 6]
push esi
push 0x41e360
call sub.crtdll.dll_strcat
push ebx
push pe_nt_image_headers32
push 3
push ebx
push 1
push 0x80000000
push 0x41e360
call sub.kernel32.dll_CreateFileA
mov dword [edi + 0x10], eax
add esp, 8
cmp eax, 0xffffffff
je 0x406dad
push esi
push ebx
push ebx
push 2
push ebx
push eax
call sub.kernel32.dll_CreateFileMappingA
mov esi, eax
mov dword [edi + 0x14], esi
test esi, esi
jne 0x406d7d
mov eax, dword [edi + 0x10]
jmp 0x406da0
push ebx
push ebx
push ebx
push 4
push esi
call sub.kernel32.dll_MapViewOfFile
mov ebx, eax
mov dword [edi + 0x18], ebx
test ebx, ebx
jne 0x406db1
mov eax, dword [edi + 0x14]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [edi + 0x10]
mov dword [edi + 0x14], ebx
push eax
call sub.kernel32.dll_CloseHandle
mov dword [edi + 0x10], 0xffffffff
xor eax, eax
jmp 0x406db6
mov eax, 1
pop ebx
pop esi
pop edi
ret

Function at 0x407998
Capabilities:
Read file on windows

Disassembly:
push ebx
mov eax, dword [0x41e708]
mov ebx, dword [esp + 8]
push eax
call fcn.0040c960
push 0
push pe_nt_image_headers32
push 3
push 0
push 1
push 0x80000000
push ebx
call sub.kernel32.dll_CreateFileA
mov dword [0x41c9ac], eax
add esp, 4
cmp eax, 0xffffffff
je 0x407b25
push 0
push 0x41d0d0
push 4
push 0x41d0cc
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x407b25
cmp dword [0x41d0d0], 4
jne 0x407b25
cmp dword [0x41d0cc], 0xdecaff
jne 0x407b25
push 0
push 0x41d0d0
push 0x9c4
mov eax, dword [0x41c788]
push eax
mov eax, dword [0x41c9ac]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x407b25
mov eax, dword [0x41d0d0]
cmp eax, 0x9c4
jne 0x407b25
push 0
push 0x41d0d0
push eax
mov eax, dword [0x41c898]
push eax
mov eax, dword [0x41c9ac]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x407b25
mov eax, dword [0x41d0d0]
cmp eax, 0x9c4
jne 0x407b25
push 0
push 0x41d0d0
push eax
mov eax, dword [0x41c894]
push eax
mov eax, dword [0x41c9ac]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x407b25
mov eax, dword [0x41d0d0]
cmp eax, 0x9c4
jne 0x407b25
push 0
push 0x41d0d0
push eax
mov eax, dword [0x41c78c]
push eax
mov eax, dword [0x41c9ac]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x407b25
cmp dword [0x41d0d0], 0x9c4
jne 0x407b25
mov dword [0x425300], 1
push 0
push 0x41d0d0
push 0x10000
mov eax, dword [0x41c784]
push eax
mov eax, dword [0x41c9ac]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x407b25
cmp dword [0x41d0d0], 0x10000
jne 0x407b25
mov eax, dword [0x41c9ac]
push eax
call sub.kernel32.dll_CloseHandle
test eax, eax
je 0x407b25
mov eax, dword [0x41e5cc]
push eax
call fcn.0040c960
mov eax, 1
add esp, 4
jmp 0x407b4d
mov eax, dword [0x41c9ac]
cmp eax, 0xffffffff
je 0x407b35
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x41e5cc]
push eax
call fcn.0040c960
push ebx
push 0
call fcn.004094f8
xor eax, eax
add esp, 0xc
pop ebx
ret
Function at 0x40a638
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x48
push edi
push esi
push ebx
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
push str.SoftwareHarm_Jetten_
lea ebx, [esp + 0x18]
push ebx
call sub.crtdll.dll_strcpy
push 0x41de48
push ebx
call sub.crtdll.dll_strcat
add esp, 0x10
cmp dword [0x42653c], 1
je 0x40a689
push 0x40a533
push ebx
call sub.crtdll.dll_strcat
mov eax, dword [esp + 0x60]
push eax
push ebx
call sub.crtdll.dll_strcat
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push ebx
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
mov edx, eax
test edx, edx
jne 0x40a6e2
lea eax, [esp + 0x68]
push eax
push esi
lea eax, [esp + 0x14]
push eax
push edx
mov eax, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x24]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x40a6cc
cmp dword [esp + 0xc], 1
je 0x40a6d6
push edi
push esi
call sub.crtdll.dll_strcpy
add esp, 8
mov eax, dword [esp + 0x10]
push eax
call sub.advapi32.dll_RegCloseKey
jmp 0x40a6ec
push edi
push esi
call sub.crtdll.dll_strcpy
add esp, 8
pop ebx
pop esi
pop edi
add esp, 0x48
ret

Function at 0x40a738
Capabilities:
Set registry value

Disassembly:
sub esp, 0x44
push esi
push ebx
mov esi, dword [esp + 0x58]
mov edx, esi
mov eax, esi
and edx, 3
je 0x40a760
jp 0x40a75b
cmp edx, 2
je 0x40a756
cmp byte [eax], dh
je 0x40a786
inc eax
cmp byte [eax], dh
je 0x40a786
inc eax
cmp byte [eax], dh
je 0x40a786
inc eax
mov edx, dword [eax]
test dl, dh
jne 0x40a76e
test dl, dl
je 0x40a786
test dh, dh
je 0x40a785
test edx, 0xff0000
je 0x40a784
add eax, 4
test edx, 0xff000000
jne 0x40a760
sub eax, 3
inc eax
inc eax
jmp 0x40a790
cmp byte [eax], 0x20
jne 0x40a795
mov byte [eax], 0
dec eax
cmp eax, esi
jae 0x40a788
push str.SoftwareHarm_Jetten_
lea ebx, [esp + 0x10]
push ebx
call sub.crtdll.dll_strcpy
push 0x41de48
push ebx
call sub.crtdll.dll_strcat
add esp, 0x10
cmp dword [0x42653c], 1
je 0x40a7d4
push 0x40a533
push ebx
call sub.crtdll.dll_strcat
mov eax, dword [esp + 0x58]
push eax
push ebx
call sub.crtdll.dll_strcat
add esp, 0x10
push 0
lea eax, [esp + 0xc]
push eax
push 0
push 0xf003f
push 0
push 0x41e6f8
push 0
push ebx
push 0x80000001
call sub.advapi32.dll_RegCreateKeyExA
mov ecx, eax
test ecx, ecx
je 0x40a800
xor eax, eax
jmp 0x40a86b
mov edx, esi
mov eax, esi
and edx, 3
je 0x40a81f
jp 0x40a81a
cmp edx, 2
je 0x40a815
cmp byte [eax], dh
je 0x40a845
inc eax
cmp byte [eax], dh
je 0x40a845
inc eax
cmp byte [eax], dh
je 0x40a845
inc eax
mov edx, dword [eax]
test dl, dh
jne 0x40a82d
test dl, dl
je 0x40a845
test dh, dh
je 0x40a844
test edx, 0xff0000
je 0x40a843
add eax, 4
test edx, 0xff000000
jne 0x40a81f
sub eax, 3
inc eax
inc eax
sub eax, esi
inc eax
push eax
push esi
push 1
push ecx
mov eax, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [esp + 8]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, 1
pop ebx
pop esi
add esp, 0x44
ret
Function at 0x40bf9c
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x140
push ebp
push edi
push esi
push ebx
mov ebx, 0x41cf3c
mov eax, ebx
mov esi, ebx
and eax, 3
je 0x40bfca
jp 0x40bfc5
cmp eax, 2
je 0x40bfc0
cmp byte [esi], ah
je 0x40bfee
inc esi
cmp byte [esi], ah
je 0x40bfee
inc esi
cmp byte [esi], ah
je 0x40bfee
inc esi
mov eax, dword [esi]
test al, ah
jne 0x40bfd8
test al, al
je 0x40bfee
test ah, ah
je 0x40bfed
test eax, 0xff0000
je 0x40bfec
add esi, 4
test eax, 0xff000000
jne 0x40bfca
sub esi, 3
inc esi
inc esi
mov ebp, dword [esp + 0x154]
sub esi, ebx
mov byte [esi + ebx], 0x5c
push 0x41cd38
mov eax, esi
add eax, 0x41cf3d
push eax
call sub.crtdll.dll_strcpy
lea eax, [esp + 0x18]
push eax
push ebx
call sub.kernel32.dll_FindFirstFileA
mov edi, eax
add esp, 8
mov byte [esi + ebx], 0
cmp edi, 0xffffffff
je 0x40c087
test byte [esp + 0x10], 0x10
jne 0x40c078
push 0x41cf3c
push 0x41ce38
call sub.crtdll.dll_strcpy
push 0x40a533
push 0x41ce38
call sub.crtdll.dll_strcat
lea eax, [esp + 0x4c]
push eax
push 0x41ce38
call sub.crtdll.dll_strcat
push 0x41ce38
push ebp
call fcn.0040bebc
mov ebx, eax
add esp, 0x20
test ebx, ebx
jne 0x40c078
push edi
call sub.kernel32.dll_FindClose
mov eax, ebx
jmp 0x40c092
lea eax, [esp + 0x10]
push eax
push edi
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x40c026
push edi
call sub.kernel32.dll_FindClose
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
add esp, 0x140
ret

Function at 0x40c0a0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x140
push ebp
push edi
mov edx, 0x41cf3c
push esi
mov eax, edx
push ebx
mov esi, edx
and eax, 3
je 0x40c0ce
jp 0x40c0c9
cmp eax, 2
je 0x40c0c4
cmp byte [esi], ah
je 0x40c0f2
inc esi
cmp byte [esi], ah
je 0x40c0f2
inc esi
cmp byte [esi], ah
je 0x40c0f2
inc esi
mov eax, dword [esi]
test al, ah
jne 0x40c0dc
test al, al
je 0x40c0f2
test ah, ah
je 0x40c0f1
test eax, 0xff0000
je 0x40c0f0
add esi, 4
test eax, 0xff000000
jne 0x40c0ce
sub esi, 3
inc esi
inc esi
mov ebp, dword [esp + 0x154]
mov ax, word [0x40c09d]
sub esi, edx
mov word [edx + esi], ax
mov al, byte [0x40c09f]
mov byte [edx + esi + 2], al
lea eax, [esp + 0x10]
push eax
push edx
call sub.kernel32.dll_FindFirstFileA
mov edi, eax
cmp edi, 0xffffffff
je 0x40c16e
test byte [esp + 0x10], 0x10
je 0x40c157
cmp byte [esp + 0x3c], 0x2e
je 0x40c157
lea eax, [esp + 0x3c]
mov byte [esi + 0x41cf3c], 0x5c
push eax
mov eax, esi
add eax, 0x41cf3d
push eax
call sub.crtdll.dll_strcpy
push ebp
call fcn.0040c0a0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x40c186
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push edi
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x40c121
push edi
call sub.kernel32.dll_FindClose
mov byte [esi + 0x41cf3c], 0
push ebp
call fcn.0040bf9c
add esp, 4
jmp 0x40c18e
push edi
call sub.kernel32.dll_FindClose
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
add esp, 0x140
ret
Function at 0x40c674
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x24
push ebp
push edi
push esi
push ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x20
mov dword [esp + 0x10], eax
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov edx, dword [esp + 0x1c]
mov eax, 0xaaaaaaab
add edx, 0xffe00000
xor ebp, ebp
mul edx
shr edx, 3
mov esi, 0x41d23c
mov dword [0x41d230], edx
mov edi, 1
lea ebx, [ebp*8 + 0x20]
call fcn.0040c54c
mov dword [ebx + esi], eax
call fcn.0040c54c
shl eax, 0x10
add dword [ebx + esi], eax
call fcn.0040c54c
mov dword [ebx + esi + 4], eax
call fcn.0040c54c
shl eax, 0x10
add dword [ebx + esi + 4], eax
inc edi
add ebx, 0x20
cmp edi, 0x32
jle 0x40c6be
inc ebp
cmp ebp, 3
jle 0x40c6b2
call fcn.0040c584
pop ebx
pop esi
pop edi
pop ebp
add esp, 0x24
ret
Function at 0x40dfb4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push edi
push esi
push ebx
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp dword [0x41dcf0], 0
jne 0x40dff0
mov eax, dword [0x426920]
cmp eax, 0xfb7
je 0x40e1d8
cmp eax, 0xfb8
jne 0x40dff0
mov eax, dword [0x426924]
cmp dword [0x426928], eax
je 0x40e1d8
cmp dword [0x41c660], 0
je 0x40e00a
mov eax, dword [0x425090]
cmp dword [0x426924], eax
jne 0x40e1d8
cmp edx, 0x201
je 0x40e023
cmp edx, 0x203
je 0x40e166
jmp 0x40e1d3
mov edx, dword [0x41c658]
test edx, edx
jne 0x40e034
mov eax, dword [0x426614]
mov byte [eax], dl
call fcn.0040d4c4
mov eax, dword [esp + 0x18]
shr eax, 0x10
cdq
idiv dword [edi + 0x20]
add eax, dword [edi + 0x2c]
xor esi, esi
lea edx, [eax + 1]
mov eax, dword [edi + 0x14]
mov dword [edi + 0x28], edx
cmp eax, 0x1007
je 0x40e065
cmp eax, 0x1008
je 0x40e082
jmp 0x40e0e7
mov eax, dword [0x422dac]
movsx esi, word [eax + 8]
cmp edx, 1
jle 0x40e0e7
test esi, esi
jle 0x40e1d3
movsx esi, word [eax + esi*2]
dec edx
jmp 0x40e06e
mov eax, dword [0x42500c]
mov ecx, dword [0x41c444]
movsx ebx, word [ecx + eax*2]
cmp edx, 1
jle 0x40e0a6
mov eax, ecx
test ebx, ebx
jle 0x40e0e7
movsx ebx, word [eax + ebx*2]
dec edx
cmp edx, 1
jg 0x40e098
test ebx, ebx
jle 0x40e0e7
mov eax, dword [0x422dac]
movsx esi, word [eax + 8]
test esi, esi
jle 0x40e1d3
add ebx, ebx
mov eax, dword [0x41c444]
add eax, ebx
push eax
mov eax, dword [0x422dac]
lea eax, [eax + esi*2]
push eax
call fcn.004146f0
add esp, 8
test eax, eax
je 0x40e0e7
mov eax, dword [0x422dac]
movsx esi, word [eax + esi*2]
test esi, esi
jg 0x40e0bd
test esi, esi
jle 0x40e1d3
mov eax, dword [edi + 0x14]
mov dword [0x4267f4], eax
push 0
push 0
mov eax, dword [edi]
push eax
call sub.user32.dll_InvalidateRect
mov eax, dword [0x422dac]
mov al, byte [eax + esi*2 + 0xa]
and eax, 0xff
push eax
call fcn.0040d490
mov eax, dword [0x422dac]
add esp, 4
mov ebx, 6
movsx eax, word [eax + esi*2 + 8]
test eax, eax
jle 0x40e132
mov ebx, 7
lea eax, [eax*2 + 7]
cmp ebx, eax
jge 0x40e1d3
mov edi, eax
lea eax, [ebx + esi]
mov edx, dword [0x422dac]
mov al, byte [edx + eax*2]
and eax, 0xff
push eax
call fcn.0040d490
add esp, 4
add ebx, 2
cmp ebx, edi
jl 0x40e143
jmp 0x40e1d3
cmp dword [0x41dcf0], 0
jne 0x40e1bd
mov ebx, 4
cmp dword [0x42692c], 0
je 0x40e190
mov eax, dword [0x426924]
cmp dword [0x426928], eax
jne 0x40e190
mov ebx, dword [0x42323c]
push 0
push 0x41da8c
push ebx
call fcn.00413a34
mov esi, eax
add esp, 0xc
test esi, esi
jle 0x40e1b8
push esi
call fcn.0040224c
push ebx
push esi
call fcn.00418f78
add esp, 0xc
jmp 0x40e1bd
call fcn.0040c97c
call fcn.0040d4c4
mov edx, dword [0x41c658]
test edx, edx
jne 0x40e1d3
mov eax, dword [0x426614]
mov byte [eax], dl
call fcn.0040cde0
pop ebx
pop esi
pop edi
ret