joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402720
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x24], 0xcc9e2d51
mov dword [ebp - 0x28], 0x1b873593
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0xd
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x38], 0xe6546b64
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
shr ecx, 2
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], 0
jmp 0x402777
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x1c]
jge 0x4027d4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0xc], ecx
imul edx, dword [ebp - 0xc], 0xcc9e2d51
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
shl eax, 0xf
mov ecx, dword [ebp - 0xc]
shr ecx, 0x11
or eax, ecx
mov dword [ebp - 0xc], eax
imul edx, dword [ebp - 0xc], 0x1b873593
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shl ecx, 0xd
mov edx, dword [ebp - 4]
shr edx, 0x13
or ecx, edx
imul eax, ecx, 5
sub eax, 0x19ab949c
mov dword [ebp - 4], eax
jmp 0x40276e
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 0xc]
and ecx, 3
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 1
je 0x402833
cmp dword [ebp - 0x14], 2
je 0x40281b
cmp dword [ebp - 0x14], 3
je 0x402804
jmp 0x402876
mov edx, 1
shl edx, 1
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + edx]
shl ecx, 0x10
xor ecx, dword [ebp - 8]
mov dword [ebp - 8], ecx
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + edx]
shl ecx, 8
xor ecx, dword [ebp - 8]
mov dword [ebp - 8], ecx
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + eax]
xor edx, dword [ebp - 8]
mov dword [ebp - 8], edx
imul eax, dword [ebp - 8], 0xcc9e2d51
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
shl ecx, 0xf
mov edx, dword [ebp - 8]
shr edx, 0x11
or ecx, edx
mov dword [ebp - 8], ecx
imul eax, dword [ebp - 8], 0x1b873593
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
xor edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shr eax, 0x10
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
imul ecx, dword [ebp - 4], 0x85ebca6b
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
shr edx, 0xd
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
imul eax, dword [ebp - 4], 0xc2b2ae35
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x10
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x402a80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push esi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x18], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add eax, dword [edx + ecx + 0x78]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 8], 0
jmp 0x402af0
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0x18]
jae 0x402b2d
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x402b2b
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x34]
movzx eax, word [edx + ecx*2]
mov dword [ebp - 0xc], eax
jmp 0x402b2d
jmp 0x402ae7
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x10], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
mov edx, dword [eax + edx*4]
cmp edx, dword [esi + ecx + 0x78]
jbe 0x402c14
mov eax, 8
imul ecx, eax, 0
mov edx, 8
imul eax, edx, 0
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + ecx + 0x78]
mov edx, dword [ebp - 0x18]
add ecx, dword [edx + eax + 0x7c]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
cmp dword [edx + eax*4], ecx
jae 0x402c14
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004028c0
add esp, 8
lea edx, [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.00402950
add esp, 8
lea ecx, [ebp - 0xb4]
push ecx
call fcn.004029f0
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x402bf3
lea edx, [ebp - 0xb4]
push edx
call fcn.00402e60
add esp, 4
mov dword [ebp - 0x2c], eax
jmp 0x402bfc
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x2c], ecx
lea edx, [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00402a80
add esp, 8
mov dword [ebp - 0x1c], eax
jmp 0x402c23
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402c30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
push esi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x18], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add eax, dword [edx + ecx + 0x78]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 8], 0
jmp 0x402ca7
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0x18]
jae 0x402cfb
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x1c], ecx
push 0x611
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00408380
add esp, 4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00402720
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x24]
jne 0x402cf9
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax + edx*2]
mov dword [ebp - 0xc], ecx
jmp 0x402cfb
jmp 0x402c9e
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x10], eax
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
mov eax, dword [ecx + eax*4]
cmp eax, dword [esi + edx + 0x78]
jbe 0x402de2
mov ecx, 8
imul edx, ecx, 0
mov eax, 8
imul ecx, eax, 0
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + edx + 0x78]
mov eax, dword [ebp - 0x18]
add edx, dword [eax + ecx + 0x7c]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
cmp dword [eax + ecx*4], edx
jae 0x402de2
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0xb8]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.004028c0
add esp, 8
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00402950
add esp, 8
lea edx, [ebp - 0xb8]
push edx
call fcn.004029f0
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x402dc1
lea eax, [ebp - 0xb8]
push eax
call fcn.00402e60
add esp, 4
mov dword [ebp - 0x30], eax
jmp 0x402dca
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x30], edx
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00402a80
add esp, 8
mov dword [ebp - 0x20], eax
jmp 0x402df1
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x408120
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [ebp + 0x14]
push eax
push 0
call fcn.00403220
push eax
call fcn.00402f70
add esp, 0xc
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
jmp 0x408167
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x100
jge 0x408197
mov edx, dword [ebp - 0xc]
mov al, byte [ebp - 0xc]
mov byte [ebp + edx - 0x124], al
mov eax, dword [ebp - 0xc]
xor edx, edx
div dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dl, byte [eax + edx]
mov byte [ebp + ecx - 0x224], dl
jmp 0x40815e
mov dword [ebp - 0x10], 0
jmp 0x4081a9
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x100
jge 0x408210
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ebp + ecx - 0x124]
add edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
movzx ecx, byte [ebp + eax - 0x224]
add edx, ecx
and edx, 0x800000ff
jns 0x4081dd
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
mov edx, dword [ebp - 8]
mov al, byte [ebp + edx - 0x124]
mov byte [ebp - 1], al
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov al, byte [ebp + edx - 0x124]
mov byte [ebp + ecx - 0x124], al
mov ecx, dword [ebp - 0x10]
mov dl, byte [ebp - 1]
mov byte [ebp + ecx - 0x124], dl
jmp 0x4081a0
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
jmp 0x408229
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp + 0x14]
jae 0x4082eb
mov edx, dword [ebp - 0x14]
add edx, 1
and edx, 0x800000ff
jns 0x40824b
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
movzx ecx, byte [ebp + eax - 0x124]
add ecx, dword [ebp - 8]
and ecx, 0x800000ff
jns 0x40826c
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov al, byte [ebp + edx - 0x124]
mov byte [ebp - 1], al
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov al, byte [ebp + edx - 0x124]
mov byte [ebp + ecx - 0x124], al
mov ecx, dword [ebp - 0x14]
mov dl, byte [ebp - 1]
mov byte [ebp + ecx - 0x124], dl
mov eax, dword [ebp - 0x14]
movzx ecx, byte [ebp + eax - 0x124]
mov edx, dword [ebp - 8]
movzx eax, byte [ebp + edx - 0x124]
add ecx, eax
and ecx, 0x800000ff
jns 0x4082c5
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 0x18]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x24]
movzx ecx, byte [ebp + eax - 0x124]
xor edx, ecx
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
mov byte [eax], dl
jmp 0x408220
mov dword [ebp - 0x1c], 0
jmp 0x4082fd
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp + 0x14]
jae 0x408317
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x1c]
mov dl, byte [ecx]
mov byte [eax], dl
jmp 0x4082f4
mov eax, dword [ebp - 0x20]
push eax
push 0
call fcn.00403220
push eax
call fcn.00402fc0
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x408640
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0x1b
mov byte [ebp - 0x24], 0xf8
mov byte [ebp - 0x23], 0xd9
mov byte [ebp - 0x22], 0xd8
mov byte [ebp - 0x21], 0xb9
mov byte [ebp - 0x20], 0xb8
mov byte [ebp - 0x1f], 0x99
mov byte [ebp - 0x1e], 0x98
mov byte [ebp - 0x1d], 0x79
mov byte [ebp - 0x1c], 0x78
mov byte [ebp - 0x1b], 0x59
mov byte [ebp - 0x1a], 0x58
mov byte [ebp - 0x19], 0x39
mov byte [ebp - 0x18], 0x38
mov byte [ebp - 0x17], 0x19
mov byte [ebp - 0x16], 0x18
mov byte [ebp - 0x15], 0xe9
mov byte [ebp - 0x14], 0xe8
mov byte [ebp - 0x13], 0xc9
mov byte [ebp - 0x12], pe_nt_image_headers32
mov byte [ebp - 0x11], 0xa9
mov byte [ebp - 0x10], 0xa8
mov byte [ebp - 0xf], 0x89
mov byte [ebp - 0xe], 0x88
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0xc], 0x68
mov byte [ebp - 0xb], 0x49
mov byte [ebp - 0xa], 0xff
push 0x40b378
lea ecx, [ebp - 0x24]
call fcn.00402680
mov eax, 0x40b378
mov esp, ebp
pop ebp
ret

