joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008ac0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1007ef18], 0x15a3
mov dword [0x1007ef1c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [0x1007ef20], 0
mov dword [0x1007ef2c], 0
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov dword [ebp - 0x20], eax
je 0x10008c08
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1007ef14], 0xeed
mov dword [0x1007ef18], 0x1f96
mov edx, dword [0x1007ef1c]
add edx, 1
mov dword [ebp - 0x24], eax
mov eax, edx
cdq
idiv ecx
mov dword [0x1007ef1c], edx
mov esi, dword [0x1007ef20]
mov edi, dword [ebp - 0x1c]
movzx edx, byte [edi + edx]
add edx, esi
mov eax, edx
cdq
idiv ecx
mov dword [0x1007ef20], edx
mov ecx, dword [0x1007ef1c]
mov bl, byte [edi + ecx]
mov byte [0x1007ef24], bl
mov bl, byte [edi + edx]
mov byte [edi + ecx], bl
mov ecx, dword [0x1007ef18]
add ecx, 0x224a
mov dword [0x1007ef14], ecx
mov bl, byte [0x1007ef24]
mov ecx, dword [0x1007ef20]
mov byte [edi + ecx], bl
mov ecx, dword [0x1007ef1c]
movzx ecx, byte [edi + ecx]
mov edx, dword [0x1007ef20]
movzx edx, byte [edi + edx]
add edx, ecx
and edx, 0xff
mov dword [0x1007ef2c], edx
mov bl, byte [edi + edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
movzx esi, byte [ecx + edx]
mov dword [esp], esi
movzx esi, bl
mov dword [esp + 4], esi
call fcn.10001000
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov byte [ecx + edx], al
mov dword [0x1007ef18], 0x84c
add edx, 1
mov esi, dword [ebp - 0x10]
cmp edx, esi
mov dword [ebp - 0x20], edx
jne 0x10008b1d
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10009450
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [0x1007ef18], 0x1aab
lea eax, [fcn.10009450]
mov dword [ebp - 4], eax
jmp 0x10009473
mov eax, dword [ebp - 8]
add esp, 8
pop ebp
ret
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 8], eax
jne 0x1000948f
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x1000946b
mov eax, dword [ebp - 8]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [ebp - 4], eax
jmp 0x10009473
Function at 0x100095a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1000964b
mov eax, dword [0x1007ef18]
add eax, 0xfffff09a
mov dword [0x1007ef14], eax
mov eax, 1
mov dword [ebp - 0x14], eax
jmp 0x100096f2
mov dword [0x1007ef14], 0x21d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1000969e
jmp 0x100096e3
mov dword [0x1007ef14], 0x127d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x100095e8
jmp 0x100096e3
mov eax, dword [0x1007ef18]
add eax, 0xffffdc92
mov dword [0x1007ef14], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1000960a
jmp 0x100096e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x10009678
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x1000964b
mov eax, dword [ebp - 0x20]
mov ecx, dword [0x1007ef14]
add ecx, 0xffffeb30
mov dword [0x1007ef14], ecx
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
je 0x10009628
jmp 0x100096e3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x100096e3
mov dword [0x1007ef14], 0x139c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x100096e3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov dx, word [eax + ecx*2 - 0xe]
mov word [ebp - 0x22], dx
mov ax, word [ebp - 0x22]
cmp ax, 0x6c
je 0x100095cc
xor eax, eax
mov dword [0x1007ef18], 0xda4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add esp, 0x24
pop ebp
ret
Function at 0x18027897
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10820
call fcn.181543a0
mov eax, dword [0x181c700c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edi, ecx
mov dword [ebp - 0x1081c], esi
mov ecx, dword [edi]
call fcn.180108c7
test al, al
jne 0x180278d3
mov eax, 0x80070002
jmp 0x180279d3
mov ecx, esi
call fcn.1801cc5d
push 0x10000
lea eax, [ebp - 0x1080c]
push 0
push eax
call fcn.1812d590
add esp, 0xc
lea eax, [ebp - 0x1080c]
push dword [edi]
push 0x8000
push eax
push 0
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
and dword [ebp - 0x10814], 0
mov dword [ebp - 0x10818], eax
test eax, eax
je 0x180279d1
push 0x800
lea eax, [ebp - 0x80c]
push 0
push eax
call fcn.1812d590
mov eax, dword [ebp - 0x10814]
lea ecx, [ebp - 0x1080c]
and dword [ebp - 0x10810], 0
add esp, 0xc
lea eax, [ecx + eax*2]
push eax
lea ecx, [ebp - 0x10810]
call fcn.1800759a
push dword [edi]
lea eax, [ebp - 0x80c]
push 0x400
push eax
push 0
push dword [ebp - 0x10810]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x10810]
mov ecx, esi
push eax
call fcn.18028c1b
mov esi, eax
lea eax, [ebp - 0x80c]
push eax
call fcn.181315f0
pop ecx
push eax
lea eax, [ebp - 0x80c]
mov ecx, esi
push eax
call fcn.1800768d
mov eax, dword [ebp - 0x10810]
mov esi, dword [ebp - 0x10814]
inc esi
add esi, dword [eax - 0xc]
lea ecx, [eax - 0x10]
mov dword [ebp - 0x10814], esi
call fcn.18007012
cmp esi, dword [ebp - 0x10818]
mov esi, dword [ebp - 0x1081c]
jb 0x1802791f
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181188e8
leave
ret
Function at 0x181129ab
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x181129e6
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x181129cd
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x181129de
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x181129e8
inc edi
add eax, 0x28
cmp edi, esi
jb 0x181129c3
xor eax, eax
pop edi
pop esi
ret

