joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d7a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x3d9f588
mov dword [ebp - 4], 0x10
call dword [0x3d952a4]
push 0x3d9f588
call dword [0x3d952a8]
or ecx, 0xffffffff
mov edx, 0x3d9f588
test eax, eax
je 0x1000d7ed
movzx esi, byte [edx]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x3d9f6c8]
inc edx
dec eax
jne 0x1000d7d4
mov edi, dword [0x3d954d4]
not ecx
mov esi, ecx
push esi
push 0x3d9e504
push 0x3d9f5a0
call edi
lea ebx, [esi + esi]
push ebx
push 0x3d9e504
push 0x3d9f54c
call edi
lea ecx, [esi + esi*2]
push ecx
push 0x3d9e504
push 0x3d9f5dc
call edi
push esi
push 0x3d9e580
push 0x3d9f670
call edi
push ebx
push 0x3d9e580
push 0x3d9f630
call edi
add esp, 0x3c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000da30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push 0x101
lea eax, [ebp - 0x104]
push eax
push ecx
call dword [0x3d954e4]
mov edx, eax
or eax, 0xffffffff
lea ecx, [ebp - 0x104]
test edx, edx
je 0x1000da7a
push esi
lea esp, [esp]
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x3d9f6c8]
inc ecx
dec edx
jne 0x1000da60
pop esi
not eax
mov esp, ebp
pop ebp
ret

