joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410a52
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x438ccd
call fcn.0042412a
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x410a77
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x410abd
lea ecx, [ebp - 0x10]
call fcn.00403180
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00409c98
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401a30
mov eax, esi
call fcn.00424202
ret 8

Function at 0x422396
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4495f8]
jne 0x4223a0
repz ret
jmp fcn.00428c3c

Function at 0x4260dc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ebp
xlatb
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.00425cc1
push eax
push esi
push dword [ebp + 8]
call fcn.00425c76
add esp, 0x30
Function at 0x4262aa
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x426256
cmp dword [eax + 0xc], ebx
je 0x4262f9
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.00425cb1
in eax, dx
cmc
mov eax, dword [0x750c5d39]
adc dl, byte [edi - 1]
xchg ebp, eax
dec eax
invalid
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x4262e7
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x4262c2
and eax, 0xffff
push eax
jmp 0x4262c6
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00425c76
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x4264a0
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x4262a7
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x426248
call fcn.00425cb1
rol byte [ecx], cl
pop ds
cmpsd dword [esi], dword es:[edi]
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x426365
add eax, esi
cmp dword [eax], ebx
je 0x426365
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x426360
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x42634a
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x426352
cmp edx, ebx
jne 0x4264a0
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x426321
add eax, dword [eax + 4]
jmp 0x42630e
mov dword [ebp + 0xc], ebx
jmp 0x426370
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x426388
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4263a6
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
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 0x426404
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 0x4263eb
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4263f4
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4263fe
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4263e0
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x42636a
Function at 0x42674c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sti
mov byte [ebp - 0x52e], 0xf8
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.00425cc1
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00425c76
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.00425cb1
sti
fdivr st(3)
inc eax
and byte [ebp - 0x664], 0
and byte [ebp - 0x663], 0
mov byte [ebp - 0x662], 7
and byte [ebp - 0x661], 0
mov byte [ebp - 0x660], 0xb0
mov byte [ebp - 0x65f], 0x9d
mov eax, dword [0x9dfffff9]

Function at 0x426923
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.00425cc1
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00425c76
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.00425cb1
aam 0xbf
lea ebx, [ebp + 0x68]
add al, 1
add byte [eax], al
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x4269a5
cmp dword [ebp - 0x398], 0
je 0x426b6f
cmp dword [ebp + 0xc], 1
je 0x426b6f
cmp dword [ebp + 0xc], 8
jne 0x426b37
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
invalid
movsd dword es:[edi], dword [esi]
Function at 0x43321e
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.0042862a
and dword [ebp - 4], 0
cmp dword [0x44d4b8], 0
mov ebx, eax
jne 0x4332cf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x433380
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43f0e8
push edi
call esi
test eax, eax
je 0x433380
push eax
call fcn.004285b8
mov dword [esp], 0x43f0d8
push edi
mov dword [0x44d4b8], eax
call esi
push eax
call fcn.004285b8
mov dword [esp], 0x43f0c4
push edi
mov dword [0x44d4bc], eax
call esi
push eax
call fcn.004285b8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44d4c0], eax
call esi
push eax
call fcn.004285b8
pop ecx
mov dword [0x44d4c8], eax
test eax, eax
je 0x4332cf
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004285b8
pop ecx
mov dword [0x44d4c4], eax
mov eax, dword [0x44d4c4]
cmp eax, ebx
je 0x433327
cmp dword [0x44d4c8], ebx
je 0x433327
push eax
call fcn.00428633
push dword [0x44d4c8]
mov esi, eax
call fcn.00428633
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x433327
test edi, edi
je 0x433327
call esi
test eax, eax
je 0x43331e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43331e
test byte [ebp - 0xc], 1
jne 0x433327
or dword [ebp + 0x10], 0x200000
jmp 0x433360
mov eax, dword [0x44d4bc]
cmp eax, ebx
je 0x433360
push eax
call fcn.00428633
pop ecx
test eax, eax
je 0x433360
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x433360
mov eax, dword [0x44d4c0]
cmp eax, ebx
je 0x433360
push eax
call fcn.00428633
pop ecx
test eax, eax
je 0x433360
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44d4b8]
call fcn.00428633
pop ecx
test eax, eax
je 0x433380
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x433382
xor eax, eax
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
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x24f82598
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
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 0x42e024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x2dd1185e
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x40c3af
Capabilities:
Encode data using xor

