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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, dword [0x1025fb24]
add ebx, 0x12b4
mov dword [0x1025fb28], ebx
mov dword [0x1025fb2c], 0
mov dword [0x1025fb30], 0
mov dword [0x1025fb3c], 0
mov dword [0x1025fb24], 0x122d
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1001be6d
jmp 0x1001bd98
mov eax, dword [0x1025fb2c]
mov ecx, dword [0x1025fb30]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x1025fb28], 0x24a0
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1025fb2c], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x1025fb30], edx
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x1025fb34], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x1025fb34]
mov edx, dword [0x1025fb30]
mov byte [edi + edx], cl
mov edx, dword [0x1025fb2c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1025fb30]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x1025fb24], 0xe4
and ebx, 0xff
mov dword [0x1025fb3c], ebx
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov dword [0x1025fb24], 0x111c
mov dword [0x1025fb28], 0x3209
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x2c], ebx
jne 0x1001bd81
mov dword [0x1025fb28], 0x23e9
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1001be7f
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov esi, dword [0x1025fb24]
add esi, 0xffffed82
mov dword [0x1025fb24], esi
mov dword [0x1025fb30], 0
mov byte [0x1025fb34], 0
mov dword [0x1025fb28], 0x48
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x1025fb2c], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1025fb2c]
add eax, 1
mov dword [0x1025fb2c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1001bed6
xor eax, eax
mov dword [0x1025fb2c], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1025fb38], 0
mov edx, dword [0x1025fb30]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x1025fb38], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x1025fb30], edx
mov dword [0x1025fb24], 0x1a27
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x1025fb34], cl
mov dword [0x1025fb28], 0x20c7
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x1025fb34]
mov edx, dword [0x1025fb30]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x1025fb2c]
add edx, 1
mov dword [0x1025fb2c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1001bf0b
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1001c17c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 8]
mov dword [0x1025fb24], 0x1082
mov dword [0x1025fb28], 0x1d8a
mov dword [ebp - 0x10], eax
call fcn.1001c44f
mov ecx, eax
mov edx, dword [eax + 0x3c]
mov edx, dword [eax + edx + 0x78]
mov esi, ecx
add esi, dword [eax + edx + 0x20]
mov eax, edx
add eax, 0x24
mov edi, ecx
add edi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov dword [0x1025fb28], 0x850
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
mov ebx, dword [esi + edi + 0x18]
cmp ebx, 0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
je 0x1001c2fe
jmp 0x1001c225
xor eax, eax
mov ecx, dword [ebp - 0x30]
add ecx, 2
mov edx, dword [ebp - 0x34]
add edx, 1
mov esi, dword [ebp - 0x24]
cmp edx, esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x2c], eax
jb 0x1001c244
jmp 0x1001c2fe
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
add eax, ecx
mov dword [ebp - 0x40], eax
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [0x1025fb24]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x44], edx
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 ebx, dword [ebp - 0x44]
add ebx, 0xd08
mov dword [0x1025fb28], ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
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 - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
je 0x1001c2cf
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x52]
and ch, dl
cmp eax, 0x20
setb dl
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x59], ch
mov byte [ebp - 0x5a], dl
mov al, byte [ebp - 0x59]
mov cl, byte [ebp - 0x5a]
and al, cl
test al, 1
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x4c], edx
jne 0x1001c26d
mov al, byte [ebp - 0x52]
test al, 1
jne 0x1001c2db
jmp 0x1001c1fc
mov eax, dword [ebp - 0x30]
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 [0x1025fb28], 0xfec
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x2c]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1001c309
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x1025fb28], 0xfc5
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x1001c371
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0x104
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
jl 0x1001c33d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x1001c440
mov dword [0x1025fb28], 0x1c92
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1001c440
mov eax, dword [0x1025fb24]
mov ecx, eax
add ecx, 0xffffe8da
mov dword [0x1025fb28], ecx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x24], eax
jne 0x1001c440
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
sete dl
mov byte [ebp - 0x25], dl
mov al, byte [ebp - 0x25]
test al, 1
jne 0x1001c3e5
jmp 0x1001c440
mov dword [0x1025fb24], 0x1303
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1001c440
mov eax, dword [ebp - 0x24]
add eax, 0xfffff978
mov dword [0x1025fb24], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1001c440
mov eax, 1
mov ecx, dword [ebp - 0x24]
add ecx, 0xffffda39
mov dword [0x1025fb24], ecx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x2c], eax
je 0x1001c447
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x1001c447
mov eax, dword [ebp - 0x2c]
add esp, 0x2c
pop ebp
ret
Function at 0x1001c6e6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.1001b47e
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x7c], 0x14be00
mov ecx, dword [0x1025fb10]
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x1025fb14]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x20], eax
mov eax, 0x7e9
lea ecx, [0x1001c023]
mov edx, dword [0x1025fb18]
mov dword [esp + 0x60], edx
mov edx, dword [0x1025fb1c]
mov dword [esp + 0x64], edx
mov edx, dword [0x1025fb20]
mov dword [esp + 0x8c], edx
mov dword [0x1025fb24], 0x21ee
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jne 0x1001c79a
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x1001c7b9
mov eax, 0x3ef
mov ecx, dword [esp + 0x14]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
jmp 0x1001c76f
mov eax, dword [esp + 0x10]
mov dword [0x1025fb24], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
mov dword [0x1025fb28], 0x16f6
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x74], edx
call fcn.1001c309
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x1001c820
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1001b809
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x406fa0
Capabilities:
Set socket configuration