Function at 0x1000daf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x3da9ed4]
sub esp, 0x104
push ebx
mov ebx, dword [0x3d953a8]
push esi
push edi
push 1
push 5
push eax
call ebx
push eax
call ebx
mov edi, dword [0x3d9540c]
mov esi, eax
lea esp, [esp]
push esi
call dword [0x3d953e4]
test eax, eax
je 0x1000dbb7
push 0xfffffffffffffff0
push esi
call dword [0x3d9541c]
test eax, 0x40000000
jne 0x1000db9c
push 0x101
lea ecx, [ebp - 0x104]
push ecx
push esi
call dword [0x3d954e4]
or ecx, 0xffffffff
lea edx, [ebp - 0x104]
test eax, eax
je 0x1000db7f
nop
movzx ebx, byte [edx]
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x3d9f6c8]
inc edx
dec eax
jne 0x1000db60
mov ebx, dword [0x3d953a8]
not ecx
test ecx, ecx
je 0x1000db96
xor eax, eax
cmp ecx, dword [eax*8 + 0x3d9e528]
je 0x1000dbcd
inc eax
cmp eax, 0xb
jb 0x1000db87
xor eax, eax
test al, 0x20
je 0x1000dbb7
push 0
push 0x1b
push 0x100
push esi
call edi
push 0xc01b0000
push 0x1b
push 0x101
push esi
call edi
push 3
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x1000db20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, word [eax*8 + 0x3d9e52c]
jmp 0x1000db98
Function at 0x100282e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x100282f0
xor eax, eax
pop ebp
ret 4
push esi
not eax
cmp edx, 8
jb 0x100283bf
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3d97d50]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3d97d50]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3d97d50]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3d97d50]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3d97d50]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3d97d50]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3d97d50]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3d97d50]
add ecx, 8
sub edx, 8
dec esi
jne 0x10028302
pop edi
test edx, edx
je 0x100283dc
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x3d97d50]
inc ecx
dec edx
jne 0x100283c3
not eax
pop esi
pop ebp
ret 4
Function at 0x100283f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
call dword [0x3d9512c]
cmp eax, 1
je 0x10028411
mov eax, 0x1000000
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x74]
push eax
push edi
call dword [0x3d95128]
test eax, eax
jne 0x1002842d
mov eax, 0x200
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x30]
push ecx
call dword [0x3d951f4]
lea edx, [ebp - 0x40]
push edx
call dword [0x3d95134]
mov esi, dword [0x3d95138]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
push ecx
call esi
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x40]
push eax
call esi
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sbb ecx, dword [ebp - 0x14]
sub dword [ebp - 0x60], eax
sbb dword [ebp - 0x5c], ecx
sub dword [ebp - 0x68], eax
sbb dword [ebp - 0x64], ecx
sub dword [ebp - 0x70], eax
sbb dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x74]
mov eax, ecx
xor esi, esi
and eax, 1
je 0x1002848f
mov dword [ebp - 8], 1
mov esi, dword [ebp - 8]
test cl, 2
je 0x10028497
or esi, 2
test cl, 4
je 0x1002849f
or esi, 4
mov edx, ecx
and edx, 0x10
je 0x100284a9
or esi, 0x10
test cl, 0x20
je 0x100284b1
or esi, 0x20
test edx, edx
je 0x100284bd
or esi, 0x40000000
jmp 0x100284c3
or esi, 0x80000000
or esi, 0x1000000
mov dword [ebp - 8], esi
test eax, eax
jne 0x100284d9
or esi, 0x800000
mov dword [ebp - 8], esi
push 0
push edi
call dword [0x3d9513c]
mov dword [ebp - 0x10], eax
cmp eax, 0x28
jbe 0x10028580
mov esi, dword [0x3d951fc]
push 0
push 0
push 0
push edi
call esi
mov ebx, dword [0x3d9521c]
push 0
lea ecx, [ebp - 0xc]
push ecx
push 2
lea edx, [ebp - 4]
push edx
push edi
call ebx
push 0
push 0
push 0x24
push edi
call esi
push 0
lea eax, [ebp - 0xc]
push eax
push 4
lea ecx, [ebp - 0x14]
push ecx
push edi
call ebx
mov edx, 0x54ad
cmp word [ebp - 4], dx
jne 0x1002857d
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x34]
cmp dword [ebp - 0x10], ecx
jbe 0x1002857d
push 0
push 0
push eax
push edi
call esi
push 0
lea edx, [ebp - 0xc]
push edx
push 4
lea eax, [ebp - 0x1c]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x1c]
cmp eax, 0x5a4d
je 0x10028576
cmp eax, 0x454e
je 0x10028576
cmp eax, 0x454c
je 0x10028576
cmp eax, 0x4550
jne 0x1002857d
or dword [ebp - 8], 0x400000
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp eax, ecx
je 0x1002858b
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
cmp eax, ecx
je 0x10028597
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
cmp eax, ecx
je 0x100285a6
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov esi, dword [ebp + 0x14]
cmp esi, ecx
je 0x100285ce
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x60]
push edx
call dword [0x3d95140]
movzx eax, word [ebp + 8]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
mov dword [esi], eax
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1002d330
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x340]
push esi
push edi
test eax, eax
jne 0x1002d350
mov eax, 0x3d9acd4
push 0x3d9acc0
push eax
lea ecx, [ebp - 0x214]
push 0x3d9acdc
push ecx
call dword [0x3d954d4]
lea eax, [ebp - 0x214]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d374
mov ecx, dword [ebx + 0x75c4]
sub eax, edx
lea edx, [ecx + eax + 0xd]
cmp edx, 0x7530
jbe 0x1002d3be
push ecx
lea eax, [ebx + 0x94]
push eax
mov eax, ebx
call fcn.10030cd0
test eax, eax
jns 0x1002d3b4
mov esi, ebx
call fcn.10030a00
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebx + 0x75c4], 0
mov al, byte [0x3d9e05d]
movsx ecx, al
neg ecx
sbb ecx, ecx
and ecx, 0x302fefc
xor edx, edx
add ecx, 0xfffe0003
test al, al
lea eax, [ebp - 0x214]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ecx
lea edx, [eax + 1]
je 0x1002d411
jmp 0x1002d3f0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d3f0
sub eax, edx
lea edx, [eax + 1]
shr edx, 8
inc eax
and edx, 0xff
shl eax, 8
xor edx, eax
mov word [ebp - 0xc], dx
jmp 0x1002d41f
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d411
sub eax, edx
inc eax
mov word [ebp - 0xc], ax
mov ecx, dword [ebx + 0x75c4]
xor eax, eax
lea edi, [ecx + ebx + 0x94]
mov word [ebp - 0xa], ax
lea esi, [ebp - 0x10]
mov ecx, 0xc
rep movsb byte es:[edi], byte [esi]
add dword [ebx + 0x75c4], 0xc
mov edx, dword [ebx + 0x75c4]
lea eax, [ebp - 0x214]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d452
sub eax, esi
lea ecx, [eax + 1]
lea edi, [edx + ebx + 0x94]
lea esi, [ebp - 0x214]
lea eax, [ebp - 0x214]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d476
sub eax, edx
inc eax
add dword [ebx + 0x75c4], eax
mov eax, dword [ebx + 0x75c4]
push eax
lea edx, [ebx + 0x94]
push edx
mov eax, ebx
call fcn.10030cd0
test eax, eax
js 0x1002d3a2
pop edi
pop esi
mov dword [ebx + 0x75c4], 0
or al, 0xff
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10036380
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push ebx
push esi
mov esi, dword [edx + 4]
mov edx, eax
shr edx, 4
xor edx, esi
and edx, 0xf0f0f0f
xor esi, edx
shl edx, 4
xor eax, edx
mov edx, eax
shr edx, 0x10
xor edx, esi
and edx, 0xffff
xor esi, edx
shl edx, 0x10
xor eax, edx
mov edx, esi
shr edx, 2
xor edx, eax
and edx, 0x33333333
xor eax, edx
add edx, edx
add edx, edx
xor esi, edx
mov edx, esi
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor eax, edx
shl edx, 8
xor esi, edx
rol esi, 1
mov edx, esi
xor edx, eax
and edx, 0xaaaaaaaa
xor esi, edx
xor edx, eax
rol edx, 1
push edi
mov ecx, 0x3dad708
mov dword [ebp - 4], edx
mov dword [ebp - 8], 8
mov eax, esi
ror eax, 4
xor eax, dword [ecx]
add ecx, 0x10
mov edx, eax
shr edx, 0x18
mov edi, eax
shr edi, 0x10
and edi, 0x3f
and edx, 0x3f
mov edx, dword [edx*4 + 0x3d9d6a8]
or edx, dword [edi*4 + 0x3d9d8a8]
mov edi, eax
shr edi, 8
and edi, 0x3f
or edx, dword [edi*4 + 0x3d9daa8]
and eax, 0x3f
or edx, dword [eax*4 + 0x3d9dca8]
mov eax, dword [ecx - 0xc]
xor eax, esi
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x3d9d7a8]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
or edi, dword [ebx*4 + 0x3d9d9a8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edi, dword [ebx*4 + 0x3d9dba8]
and eax, 0x3f
or edi, dword [eax*4 + 0x3d9dda8]
or edi, edx
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 4]
xor edi, dword [ebp - 0xc]
mov eax, edi
ror eax, 4
xor eax, dword [ecx - 8]
mov dword [ebp - 4], edi
mov edx, eax
shr edx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and edx, 0x3f
mov edx, dword [edx*4 + 0x3d9d6a8]
or edx, dword [ebx*4 + 0x3d9d8a8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edx, dword [ebx*4 + 0x3d9daa8]
and eax, 0x3f
or edx, dword [eax*4 + 0x3d9dca8]
mov eax, dword [ecx - 4]
xor eax, edi
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x3d9d7a8]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
or edi, dword [ebx*4 + 0x3d9d9a8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edi, dword [ebx*4 + 0x3d9dba8]
and eax, 0x3f
or edi, dword [eax*4 + 0x3d9dda8]
or edi, edx
xor esi, edi
dec dword [ebp - 8]
jne 0x10036403
mov ecx, dword [ebp - 4]
ror esi, 1
mov eax, esi
xor eax, ecx
and eax, 0xaaaaaaaa
xor esi, eax
xor eax, ecx
ror eax, 1
mov ecx, eax
shr ecx, 8
xor ecx, esi
and ecx, 0xff00ff
xor esi, ecx
shl ecx, 8
xor eax, ecx
mov ecx, eax
shr ecx, 2
xor ecx, esi
and ecx, 0x33333333
xor esi, ecx
add ecx, ecx
add ecx, ecx
xor eax, ecx
mov edx, dword [ebp + 8]
mov ecx, esi
shr ecx, 0x10
xor ecx, eax
and ecx, 0xffff
xor eax, ecx
shl ecx, 0x10
xor esi, ecx
mov ecx, esi
shr ecx, 4
xor ecx, eax
and ecx, 0xf0f0f0f
mov edi, ecx
shl edi, 4
xor edi, esi
mov dword [edx], edi
pop edi
xor ecx, eax
pop esi
mov dword [edx + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10044900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor eax, 0xffffffff
test ecx, ecx
mov esi, dword [ebp + 8]
je 0x10044929
xor al, byte [esi]
movzx edx, al
shr eax, 8
mov edx, dword [edx*4 + 0x3d9d100]
inc esi
xor eax, edx
dec ecx
jne 0x10044914
xor eax, 0xffffffff
pop esi
leave
ret 0xc

Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
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 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
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 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0
Function at 0x405b23
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405dee
test bl, 8
mov dword [ebp - 8], eax
je 0x405b62
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x434fa8], eax
jmp 0x405cdf
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x405b7c
test eax, eax
je 0x405c8d
test bl, 2
je 0x405c8d
mov esi, str.C:UsersADMINI1AppDataLocalTemp_nss7125.tmpdownload.exe
push edi
push esi
call fcn.00406411
cmp dword [ebp + 8], 0
je 0x405b9b
push str..
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x405ba1
push edi
call fcn.00405d32
cmp word [edi], 0
jne 0x405bb1
cmp word [str.C:UsersADMINI1AppDataLocalTemp_nss7125.tmpdownload.exe], 0x5c
jne 0x405bbc
push 0x40a014
push edi
call sub.KERNEL32.dll_lstrcatW
push edi
call sub.KERNEL32.dll_lstrlenW
lea ebx, [edi + eax*2]
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405c82
cmp word [ebp - 0x22c], 0x2e
jne 0x405c06
cmp word [ebp - 0x22a], 0
je 0x405c65
cmp word [ebp - 0x22a], 0x2e
jne 0x405c06
cmp word [ebp - 0x228], 0
je 0x405c65
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.00406411
test byte [ebp - 0x258], 0x10
je 0x405c31
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405c65
push dword [ebp + 0xc]
push edi
call fcn.00405b23
jmp 0x405c65
push dword [ebp - 4]
push edi
call fcn.00405adb
test eax, eax
jne 0x405c5d
cmp dword [ebp - 4], eax
je 0x405c55
push edi
push 0xfffffffffffffff1
call fcn.00405479
push 0
push edi
call fcn.004061d7
jmp 0x405c65
inc dword [0x434fa8]
jmp 0x405c65
push edi
push 0xfffffffffffffff2
call fcn.00405479
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x405bde
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405c8d
and word [ebx - 2], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405cdf
cmp dword [ebp - 8], esi
jne 0x405ca1
inc dword [0x434fa8]
jmp 0x405cdf
push edi
call fcn.0040676f
test eax, eax
je 0x405cdf
push edi
call fcn.00405ce6
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.00405adb
test eax, eax
jne 0x405cd7
cmp dword [ebp - 4], esi
je 0x405c99
push edi
push 0xfffffffffffffff1
call fcn.00405479
push esi
push edi
call fcn.004061d7
jmp 0x405cdf
push edi
push 0xffffffffffffffe5
call fcn.00405479
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x401099
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
push esi
push 0x100
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
mov esi, eax
mov eax, 0xff
push eax
lea ecx, [ebp - 0x104]
push ecx
xor ecx, ecx
push ecx
push ecx
lea edx, [ebp - 4]
push edx
push eax
lea eax, [ebp - 0x204]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 0x21
push esi
push dword [ebp - 4]
call dword [sym.imp.msvcrt.dll__ultoa]
add esp, 0xc
neg eax
sbb eax, eax
and eax, esi
pop esi
leave
ret

Function at 0x4012a9
Capabilities:
Get http content length
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00404760
push ebx
push esi
push edi
xor edi, edi
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x20000005
push dword [ebp + 8]
mov dword [ebp - 8], 4
mov dword [ebp - 4], edi
xor esi, esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x4012f0
mov eax, dword [ebp - 4]
inc eax
push eax
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
mov edi, eax
lea eax, [ebp - 8]
push eax
push 0x1000
lea eax, [ebp - 0x1008]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x401349
mov ebx, dword [ebp - 8]
lea eax, [esi + ebx]
cmp eax, dword [ebp - 4]
jbe 0x40132f
inc eax
push eax
push edi
call dword [sym.imp.msvcrt.dll_realloc]
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x40135e
mov ebx, dword [ebp - 8]
add dword [ebp - 4], ebx
push ebx
lea eax, [ebp - 0x1008]
push eax
lea eax, [edi + esi]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
add esi, ebx
test ebx, ebx
jne 0x4012f0
test edi, edi
je 0x40135e
cmp esi, dword [ebp - 4]
je 0x40135e
push edi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
xor edi, edi
jmp 0x40136b
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x401367
mov dword [eax], esi
mov byte [edi + esi], 0
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401372
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, edi
mov dword [ebp - 8], ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401388
sub eax, esi
mov esi, dword [sym.imp.msvcrt.dll_malloc]
inc eax
push eax
call esi
push 2
mov dword [ebp + 8], eax
call esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
pop ecx
mov dword [eax], ebx
cmp byte [edi + 4], 0x3a
pop ecx
jne 0x4013d2
cmp byte [edi + 5], 0x2f
jne 0x4013d2
cmp byte [edi + 6], 0x2f
jne 0x4013d2
mov edx, dword [ebp + 8]
lea eax, [edi + 7]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4013c6
jmp 0x4013e3
mov edx, dword [ebp + 8]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4013d9
push 0x2f
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_strchr]
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x40142d
sub eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x401401
sub eax, ecx
inc eax
push eax
call esi
mov edx, eax
mov dword [ebp - 4], edx
pop ecx
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x401418
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov byte [eax + ecx], bl
jmp 0x401432
mov eax, dword [ebp - 4]
mov byte [eax], bl
push ebx
push ebx
push ebx
push ebx
push 0x4051c9
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x4014cc
push 1
push ebx
push 3
push ebx
push ebx
push 0x50
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x4014c7
push 1
push 0x4080200
push ebx
push ebx
push ebx
push dword [ebp - 4]
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
cmp esi, ebx
je 0x4014c2
push 0x20000000
push 0xffffffffffffffff
push str.Content_Type:_application_x_www_form_urlencoded
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x4014bf
push dword [ebp + 0x14]
push esi
call fcn.004012a9
pop ecx
pop ecx
mov dword [ebp - 8], eax
push esi
call edi
push dword [ebp - 0xc]
call edi
push dword [ebp - 0x10]
call edi
push dword [ebp + 8]
mov esi, dword [sym.imp.msvcrt.dll_free]
call esi
push dword [ebp - 4]
call esi
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401895
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x406108]
sub esp, 0x808
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4018a6
push ebx
push esi
sub eax, edx
inc eax
push edi
push eax
call dword [sym.imp.msvcrt.dll_malloc]
mov ebx, eax
mov eax, dword [ebp + 8]
pop ecx
mov ecx, dword [0x406060]
mov dword [ebp - 4], ebx
mov dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
test dl, dl
jne 0x4018c9
mov ecx, dword [0x406108]
mov edx, ebx
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4018db
xor ecx, ecx
inc ecx
mov edi, 0x4051c9
mov esi, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x401909
push 5
mov edi, str.auto
mov esi, ebx
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x401a09
lea eax, [ebp + 8]
push eax
push 1
xor ebx, ebx
push ebx
push str.http_shellopencommand
push 0x80000000
mov dword [ebp - 8], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x808]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x808], 0x22
lea eax, [ebp - 0x807]
je 0x40195e
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [eax - 3]
lea esi, [eax - 4]
test edi, edi
jle 0x4019a8
push 4
lea eax, [ebp + ebx - 0x408]
push str..exe
push eax
call dword [sym.imp.msvcrt.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x4019a6
inc ebx
cmp ebx, edi
jl 0x401983
jmp 0x4019a8
mov esi, ebx
lea eax, [ebp - 0x408]
mov byte [ebp + esi - 0x404], 0
mov esi, dword [sym.imp.msvcrt.dll_strstr]
push str.chrome
push eax
call esi
pop ecx
pop ecx
test eax, eax
jne 0x401a04
lea eax, [ebp - 0x408]
push str.Chrome
push eax
call esi
pop ecx
pop ecx
test eax, eax
jne 0x401a04
lea eax, [ebp - 0x408]
push str.CHROME
push eax
call esi
pop ecx
pop ecx
test eax, eax
jne 0x401a04
push dword [ebp - 4]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
lea eax, [ebp - 0x408]
jmp 0x401a09
mov eax, str.blocked
pop edi
pop esi
pop ebx
leave
ret