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

Disassembly:
sub esp, 0x13c
mov eax, dword [0x4cc00c]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
mov ebx, dword [esp + 0x144]
xor ecx, ecx
push ebp
push esi
push edi
mov dword [esp + 0x2c], ebx
lea edx, [ebx + 0x28]
mov eax, dword [edx]
lea edx, [edx + 4]
bswap eax
mov dword [esp + ecx*4 + 0x48], eax
inc ecx
cmp ecx, 0x10
jb 0x4815d8
lea eax, [esp + 0x80]
mov ebp, 0x30
mov edx, dword [eax - 0x34]
lea eax, [eax + 4]
mov esi, dword [eax - 4]
mov edi, edx
mov ecx, edx
rol edi, 0xe
ror ecx, 7
xor edi, ecx
shr edx, 3
xor edi, edx
mov ecx, esi
mov edx, esi
rol ecx, 0xd
rol edx, 0xf
xor edx, ecx
shr esi, 0xa
xor edx, esi
add edi, edx
add edi, dword [eax - 0x3c]
add edi, dword [eax - 0x18]
mov dword [eax + 4], edi
sub ebp, 1
jne 0x4815f5
mov eax, dword [ebx]
mov ebp, eax
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 0x18]
mov edi, dword [ebx + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x20], edx
mov edx, dword [ebx + 0x14]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], eax
mov eax, edi
rol eax, 7
mov dword [esp + 0x44], esi
mov esi, edi
ror esi, 0xb
xor esi, eax
mov dword [esp + 0x38], ecx
mov eax, edi
mov dword [esp + 0x40], edx
ror eax, 6
mov ecx, edi
xor esi, eax
mov dword [esp + 0x24], edi
not ecx
mov dword [esp + 0x3c], edi
and ecx, dword [esp + 0x14]
mov eax, edx
and eax, edi
mov dword [esp + 0x30], ebp
xor ecx, eax
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
add esi, ecx
add esi, dword [ebx + 0x4b6190]
add esi, dword [esp + ebx + 0x48]
add ebx, 4
add esi, dword [esp + 0x18]
mov dword [esp + 0x18], eax
add edi, esi
mov dword [esp + 0x14], edx
mov eax, ebp
rol eax, 0xa
mov edx, ebp
ror edx, 0xd
xor edx, eax
mov eax, ebp
ror eax, 2
xor edx, eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
and eax, dword [esp + 0x10]
xor ecx, dword [esp + 0x10]
and ecx, ebp
xor ecx, eax
mov eax, dword [esp + 0x1c]
add edx, ecx
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x10]
mov eax, ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
lea ebp, [edx + esi]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
cmp ebx, 0x100
jb 0x481667
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
add eax, ebp
add dword [ebx + 4], ecx
mov ecx, dword [esp + 0x34]
add dword [ebx + 8], ecx
mov ecx, dword [esp + 0x38]
add dword [ebx + 0xc], ecx
add dword [ebx + 0x10], edi
mov ecx, dword [esp + 0x3c]
add dword [ebx + 0x14], ecx
mov ecx, dword [esp + 0x40]
add dword [ebx + 0x18], ecx
mov ecx, dword [esp + 0x44]
add dword [ebx + 0x1c], ecx
mov ecx, dword [esp + 0x148]
pop edi
pop esi
pop ebp
mov dword [ebx], eax
pop ebx
xor ecx, esp
call fcn.00441dc6
add esp, 0x13c
ret
Function at 0x4823d0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8a50
mov eax, dword fs:[0]
push eax
mov eax, 0x503c
call fcn.0049cd50
mov eax, dword [0x4cc00c]
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 edi, dword [ebp + 8]
lea eax, [ebp - 0x3010]
push 0x800
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x4825ce
cmp eax, 0x800
jae 0x4825ce
push 0x800
lea eax, [ebp - 0x4010]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x4825ce
cmp eax, 0x800
jae 0x4825ce
lea eax, [ebp - 0x3010]
push eax
call fcn.004699c0
mov ebx, eax
lea eax, [ebp - 0x4010]
push eax
call fcn.004699c0
mov esi, eax
add esp, 8
cmp word [esi], 0
je 0x4825ce
push esi
push ebx
call fcn.00467050
add esp, 8
test eax, eax
je 0x4825ce
push esi
push edi
call fcn.004699c0
add esp, 4
push eax
call fcn.00467050
add esp, 8
test eax, eax
jne 0x4825ce
mov word [ebp - 0x1010], ax
xor esi, esi
test ax, ax
jne 0x482523
push 0x800
lea eax, [ebp - 0x1010]
push edi
push eax
call fcn.00469dc0
add esp, 0xc
lea eax, [ebp - 0x1010]
push esi
push str.rtmp_d
push 0x800
push eax
call fcn.004699c0
add esp, 4
push eax
call fcn.004686c0
lea eax, [ebp - 0x1010]
push eax
call fcn.00472260
add esp, 0x14
test al, al
je 0x482508
xor eax, eax
mov word [ebp - 0x1010], ax
jmp 0x48250f
mov ax, word [ebp - 0x1010]
add esi, 0x7b
cmp esi, 0x2710
jl 0x4824b0
test ax, ax
je 0x4825ce
push 0x800
lea eax, [ebp - 0x2010]
push edi
push eax
call fcn.00469dc0
push 0x800
lea eax, [ebp - 0x2010]
push ebx
push eax
call fcn.00469ac0
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [ebp - 0x1010]
add esp, 0x18
push eax
lea eax, [ebp - 0x2010]
push eax
call esi
test eax, eax
je 0x4825ce
lea ecx, [ebp - 0x5048]
call fcn.00474a00
push edi
mov dword [ebp - 4], 0
xor bl, bl
call fcn.00472260
add esp, 4
test al, al
jne 0x482595
push 0x12
push edi
lea ecx, [ebp - 0x5048]
call fcn.00474ca0
mov bl, al
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x1010]
push eax
call esi
test bl, bl
je 0x4825bf
lea ecx, [ebp - 0x5048]
call fcn.00474c40
lea ecx, [ebp - 0x5048]
call fcn.00474db0
lea ecx, [ebp - 0x5048]
call fcn.00474a50
mov al, 1
jmp 0x4825d0
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.00441dc6
mov esp, ebp
pop ebp
ret
Function at 0x485ba0
Capabilities:
Hash data using sha256

