joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1d70058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1d701a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1d7007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1d7006a
add dl, dl
jne 0x1d70089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1d700dc
xor eax, eax
add dl, dl
jne 0x1d70096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1d7017d
add dl, dl
jne 0x1d700a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d700b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d700bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d700c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1d700d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1d70075
mov eax, 1
add dl, dl
jne 0x1d700ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d700f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1d700e1
sub eax, ebx
mov ebx, 1
jne 0x1d70128
mov ecx, 1
add dl, dl
jne 0x1d7010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1d70119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1d70105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1d70075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1d7013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1d7014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1d70136
cmp eax, 0x7d00
jae 0x1d7016d
cmp eax, 0x500
jb 0x1d70168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1d70075
cmp eax, 0x7f
ja 0x1d70170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1d70075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1d7019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1d70075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x7003e2a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x7003e39
pop dword [ebp - 0x1c]
mov eax, 0x3f373547
add eax, 0xc7c908f2
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x7e0ca9de
add dword [ebp - 0x2c], 0xd0459b6d
mov dword [ebp - 0x28], 0xf255fc39
add dword [ebp - 0x28], 0x3fdd500c
mov dword [ebp - 0x24], 0xcf1ee67a
add dword [ebp - 0x24], 0x7d2d5db4
mov dword [ebp - 0x20], 0x762d940e
add dword [ebp - 0x20], 0x89d26bf2
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x716ac198
sub eax, 0x6a699168
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xffc272bb
add dword [ebp - 0x2c], 0x74aff69b
mov dword [ebp - 0x28], 0x1f569c14
add dword [ebp - 0x28], 0x2215c561
mov dword [ebp - 0x24], 0x2a14bb0a
sub dword [ebp - 0x24], 0xc6a54e9e
mov dword [ebp - 0x20], 0x7ee5aa5d
add dword [ebp - 0x20], 0x811a55a3
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0xc1549f19
sub eax, 0xba536ee5
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3d149
push 0
call eax
mov ecx, 0x51d9
xor esi, esi
add esi, eax
mov edx, 0xb6dee1f9
add edx, 0x50232007
add edx, dword [ebp - 0x1c]
mov ebx, 0xc8d38c4d
add ebx, 0xda5af673
sub dword [ebp - 0x14], esi
mov edi, dword [edx]
mov dword [ebp - 4], 0xa7fbe85a
sub edi, ebx
mov dword [ebp - 4], 0x661128a2
mov dword [esi], edi
xor dword [ebp - 4], esi
add esi, 4
add edx, 0x9f72c8e
add edx, 0xf608d376
loop 0x7003f57
add eax, 0x9197f7fb
add eax, 0x6e69423c
mov ebx, eax
add eax, 0x55d53ed2
sub eax, 0x55d53ecd
mov ecx, 0xc13417fc
sub ecx, 0xba3417fc
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x700d29f
Capabilities:
Set current directory