Disassembly:
test al, 0x4d
adc al, 0x94
push eax
xchg edi, eax
push edx
call fcn.00406fa0
add esp, 0xffffffeb
pop edi
pop esi
pop ebp
ret 0x18
push ebp
mov ebp, esp
sbb dword [eax + 0x24], 0x53
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
jg 0x406f87
push edi
xor eax, 0x5752075
mov esi, 0x40b040
mov al, byte [esi]
jbe 0x406fee
punpcklbw mm0, dword [0x3c000000]
cmp dword [edi], ecx
invalid
add byte [eax], al
add byte [esi - 1], dl
adc eax, sym.imp.WSOCK32.dll_inet_addr
mov edi, ebx
clc
lea eax, [ebp - 8]
lea ecx, [ebp - 0x14]
sub ch, byte [ebx]
fmul qword [ecx + 0x5d17ec45]
invalid

Function at 0x40a3d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cdq
inc ebp
or byte [edi - 0x3f7a90e4], bl
je 0x40a410
mov ecx, dword [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x40a40a
push esi
mov esi, dword [0x52fe38]
add byte [esi + 0x75c0edd6], dh
add eax, 0x7dc25d5e
invalid
out 0xc0, al
pop ebp
ret 8
mov eax, 0x8087
push esi
ret 8
Function at 0x10034900
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x101406cc], 0x2282
mov dword [ebp - 8], 0
mov dword [0x101406cc], 0x3e3
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
jmp 0x1003494a
mov eax, dword [ebp - 0x10]
add esp, 0x10
pop ebp
ret
cmp dword [ebp - 4], 0x104
jge 0x1003498c
mov eax, dword [0x101406cc]
add eax, 0x14df
mov dword [0x101406cc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2]
cmp eax, 0
jne 0x10034975
jmp 0x1003498c
mov dword [0x101406cc], 0x1747
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x1003494a
mov dword [0x101406d0], 0x1508
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
jne 0x10034a61
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
movzx eax, word [ecx + eax*2 - 0x18]
cmp eax, 0x6f
jne 0x10034a5f
mov dword [0x101406cc], 0x591
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
jne 0x10034a5d
mov dword [0x101406cc], 0x1be4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
jne 0x10034a5b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
movzx eax, word [ecx + eax*2 - 0x12]
cmp eax, 0x64
jne 0x10034a59
mov dword [0x101406cc], 0x12df
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0x10]
cmp eax, 0x6c
jne 0x10034a57
mov eax, dword [0x101406cc]
sub eax, 0x22df
mov dword [0x101406d0], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
jne 0x10034a55
mov dword [ebp - 0x10], 1
jmp 0x10034942
jmp 0x10034a57
jmp 0x10034a59
jmp 0x10034a5b
jmp 0x10034a5d
jmp 0x10034a5f
jmp 0x10034a61
mov dword [0x101406cc], 0xab8
mov dword [ebp - 0x10], 0
jmp 0x10034942

