joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a42bc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100b1340]
jne 0x100a42c6
repz ret
jmp fcn.100a456d

Function at 0x100a4eff
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x100b1320], 0
mov byte [0x100b1324], 0
mov dword [0x100b1314], 0x2660
mov dword [0x100b131c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x100a506e
mov dword [0x100b1314], 0xa28
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, 0x1f81
mov dword [0x100b1318], 0x1463
mov dword [0x100b131c], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x1bb9
mov esi, 0x100
mov edi, eax
add edi, 0x134f
mov dword [ebp - 0x28], eax
mov eax, ecx
xor ebx, ebx
mov dword [ebp - 0x2c], edx
mov edx, ebx
mov ebx, dword [ebp - 0x10]
div ebx
mov dword [0x100b1328], 0
mov dword [0x100b1318], 0x130b
mov ebx, dword [0x100b1320]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x30]
movzx ecx, byte [ecx + edx]
add ecx, ebx
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
movzx edx, byte [ebx + edx]
add ecx, edx
mov dword [0x100b1328], ecx
mov edx, dword [ebp - 0x28]
mov dword [0x100b1314], edx
mov eax, ecx
cdq
idiv esi
mov dword [0x100b1320], edx
mov dword [0x100b1318], 0x1896
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x100b1324], cl
mov dword [0x100b1314], edi
mov edi, dword [ebp - 0x18]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x100b1318], 0x1e64
mov cl, byte [0x100b1324]
mov edx, dword [0x100b1320]
mov byte [edi + edx], cl
mov dword [0x100b1314], 0x275
mov edx, dword [0x100b131c]
add edx, 1
mov dword [0x100b131c], edx
cmp edx, 0x100
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
jl 0x100a4f7c
jmp 0x100a4f49
mov eax, dword [ebp - 0x1c]
mov dword [0x100b1318], 0x1bd0
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x100b1318]
add eax, 0x15e0
mov dword [0x100b1318], eax
mov dword [0x100b1314], 0x63d
mov eax, dword [0x100b131c]
add eax, 1
mov dword [0x100b131c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100a506e
jmp 0x100a4f5b
Function at 0x100a53fc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x100b1314]
add eax, 0x1baa
mov dword [0x100b1314], eax
call fcn.10001082
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x100a5488
jmp 0x100a558c
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [0x100b1318], 0x1887
mov dword [esp + 0x1c], eax
jmp 0x100a5532
mov eax, dword [esp + 0x20]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x54], edx
mov dword [0x100b1314], 0x21ba
call fcn.100a5a21
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x14], ecx
je 0x100a5546
jmp 0x100a5584
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x100b1314], 0x212e
mov dword [esp], eax
mov dword [esp + 0x10], ecx
call fcn.100a50d9
lea ecx, [0x100a5594]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], 0x12ac00
mov edx, dword [0x100b1300]
mov dword [esp + 0x60], edx
mov edx, dword [0x100b1304]
mov dword [esp + 0x5c], edx
mov edx, dword [0x100b1308]
mov dword [esp + 0x6c], edx
mov edx, dword [0x100b130c]
mov dword [esp + 0x48], edx
mov edx, dword [0x100b1310]
mov dword [esp + 0x44], edx
mov dword [0x100b1318], 0xfffffbd0
mov dword [0x100b1314], 0xa5b
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], ecx
jmp 0x100a5532
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + ecx]
mov dword [esp + 0x18], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 8]
cmp eax, 0x4550
je 0x100a544f
jmp 0x100a542e
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
je 0x100a550c
jmp 0x100a542e
lea eax, [esp + 0x38]
mov dword [0x100b1314], 0x187e
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.100a5899
mov dword [0x100b1314], 0x16f8
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x100a5899
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [0x100b1318]
add edx, 0xffffd9a0
mov dword [0x100b1314], edx
mov dword [0x100b1318], 0xffd
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
xor eax, eax
mov dword [ebp - 0x34], eax
jmp 0x100a59b5
mov eax, dword [ebp - 0x38]
mov dword [0x100b1314], 0x254c
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x100b1318]
add ecx, 0xffffe810
mov dword [0x100b1314], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.100a4da7
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x100b1314], 0x26c9
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x18], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x3c], ecx
mov esi, dword [0x100b1314]
mov edi, esi
add edi, 0xffffedaf
mov dword [0x100b1318], edi
cmp ecx, 0
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], eax
jne 0x100a5989
mov eax, dword [ebp - 0x44]
add esp, 0x54
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x3c]
add eax, 0x162b
mov ecx, dword [ebp - 0x40]
add ecx, 0xffffec03
mov dword [0x100b1314], ecx
mov dword [ebp - 0x48], eax
mov dword [0x100b1318], 0x170b
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
jmp 0x100a597f
mov eax, dword [ebp - 0x34]
mov cl, byte [eax + 0x100a811c]
mov dl, byte [eax + 0x100a80ed]
sub dl, cl
mov byte [ebp + eax - 0x28], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x34], eax
jne 0x100a59b5
lea eax, [ebp - 0x28]
mov dword [0x100b1314], 0xffffecb8
mov dword [ebp - 0x4c], eax
call fcn.100a6155
mov dword [esp], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], eax
call fcn.100a4bd7
xor ecx, ecx
mov dword [0x100b1314], 0xea0
cmp eax, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], ecx
je 0x100a597f
jmp 0x100a58d3
Function at 0x100a5a21
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x2c
mov eax, dword [0x100b1318]
add eax, 0xffffe263
mov dword [0x100b1314], eax
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [0x100b1314]
add edx, 0xffffe2a5
mov dword [0x100b1314], edx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x100b1318], 0x22a5
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x100a5ac4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x100a5b79
jmp 0x100a5ba6
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [0x100b1314], ecx
add esp, 0x2c
pop esi
pop ebp
ret
mov dword [0x100b1314], 0x45a8
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], eax
jge 0x100a5ada
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
jne 0x100a5aa3
mov eax, dword [ebp - 0x28]
mov dword [0x100b1318], 0x26a9
mov dword [0x100b1314], 0x3a5
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x100a5ba6
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
shl eax, 1
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp word [eax], 0x6f
jne 0x100a5ba6
mov dword [0x100b1314], 0x1ac9
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x100a5ba6
mov dword [0x100b1318], 0x21c3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
sete dl
mov byte [ebp - 0x2d], dl
mov al, byte [ebp - 0x2d]
test al, 1
jne 0x100a5b64
jmp 0x100a5ba6
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x100a5a79
jmp 0x100a5ba6
mov eax, 0x13dc
mov ecx, 1
mov dword [0x100b1314], 0x1b92
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
je 0x100a5a91
mov eax, 0xaa0
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
jmp 0x100a5a91
Function at 0x100a5d03
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [0x100b1318], 0x26e1
mov dword [0x100b1314], 0xfffffc17
mov dword [ebp - 0x10], eax
call fcn.100a4a5f
mov ecx, eax
mov edx, dword [eax + 0x3c]
mov dword [0x100b1314], 0xfffff544
mov edx, dword [eax + edx + 0x78]
mov dword [0x100b1314], 0xfac
mov esi, ecx
add esi, dword [eax + edx + 0x20]
mov dword [0x100b1318], 0x380
mov eax, edx
add eax, 0x18
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], eax
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov esi, dword [ecx + edx]
cmp esi, 0
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
je 0x100a5e88
jmp 0x100a5df0
mov eax, dword [ebp - 0x2c]
add eax, 2
mov dword [ebp - 0x30], eax
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov edx, dword [ebp - 0x24]
cmp ecx, edx
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], eax
jb 0x100a5e02
jmp 0x100a5e88
mov al, byte [ebp - 0x3d]
test al, 1
jne 0x100a5e65
jmp 0x100a5d8a
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x3d], cl
je 0x100a5db8
jmp 0x100a5e28
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x1c]
mov edi, dword [esi + eax*4]
mov dword [0x100b1314], 0x21c9
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edx
jmp 0x100a5dc5
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x55], dl
mov al, byte [ebp - 0x3d]
mov cl, byte [ebp - 0x55]
and al, cl
mov edx, dword [ebp - 0x54]
cmp edx, 0x20
setb ah
and al, ah
test al, 1
mov dword [ebp - 0x44], edx
jne 0x100a5dc5
jmp 0x100a5db8
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x18]
add edi, dword [edx + ecx*4]
mov dword [0x100b1314], 0xffffdf5a
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x28]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100a5e93
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x100b131c], 0
mov dword [0x100b1320], 0
mov dword [0x100b132c], 0
mov edi, dword [0x100b1318]
add edi, 0xffffee70
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov eax, 0x18e6
xor ecx, ecx
mov edx, dword [ebp - 0x20]
mov dword [0x100b1318], edx
mov dword [0x100b1314], 0x1848
mov esi, dword [ebp - 0x10]
cmp esi, 0
mov edi, ecx
mov ebx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], eax
je 0x100a6063
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x30]
mov edi, 0x27a5
mov ebx, 0x100
mov dword [0x100b1314], 0x109f
add ecx, 0xffffe85b
mov dword [0x100b1318], ecx
add edx, 1
mov dword [ebp - 0x38], eax
mov eax, edx
cdq
idiv ebx
mov dword [0x100b131c], edx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + edx]
add ecx, esi
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
idiv ebx
mov dword [0x100b1320], edx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x100b1324], cl
mov dword [0x100b1318], 0x1f75
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov dword [0x100b1314], 0x301
mov dword [0x100b1318], 0x1cc0
mov cl, byte [0x100b1324]
mov edx, dword [0x100b1320]
mov byte [ebx + edx], cl
mov edx, dword [0x100b131c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x100b1320]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov edx, dword [0x100b1314]
mov esi, edx
add esi, 0xffffda00
mov dword [0x100b1318], esi
and ecx, 0xff
mov dword [0x100b132c], ecx
mov cl, byte [ebx + ecx]
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x38]
mov ch, byte [esi + ebx]
mov byte [0x100b1331], ch
mov byte [0x100b1332], cl
xor ch, cl
mov byte [0x100b1330], ch
add edx, 0xfffffdb2
mov dword [0x100b1318], edx
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
mov dword [0x100b1314], 0x2707
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x34], edi
je 0x100a6063
mov eax, dword [0x100b1318]
mov ecx, dword [0x100b131c]
mov edx, dword [0x100b1320]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], esi
jmp 0x100a5f1d
mov eax, dword [ebp - 0x34]
mov dword [0x100b1318], eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret

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

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x13411228
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x4e7f1985
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x34782b3c
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x432060
nop
nop
mov eax, section..tls
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x771257eb
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x406627
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x40664b
xor eax, eax
test eax, eax
je 0x40665d
cmp byte [ebp + eax - 0x121], 0x5c
je 0x40665d
xor ecx, ecx
jmp 0x406660
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

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