Disassembly:
xchg esi, eax
dec edi
cld
ret 0xf52c
push ss
sbb byte [ebx], dl
fsub st(4), st(0)
aas
das
push es
dec eax
test dword [eax], edx
mov dword [eax - 0x41196a4f], edi
dec ecx
mov eax, dword [0x359688c8]
add ebx, edx
cmp ah, cl
cld
push 0x4c
jne 0x40c329
push ecx
sub cl, byte [esi - 0x6b]
sti
aam 0x24
push cs
aad 0x24
mov dh, 0x3b
mov eax, 0xf119a567
popal
lahf
mov byte [edi - 0x2b], cl
push edi
add al, 0x75
inc edi
fild word [edi + 0x6e]
sti
insb byte es:[edi], dx
salc
leave
dec ebx
sbb byte [ecx], ah
mov dword [ebx - 0x7f166e27], eax
js 0x40c2f6
or eax, 0x87911875
xor al, 4
out dx, al
sbb byte [0xe9f9759a], dh
or ch, ch
js 0x40c39f
xor al, 0xd3
cmp cl, byte [ecx + 0x33]
push ecx
aad 0xe5
dec edx
mov dword [0x54e72415], eax
and al, 0xe7
push esp
adc edi, dword [ebp + 9]
nop
pop ebx
sbb dword [eax], edi
cmc
sbb esi, dword [eax + edx*4 + 0x1f]
je 0x40c331
pop ds
and eax, 0x18b1bcb9
sal dword [esi + edx*8 - 0x55], 0xda
daa
fcmovnbe st(0), st(6)
add al, 0xf8
pop esi
test eax, 0x1cf4d025
xor eax, 0xe5e3ddf2
sbb dword [ebp + 0x1209adec], esp
daa
dec ebx
add al, 0x12
adc eax, 0x2cfe08b
xor eax, 0xbfd2e58c
xor ah, byte [eax - 0x27]
clc
fcmovnbe st(0), st(0)
or byte [ebx + 0x5beaffa9], dh
test byte [eax + 0x1f], bl
push ss
pop es
js 0x40c3bc
mov eax, dword [0x766f3cf7]
pushfd
jne 0x40c393
imul ecx, dword [edx], 0x17
aam 0xa9
add edx, edx
loop 0x40c450
dec ecx
ja 0x40c386
xlatb
sub dh, byte [ebp + 0x66]
out dx, al
call 0x26ab0baf
mov ebp, 0xac31c66c
invalid
in eax, dx
scasd eax, dword es:[edi]
salc
enter 0xffffffffffffb9c5, 0xffffffffffffffcc
lodsd eax, dword [esi]
test eax, 0x591782b8
jns 0x40c4d7
xor esp, dword [ebx - 0x11]
out dx, eax
pop ebx
not esi
push 0x1cad5821
test al, 0x51
in eax, 0x47
in al, 0x29
mov cl, 0x81
loopne 0x40c461
wait
adc byte [ebx], ch
mov edx, gs
mov dh, 0xc8
mov al, 0xdf
dec edx
retf
dec ebx
enter 0xffffffffffffb0f9, 0xffffffffffffffb0
sbb al, 0x9f
inc eax
xor edi, ecx
daa
mov bl, 3
push ss
add al, 0x3d
into
cmp byte [eax + 0x518aa134], dl
invalid
mov dl, byte [ecx - 0x3a]
mov ebx, dword [edx - 0x43]
pop ds
pop ebx
loop 0x40c4c1
cmp eax, dword [eax - 0x79]
dec eax
adc ebx, dword [esi + esi*4 + 0x21]
pop ds
leave
xchg ebp, eax
mov al, 0xb6
inc edi
jno 0x40c4ef
bound edx, qword [esi + ecx*8 - 0x28]
xor al, 0x89
jo 0x40c4e4
push edx
retf
Function at 0x417810
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x50
test eax, eax
push esi
je 0x417836
mov eax, dword [0x6337d0]
test eax, eax
je 0x41782c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
pop esi
add esp, 0x50
ret
push ebx
push edi
lea eax, [esp + 0xc]
push 0x50
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.dsound.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
mov dword [0x6337d0], eax
test eax, eax
pop ebx
je 0x4178d1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DirectSoundCreate
push eax
call esi
mov ecx, dword [0x6337d0]
push str.DirectSoundEnumerateA
push ecx
mov dword [0x6337cc], eax
call esi
mov ecx, dword [0x6337cc]
mov dword [0x6337d4], eax
test ecx, ecx
je 0x4178c7
test eax, eax
je 0x4178c7
mov eax, 1
pop esi
add esp, 0x50
ret
mov dword [0x6337d0], 0
xor eax, eax
pop esi
add esp, 0x50
ret

Function at 0x47ac34
Capabilities:
Encode data using xor