Disassembly:
cmp dword [0x4cf27c], 2
jl 0x485bc5
movaps xmm0, xmmword [0x4b6410]
movaps xmmword [0x4d2400], xmm0
movaps xmm0, xmmword [0x4b6400]
movaps xmmword [0x4d2410], xmm0
push esi
mov esi, dword [esp + 8]
push 0xf0
push 0
push esi
call fcn.00443950
mov dword [esi + 0x100], 0
add esp, 0xc
mov byte [esi + 0x104], 0
mov eax, dword [esi + 0xf4]
mov dword [eax], 0x6a09e667
mov eax, dword [esi + 0xf4]
mov dword [eax + 4], 0xbb67ae85
mov eax, dword [esi + 0xf4]
mov dword [eax + 8], 0x3c6ef372
mov eax, dword [esi + 0xf4]
mov dword [eax + 0xc], 0xa54ff53a
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x10], 0x510e527f
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x14], 0x9b05688c
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x18], 0x1f83d9ab
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x1c], 0x5be0cd19
mov eax, dword [esi + 0xf4]
xor dword [eax], 0x2080020
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0xc]
xor dword [ecx + 8], eax
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0x10]
or eax, 0x2000
shl eax, 0x10
xor dword [ecx + 0xc], eax
pop esi
ret