Disassembly:
cmp dword [0x42ca1c], 0
push esi
jne 0x406783
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40675d
mov dword [ecx*4 + 0x42ca18], eax
inc ecx
cmp ecx, 0x100
jl 0x406758
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067b4
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42ca18]
xor eax, esi
inc ecx
dec edx
jne 0x406796
pop edi
not eax
pop esi
ret 0xc
Function at 0x401541
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x22c]
push ebx
sub esp, 0x25c
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
and edi, 0x300
mov dword [esp], ebx
mov eax, edi
mov dword [esp + 4], esi
or eax, 9
mov dword [esp + 8], eax
call fcn.00407f6a
sub esp, 0x10
test eax, eax
jne 0x4016a1
mov eax, dword [ebp - 0x22c]
test byte [ebp + 0x10], 2
je 0x4015d7
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x228], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x228]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x222]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
sub esp, 0x20
cmp eax, 0x103
jne 0x401642
mov eax, dword [ebp + 0x10]
and eax, 1
mov dword [ebp - 0x23c], eax
jmp 0x4015ff
mov ecx, dword [ebp + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 8], ecx
call fcn.00401541
sub esp, 0xc
test eax, eax
jne 0x401659
lea edx, [ebp - 0x222]
xor eax, eax
mov dword [esp + 0xc], 0x105
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x22c]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea edx, [ebp - 0x222]
sub esp, 0x10
test eax, eax
jne 0x401659
cmp dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0x22c]
je 0x4015e5
mov eax, dword [ebp - 0x22c]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x3eb
push ecx
jmp 0x4016a1
mov eax, dword [ebp - 0x22c]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
mov dword [esp], 3
call fcn.004084bc
push edx
test eax, eax
jne 0x40168b
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push ecx
push ecx
jmp 0x4016a1
xor edx, edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov dword [esp + 4], esi
mov dword [esp], ebx
call eax
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
Function at 0x40795c
Capabilities:
Create process on windows