Disassembly:
and al, 8
std
call esp
pop edi
inc ebx
inc ebp
les eax, [ebx + 0x12bfe2d4]
in eax, dx
scasd eax, dword es:[edi]
jl 0x47ac59
stosd dword es:[edi], eax
adc eax, 0xdca51ff4
sub edi, dword [ebx + 0x11]
xchg ah, ch
sbb eax, 0x525476bf
push edx
insb byte es:[edi], dx
mov eax, dword [0x2402f68d]
test byte [edx], 0x24
lodsd eax, dword [esi]
mov bh, 0xc
xor byte [esp + ecx*8], dl
xor byte [esp + ecx*8], dl
xchg byte [ebp + 0x11], bl
xor al, 0x9c
sbb al, 0x3a
ja 0x47ac55
and dword [edi + 0x4c], ebp
jns 0x47ac76
in eax, dx
cmp eax, 0x1dbe7bf6
push ecx
mov ebp, ds
pop ebp
sbb eax, 0x5ddd8c51
fistp dword [ecx + ebx]
out 0xe3, al
jp 0x47ad00
cld
or esp, ebx
jnp 0x47ac60
adc al, 0xce
pop edx
cmpsb byte [esi], byte es:[edi]
std
sbb al, 0x64
push ds
int 0x68
mov ebp, 0xec01a606
xchg ecx, eax
jmp 0xede33d1d
mov dword [esi - 0x4166604a], ebx
sub ah, dh
mov dword [ebx - 0x73], ebx
iretd
Function at 0x5963d6
Capabilities:
Encode data using xor

Disassembly:
enter 0xffffffffffffa1d1, 0xffffffffffffff97
xor byte [ecx + edx*4 + 0x17a05400], ah
mov ecx, 0x7ebea79f
stc
mov byte [edx + 0x7905a72f], ch
aad 0xaa
in eax, dx
inc eax
imul edx, dword [eax - 0x43137480], 0x1b
sar byte [ebp + 0x51], 0x6d
sub bh, byte [ebp + 0x69e09dfc]
lcall 0x97d1, 0xd697845d
invalid