Function at 0x485e40
Capabilities:
Hash data using sha256

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0x200
push 0
lea eax, [edi + 0x948]
push eax
call fcn.00443950
push 1
lea eax, [edi + 0x840]
mov dword [edi + 0xb48], 0
push 0
push eax
call fcn.00485ba0
add esp, 0x18
mov dword [esp + 0xc], 0
lea esi, [edi + 0xf4]
cmp dword [0x4cf27c], 2
jl 0x485ea9
movaps xmm0, xmmword [0x4b6410]
movaps xmmword [0x4d2400], xmm0
movaps xmm0, xmmword [0x4b6400]
movaps xmmword [0x4d2410], xmm0
push 0xf0
lea eax, [esi - 0xf4]
push 0
push eax
call fcn.00443950
mov dword [esi + 0xc], 0
add esp, 0xc
mov byte [esi + 0x10], 0
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
mov dword [eax], 0x6a09e667
mov eax, dword [esi]
mov dword [eax + 4], 0xbb67ae85
mov eax, dword [esi]
mov dword [eax + 8], 0x3c6ef372
mov eax, dword [esi]
mov dword [eax + 0xc], 0xa54ff53a
mov eax, dword [esi]
mov dword [eax + 0x10], 0x510e527f
mov eax, dword [esi]
mov dword [eax + 0x14], 0x9b05688c
mov eax, dword [esi]
mov dword [eax + 0x18], 0x1f83d9ab
mov eax, dword [esi]
mov dword [eax + 0x1c], 0x5be0cd19
mov eax, dword [esi]
xor dword [eax], 0x2080020
mov eax, dword [esi]
xor dword [eax + 8], ecx
inc ecx
mov eax, dword [esi]
add esi, 0x108
mov dword [esp + 0xc], ecx
xor dword [eax + 0xc], 0x20000000
cmp ecx, 8
jb 0x485e84
mov byte [edi + 0x944], 1
mov byte [edi + 0x83c], 1
pop edi
pop esi
ret
Function at 0x487250
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x44
mov eax, dword [0x4cc00c]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
mov ebp, dword [esp + 0x54]
push esi
mov esi, dword [esp + 0x54]
push edi
mov edx, dword [esi + 0x18]
mov edi, edx
mov ebx, dword [esi + 0x1c]
and edx, 0x3f
shld ebx, edi, 3
shl edi, 3
mov byte [esi + edx + 0x20], 0x80
inc edx
cmp edx, 0x38
je 0x4872d4
jbe 0x4872bc
cmp edx, 0x40
jae 0x4872a6
mov eax, 0x40
lea ecx, [esi + 0x20]
sub eax, edx
add ecx, edx
push eax
push 0
push ecx
call fcn.00443950
add esp, 0xc
push 1
lea eax, [esi + 0x20]
push eax
lea eax, [esp + 0x18]
push eax
push esi
call fcn.00486130
add esp, 0x10
xor edx, edx
mov eax, 0x38
sub eax, edx
push eax
lea eax, [esi + 0x20]
add eax, edx
push 0
push eax
call fcn.00443950
add esp, 0xc
push 1
lea eax, [esi + 0x20]
push eax
lea eax, [esp + 0x18]
push eax
bswap ebx
bswap edi
push esi
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], edi
call fcn.00486130
mov eax, dword [esi]
add esp, 0x10
mov ecx, dword [esp + 0x50]
mov dword [ebp], eax
mov eax, dword [esi + 4]
mov dword [ebp + 4], eax
mov eax, dword [esi + 8]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebp + 0x10], eax
pop edi
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00441dc6
add esp, 0x44
ret