Function at 0x4086e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0x1b
mov byte [ebp - 0x24], 0x79
mov byte [ebp - 0x23], 0x58
mov byte [ebp - 0x22], 0x19
mov byte [ebp - 0x21], 0xa8
mov byte [ebp - 0x20], 0x38
mov byte [ebp - 0x1f], 0xb9
mov byte [ebp - 0x1e], 0x99
mov byte [ebp - 0x1d], pe_nt_image_headers32
mov byte [ebp - 0x1c], 0xd9
mov byte [ebp - 0x1b], 0x88
mov byte [ebp - 0x1a], 0x69
mov byte [ebp - 0x19], 0x39
mov byte [ebp - 0x18], 0x68
mov byte [ebp - 0x17], 0x49
mov byte [ebp - 0x16], 0xe9
mov byte [ebp - 0x15], 0xa9
mov byte [ebp - 0x14], 0xf8
mov byte [ebp - 0x13], 0xc9
mov byte [ebp - 0x12], 0x59
mov byte [ebp - 0x11], 0x98
mov byte [ebp - 0x10], 0xd8
mov byte [ebp - 0xf], 0xe8
mov byte [ebp - 0xe], 0x18
mov byte [ebp - 0xd], 0x78
mov byte [ebp - 0xc], 0x89
mov byte [ebp - 0xb], 0xb8
mov byte [ebp - 0xa], 0xff
push 0x40b35c
lea ecx, [ebp - 0x24]
call fcn.00402680
mov eax, 0x40b35c
mov esp, ebp
pop ebp
ret
Function at 0x4024ac
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x422004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x5c
xor ebx, ebx
lea eax, [ebp - 0x60]
push ebx
push eax
mov esi, edx
mov edi, ecx
call fcn.00409830
push dword [ebp + 8]
mov edx, esi
mov dword [ebp - 0x60], 0x67452301
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 8], ebx
call fcn.004020df
add esp, 0x10
lea edx, [ebp - 0x60]
mov ecx, edi
call fcn.00402368
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004084f5
mov esp, ebp
pop ebp
ret

Function at 0x402806
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor edx, edx
push 8
mov ecx, edx
pop esi
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor ecx, eax
sub esi, 1
jne 0x40280e
mov dword [edx*4 + 0x423480], ecx
inc edx
cmp edx, 0x100
jb 0x402809
mov esi, 0x800
jmp 0x402857
mov ecx, dword [edx*4 + 0x423080]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x423480]
mov dword [edx*4 + 0x423480], ecx
inc edx
cmp edx, esi
jb 0x40283b
mov dword [0x425480], 0x402abc
call fcn.0040273f
mov ecx, dword [0x425480]
test eax, eax
mov edx, 0x402b55
cmove ecx, edx
mov dword [0x425480], ecx
pop esi
ret

Function at 0x4028d5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 4], ecx
mov esi, dword [edi]
test esi, esi
jne 0x4028ee
xor eax, eax
jmp 0x402936
and dword [edi], 0
mov edx, 0x400000
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push 0
push eax
cmp esi, edx
mov eax, esi
cmova eax, edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x402930
test ecx, ecx
je 0x4028ea
mov ecx, dword [ebp - 4]
mov edx, 0x400000
test esi, esi
jne 0x4028f6
jmp 0x4028ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40707b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
mov eax, ecx
push edi
xor edi, edi
mov dword [ebp - 4], eax
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x40709e
xor eax, eax
jmp 0x4071d8
push ebx
lea ecx, [edx - 4]
or ebx, 0xffffffff
add ecx, eax
mov dword [ebp - 8], ecx
lea edx, [edi + eax]
cmp edx, ecx
jae 0x4070c1
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x4070be
inc edx
cmp edx, ecx
jb 0x4070b1
mov eax, dword [ebp - 4]
mov edi, edx
sub edi, eax
cmp edx, ecx
jae 0x4071bc
mov ecx, edi
sub ecx, ebx
cmp ecx, 3
jbe 0x4070f8
xor esi, esi
mov al, byte [edx + 4]
mov ebx, edi
mov dword [ebp - 0x14], ebx
test al, al
je 0x407135
cmp al, 0xff
je 0x407135
and esi, 3
xor eax, eax
add esi, esi
or esi, 1
inc eax
jmp 0x4071b5
dec ecx
shl esi, cl
and esi, 7
je 0x4070d8
movzx eax, byte [esi + 0x4205b8]
mov ecx, edx
sub ecx, eax
cmp byte [esi + 0x4205a8], 0
mov al, byte [ecx + 4]
je 0x40711f
test al, al
je 0x40711f
cmp al, 0xff
jne 0x4070d8
and esi, 3
mov ebx, edi
add esi, esi
or esi, 1
inc edi
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
jmp 0x4070aa
movzx ebx, al
movzx eax, byte [edx + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 1]
shl ebx, 8
or ebx, eax
sub ebx, edi
sub ebx, 5
mov dword [ebp - 0x10], ebx
test esi, esi
je 0x40718e
movzx eax, byte [esi + 0x4205b8]
shl eax, 3
push 0x18
pop ecx
sub ecx, eax
mov dword [ebp - 0xc], eax
mov eax, ebx
shr eax, cl
test al, al
je 0x40717d
cmp al, 0xff
jne 0x40718e
xor ebx, ebx
push 0x20
pop ecx
sub ecx, dword [ebp - 0xc]
inc ebx
shl ebx, cl
dec ebx
xor ebx, dword [ebp - 0x10]
jmp 0x407153
mov eax, ebx
mov byte [edx + 1], bl
shr eax, 0x18
and al, 1
dec al
not al
mov byte [edx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 3], al
mov eax, ebx
mov ebx, dword [ebp - 0x14]
shr eax, 8
push 5
mov byte [edx + 2], al
pop eax
add edi, eax
jmp 0x40712a
mov edx, edi
xor eax, eax
sub edx, ebx
pop ebx
lea ecx, [edx - 1]
shl esi, cl
and esi, 7
cmp edx, 3
cmova esi, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x407f20
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x422004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x20c]
push 0x208
mov esi, ecx
mov dword [ebp - 0x214], edi
push edi
push eax
mov dword [ebp - 0x210], esi
call fcn.00409830
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0x20c]
push eax
call fcn.004076ad
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004084f5
mov esp, ebp
pop ebp
ret

Function at 0x407f9b
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x422004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x407fbb
mov eax, dword [esi]
jmp 0x407fbd
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x407fcf
mov al, 1
jmp 0x408066
push ebx
push 0x20a
xor ebx, ebx
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.00409830
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x407fef
mov esi, dword [esi]
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0040ed68
pop ecx
pop ecx
push 6
xor eax, eax
mov dword [ebp - 0x230], ebx
pop ecx
lea edi, [ebp - 0x22c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x228], eax
mov eax, 0x1494
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 0x22c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop edi
cmp dword [ebp - 0x21e], ebx
je 0x408050
xor al, al
jmp 0x408065
test eax, eax
je 0x408060
cmp eax, 2
je 0x408060
cmp eax, 0x402
jne 0x408063
xor ebx, ebx
inc ebx
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004084f5
mov esp, ebp
pop ebp
ret
Function at 0x408075
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a944
mov eax, dword fs:[0]
push eax
mov eax, 0x228c
call fcn.0041a4f0
mov eax, dword [0x422004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x2294], edi
test ebx, ebx
je 0x40821c
lea eax, [ebp - 0x248]
mov esi, 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, esi
jae 0x40821c
test eax, eax
je 0x40821c
push 0
call fcn.0040ee09
push eax
call fcn.0040ec34
pop ecx
pop ecx
xor esi, esi
and dword [ebp - 0x2268], 0
xor eax, eax
mov dword [ebp - 0x2264], 7
mov word [ebp - 0x2278], ax
and dword [ebp - 4], eax
lea ecx, [ebp - 0x2278]
push 0xffffffffffffffff
push eax
push edi
call fcn.00407737
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x38]
push 0xa
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x38]
push 0x14
push eax
call fcn.0040ec13
cdq
mov ecx, 0x7fff
idiv ecx
push edx
call fcn.0040ed33
add esp, 0x10
cmp word [ebp - 0x38], 0
jne 0x40814e
xor edi, edi
mov eax, edi
jmp 0x40815a
lea eax, [ebp - 0x38]
push eax
call fcn.0040e992
pop ecx
xor edi, edi
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x2278]
call fcn.004077e8
xor eax, eax
mov dword [ebp - 0x227c], 7
mov word [ebp - 0x2290], ax
lea ecx, [ebp - 0x2290]
lea eax, [ebp - 0x248]
mov dword [ebp - 0x2280], edi
push eax
call fcn.004076ad
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x2278]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2290]
call fcn.0040797e
push eax
lea ecx, [ebp - 0x2260]
call fcn.0040762e
push edi
push 1
lea ecx, [ebp - 0x2290]
mov byte [ebp - 4], 3
call fcn.00407656
cmp dword [ebp - 0x224c], 8
lea eax, [ebp - 0x2260]
push edi
cmovae eax, dword [ebp - 0x2260]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40823a
push edi
push 1
lea ecx, [ebp - 0x2260]
call fcn.00407656
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2278]
push edi
push 1
call fcn.00407656
mov edi, dword [ebp - 0x2294]
inc esi
cmp esi, 0x32
jl 0x4080ed
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004084f5
mov esp, ebp
pop ebp
ret
push 0x2000
lea eax, [ebp - 0x2248]
push edi
push eax
call fcn.00409830
add esp, 0xc
lea ecx, [ebp - 0x2248]
cmp dword [ebp - 0x224c], 8
lea eax, [ebp - 0x2260]
cmovae eax, dword [ebp - 0x2260]
push 0x1000
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
jne 0x40827e
xor bl, bl
jmp 0x40828e
lea eax, [ebp - 0x2248]
mov ecx, ebx
push eax
call fcn.004076ad
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x2260]
call fcn.00407656
push 0
push 1
lea ecx, [ebp - 0x2278]
call fcn.00407656
mov al, bl
jmp 0x40821e