Disassembly:
push ebp
xor edx, edx
xor ecx, ecx
mov ebp, esp
sub esp, 0x48
mov dword [0x441d00], 0x44
lea eax, [ebp - 0x18]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], edx
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0x20], 0x441d00
mov dword [esp + 0x14], 0x4000000
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, eax
sub esp, 0x28
xor eax, eax
test edx, edx
je 0x4079c8
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
mov eax, dword [ebp - 0x18]
leave
ret 4

Function at 0x4079cc
Capabilities:
Create process on windows

Disassembly:
push ebp
xor edx, edx
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x3c
mov dword [eax + 0x24], edx
pop ebp
jmp dword [sym.imp.SHELL32.dll_ShellExecuteExW]

Function at 0x407c42
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
inc eax
push edx
je 0x407c70
mov eax, ebx
mov dword [esp], esi
and eax, 0xfffffffe
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push eax
push eax
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret 4

Function at 0x407c7b
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call fcn.00407c42
push ecx
cmp eax, 0xffffffff
je 0x407cd0
test byte [ebp + 0xc], 1
mov esi, eax
mov dword [esp], ebx
je 0x407cc8
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push edx
test eax, eax
jne 0x407cc1
test byte [ebp + 0xc], 4
jne 0x407cd0
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push eax
push eax
jmp 0x407cd0
mov eax, 1
jmp 0x407cd2
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x407ca5
xor eax, eax
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 8

Function at 0x407cdb
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edx
cmp eax, 0xffffffff
jne 0x407cf6
xor eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
xor edx, edx
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 1
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, dword [ebp - 4]
sub esp, 0x1c
leave
ret 0xc