joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a742d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x697fb8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4a746d
cmp byte [ebx], 0xa
jne 0x4a746d
or byte [eax + edi + 0x28], 4
jmp 0x4a7472
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4a7570
mov al, byte [edx]
cmp al, 0x1a
je 0x4a7552
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4a74a1
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4a74c6
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4a74d0
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4a7483
jmp 0x4a7570
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a754d
cmp dword [ebp - 0xc], 0
je 0x4a754d
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x697fb8]
test byte [eax + edi + 0x28], 0x48
je 0x4a7527
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4a7512
mov byte [esi], dl
jmp 0x4a7523
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x697fb8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4a7570
cmp byte [ebp - 1], 0xa
jne 0x4a7536
cmp esi, ebx
jne 0x4a7536
mov byte [esi], 0xa
jmp 0x4a756f
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0040194c
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4a7570
mov byte [esi], 0xd
jmp 0x4a756f
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x697fb8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4a756c
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4a7570
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4a75cc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x697fb8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4a760f
cmp word [esi], dx
jne 0x4a760f
or byte [edi + eax + 0x28], 4
jmp 0x4a7614
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4a7767
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4a7747
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4a7656
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4a768c
cmp eax, edx
jae 0x4a7698
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4a762e
jmp 0x4a7767
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a7743
cmp dword [ebp - 0x14], 0
je 0x4a7743
mov eax, dword [ebx*4 + 0x697fb8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4a771b
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4a76e4
mov word [esi], cx
jmp 0x4a7717
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x697fb8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x697fb8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x697fb8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4a7767
pop ebx
cmp word [ebp - 4], bx
jne 0x4a772c
cmp esi, dword [ebp + 0xc]
jne 0x4a772c
mov word [esi], bx
jmp 0x4a7764
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0040194c
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4a7767
push 0xd
jmp 0x4a7760
mov ecx, dword [ebx*4 + 0x697fb8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4a775e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4a7767
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x48d396
Capabilities:
Check mutex on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x8c
push ebx
push esi
push edi
push 6
pop ecx
mov esi, 0x48d058
lea edi, [ebp + 0x50]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp + 0x50]
movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48d3ba
sub eax, edx
mov edx, eax
mov eax, dword [0x48d004]
add eax, 0x34
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48d3d0
sub eax, esi
mov ebx, eax
lea eax, [ebp + 0x50]
mov dword [ebp + 0x74], eax
lea eax, [ebp - 0x14]
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x70], edx
mov esi, dword [ebp + 0x74]
mov edi, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x70]
cld
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x48d004]
add eax, 0x34
push ebx
push eax
lea eax, [ebp + edx - 0x14]
push eax
call fcn.0048d369
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0
add ebx, edx
push 0
mov byte [ebp + ebx - 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
pop edi
pop esi
pop ebx
je 0x48d43b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x48d43b
xor eax, eax
inc eax
jmp 0x48d43d
xor eax, eax
add ebp, 0x78
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax - 0x6f6f6f70], dl
nop
nop
nop
nop
nop
pushal
nop
mov eax, section..text
mov ebx, 0x408e54
nop
mov ecx, 0x375b0a6c
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42ffdf
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x67d7019d
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x2ac3a90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x268d000]
push edi
or ebp, 0xffffffff
jmp 0x2ac3ab2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x2ac3ab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x2ac3aa8
mov eax, 1
add ebx, ebx
jne 0x2ac3acb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x2ac3adc
jne 0x2ac3afb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x2ac3afb
dec eax
add ebx, ebx
jne 0x2ac3ae8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x2ac3ac0
add ebx, ebx
jne 0x2ac3af7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x2ac3b4d
xor ecx, ecx
sub eax, 3
jb 0x2ac3b13
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x2ac3b82
sar eax, 1
mov ebp, eax
jmp 0x2ac3b1e
add ebx, ebx
jne 0x2ac3b1e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x2ac3aec
inc ecx
add ebx, ebx
jne 0x2ac3b2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x2ac3aec
add ebx, ebx
jne 0x2ac3b39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x2ac3b2e
jne 0x2ac3b4a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x2ac3b2e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x2ac3b6c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x2ac3b5e
jmp 0x2ac3aae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x2ac3b6c
add edi, ecx
jmp 0x2ac3aae
pop esi
mov edi, esi
mov ecx, 0x3e5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x2ac3b8a
cmp byte [edi], 0x1c
jne 0x2ac3b8a
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 0x2ac3b8f
lea edi, [esi + 0x26c1000]
mov eax, dword [edi]
or eax, eax
je 0x2ac3bfe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x26c9aa4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x26c9b2c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x2ac3bbc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x26c9b34]
or eax, eax
je 0x2ac3bf8
mov dword [ebx], eax
add ebx, 4
jmp 0x2ac3bd9
call dword [esi + 0x26c9b30]
mov ebp, dword [esi + 0x26c9b38]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x2ac3c32
sub esp, 0xffffff80
jmp 0x40432a
Function at 0x40333c
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x410aa0
call fcn.00406024
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x40323d
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40323d
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40323d
cmp dword [eax + 0x400074], 0xe
jbe 0x40323d
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x403241
and dword [ebp - 0x1c], 0
push 1
call main
pop ecx
test eax, eax
jne 0x403255
push 0x1c
call main
pop ecx
call fcn.00407199
test eax, eax
jne 0x403266
push 0x10
call main
pop ecx
call fcn.00406d3d
and dword [ebp - 4], 0
call fcn.00403bed
test eax, eax
jge 0x403280
push 0x1b
call main
pop ecx
call sub.kernel32.dll_GetCommandLineW
mov dword [0x413d00], eax
call fcn.00406ce0
mov dword [0x412ff8], eax
call main
test eax, eax
jge 0x4032a5
push 8
call main
pop ecx
call fcn.00406a03
test eax, eax
jge 0x4032b6
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x4032c9
push eax
call main
pop ecx
mov eax, dword [0x413340]
mov dword [0x413344], eax
push eax
push dword [0x413334]
push dword [0x41332c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4032f7
push eax
call main
call fcn.0040428b
jmp 0x40332c
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.00406069
ret
call main
jmp 0x4031eb

Function at 0x408d1e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x408d2d
pop dword [ebp - 0xc]
mov eax, 0xfcd5960c
sub eax, 0xfc9508df
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x3c0ec
push 0
mov eax, 0x178e345d
sub eax, 0x174d533d
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0xfe14ad0b
add ecx, 0x1eba5d3
xor edx, edx
add edx, eax
mov ebx, 0x86d7ae30
sub ebx, 0x86963630
add ebx, dword [ebp - 0xc]
mov esi, 0xc9cb141d
sub esi, 0xe703e8e1
add dword [ebp - 4], 0xd1b50411
mov edi, dword [ebx]
xor dword [ebp - 4], 0x2087a04d
sub edi, esi
mov dword [edx], edi
add dword [ebp - 8], 0xcd51771a
add edx, 4
add ebx, 0xfcb10686
add ebx, 0x34ef97e
loop 0x408d8e
add eax, 0x12cfee9a
add eax, 0xed314fb1
xor ebx, ebx
add ebx, eax
add eax, 0x84793ee8
add eax, 0x7b86c11d
mov ecx, 0x400000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x416900
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0041698f
jae 0x41690e
xor ecx, ecx
call fcn.0041698f
jae 0x41693d
xor eax, eax
call fcn.0041698f
jae 0x41694d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0041698f
adc al, al
jae 0x41692f
jne 0x416979
stosb byte es:[edi], al
jmp 0x416911
call fcn.0041699b
sub ecx, ebx
jne 0x416956
call fcn.00416999
jmp 0x416975
lodsb al, byte [esi]
shr eax, 1
je 0x416983
adc ecx, ecx
jmp 0x416972
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00416999
cmp eax, 0x7d00
jae 0x416972
cmp ah, 5
jae 0x416973
cmp eax, 0x7f
ja 0x416974
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x416911
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x5d8e0902
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x696076a5
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x416900
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0041698f
jae 0x41690e
xor ecx, ecx
call fcn.0041698f
jae 0x41693d
xor eax, eax
call fcn.0041698f
jae 0x41694d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0041698f
adc al, al
jae 0x41692f
jne 0x416979
stosb byte es:[edi], al
jmp 0x416911
call fcn.0041699b
sub ecx, ebx
jne 0x416956
call fcn.00416999
jmp 0x416975
lodsb al, byte [esi]
shr eax, 1
je 0x416983
adc ecx, ecx
jmp 0x416972
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00416999
cmp eax, 0x7d00
jae 0x416972
cmp ah, 5
jae 0x416973
cmp eax, 0x7f
ja 0x416974
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x416911
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x4028f3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dl, byte [ecx + 0x100]
mov byte [ebp - 0xc], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [eax + 0x101]
mov byte [ebp - 0x14], cl
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x10], 0
jmp 0x402931
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
jge 0x4029c9
mov cl, byte [ebp - 0xc]
add cl, 1
mov byte [ebp - 0xc], cl
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov eax, dword [ebp - 8]
mov cl, byte [eax + edx]
mov byte [ebp - 4], cl
mov dl, byte [ebp - 0x14]
add dl, byte [ebp - 4]
mov byte [ebp - 0x14], dl
mov eax, dword [ebp - 0x14]
and eax, 0xff
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
mov edx, dword [ebp - 8]
mov esi, dword [ebp - 8]
mov al, byte [esi + eax]
mov byte [edx + ecx], al
mov ecx, dword [ebp - 0x14]
and ecx, 0xff
mov edx, dword [ebp - 8]
mov al, byte [ebp - 4]
mov byte [edx + ecx], al
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
mov edx, dword [ebp - 8]
mov al, byte [ebp - 4]
add al, byte [edx + ecx]
mov byte [ebp - 4], al
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov dl, byte [edx]
xor dl, byte [eax + ecx]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov byte [eax], dl
jmp 0x402928
mov ecx, dword [ebp + 0x10]
mov dl, byte [ebp - 0xc]
mov byte [ecx + 0x100], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 0x14]
mov byte [eax + 0x101], cl
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
jmp fcn.00431219
Function at 0x401d20
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0xc
push esi
mov esi, dword [esp + 0x20]
push edi
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401db6
test esi, esi
mov edi, dword [esp + 0x28]
mov eax, dword [edi]
mov dword [esp + 0x10], 1
mov dword [esp + 8], eax
jne 0x401d63
lea esi, [esp + 0x24]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x10]
push esi
lea edx, [esp + 0x18]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0xc]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x401d9f
mov eax, dword [esp + 8]
mov dword [edi], eax
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret
cmp esi, 0xea
jne 0x401db6
mov ecx, dword [esp + 8]
mov dword [edi], ecx
pop edi
or eax, 0xffffffff
pop esi
add esp, 0xc
ret
pop edi
mov eax, 1
pop esi
add esp, 0xc
ret
Function at 0x4048e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x114
mov eax, dword [0x4133d8]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
mov ebx, dword [esp + 0x11c]
push esi
mov esi, dword [esp + 0x124]
push edi
mov edi, dword [esp + 0x12c]
lea eax, [esp + 0x1c]
push 0x100
push eax
call fcn.00404830
add esp, 8
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push 0
lea edx, [esp + 0x28]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4049cb
test esi, esi
mov eax, dword [edi]
mov dword [esp + 0x18], 1
mov dword [esp + 0x10], eax
jne 0x404958
lea esi, [esp + 0xf]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push esi
lea edx, [esp + 0x20]
push edx
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x14]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4049a2
mov edx, dword [esp + 0x10]
mov dword [edi], edx
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00405e15
add esp, 0x114
ret
cmp esi, 0xea
jne 0x4049cb
mov eax, dword [esp + 0x10]
mov dword [edi], eax
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00405e15
add esp, 0x114
ret
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00405e15
add esp, 0x114
ret

Function at 0x4049f0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4133d8]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
mov ebx, dword [esp + 0x114]
push esi
push edi
mov edi, dword [esp + 0x120]
lea eax, [esp + 0x14]
push 0x100
push eax
call fcn.00404830
add esp, 8
lea ecx, [esp + 0xc]
push ecx
push 0x20006
push 0
lea edx, [esp + 0x20]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x404a77
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push 0xf003f
push 0
push 0x41067f
push 0
lea edx, [esp + 0x30]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x404aad
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x404a80
sub eax, edx
add eax, 1
push eax
mov eax, dword [esp + 0x10]
push edi
push 1
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x114]
pop edi
mov eax, esi
neg eax
pop esi
sbb eax, eax
pop ebx
xor ecx, esp
call fcn.00405e15
add esp, 0x10c
ret

Function at 0x405e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4133d8]
jne 0x405e1f
repz ret
jmp fcn.0040a21f