Function at 0x10034cb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.10034cb0]
mov dword [ebp - 4], eax
mov dword [0x101406cc], 0x181f
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x10034cf2
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x10034cf0
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x10034d25
jmp 0x10034cf2
mov eax, dword [ebp - 4]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 4], eax
mov dword [0x101406d0], 0x16bf
mov al, 1
test al, 1
jne 0x10034cc9
jmp 0x10034d14
mov dword [0x101406d0], 0x1dc5
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
add esp, 8
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401451
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x40147b
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x14]
test eax, eax
mov dword [ecx], eax
jne 0x40147f
xor eax, eax
pop esi
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x10]
push 1
mov dword [ecx], eax
pop eax
pop esi
ret

Function at 0x40149a
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push edi
xor edi, edi
push edi
push 1
push edi
lea eax, [ebp - 4]
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call esi
test eax, eax
jne 0x4014db
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x4014ee
push 8
push 1
push edi
lea eax, [ebp - 4]
push edi
push eax
call esi
test eax, eax
je 0x4014ee
lea eax, [ebp - 8]
push eax
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x4014f2
xor eax, eax
jmp 0x401504
cmp dword [ebp - 4], edi
je 0x401501
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret

Function at 0x401944
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebp
xor esi, esi
call edi
test eax, eax
jbe 0x40197b
push ebx
mov ebx, ebp
sub ebx, str.svchost.exe
mov al, byte [ebx + esi + str.svchost.exe]
push ebp
xor al, 1
mov byte [esi + str.svchost.exe], al
inc esi
call edi
cmp esi, eax
jb 0x401963
pop ebx
and byte [esi + str.svchost.exe], 0
pop edi
pop esi
mov eax, str.svchost.exe
pop ebp
ret

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

Disassembly:
pushal
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x44fb40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x43e015
lea edi, [esi - 0x3d015]
push edi
jmp 0x44fb5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x44fb61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44fb50
mov eax, 1
add ebx, ebx
jne 0x44fb73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x44fb84
jne 0x44fba3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44fba3
dec eax
add ebx, ebx
jne 0x44fb90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x44fb68
add ebx, ebx
jne 0x44fb9f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x44fbf5
xor ecx, ecx
sub eax, 3
jb 0x44fbbb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44fc2a
sar eax, 1
mov ebp, eax
jmp 0x44fbc6
add ebx, ebx
jne 0x44fbc6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44fb94
inc ecx
add ebx, ebx
jne 0x44fbd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44fb94
add ebx, ebx
jne 0x44fbe1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x44fbd6
jne 0x44fbf2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44fbd6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x44fc14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x44fc06
jmp 0x44fb56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x44fc14
add edi, ecx
jmp 0x44fb56
pop esi
mov edi, esi
mov ecx, 0x1353
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x44fc32
cmp byte [edi], 0xa
jne 0x44fc32
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 0x44fc37
lea edi, [esi + 0x4d000]
mov eax, dword [edi]
or eax, eax
je 0x44fca6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x557e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x55834]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x44fc64
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5583c]
or eax, eax
je 0x44fca0
mov dword [ebx], eax
add ebx, 4
jmp 0x44fc81
call dword [esi + 0x55838]
mov ebp, dword [esi + 0x55840]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x44fcda
sub esp, 0xffffff80
jmp 0x401240
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..idata
nop
nop
mov ebx, 0x40915c
mov ecx, 0x6da34216
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x3cb003ad
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x432072
nop
nop
nop
nop
nop
mov ebx, 0x40c7d0
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
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x323e73d2
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3c677d23
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
popal
nop
nop
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5e147b86
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x466e6166
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219