Function at 0x18112a26
Capabilities:
Resolve function by parsing pe exports

Disassembly:
inc ecx
fsubr st(3), st(0)
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x3c]
add esi, edi
mov ebx, dword [esi + 0x78]
call fcn.1811296b
je 0x18112ab7
js 0x18112a89
push esi
push ebx
call fcn.181129ab
pop ecx
test eax, eax
pop ecx
je 0x18112afe
push edi
push esi
push ebx
call fcn.181129eb
add esp, 0xc
call fcn.1811296b
xor eax, 0x8b398be5
jbe 0x18112add
test esi, esi
je 0x18112afe
mov ebx, dword [esi + edi + 0x24]
add esi, edi
add ebx, edi
call fcn.1811296b
lds ecx, [edi - 0x70]
sub cl, byte [ebx - 0x38fcdfba]
mov edi, dword [esi + 0x1c]
add edi, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test ax, ax
je 0x18112b0d
and dword [ebp - 4], 0
mov eax, dword [edi]
pop es
mov dword [ebp - 0x10], eax
call fcn.1811296b
sbb eax, 0x838bd945
jge 0x18112a9c
add byte [ebx + eax*2 - 0x75], dh
inc ebp
in al, dx
and dword [ebp - 0x10], 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
inc ebp
hlt
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, dword [ebp - 4]
jne 0x18112ade
mov eax, dword [ebp - 0xc]
push dword [ebp + 0xc]
mov eax, dword [eax]
add eax, dword [ebp + 8]
push eax
call fcn.18112901
pop ecx
test eax, eax
pop ecx
je 0x18112b05
daa
mov eax, dword [esi + 0x18]
inc dword [ebp - 0x10]
add dword [ebp - 8], 2
add dword [ebp - 0xc], 4
dec eax
cmp dword [ebp - 0x10], eax
jbe 0x18112abc
mov eax, dword [esi + 0x14]
inc dword [ebp - 4]
dec eax
cmp dword [ebp - 4], eax
jbe 0x18112a9b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 4]
mov eax, dword [edi + eax*4]
jmp 0x18112b42
xor ebx, ebx
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x10]
add eax, ebx
cmp dword [ebp + 0xc], eax
jne 0x18112b2d
call fcn.1811296b
xchg edx, eax
and ebx, dword [edx - 0x59]
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x18112b3c
mov eax, dword [esi + 0x14]
add dword [ebp - 0x10], 4
inc ebx
dec eax
cmp ebx, eax
jbe 0x18112b12
jmp 0x18112afe
mov eax, dword [edi + ebx*4]
shl eax, 6
add eax, dword [ebp + 8]
jmp 0x18112b00
Function at 0x18112c45
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [edi + edi*8 - 1], esi
dec dword [ebx - 0xe0807bb]
test edx, edx
je 0x18112c59
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
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
mov byte [ebp - 0x3a], 0x61
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
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.1811296b
mov edi, 0x8dfaf373
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid
Function at 0x18148b1a
Capabilities:
Set environment variable

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