Disassembly:
push 8
mov eax, 0x70120f1
call fcn.07001cf8
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0700d491
xor ebx, ebx
mov dword [edi], vtable.FileSharedStream.0
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0700dd8a
lea ecx, [ebp - 0x10]
call fcn.0700d23c
mov eax, dword [edi + 0x14]
mov byte [ebp - 4], 2
push dword [eax + 0x14]
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x700d30c
mov eax, dword [eax + 0x14]
jmp 0x700d311
mov eax, 0x70138c2
push 0x7015240
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov dword [edi + 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x700d343
mov ecx, dword [edi + 4]
call fcn.070076d1
lea ecx, [ebp - 0x10]
mov dword [edi + 8], eax
call fcn.07003e2a
mov eax, edi
call fcn.07001ea7
ret 4
push str.file_does_not_exist
push ebx
call fcn.07003e2a
int3
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x408379
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x408388
pop dword [ebp - 0x34]
mov eax, 0xa74deebf
add eax, 0x58f294c9
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x37c06
push 0
mov eax, 0x79a66dae
add eax, 0x869a732a
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x129be239
sub ecx, 0x129ba029
mov edi, eax
mov edx, 0x413bc4
add edx, dword [ebp - 0x34]
mov esi, 0xccb8860c
add esi, 0x7af199c7
mov ebx, dword [edx]
mov dword [ebp - 4], 0x376e2ea9
sub ebx, esi
xor dword [ebp - 0x24], 0x69615647
mov dword [edi], ebx
xor dword [ebp - 0x30], edx
add edi, 0x4e0bf2a5
add edi, 0xb1f40d5f
add edx, 0x62c3bf8f
add edx, 0x9d3c4075
loop 0x4083e1
add eax, 0x710ce14c
add eax, 0x8ef419c7
mov ebx, eax
add eax, 0xe3a2d46d
add eax, 0x1c5d2b98
mov ecx, 0x47118f1
add ecx, 0xfbcee70f
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x40d574
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
jp 0x40d518
inc ebp
invalid
popal
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
jl 0x40d53c
inc ebp
iretd
jo 0x40d540
inc ebp
rcl byte [ebx]
call fcn.0040d244
bound esi, qword [edi + esi]
mov al, byte [0x50c0458d]
call fcn.0040d254
push eax
push esi
push dword [ebp + 8]
call fcn.0040d209
add esp, 0x10
jl 0x40d53c
inc ebp
iretd

Function at 0x40d5d4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0040d254
push eax
push esi
push dword [ebp + 8]
call fcn.0040d209
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
Function at 0x40d60c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0040d254
push eax
push esi
push dword [ebp + 8]
call fcn.0040d209
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0040d254
push eax
push esi
push dword [ebp + 8]
call fcn.0040d209
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040d244
insb byte es:[edi], dx
out 0x1c, eax
stosd dword es:[edi], eax
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
jb 0x40d6da
inc ebp
lea edi, [edx - 0x3a]
inc ebp
invalid
jae 0x40d6e2
inc ebp
invalid
push edi
mov byte [ebp - 0x70], 0x16
call fcn.0040d244
pop ecx
in eax, 0x40
xchg esi, eax
lea eax, [ebp - 0x84]
push eax
call fcn.0040d254
push eax
push esi
push dword [ebp + 8]
call fcn.0040d209
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x40da3d
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.0040d1b5
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x40d7b4
invalid
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.0040d1b5
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x40d781
call fcn.0040d244
pop edi
out dx, eax
invalid
Function at 0x40d8d0
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x40d8f8
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x40d8f3
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x40d8dd
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x40d8e5
cmp edx, ebx
jne 0x40da33
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x40d8b4
add eax, dword [eax + 4]
jmp 0x40d8a1
mov dword [ebp + 0xc], ebx
jmp 0x40d903

Function at 0x40d920
Capabilities:
Inspect section memory permissions

Disassembly:
or byte [ebx + 0x104c78c], 0
add byte [ebx + 0x108c794], cl
add byte [eax], al

Function at 0x40d95c
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
inc edi
push es
jne 0x40d91b
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40d939
movzx eax, ax
lea eax, [eax + eax*4]
or byte [ebx + 0x104c78c], 0
add byte [ebx + 0x108c794], cl
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40d997
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40d97e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40d987
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40d991
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40d973
invalid

Function at 0x40db10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add al, 0
add byte [eax], al
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
invalid
movsd dword es:[edi], dword [esi]
aas
cld
invalid
invalid
Function at 0x40e168
Capabilities:
Contain obfuscated stackstrings

Disassembly:
das
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.0040d254
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040d209
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.0040d244
pop ss
and ah, byte [esp + 0x10468]
add byte [ebp - 0x12b7b], cl
call dword [eax - 1]
xchg ebp, eax
sub al, 0xfc
invalid

Function at 0x415858
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4299d0
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x41587a
shr eax, 1
xor eax, 0xedb88320
jmp 0x41587c
shr eax, 1
dec edx
jne 0x415868
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x415861
mov byte [0x429dd0], 1
pop esi
pop ebx
ret

Function at 0x415898
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x429dd0], 0
jne 0x4158af
call fcn.00415858
mov eax, edi
dec eax
test eax, eax
jl 0x4158d8
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4299d0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4158b9
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x41aa38
Capabilities:
Identify system language via api

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], eax
mov edx, dword [0x428854]
mov edx, dword [edx]
mov eax, dword [esp]
mov eax, dword [eax + 0x18]
call fcn.0040b86c
mov ebp, 0xff
mov eax, 0x1a
call fcn.00422b38
mov esi, eax
dec esi
test esi, esi
jl 0x41aaaa
inc esi
xor ebx, ebx
mov edi, ebx
shl edi, 2
mov eax, dword [0x4287e4]
mov eax, dword [eax]
mov edx, dword [eax + edi*4]
mov eax, dword [esp]
mov eax, dword [eax + 0x24]
call fcn.0040df3c
mov eax, dword [0x4287e4]
mov eax, dword [eax]
mov eax, dword [eax + edi*4 + 4]
call fcn.0040d700
push eax
call sub.kernel32.dll_GetUserDefaultLangID
movzx eax, ax
pop edx
cmp edx, eax
jne 0x41aaa6
mov ebp, ebx
inc ebx
dec esi
jne 0x41aa6c
cmp ebp, 0xff
jne 0x41aaea
mov eax, 0x1a
call fcn.00422b38
mov esi, eax
dec esi
test esi, esi
jl 0x41aaea
inc esi
xor ebx, ebx
mov eax, ebx
shl eax, 2
mov edx, dword [0x4287e4]
mov edx, dword [edx]
mov eax, dword [edx + eax*4]
mov edx, 0x41ab10
call fcn.00403a40
jne 0x41aae6
mov ebp, ebx
jmp 0x41aaea
inc ebx
dec esi
jne 0x41aac6
cmp ebp, 0xff
jne 0x41aaf4
xor ebp, ebp
mov eax, dword [esp]
mov eax, dword [eax + 0x24]
mov edx, ebp
call fcn.0040c344
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41ce54
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, edx
mov dword [esp], pe_nt_image_headers32
test al, al
je 0x41ce75
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameA
jmp 0x41ce80
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.004038dc
add esp, 0x104
pop ebx
ret