Function at 0x487360
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x4875d0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
xor ecx, ecx
movzx eax, byte [ecx + str.cw]
mov byte [eax + 0x4d2420], cl
inc ecx
cmp ecx, 0x100
jl 0x4875d2
push ebx
xor edx, edx
push esi
lea esp, [esp]
mov al, byte [edx + str.cw]
mov bl, 2
mov byte [edx*4 + 0x4d3121], al
mov cl, al
mov byte [edx*4 + 0x4d3120], al
xor ah, ah
mov byte [edx*4 + 0x4d2d23], al
mov byte [edx*4 + 0x4d2d20], al
mov byte [edx*4 + 0x4d2923], al
mov byte [edx*4 + 0x4d2922], al
mov byte [edx*4 + 0x4d2522], al
mov byte [edx*4 + 0x4d2521], al
mov ch, cl
test bl, 1
je 0x48763d
xor ah, cl
add cl, cl
test ch, ch
jns 0x487646
xor cl, 0x1b
shr bl, 1
jne 0x487634
mov byte [edx*4 + 0x4d3123], ah
mov cl, 3
mov byte [edx*4 + 0x4d2d22], ah
xor bl, bl
mov byte [edx*4 + 0x4d2921], ah
mov byte [edx*4 + 0x4d2520], ah
lea ebx, [ebx]
mov ah, al
test cl, 1
je 0x487679
xor bl, al
add al, al
test ah, ah
jns 0x487681
xor al, 0x1b
shr cl, 1
jne 0x487670
mov cl, byte [edx + 0x4d2420]
xor ah, ah
mov byte [edx*4 + 0x4d3122], bl
mov al, cl
mov byte [edx*4 + 0x4d2d21], bl
mov byte [edx*4 + 0x4d2920], bl
mov byte [edx*4 + 0x4d2523], bl
mov bl, 0xb
lea ecx, [ecx]
mov ch, al
test bl, 1
je 0x4876b9
xor ah, al
add al, al
test ch, ch
jns 0x4876c1
xor al, 0x1b
shr bl, 1
jne 0x4876b0
movzx esi, cl
mov al, cl
mov byte [edx*4 + 0x4d4122], ah
xor bl, bl
mov byte [edx*4 + 0x4d3d21], ah
mov byte [edx*4 + 0x4d3920], ah
mov byte [edx*4 + 0x4d3523], ah
mov byte [esi*4 + 0x4d5122], ah
mov byte [esi*4 + 0x4d4d21], ah
mov byte [esi*4 + 0x4d4920], ah
mov byte [esi*4 + 0x4d4523], ah
mov ah, 9
mov ch, al
test ah, 1
je 0x48770f
xor bl, al
add al, al
test ch, ch
jns 0x487717
xor al, 0x1b
shr ah, 1
jne 0x487706
mov byte [edx*4 + 0x4d4120], bl
mov ah, 0xd
mov byte [edx*4 + 0x4d3d23], bl
mov al, cl
mov byte [edx*4 + 0x4d3922], bl
mov byte [edx*4 + 0x4d3521], bl
mov byte [esi*4 + 0x4d5120], bl
mov byte [esi*4 + 0x4d4d23], bl
mov byte [esi*4 + 0x4d4922], bl
mov byte [esi*4 + 0x4d4521], bl
xor bl, bl
lea esp, [esp]
mov ch, al
test ah, 1
je 0x487769
xor bl, al
add al, al
test ch, ch
jns 0x487771
xor al, 0x1b
shr ah, 1
jne 0x487760
mov byte [edx*4 + 0x4d4121], bl
xor al, al
mov byte [edx*4 + 0x4d3d20], bl
mov byte [edx*4 + 0x4d3923], bl
mov byte [edx*4 + 0x4d3522], bl
mov byte [esi*4 + 0x4d5121], bl
mov byte [esi*4 + 0x4d4d20], bl
mov byte [esi*4 + 0x4d4923], bl
mov byte [esi*4 + 0x4d4522], bl
mov bl, 0xe
mov ah, cl
test bl, 1
je 0x4877ba
xor al, cl
add cl, cl
test ah, ah
jns 0x4877c3
xor cl, 0x1b
shr bl, 1
jne 0x4877b1
mov byte [edx*4 + 0x4d4123], al
mov byte [edx*4 + 0x4d3d22], al
mov byte [edx*4 + 0x4d3921], al
mov byte [edx*4 + 0x4d3520], al
inc edx
mov byte [esi*4 + 0x4d5123], al
mov byte [esi*4 + 0x4d4d22], al
mov byte [esi*4 + 0x4d4921], al
mov byte [esi*4 + 0x4d4520], al
cmp edx, 0x100
jl 0x4875f0
pop esi
pop ebx
ret
Function at 0x488ad0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, 1
push esi
mov esi, dword [esp + 0xc]
xor cl, cl
cmp esi, eax
jbe 0x488aec
xor cl, byte [eax + edx]
inc eax
cmp eax, esi
jb 0x488ae4
cmp cl, byte [edx]
jne 0x488b2f
push esi
push edx
push 0xffffffffffffffff
call fcn.004758b0
add esp, 0xc
xor edx, edx
not eax
xor ecx, ecx
cmp dword [ecx + 0x4cd04c], eax
jne 0x488b12
cmp dword [ecx + 0x4cd048], esi
je 0x488b1f
add ecx, 0xc
inc edx
cmp ecx, 0x48
jb 0x488b02
pop esi
ret 0xc
lea eax, [edx + edx*2]
mov ecx, dword [eax*4 + 0x4cd050]
mov eax, dword [esp + 0x10]
mov dword [eax], ecx
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x31320fd2
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0xd5c2347
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x45b3c0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045b150

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045b3d0
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0xe3a7434
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6bbb0652
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
popal
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x42747406
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
mov eax, section..text_1
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x338d6233
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401360
Capabilities:
Create directory
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
push str.Z:_target
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x4014c0
push 0x104
mov dword [esp + 0x28], 0x401600
mov dword [esp + 0x2c], 0x401580
mov dword [esp + 0x30], 0x401600
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor eax, eax
push str.Z:_target
push str.Current_drive:__s_n
mov word [0x41e8f6], ax
call fcn.004012e0
push str._target
push 0x41e8f4
call dword [sym.imp.USER32.dll_wsprintfW]
push str.Z:_target
push str.Target_path:__s_n
call fcn.004012e0
add esp, 0x18
push 0
push str.Z:_target
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x401445
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x401445
push str.Z:_target
push str.Cannot_create_directory__s_n
call fcn.004012e0
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00401739
mov esp, ebp
pop ebp
ret
push str._n_TRAVERSING_VOLUMES...__n
call fcn.00401320
add esp, 4
mov dword [esp + 0x2c], 0x3a0058
mov dword [esp + 0x30], 0x5c
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor bl, bl
mov edi, eax
xor esi, esi
nop
mov edx, 1
mov ecx, esi
shl edx, cl
test edi, edx
je 0x401496
movzx eax, bl
lea edx, [esp + 0xc]
add ax, 0x41
lea ecx, [esp + 0x2c]
mov word [esp + 0x2c], ax
call fcn.00401050
inc bl
inc esi
cmp bl, 0x20
jb 0x401470
mov ecx, dword [esp + 0x34]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401739
mov esp, ebp
pop ebp
ret