Function at 0x1814f884
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1814f6fa

Function at 0x18154240
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1815426d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1815426d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x432000
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], al
add byte [eax], al
add byte [eax], al
add byte [eax - 0x6f6f6f70], dl
nop
nop
nop
nop
nop
pushal
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x431fd9
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x10c3d268
Capabilities:
Decompress data using aplib

Disassembly:
call 0x10c3d3b8
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 0x10c3d28e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10c3d27a
add dl, dl
jne 0x10c3d299
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10c3d2ec
xor eax, eax
add dl, dl
jne 0x10c3d2a6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10c3d38d
add dl, dl
jne 0x10c3d2b5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10c3d2c0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10c3d2cb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10c3d2d6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10c3d2e2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10c3d285
mov eax, 1
add dl, dl
jne 0x10c3d2fa
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10c3d305
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10c3d2f1
sub eax, ebx
mov ebx, 1
jne 0x10c3d338
mov ecx, 1
add dl, dl
jne 0x10c3d31e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10c3d329
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10c3d315
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10c3d285
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10c3d34f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10c3d35a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10c3d346
cmp eax, 0x7d00
jae 0x10c3d37d
cmp eax, 0x500
jb 0x10c3d378
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10c3d285
cmp eax, 0x7f
ja 0x10c3d380
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10c3d285
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10c3d3ae
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 0x10c3d285
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x419220
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13000]
push edi
jmp 0x41923a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419241
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419230
mov eax, 1
add ebx, ebx
jne 0x419253
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419248
jne 0x419264
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419248
xor ecx, ecx
sub eax, 3
jb 0x419278
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4192ea
mov ebp, eax
add ebx, ebx
jne 0x419283
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419290
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4192b4
inc ecx
add ebx, ebx
jne 0x4192a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419295
jne 0x4192b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419295
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4192d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4192c5
jmp 0x419236
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4192d4
add edi, ecx
jmp 0x419236
pop esi
mov edi, esi
mov ecx, 0x156
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4192f2
cmp byte [edi], 2
jne 0x4192f2
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 0x4192f7
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419366
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a1e0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a26c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419324
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a270]
or eax, eax
je 0x419360
mov dword [ebx], eax
add ebx, 4
jmp 0x419341
call dword [esi + 0x1a280]
mov ebp, dword [esi + 0x1a274]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x41939a
sub esp, 0xffffff80
jmp 0x403c73
Function at 0x414dd6
Capabilities:
Encode data using xor