Function at 0x41ce98
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffc10
mov ebx, edx
push esp
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, dword [esp]
push eax
call sub.ole32.dll_CoTaskMemFree
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x3e9
call fcn.004038dc
add esp, 0x3f0
pop ebx
ret

Function at 0x41eecc
Capabilities:
Delete file

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
cmp dword [0x42a02c], 0
jle 0x41eeeb
mov eax, dword [0x42a038]
call fcn.00403af4
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, ebx
call fcn.0040ab20
mov dword [esp], eax
mov eax, dword [esp]
mov edx, 0x41efa0
call fcn.00406a68
mov eax, 0x75
call fcn.00422b38
cmp eax, dword [0x42a02c]
jne 0x41ef29
mov eax, 0x76
call fcn.00422b38
cdq
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
jmp 0x41ef3c
mov eax, 0x5f
call fcn.00422b38
cdq
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
cmp dword [0x42a034], 1
jne 0x41ef6b
mov eax, 0x5f
call fcn.00422b38
mov edx, eax
imul edx, dword [0x42a02c]
mov eax, dword [0x42882c]
add edx, dword [eax]
mov eax, dword [0x42a030]
xor ecx, ecx
call fcn.00406b50
push dword [esp + 0xc]
push dword [esp + 0xc]
mov eax, dword [esp + 8]
call fcn.0041ecc8
mov eax, dword [esp]
call fcn.0040a210
mov eax, 0x42a038
mov edx, ebx
call fcn.004036e8
add esp, 0x10
pop ebx
ret
Function at 0x47d610
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
or ebp, 0xffffffff
jmp 0x47d632
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x47d639
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47d628
mov eax, 1
add ebx, ebx
jne 0x47d64b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47d640
jne 0x47d65c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47d640
xor ecx, ecx
sub eax, 3
jb 0x47d670
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47d6e2
mov ebp, eax
add ebx, ebx
jne 0x47d67b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x47d688
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x47d6ac
inc ecx
add ebx, ebx
jne 0x47d698
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47d68d
jne 0x47d6a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47d68d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47d6cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47d6bd
jmp 0x47d62e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47d6cc
add edi, ecx
jmp 0x47d62e
pop esi
lea edi, [esi + 0x7b000]
mov eax, dword [edi]
or eax, eax
je 0x47d72b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7d000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7d058]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47d6e9
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7d060]
or eax, eax
je 0x47d725
mov dword [ebx], eax
add ebx, 4
jmp 0x47d706
call dword [esi + 0x7d05c]
mov ebp, dword [esi + 0x7d064]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x47d75f
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..pdata
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x77ef72de
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4199601e
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0xdb382c
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdb3836
pushal
call 0xdb383c
pop ebp
sub ebp, 0x10
sub ebp, 0x9b382c
jmp 0xdb3852
mov eax, 0x9b382c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ce
mov edx, 0xf9b5ad41
xor byte [eax], dl
inc eax
dec ecx
jne 0xdb3869
jmp 0xdb387c
retf 0xca8c
Function at 0x4030d4
Capabilities:
Query or enumerate registry value

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

Function at 0x403a18
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40a044], 0
je 0x403a79
cmp word [0x40a218], 0xd7b2
jne 0x403a41
cmp dword [0x40a220], 0
jbe 0x403a41
mov eax, 0x40a214
call dword [0x40a230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x409050
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403aa0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x409018], 0
jne 0x403a95
push 0
push 0x409070
push 0x409050
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret