joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
or edx, 0x60
dec esi
not edx
or edx, 0x4f
and esi, 0xfc
neg eax
not eax
not edi
imul ebx
inc esi
dec esi
sbb ebx, 0xf4
and edi, 0xef
dec esi
sub eax, 2
rcl eax, 0xe4
rcl edx, 0x5c
add ebx, 0xf3
neg edi
or esi, 0x3a
imul eax
sub eax, 0xaa
inc edi
dec eax
rcr edx, 0x31
bswap edx
or esi, 0xa7
neg ebx
add edx, 0x23
bswap eax
or ebx, 0x54
neg ebx
sbb ebx, 0xe1
rcl esi, 0xc8
bswap esi
rcl esi, 0x78
or ebx, 0x69
mov edx, 0x6b
sub eax, 0x23
and ebx, 0x9d
bswap ebx
ror edi, 6
dec edx
sub edx, 0x45
rcr edx, 2
sbb edx, 0xc4
dec edx
bswap edx
rol edx, 0xd0
inc ebx
xor ecx, ecx
xor edi, edi
inc edi
rol edx, 0x21
add edi, 0x96
bswap esi
bswap eax
bswap edx
dec edx
not esi
add ebx, 0x4e
neg edx
dec eax
neg eax
rol edi, 0xcf
and ebx, 0xeb
rcl edi, 0xc4
bswap ebx
mov eax, 0x49
dec eax
not edx
dec edx
not edx
not edx
dec ebx
imul esi
dec ebx
mov edi, 0x80
mov edi, 0x35
inc edi
rol edx, 0x83
rcl edi, 0xd0
and esi, 0x8d
imul edi
mov esi, 0x2a
sub edx, 0xb6
bswap edi
not esi
not edx
inc esi
add eax, 0xcb
sbb esi, 0x99
neg edx
and esi, 9
add edx, 0x3f
or ebx, 3
sbb esi, 0x43
and eax, 0x74
sub ebx, 0x21
rcr edi, 0x24
ror esi, 0xfd
neg esi
mov ecx, dword [ebp + 0xc]
bswap ebx
rcl eax, 0xee
or ebx, 0xb2
neg eax
neg esi
bswap esi
not esi
inc esi
inc edx
imul edi
not edi
rcr esi, 0x31
rcr edi, 0x6d
ror eax, 0xfe
not eax
add edx, 0xd2
not edx
mov edi, 0x26
neg ebx
bswap eax
dec edi
not edi
bswap eax
ror edi, 0x30
dec edx
imul eax
not ebx
bswap edx
dec ebx
sub eax, 0xb2
bswap eax
bswap esi
inc edx
rol edi, 0x12
rol ebx, 0x35
mov ebx, 0x5b
inc eax
bswap esi
rcr edi, 0xef
bswap edx
add edi, 0xbb
and esi, 0x38
add esi, 0x37
rol esi, 0x61
or edx, 0xb8
not esi
neg edi
and eax, 0x76
imul eax
mov edi, 0x96
mov edi, dword [ebp + 8]
xor eax, esi
xor ebx, eax
xor ebx, ebx
xor ebx, ebx
mov esi, ebx
xor esi, ebx
xor esi, ebx
xor eax, eax
xor ebx, ebx
mov eax, eax
xor eax, eax
xor eax, esi
not byte [edi]
mov eax, esi
xor ebx, eax
xor esi, ebx
mov ebx, eax
mov ebx, eax
mov ebx, eax
xor esi, ebx
mov esi, ebx
mov ebx, ebx
add byte [edi], 0x67
xor eax, eax
xor esi, eax
mov ebx, ebx
mov eax, ebx
xor ebx, ebx
xor eax, esi
xor esi, esi
xor eax, eax
xor eax, eax
sub byte [edi], 0x88
mov esi, eax
xor eax, esi
xor ebx, ebx
xor esi, eax
xor ebx, esi
mov eax, eax
mov eax, eax
xor eax, eax
xor esi, ebx
imul byte [edi]
inc edi
loop 0x4011b9
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x404c34
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45ecf0]
jne 0x404c3e
repz ret
jmp fcn.00409135
Function at 0x4055a3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402ed1
and dword [ebp - 4], 0
cmp dword [0x45f9f4], 0
mov ebx, eax
jne 0x405654
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405705
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40eb90
push edi
call esi
test eax, eax
je 0x405705
push eax
call fcn.00402e5f
mov dword [esp], 0x40eb80
push edi
mov dword [0x45f9f4], eax
call esi
push eax
call fcn.00402e5f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45f9f8], eax
call esi
push eax
call fcn.00402e5f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45f9fc], eax
call esi
push eax
call fcn.00402e5f
pop ecx
mov dword [0x45fa04], eax
test eax, eax
je 0x405654
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402e5f
pop ecx
mov dword [0x45fa00], eax
mov eax, dword [0x45fa00]
cmp eax, ebx
je 0x4056ac
cmp dword [0x45fa04], ebx
je 0x4056ac
push eax
call fcn.00402eda
push dword [0x45fa04]
mov esi, eax
call fcn.00402eda
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4056ac
test edi, edi
je 0x4056ac
call esi
test eax, eax
je 0x4056a3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4056a3
test byte [ebp - 0xc], 1
jne 0x4056ac
or dword [ebp + 0x10], 0x200000
jmp 0x4056e5
mov eax, dword [0x45f9f8]
cmp eax, ebx
je 0x4056e5
push eax
call fcn.00402eda
pop ecx
test eax, eax
je 0x4056e5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4056e5
mov eax, dword [0x45f9fc]
cmp eax, ebx
je 0x4056e5
push eax
call fcn.00402eda
pop ecx
test eax, eax
je 0x4056e5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45f9f4]
call fcn.00402eda
pop ecx
test eax, eax
je 0x405705
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405707
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x321375f2
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x629b1692
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
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
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5bff07b0
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x42e060
mov eax, section..tls
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4c2c10be
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..pdata
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x78e21bff
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x344b5524
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x65ff0329
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x3d1d258e
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x3000f201
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [esp + 4]
push 0xfffffffffffffffb
pop eax
mov dl, byte [eax + ecx]
cmp dl, 0x90
je 0x3000f215
cmp dl, 0xcc
jne 0x3000f25f
inc eax
cmp eax, 0xffffffff
jle 0x3000f208
mov al, byte [ecx]
cmp al, 0x8b
je 0x3000f225
cmp al, 0x89
jne 0x3000f25f
cmp byte [ecx + 1], 0xff
jne 0x3000f25f
mov eax, 0x4053b7
mov byte [ecx - 5], 0xe9
sub eax, ecx
mov dword [ecx - 4], eax
lea eax, [ecx + 2]
mov dword [0x4418b0], eax
mov eax, 0xf9eb
push 0
push 0
mov word [ecx], ax
call dword [0x424118]
push eax
call dword [0x42410c]
mov al, 1
ret 0xc
xor al, al
jmp 0x3000f25c

Function at 0x300125e2
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [ecx + 4]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x300125f2
xor al, al
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x300125ef
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x300125ef
add ecx, 0x2b
cmp word [eax + 0x18], cx
sete al
ret

Function at 0x401000
Capabilities:
Allocate or change rwx memory
Check for foreground window switch
Check for time delay via gettickcount
Check for unmoving mouse cursor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x403008]
cmp eax, 0
jne 0x401021
mov eax, dword [0x40300c]
cmp eax, 0
jne 0x401021
jmp 0x4010b6
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 4], eax
push 0x1388
call sub.KERNEL32.dll_Sleep
call sub.USER32.dll_GetForegroundWindow
cmp eax, 0
je 0x401021
mov dword [ebp - 0x14], eax
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 4]
cmp eax, 0x1388
jl 0x401021
lea eax, [ebp - 8]
push eax
call sub.USER32.dll_GetCursorPos
cmp eax, 0
je 0x401021
mov eax, dword [0x403008]
cmp eax, 0
je 0x401093
push 0x3e8
call sub.KERNEL32.dll_Sleep
lea eax, [ebp - 0x10]
push eax
call sub.USER32.dll_GetCursorPos
cmp eax, 0
je 0x401067
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
cmp eax, ebx
je 0x401021
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
cmp eax, ebx
je 0x401067
mov eax, dword [0x40300c]
cmp eax, 0
je 0x4010b6
push 0x1388
call sub.KERNEL32.dll_Sleep
call sub.USER32.dll_GetForegroundWindow
cmp eax, 0
je 0x401093
cmp eax, dword [ebp - 0x14]
je 0x401093
push dword [0x403000]
mov eax, 0x40301a
mov ebx, 0x40322a
sub ebx, eax
push ebx
push 0x40301a
call fcn.00402bce
lea eax, [ebp - 4]
push eax
push 0x40
mov eax, 0x40112a
mov ebx, fcn.00402bce
sub ebx, eax
push ebx
push 0x40112a
call sub.KERNEL32.dll_VirtualProtect
push dword [0x403004]
mov eax, 0x40112a
mov ebx, fcn.00402bce
sub ebx, eax
push ebx
push 0x40112a
call fcn.00402bce
lea eax, [ebp - 4]
push eax
push dword [eax]
mov eax, 0x40112a
mov ebx, fcn.00402bce
sub ebx, eax
push ebx
push 0x40112a
call sub.KERNEL32.dll_VirtualProtect
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
cmp al, 0x2d
int 0
add byte [esp + ecx - 0x43ffff30], bh
invalid
Function at 0x401850
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x495d28]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x4c], 0
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x39], 1
mov byte [ebp - 0x3a], 0
mov dword [ecx + 0xc], edx
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x54], esi
push edi
lea edi, [eax + esi]
mov dword [ebp - 0x50], edi
cmp eax, 0x40
jb 0x401b91
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x401b91
mov ebx, dword [0x471090]
xor eax, eax
push 0xf0000000
push 0x18
push eax
push eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
call ebx
test al, al
jne 0x4018eb
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x38]
push eax
call ebx
test al, al
je 0x401916
lea eax, [ebp - 0x34]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x38]
call dword [0x47109c]
test eax, eax
je 0x40190b
mov byte [ebp - 0x30], 1
jmp 0x401920
push 0
push dword [ebp - 0x38]
call dword [0x471094]
cmp byte [ebp - 0x30], 0
je 0x401b91
mov eax, dword [esi + 0x3c]
add eax, esi
cmp eax, esi
jb 0x401b91
cmp eax, edi
ja 0x401b91
lea ecx, [eax + 0x1a]
cmp ecx, eax
jb 0x401b91
cmp ecx, edi
ja 0x401b91
cmp ecx, esi
jb 0x401b91
cmp dword [eax], 0x4550
jne 0x401b91
movzx ecx, word [eax + 0x18]
mov edx, 0x20b
cmp cx, dx
je 0x401983
mov edx, 0x10b
cmp cx, dx
jne 0x401b91
mov byte [ebp - 0x4c], 1
mov ecx, 0x80
jmp 0x401988
mov ecx, 0x90
lea esi, [ecx + eax]
mov dword [ebp - 0x48], eax
push 4
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.00401e50
add esp, 0xc
test al, al
je 0x401b91
mov eax, dword [esi]
test eax, eax
je 0x401b91
push 0x14
push 0
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00403a40
mov ebx, eax
add esp, 0x10
mov dword [ebp - 0x5c], ebx
test ebx, ebx
je 0x401b91
push 0x14
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.00401e50
add esp, 0xc
test al, al
je 0x401b91
Function at 0x403a40
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov ecx, dword [edi + 0xc]
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
mov dword [ebp - 4], eax
test eax, eax
je 0x403ac5
mov esi, dword [edi]
lea eax, [edx + 0x28]
cmp edx, esi
jb 0x403af1
mov ecx, dword [edi + 4]
cmp edx, ecx
ja 0x403af1
cmp eax, edx
jb 0x403af1
cmp eax, ecx
ja 0x403af1
cmp eax, esi
jb 0x403af1
cmp dword [ebp + 0x10], 0
mov edi, dword [eax - 0x1c]
jb 0x403aa5
ja 0x403a93
cmp dword [ebp + 0xc], edi
jb 0x403aa5
mov ecx, dword [eax - 0x18]
add ecx, edi
cmp dword [ebp + 0x10], 0
jb 0x403ab6
ja 0x403aa5
cmp dword [ebp + 0xc], ecx
jb 0x403ab6
mov edi, dword [ebp + 8]
inc ebx
add edx, 0x28
add eax, 0x28
cmp ebx, dword [ebp - 4]
jae 0x403ac5
jmp 0x403a68
mov ecx, dword [edx + 0x14]
sub ecx, edi
mov edi, dword [ebp + 8]
add ecx, esi
add ecx, dword [ebp + 0xc]
jne 0x403acc
mov ecx, dword [ebp + 0xc]
mov esi, dword [edi]
add ecx, esi
cmp ecx, esi
jb 0x403af1
mov edx, dword [edi + 4]
cmp ecx, edx
ja 0x403af1
mov eax, dword [ebp + 0x14]
add eax, ecx
cmp eax, ecx
jb 0x403af1
cmp eax, edx
ja 0x403af1
cmp eax, esi
jb 0x403af1
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x448767
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea eax, [ebx + edi]
mov dword [ebp - 4], 0x55
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
push 0x41
pop edi
mov dword [ebp - 0x10], ecx
mov esi, dword [ecx*8 + 0x488be8]
xor al, 0xcd
call 0x8b44cff9
dec ebp
or byte [edx + 0x5a], ch
xor al, 0xcd
call 0x8b44cff9
dec ebp
or byte [edx + 0x5a], ch
sub ecx, esi
pop ebx
movzx eax, word [ecx + esi]
cmp ax, di
jb 0x44878b
cmp ax, bx
ja 0x44878b
add eax, 0x20
movzx edx, ax
jmp 0x44878d
mov edx, eax
movzx eax, word [esi]
cmp ax, di
jb 0x4487a0
cmp ax, bx
ja 0x4487a0
add eax, 0x20
movzx eax, ax
add esi, 2
sub dword [ebp - 4], 1
je 0x4487b3
test dx, dx
je 0x4487b3
cmp dx, ax
je 0x448775
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
movzx eax, ax
movzx edx, dx
sub edx, eax
je 0x4487e5
test edx, edx
jns 0x4487d2
lea ebx, [ecx - 1]
mov dword [ebp - 8], ebx
jmp 0x4487d8
lea edi, [ecx + 1]
mov dword [ebp - 0xc], edi
cmp edi, ebx
jle 0x44874f
or eax, 0xffffffff
jmp 0x4487ec
mov eax, dword [ecx*8 + 0x488bec]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x448852
Capabilities:
Read file on windows

Disassembly:
inc ebx
add dword [eax], eax
add byte [ebx + 0x408b0845], cl
or al, 0xc1
call 0x10080c6e
test dword [edx], esi
add dword [eax], eax
add byte [ebx + 0x408b0845], cl
or al, 0xd1
call 0x45d04bf7
or byte [esi + ecx + 0x6a], dh
adc byte [ecx - 0x7d], bl
ror byte [eax + esi*8], 9
or cl, ch
adc eax, 0x83000001
ror byte [eax + esi*8], 9
sbb byte [ebx + 0x408b0845], cl
or al, 0xa9
rol byte [eax + eax], 0
jne 0x4488a0
push dword [ebp + 8]
call fcn.0044a043
pop ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [eax], ecx
mov esi, dword [ebp + 8]
push dword [esi + 0x18]
push dword [esi + 4]
push esi
call fcn.00438648
pop ecx
push eax
call fcn.00449258
mov dword [esi + 8], eax
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
test edx, edx
je 0x44897e
cmp edx, 0xffffffff
je 0x44897e
mov eax, dword [eax + 0xc]
test al, 6
jne 0x44893f
push dword [ebp + 8]
call fcn.00438648
pop ecx
cmp eax, 0xffffffff
je 0x448925
push dword [ebp + 8]
call fcn.00438648
pop ecx
cmp eax, 0xfffffffe
je 0x448925
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.00438648
mov edi, eax
push esi
sar edi, 6
call fcn.00438648
and eax, 0x3f
imul eax, eax, 0x30
pop ecx
pop ecx
add eax, dword [edi*4 + 0x498fe8]
pop edi
jmp 0x44892a
mov eax, 0x495f20
mov al, byte [eax + 0x28]
and al, 0x82
cmp al, 0x82
jne 0x44893f
mov eax, dword [ebp + 8]
push 0x20
pop ecx
add eax, 0xc
lock or dword [eax], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x200
jne 0x44896f
mov eax, dword [eax + 0xc]
shr eax, 6
test bl, al
je 0x44896c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
shr eax, 8
test bl, al
jne 0x44896c
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0x1000
mov eax, dword [ebp + 8]
dec dword [eax + 8]
mov ecx, dword [eax]
mov dl, byte [ecx]
inc ecx
mov dword [eax], ecx
movzx eax, dl
jmp 0x44899c
xor ecx, ecx
test edx, edx
setne cl
add eax, 0xc
lea ecx, [ecx*8 + 8]
lock or dword [eax], ecx
mov ecx, dword [ebp + 8]
and dword [ecx + 8], 0
or eax, 0xffffffff
pop ebx
pop esi
pop ebp
ret
Function at 0x448b5c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044881f

Function at 0x448b67
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004489a0
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x7c9b34d6
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x3b401b20
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401497
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [0x47eaf0]
or eax, 8
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x40152c
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x4014e9
cmp dword [ebp + 0x10], ebx
jne 0x401520
push ebx
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 4]
call fcn.00401497
test eax, eax
jne 0x4014fb
push edi
lea eax, [ebp - 0x210]
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x4014d0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.00406313
cmp eax, ebx
je 0x401533
push ebx
push dword [0x47eaf0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x40152c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x47eaf0], ebx
jne 0x401529
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x401529
jmp 0x40152c