Disassembly:
xor dword [edi], ecx
add ebx, 1
add edi, 4
inc edx
sub ebx, ebx
cmp edi, eax
jne fcn.00414dd6
mov ebx, 0x2ef7b37a
and ebx, edx
ret
Function at 0x40d760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
jmp 0x40d77a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40d781
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40d770
mov eax, 1
add ebx, ebx
jne 0x40d793
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40d788
jne 0x40d7a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d788
xor ecx, ecx
sub eax, 3
jb 0x40d7b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40d82a
mov ebp, eax
add ebx, ebx
jne 0x40d7c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40d7d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40d7f4
inc ecx
add ebx, ebx
jne 0x40d7e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40d7d5
jne 0x40d7f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d7d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40d814
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40d805
jmp 0x40d776
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40d814
add edi, ecx
jmp 0x40d776
pop esi
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40d87c
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd554]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd610]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40d831
mov ecx, edi
jns 0x40d860
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 + 0xd618]
or eax, eax
je 0x40d876
mov dword [ebx], eax
add ebx, 4
jmp 0x40d84e
call dword [esi + 0xd614]
mov ebp, dword [esi + 0xd61c]
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 0x40d8b0
sub esp, 0xffffff80
jmp 0x403946
Function at 0x401434
Capabilities:
Copy file
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Get file attributes
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Set current directory
Set file attributes
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [0x42a268]
push 7
pop ecx
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
mov esi, section..ndata
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
xor ebx, ebx
shl ecx, 0xb
add ecx, esi
mov edi, eax
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x30]
shl edi, 0xb
mov dword [0x40ce54], ecx
lea ecx, [edx - 2]
add edi, esi
cmp ecx, 0x43
mov dword [ebp - 4], ebx
ja case.0x40148a.66
jmp dword [ecx*4 + 0x402c3c]
push ebx
push eax
call fcn.004056ca
jmp 0x40239d
inc dword [0x42922c]
cmp dword [ebp - 8], ebx
je 0x40239d
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40239d
push eax
call fcn.0040136d
dec eax
push ebx
push eax
invalid

Function at 0x402822
Capabilities:
Read file on windows

Disassembly:
ret

Function at 0x402ea9
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, esi
lea eax, [ebp - 4]
and esi, 0x300
push eax
mov eax, esi
and edi, 1
or al, 9
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004064d5
xor ebx, ebx
cmp eax, ebx
jne 0x402f8c
test byte [ebp + 0x10], 2
je 0x402f0a
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 8], ebx
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x402f71
lea eax, [ebp - 0x214]
push 0x105
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402f46
test edi, edi
jne 0x402f71
push dword [ebp + 0x10]
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 4]
call fcn.00402ea9
test eax, eax
jne 0x402f4f
lea eax, [ebp - 0x214]
push 0x105
push eax
push edi
push dword [ebp - 4]
call ebx
test eax, eax
je 0x402f1f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.00406a35
test eax, eax
jne 0x402f81
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x402f8c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x3eb
jmp 0x402f8c
push 0
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x403371
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x40339c
mov ecx, dword [0x42a2b8]
push esi
add eax, ecx
push esi
push eax
mov dword [0x420ef4], eax
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
call fcn.00403479
cmp eax, esi
jl 0x403473
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.004061db
test eax, eax
je 0x403463
push dword [ebp + 8]
add dword [0x420ef4], 4
call fcn.00403479
mov ebx, eax
cmp ebx, esi
jl 0x403471
cmp dword [ebp + 0x10], esi
jne 0x40343f
cmp dword [ebp + 8], esi
jle 0x403471
mov esi, 0x414ef0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x403401
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.004061db
test eax, eax
je 0x403463
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.0040620a
test eax, eax
je 0x40343b
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x420ef4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4033f0
jmp 0x403471
push 0xfffffffffffffffe
jmp 0x403465
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x40344a
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x403468
push 0xfffffffffffffffd
pop eax
jmp 0x403473
mov ebx, dword [ebp - 4]
add dword [0x420ef4], ebx
invalid
Function at 0x40459d
Capabilities:
Encrypt data using chaskey

Disassembly:
ror esi, 6
inc esi
xor ebx, dword [0x42adbe]
inc esi
xor esi, ecx
sub dword [0x42a54e], 0x5da47ae
xor esi, ecx
dec esi
dec esi
rol esi, 6
xor edx, esp
sub edi, esi
xor ecx, esp
dec edx
neg ecx

Function at 0x4045c4
Capabilities:
Encrypt data using chaskey

Disassembly:
sub ebx, eax
inc esi
sub edi, esp
xor dword [edi], 0x8c6a5821
not eax
xchg esi, eax
neg eax
sub eax, 0x484e923
mov dword [0x42a655], ecx
rol esi, 9
sub esi, eax

Function at 0x4045e6
Capabilities:
Encrypt data using chaskey

Disassembly:
xor esi, eax
xor ecx, dword [0x42abee]
sub edi, esp
add edi, esp
xor esi, eax
add esi, eax
ror esi, 9