Function at 0x626d45
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6303a0
cmp edx, dword [eax]
je 0x626d67
add eax, 8
inc ecx
cmp eax, 0x630430
jl 0x626d58
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6303a0]
jne 0x626e95
mov eax, dword [0x634d7c]
cmp eax, 1
je 0x626e6f
test eax, eax
jne 0x626d98
cmp dword [0x6302cc], 1
je 0x626e6f
cmp edx, 0xfc
je 0x626e95
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x626dcf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00627730
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00627bc0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x626e12
lea eax, [ebp - 0x1a4]
push eax
call fcn.00627bc0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62ca34
push edi
call fcn.00629a90
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00627730
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00627740
lea eax, [ebp - 0xa0]
push 0x62ca14
push eax
call fcn.00627740
push dword [esi + 0x6303a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00627740
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00629a04
add esp, 0x2c
pop edi
jmp 0x626e95
lea eax, [ebp + 8]
lea esi, [esi + 0x6303a4]
push 0
push eax
push dword [esi]
call fcn.00627bc0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x402954
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4029ec
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4029cc
xor eax, eax
push ebp
push 0x4029c5
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 0x402a08
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 0x4029cc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x404670
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x40482c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4046d1
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404848
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404743
xor eax, eax
push ebp
push 0x40473c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.004044c8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404725
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404868
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404743
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
jmp 0x41bd71

Function at 0x404e58
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, eax
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x404e88
push 0
push dword [ebx]
call sub.kernel32.dll_GetFileSize
cmp eax, 0xffffffff
je 0x404e7e
jmp 0x419831
pop ebx
ret
call fcn.0040268c
or eax, 0xffffffff
jmp 0x404e7c
mov eax, 0x67
call fcn.0040267c
or eax, 0xffffffff
jmp 0x404e7c
Function at 0x40c6e4
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004037a0
xor eax, eax
push ebp
push 0x40c76b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x80
mov eax, dword [ebp - 4]
call fcn.004037b0
push eax
call sub.kernel32.dll_SetFileAttributesA
xor ebx, ebx
mov eax, dword [0x40f3f8]
mov byte [eax], 2
mov edx, dword [ebp - 4]
mov eax, 0x410658
call fcn.00404c6e
mov edx, 0x80
mov eax, 0x410658
call fcn.00404fe9
call fcn.00402698
test eax, eax
jne 0x40c746
mov bl, 1
mov eax, 0x410658
call fcn.00404dd8
call fcn.0040265c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c772
lea eax, [ebp - 4]
call fcn.00403390
ret

Function at 0x40ce00
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004037a0
mov edi, 0x4108f4
xor eax, eax
push ebp
push 0x40cfbc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x80
mov eax, dword [0x4108fc]
call fcn.004037b0
push eax
call sub.kernel32.dll_SetFileAttributesA
push 0x80
push dword [0x4108fc]
push 0x40cfd4
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.00406b3c
push dword [ebp - 0x10]
push 0x40cfe0
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.004036ac
mov eax, dword [ebp - 0xc]
call fcn.004037b0
push eax
jmp 0x41a647
Function at 0x401530
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push esi
mov esi, dword [esp + 8]
xor edx, edx
mov dl, byte [esi]
xor eax, eax
test dl, dl
je 0x401559
push edi
mov edi, eax
shl edi, 4
and edx, 0xff
add edi, eax
add edx, edi
inc esi
mov eax, edx
mov dl, byte [esi]
test dl, dl
jne 0x401540
pop edi
xor edx, edx
div dword [ecx + 4]
pop esi
mov eax, edx
ret 4

Function at 0x401570
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
lea eax, [ebx*4]
mov esi, ecx
push eax
mov dword [esi + 4], ebx
call fcn.004397e0
mov ecx, dword [esi + 4]
mov dword [esi], eax
add esp, 4
xor eax, eax
test ecx, ecx
jle 0x4015b1
jmp 0x4015a0
mov ecx, dword [esi]
mov dword [ecx + eax*4], 0
mov ecx, dword [esi + 4]
inc eax
cmp eax, ecx
jl 0x4015a0
test ebx, ebx
jle 0x401602
push ebp
push edi
mov edi, dword [esp + 0x14]
mov ebp, ebx
lea ecx, [ecx]
mov edx, dword [edi]
xor ecx, ecx
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x4015e8
lea esp, [esp]
mov ebx, eax
shl ebx, 4
and ecx, 0xff
add ebx, eax
add ecx, ebx
inc edx
mov eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x4015d0
xor edx, edx
div dword [esi + 4]
mov eax, dword [esi]
mov ecx, dword [eax + edx*4]
mov dword [edi + 8], ecx
mov eax, dword [esi]
mov dword [eax + edx*4], edi
add edi, 0xc
dec ebp
jne 0x4015c0
pop edi
pop ebp
mov eax, esi
pop esi
pop ebx
ret 8
Function at 0x403fb0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
push edi
xor eax, eax
jmp 0x403fc0
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x403fc0
xor dl, dl
xor edi, edi
lea ecx, [esi + 1]
mov dword [esp + 0x10], 0x40
lea ebx, [ebx]
movzx eax, dl
mov dl, byte [ecx - 1]
mov dword [esp + 0xc], eax
movzx eax, byte [eax + ebp]
mov byte [esp + 0xb], dl
movzx edx, dl
add eax, edi
add eax, edx
and eax, 0x800000ff
jns 0x404007
dec eax
or eax, 0xffffff00
inc eax
mov dl, byte [esp + 0xb]
movzx edi, al
mov al, byte [edi + esi]
mov byte [ecx - 1], al
mov eax, dword [esp + 0xc]
inc eax
mov byte [edi + esi], dl
cdq
idiv ebx
movzx eax, dl
mov dl, byte [ecx]
mov dword [esp + 0xc], eax
movzx eax, byte [eax + ebp]
mov byte [esp + 0xb], dl
movzx edx, dl
add eax, edi
add eax, edx
and eax, 0x800000ff
jns 0x404045
dec eax
or eax, 0xffffff00
inc eax
mov dl, byte [esp + 0xb]
movzx edi, al
mov al, byte [edi + esi]
mov byte [ecx], al
mov eax, dword [esp + 0xc]
inc eax
mov byte [edi + esi], dl
cdq
idiv ebx
movzx eax, dl
mov dl, byte [ecx + 1]
mov dword [esp + 0xc], eax
movzx eax, byte [eax + ebp]
mov byte [esp + 0xb], dl
movzx edx, dl
add eax, edi
add eax, edx
and eax, 0x800000ff
jns 0x404083
dec eax
or eax, 0xffffff00
inc eax
mov dl, byte [esp + 0xb]
movzx edi, al
mov al, byte [edi + esi]
mov byte [ecx + 1], al
mov eax, dword [esp + 0xc]
inc eax
mov byte [edi + esi], dl
cdq
idiv ebx
movzx eax, dl
mov dl, byte [ecx + 2]
mov dword [esp + 0xc], eax
movzx eax, byte [eax + ebp]
mov byte [esp + 0xb], dl
movzx edx, dl
add eax, edi
add eax, edx
and eax, 0x800000ff
jns 0x4040c2
dec eax
or eax, 0xffffff00
inc eax
mov dl, byte [esp + 0xb]
movzx edi, al
mov al, byte [edi + esi]
mov byte [ecx + 2], al
mov eax, dword [esp + 0xc]
inc eax
mov byte [edi + esi], dl
cdq
idiv ebx
mov eax, dword [esp + 0x10]
add ecx, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x403fe0
pop edi
pop ebp
add esp, 0xc
ret