Function at 0x401f38
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401f77
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401f77
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401f77
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401f77
cmp dword [ecx + 0x74], 0xe
jbe 0x401f77
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40c39f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x418c50
push 0x418c48
push str.FlsAlloc
push 0x1f
call fcn.0040c25e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40c3d3
push dword [ebp + 8]
mov ecx, esi
call dword [0x41712c]
call esi
jmp 0x40c3d9
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40c41d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x418c60
push 0x418c58
push str.FlsGetValue
push 0x21
call fcn.0040c25e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40c454
push dword [ebp + 8]
mov ecx, esi
call dword [0x41712c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40c45c
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x418c68
push 0x418c60
push str.FlsSetValue
push 0x22
call fcn.0040c25e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40c496
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41712c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40de64
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40df01
push ebx
push esi
call fcn.0040de2d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040ddc1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40deae
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40df00
push edi
push eax
call fcn.0040a3e5
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40dece
call fcn.0040a3ab
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40deff
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040ddc1
add esp, 0x20
test eax, eax
jne 0x40deed
push edi
call fcn.0040a3ab
jmp 0x40def5
push ebx
call fcn.0040a3ab
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x416190
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4161bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4161bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x69ff2aec
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x91f3d60
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x10008c30
Capabilities:
Contain obfuscated stackstrings
Create thread
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0xc], 1
jne 0x10008c94
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x75676d69
push eax
mov dword [ebp - 8], 0x6e692e69
mov word [ebp - 4], 0x69
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0
push 0
push 0x10008a20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10007200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x190
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Beep]
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc