joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40633e
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
push ebx
xor ebx, ebx
push esi
xor ecx, ecx
inc ebx
push edi
mov eax, ebx
mov esi, 0xff
mov edx, eax
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
and edx, 0x1b
lea edi, [eax + eax]
xor edx, edi
mov dword [ebp + ecx*4 - 0x80c], eax
mov dword [ebp + eax*4 - 0x40c], ecx
xor eax, edx
and eax, esi
inc ecx
cmp ecx, 0x100
jl 0x406356
mov eax, ebx
mov ecx, 0x40bd48
mov edx, eax
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
mov dword [ecx], eax
add eax, eax
and edx, 0x1b
xor eax, edx
add ecx, 4
and eax, esi
cmp ecx, 0x40bd70
jl 0x40638c
mov byte [0x40b448], 0x63
mov byte [0x40d5d3], 0
mov eax, dword [ebp + ebx*4 - 0x40c]
shl eax, 2
lea ecx, [ebp - 0x410]
sub ecx, eax
mov eax, dword [ecx]
mov ecx, eax
sar ecx, 7
lea edx, [eax + eax]
or ecx, edx
and ecx, esi
xor eax, ecx
mov edx, ecx
sar edx, 7
add ecx, ecx
or edx, ecx
and edx, esi
xor eax, edx
mov ecx, edx
add edx, edx
sar ecx, 7
or ecx, edx
and ecx, esi
xor eax, ecx
mov edx, ecx
sar edx, 7
add ecx, ecx
or edx, ecx
xor edx, 0x63
and edx, esi
xor eax, edx
mov byte [ebx + 0x40b448], al
mov byte [eax + 0x40d570], bl
inc ebx
cmp ebx, 0x100
jl 0x4063bc
xor edi, edi
movzx edx, byte [edi + 0x40b448]
mov eax, edx
and al, 0x80
movsx ecx, al
neg ecx
sbb ecx, ecx
and ecx, 0x1b
lea eax, [edx + edx]
xor ecx, eax
and ecx, esi
mov eax, ecx
xor eax, edx
shl eax, 8
xor eax, edx
shl eax, 8
xor eax, edx
shl eax, 8
xor eax, ecx
mov ecx, edi
mov dword [ecx*4 + 0x40d170], eax
rol eax, 8
mov dword [ecx*4 + 0x40cd70], eax
rol eax, 8
mov dword [ecx*4 + 0x40c970], eax
rol eax, 8
mov dword [ecx*4 + 0x40c570], eax
movzx eax, byte [edi + 0x40d570]
test eax, eax
je 0x40649e
mov eax, dword [ebp + eax*4 - 0x40c]
add eax, dword [ebp - 0x3d4]
mov ebx, esi
cdq
idiv ebx
mov eax, dword [ebp + edx*4 - 0x80c]
mov dword [ebp - 4], eax
jmp 0x4064a2
and dword [ebp - 4], 0
movzx eax, byte [edi + 0x40d570]
test eax, eax
je 0x4064cb
mov eax, dword [ebp + eax*4 - 0x40c]
add eax, dword [ebp - 0x3e8]
mov ebx, esi
cdq
idiv ebx
mov eax, dword [ebp + edx*4 - 0x80c]
mov dword [ebp - 0xc], eax
jmp 0x4064cf
and dword [ebp - 0xc], 0
movzx eax, byte [edi + 0x40d570]
test eax, eax
je 0x4064f8
mov eax, dword [ebp + eax*4 - 0x40c]
add eax, dword [ebp - 0x3d8]
mov ebx, esi
cdq
idiv ebx
mov eax, dword [ebp + edx*4 - 0x80c]
mov dword [ebp - 8], eax
jmp 0x4064fc
and dword [ebp - 8], 0
movzx eax, byte [edi + 0x40d570]
test eax, eax
je 0x406522
mov eax, dword [ebp + eax*4 - 0x40c]
add eax, dword [ebp - 0x3e0]
mov ebx, esi
cdq
idiv ebx
mov edx, dword [ebp + edx*4 - 0x80c]
jmp 0x406524
xor edx, edx
shl edx, 8
xor edx, dword [ebp - 8]
shl edx, 8
xor edx, dword [ebp - 0xc]
shl edx, 8
xor edx, dword [ebp - 4]
inc edi
mov dword [ecx*4 + 0x40c170], edx
rol edx, 8
mov eax, edx
mov dword [ecx*4 + 0x40bd70], eax
rol eax, 8
mov dword [ecx*4 + 0x40b948], eax
rol eax, 8
mov dword [ecx*4 + 0x40b548], eax
cmp edi, 0x100
jl 0x40641f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4067c2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
push ebx
push esi
push edi
push 0x128
lea eax, [ebp - 0x134]
push 0
push eax
call fcn.00408e7d
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
lea eax, [ebp - 0x134]
lea ebx, [esi + 0x18]
push eax
mov dword [esi + 4], ebx
call fcn.0040656f
add esp, 0x18
mov dword [ebp - 8], eax
test eax, eax
jne 0x4068d0
mov ecx, dword [ebp - 0x134]
mov dword [esi], ecx
lea edi, [esi + 8]
lea esi, [ebp - 0x12c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
shl ecx, 4
add ecx, dword [ebp - 0x130]
push 4
mov eax, dword [ecx]
mov dword [ebx], eax
pop esi
add ecx, esi
mov eax, dword [ecx]
add ebx, esi
mov dword [ebx], eax
add ecx, esi
mov eax, dword [ecx]
add ebx, esi
mov dword [ebx], eax
add ecx, esi
mov eax, dword [ecx]
add ebx, esi
mov dword [ebx], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
add ebx, esi
dec edx
sub ecx, 0x1c
jmp 0x4068b2
mov dword [ebp + 8], esi
movzx eax, byte [ecx + 3]
movzx eax, byte [eax + 0x40b448]
movzx edi, byte [ecx + 2]
movzx edi, byte [edi + 0x40b448]
mov eax, dword [eax*4 + 0x40b548]
xor eax, dword [edi*4 + 0x40b948]
movzx edi, byte [ecx + 1]
movzx edi, byte [edi + 0x40b448]
xor eax, dword [edi*4 + 0x40bd70]
mov edi, dword [ecx]
and edi, 0xff
movzx edi, byte [edi + 0x40b448]
xor eax, dword [edi*4 + 0x40c170]
add ecx, esi
mov dword [ebx], eax
add ebx, esi
dec dword [ebp + 8]
jne 0x406857
dec edx
sub ecx, 0x20
test edx, edx
jg 0x406854
mov eax, dword [ecx]
mov dword [ebx], eax
add ebx, esi
add ecx, esi
mov eax, dword [ecx]
mov dword [ebx], eax
mov eax, dword [ecx + esi]
mov dword [ebx + esi], eax
mov eax, dword [ecx + esi + 4]
mov dword [ebx + esi + 4], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40731b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
add eax, 8
test cl, 0xf
je 0x407331
push 0xffffffffffffffde
pop eax
leave
ret
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
jne 0x40739b
test ecx, ecx
je 0x4073f7
sub eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
lea ebx, [ecx - 1]
shr ebx, 4
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
inc ebx
mov eax, dword [ebp - 4]
push dword [ebp + 8]
mov esi, eax
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x14]
call fcn.00406dfe
pop ecx
push 0x10
mov eax, esi
pop esi
mov ecx, dword [ebp - 8]
mov cl, byte [ecx + eax]
xor byte [eax], cl
inc eax
dec esi
jne 0x407372
mov edi, dword [ebp + 8]
add dword [ebp - 4], 0x10
sub dword [ebp - 8], 0x10
add edi, 8
dec ebx
lea esi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp + 0x14], eax
jne 0x407355
jmp 0x4073f7
test ecx, ecx
je 0x4073f7
mov ebx, eax
sub ebx, dword [ebp + 0x10]
dec ecx
shr ecx, 4
inc ecx
mov dword [ebp - 8], ecx
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edi, esi
push 0x10
sub edi, eax
pop ecx
mov dl, byte [ebx + eax]
xor dl, byte [eax]
mov byte [edi + eax], dl
inc eax
dec ecx
jne 0x4073b9
cmp dword [ebp + 0xc], 1
push dword [ebp + 8]
mov eax, esi
jne 0x4073d7
call fcn.004068d8
jmp 0x4073dc
call fcn.00406dfe
mov edi, dword [ebp + 8]
add dword [ebp + 0x10], 0x10
add dword [ebp + 0x14], 0x10
add edi, 8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub ebx, 0x10
dec dword [ebp - 8]
pop ecx
movsd dword es:[edi], dword [esi]
jne 0x4073ac
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x407627
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push esi
push edi
xor edi, edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0x6a09e667
mov dword [ebp - 0x1c], 0xbb67ae85
mov dword [ebp - 0x18], 0x3c6ef372
mov dword [ebp - 0x14], 0xa54ff53a
mov dword [ebp - 0x10], 0x510e527f
mov dword [ebp - 0xc], 0x9b05688c
mov dword [ebp - 8], 0x1f83d9ab
mov dword [ebp - 4], 0x5be0cd19
xor esi, esi
mov ecx, dword [ebp - 0x30]
mov al, byte [esi + 0x40d680]
mov byte [ebp + ecx - 0x70], al
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], 0x40
jne 0x4076a1
lea ecx, [ebp - 0x70]
mov eax, ecx
call fcn.004081c2
add dword [ebp - 0x28], 0x200
mov dword [ebp - 0x30], edi
adc dword [ebp - 0x24], edi
inc esi
cmp esi, 0x20
jb 0x407674
lea eax, [ebp - 0x70]
call fcn.0040835e
pop edi
pop esi
leave
ret
Function at 0x4081c2
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push ebx
push esi
xor edx, edx
inc ecx
push edi
movzx esi, byte [ecx - 1]
movzx edi, byte [ecx]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 1]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 2]
shl esi, 8
or esi, edi
mov dword [ebp + edx*4 - 0x120], esi
inc edx
add ecx, 4
cmp edx, 0x10
jb 0x4081d1
push 0x40
pop esi
cmp edx, esi
jae 0x40824c
sub esi, edx
lea ecx, [ebp + edx*4 - 0x128]
mov dword [ebp - 4], esi
mov esi, dword [ecx]
mov edx, dword [ecx - 0x34]
mov edi, esi
rol edi, 0xf
mov ebx, esi
shr esi, 0xa
rol ebx, 0xd
xor edi, ebx
xor edi, esi
mov esi, edx
rol esi, 0xe
mov ebx, edx
ror ebx, 7
xor esi, ebx
shr edx, 3
xor esi, edx
add edi, esi
add edi, dword [ecx - 0x38]
add ecx, 4
add edi, dword [ecx - 0x18]
dec dword [ebp - 4]
mov dword [ecx + 4], edi
jne 0x408212
mov ecx, dword [eax + 0x54]
mov edi, dword [eax + 0x50]
mov ebx, dword [eax + 0x68]
mov esi, dword [eax + 0x60]
and dword [ebp - 0x14], 0
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x58]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x5c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x64]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x6c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ecx
mov ecx, esi
ror ecx, 0xb
mov edx, esi
rol edx, 7
xor ecx, edx
mov edx, esi
ror edx, 6
xor ecx, edx
mov edx, esi
not edx
and edx, ebx
mov ebx, dword [ebp - 0x10]
and ebx, esi
xor edx, ebx
add ecx, edx
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + 0x40a238]
mov ebx, edi
add ecx, dword [ebp + edx - 0x120]
mov edx, edi
add ecx, dword [ebp - 4]
ror edx, 0xd
rol ebx, 0xa
xor edx, ebx
mov ebx, edi
add dword [ebp - 0x14], 4
ror ebx, 2
xor edx, ebx
mov ebx, dword [ebp - 8]
xor ebx, edi
and ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
and edi, dword [ebp - 0x18]
xor ebx, edi
mov edi, dword [ebp - 0x20]
add edx, ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 8], edi
add esi, ecx
cmp dword [ebp - 0x14], 0x100
lea edi, [edx + ecx]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], edi
jb 0x40827d
mov ecx, dword [eax + 0x50]
add ecx, edi
mov dword [eax + 0x50], ecx
mov ecx, dword [eax + 0x54]
add ecx, dword [ebp - 8]
pop edi
mov dword [eax + 0x54], ecx
mov ecx, dword [eax + 0x58]
add ecx, dword [ebp - 0xc]
mov dword [eax + 0x58], ecx
mov ecx, dword [eax + 0x5c]
add ecx, dword [ebp - 0x1c]
mov dword [eax + 0x5c], ecx
mov ecx, dword [eax + 0x60]
add ecx, esi
mov dword [eax + 0x60], ecx
mov ecx, dword [eax + 0x64]
add ecx, dword [ebp - 0x10]
pop esi
mov dword [eax + 0x64], ecx
mov ecx, dword [eax + 0x68]
add ecx, ebx
mov dword [eax + 0x68], ecx
mov ecx, dword [eax + 0x6c]
add ecx, dword [ebp - 4]
pop ebx
mov dword [eax + 0x6c], ecx
leave
ret
Function at 0x40858b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
push dword [esi + 0x24]
xor edi, edi
push edi
push dword [esi + 0x20]
mov dword [ebp - 0xc], edi
call fcn.00408e7d
add esp, 0xc
push 2
lea eax, [ebp - 0x14]
push eax
push edi
push edi
push dword [ebp + 8]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
call edi
test eax, eax
je 0x40864f
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
xor eax, eax
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp + 8]
call edi
test eax, eax
je 0x40864f
mov eax, dword [esi + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
xor ecx, ecx
cmp ebx, ecx
jb 0x40862b
jbe 0x408626
push 0
lea ecx, [ebp - 8]
push ecx
push eax
push dword [esi + 0x20]
push dword [ebp + 8]
call edi
test eax, eax
je 0x40864f
mov eax, dword [esi + 0x24]
cmp dword [ebp - 8], eax
jb 0x40864f
xor ecx, ecx
sub dword [ebp - 0x1c], eax
sbb ebx, ecx
cmp ebx, ecx
ja 0x4085fe
jb 0x40862b
cmp dword [ebp - 0x1c], eax
ja 0x4085fe
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x1c]
push dword [esi + 0x20]
push dword [ebp + 8]
call edi
test eax, eax
je 0x40864f
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 8], eax
jb 0x40864f
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
pop edi
pop ebx
leave
ret
Function at 0x4089c5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push 3
pop esi
mov edi, 0x40000
push edi
push 0
push dword [ebp + 0xc]
call fcn.00408e7d
add esp, 0xc
mov ecx, dword [ebx + esi*8 - 4]
push 0
dec esi
mov eax, dword [ebx + esi*8]
lea edx, [ebp - 0x10]
push edx
push ecx
push eax
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x408a29
push 0
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x408a29
cmp dword [ebp - 4], edi
jne 0x408a29
test esi, esi
jne 0x4089e3
or esi, 0xffffffff
xor eax, eax
test esi, esi
pop edi
sete al
pop esi
leave
ret

Function at 0x408a34
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
push 2
xor esi, esi
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x408b0f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
cmp eax, esi
ja 0x408a7a
cmp ecx, 0xc0000
jb 0x408b0f
push esi
push 3
push eax
push ecx
call fcn.00409400
xor edi, edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
xor ebx, ebx
cmp ebx, 2
jne 0x408aa2
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
add esi, 0xfffc0000
adc edi, 0xffffffff
mov eax, dword [ebp + 0xc]
push 0
mov dword [eax + ebx*8], esi
mov dword [eax + ebx*8 + 4], edi
lea eax, [ebp - 0x14]
push eax
push edi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x408b05
cmp dword [ebp - 0x14], esi
jne 0x408b05
cmp dword [ebp - 0x10], edi
jne 0x408b05
push 0
lea eax, [ebp - 8]
push eax
push 0x40000
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x408b05
mov eax, 0x40000
cmp dword [ebp - 8], eax
jne 0x408b05
add esi, dword [ebp - 0x24]
adc edi, dword [ebp - 0x20]
add dword [ebp + 0x10], eax
inc ebx
cmp ebx, 3
jb 0x408a8e
xor eax, eax
cmp ebx, 3
sete al
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x408d92
Capabilities:
Get file attributes
Get file size
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
xor eax, eax
push eax
push eax
push 3
push eax
push 7
push closesocket
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x408e76
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x408e6a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
or ebx, 0xffffffff
mov dword [ebp - 0x18], eax
or eax, ecx
mov dword [ebp - 0x14], ecx
je 0x408e76
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x408e76
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 8], eax
and dword [ebp - 8], 1
je 0x408e12
and eax, 0xfffffffe
push eax
push edi
call esi
test byte [ebp + 0x14], 1
jne 0x408e3b
cmp dword [ebp - 0x14], 0
ja 0x408e27
cmp dword [ebp - 0x18], 0x180000
jb 0x408e3b
push dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
call fcn.00408b16
jmp 0x408e4d
push dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
call fcn.00408656
add esp, 0x10
cmp dword [ebp - 8], 0
mov dword [ebp - 4], eax
je 0x408e76
push dword [ebp - 0xc]
test eax, eax
je 0x408e67
push dword [ebp + 0x10]
call esi
jmp 0x408e76
push edi
call esi
cmp ebx, 0xffffffff
je 0x408e76
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x2c5c6d20
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x610a1ecb
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219

Function at 0x40cbc7
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x41a2f8
call fcn.00413724
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], 0x41b69c
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x41b754
push 4
mov ebx, 0x41b68c
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00403291
mov dword [esi + 0x3c], 0x41b804
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.00403291
mov dword [edi], 0x41b80c
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.0040c1be
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.0040c1be
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.0040c1be
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.0040c1be
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.0040c1be
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x412ff0
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call fcn.0041468e
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x413018
xor eax, eax
ret 4
call dword [0x41b0b0]
test eax, eax
jne 0x413027
mov eax, 1
ret 4
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x2c071e2a
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, str.lsP
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x732c11c8
nop
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x994cdc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x994d03
call fcn.00937288
mov dword [eax], esi
call fcn.00937275
push 0x16
pop esi
mov dword [eax], esi
call fcn.00937eca
mov eax, esi
jmp 0x994d58
test dword [ebp + 0xc], 0xfffffff9
jne 0x994ce9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x994d30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0093729b
pop ecx
call fcn.00937275
mov eax, dword [eax]
jmp 0x994d58
test al, 0x10
jne 0x994d56
test al, 1
je 0x994d56
test byte [ebp + 0xc], 2
je 0x994d56
call fcn.00937288
mov dword [eax], 5
call fcn.00937275
mov dword [eax], 0xd
jmp 0x994d27
xor eax, eax
pop esi
pop ebp
ret

Function at 0x408920
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
mov eax, dword [esp]
add esp, 4
call fcn.0040893e
xor dword [edx], eax
and edi, edi
and edi, ecx
inc edx
inc ecx
dec ecx
cmp edx, esi
jne fcn.00408920
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x6ae2520e
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x7c527fa4
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219