joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
nop
mov ecx, 0x781d2156
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..reloc
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x626a3417
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4125d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4125fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4125fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
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
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40f13a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x10
pop ecx
xor eax, eax
push 0x100
push eax
mov byte [ebp - 0x44], 0
lea edi, [ebp - 0x43]
push ebx
rep stosd dword es:[edi], eax
call fcn.00418470
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 8]
call fcn.004169da
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.0041363b
push 0x40
lea eax, [ebp - 0x44]
push eax
lea eax, [ebx + 0x20]
push eax
call fcn.00418130
add esp, 0x28
push 0x40
lea edi, [ebx + 0x60]
lea esi, [ebx + 0x5a]
pop ecx
rep movsb byte es:[edi], byte [esi]
xor eax, eax
mov cl, byte [eax + ebx + 0x9f]
xor cl, byte [eax + ebx]
inc eax
cmp eax, 0x20
mov byte [eax + ebx + 0x9f], cl
jl 0x40f195
push dword [ebp + 8]
call dword [0x4211ec]
mov esi, eax
xor ecx, ecx
test esi, esi
jle 0x40f1d3
mov al, byte [ecx + ebx + 0xbd]
xor al, byte [ecx + ebx]
inc ecx
cmp ecx, esi
mov byte [ecx + ebx + 0xbf], al
jl 0x40f1bd
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x411088
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
push 0x44ed98
inc esi
call dword [0x4211ec]
movzx eax, al
xor ecx, ecx
test eax, eax
jbe 0x4110b7
push edi
movzx edx, byte [ecx + 0x44ed98]
mov edi, edx
imul edi, esi
xor edi, edx
inc ecx
cmp ecx, eax
mov esi, edi
jb 0x4110a1
pop edi
mov eax, esi
pop esi
ret

Function at 0x416382
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
and dword [ebp + 8], 0
push ebx
push esi
push edi
mov edi, 0x10000
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + edx*4]
mov edx, ecx
and ecx, 0xffff
shr edx, 0x10
mov esi, ecx
mov dword [ebp - 8], ecx
mov ecx, edx
imul ecx, edx
mov dword [eax + 4], ecx
mov ecx, esi
imul ecx, esi
mov dword [eax], ecx
mov ebx, edx
sub ebx, esi
sub esi, edx
mov ecx, esi
imul ecx, ebx
xor esi, ebx
mov ebx, dword [eax + 4]
and esi, edi
neg esi
mov dword [ebp - 4], edx
mov edx, ecx
neg edx
sbb edx, edx
and edx, esi
add ecx, ebx
cmp ecx, ebx
sbb esi, esi
and esi, edi
add edx, esi
mov esi, dword [eax]
add ecx, esi
cmp ecx, esi
sbb esi, esi
and esi, edi
add edx, esi
mov esi, ecx
shl esi, 0x10
add dword [eax], esi
cmp dword [eax], esi
sbb esi, esi
neg esi
shr ecx, 0x10
add esi, ebx
add ecx, esi
add ecx, edx
mov dword [eax + 4], ecx
add eax, 8
inc dword [ebp + 8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp + 0x10]
jl 0x416396
pop edi
pop esi
pop ebx
leave
ret
Function at 0x419372
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x421dd0
call fcn.00418b9c
mov edi, 0x94
mov eax, edi
call fcn.00418600
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x421060]
mov ecx, dword [esi + 0x10]
mov dword [0x459a78], ecx
mov eax, dword [esi + 4]
mov dword [0x459a84], eax
mov edx, dword [esi + 8]
mov dword [0x459a88], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x459a7c], esi
cmp ecx, 2
je 0x4193d2
or esi, 0x8000
mov dword [0x459a7c], esi
shl eax, 8
add eax, edx
mov dword [0x459a80], eax
xor esi, esi
push esi
mov edi, dword [0x421058]
call edi
cmp word [eax], 0x5a4d
jne 0x41940d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41940d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x419425
cmp eax, 0x20b
je 0x419412
mov dword [ebp - 0x1c], esi
jmp 0x419439
cmp dword [ecx + 0x84], 0xe
jbe 0x41940d
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x419433
cmp dword [ecx + 0x74], 0xe
jbe 0x41940d
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.0041c2bb
pop ecx
test eax, eax
jne 0x419465
cmp dword [0x459a58], 1
jne 0x419452
call fcn.0041ba70
push 0x1c
call fcn.0041b8f9
push 0xff
call fcn.0041a53b
pop ecx
pop ecx
call fcn.0041c219
mov dword [ebp - 4], esi
call fcn.0041c06e
test eax, eax
jge 0x41947e
push 0x1b
call fcn.0041934d
pop ecx
call dword [0x4211a0]
mov dword [0x45b050], eax
call fcn.0041bf4c
mov dword [0x459a50], eax
call fcn.0041beaa
test eax, eax
jge 0x4194a4
push 8
call fcn.0041934d
pop ecx
call fcn.0041bc77
test eax, eax
jge 0x4194b5
push 9
call fcn.0041934d
pop ecx
push 1
call fcn.0041a56b
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x4194cb
push eax
call fcn.0041934d
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [0x4211a4]
call fcn.0041bc1a
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x4194ec
movzx eax, word [ebp - 0x40]
jmp 0x4194ef
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0040cc51
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x41950d
push edi
call fcn.0041a696
call fcn.0041a6b8
jmp 0x41953f
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00418bd7
ret
Function at 0x41aa26
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x41aa54
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x41aa5b
cmp ebx, dword [eax + 4]
jae 0x41aa5b
xor eax, eax
jmp 0x41ac4b
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x41aa6c
xor eax, eax
inc eax
jmp 0x41ac4a
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x41aa82
cmp ecx, edx
jae 0x41abc7
cmp dword [eax + 4], 0
je 0x41aa8b
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x41aa73
cmp dword [ebp + 8], 0
je 0x41aaad
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x41abc7
cmp eax, esi
jae 0x41abc7
mov eax, dword [0x459ac0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x41aad2
cmp dword [esi*4 + 0x459ac8], edi
je 0x41abcb
inc esi
cmp esi, eax
jl 0x41aac0
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x421190]
test eax, eax
je 0x41ac47
cmp dword [ebp - 8], 0x1000000
jne 0x41ac47
test byte [ebp - 0xc], 0xcc
je 0x41ab50
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x41ac47
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x41ac47
cmp word [eax + 0x18], 0x10b
jne 0x41ac47
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x41ac47
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x41ab50
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x41ab50
test byte [ecx + 0x27], 0x80
jne 0x41abc7
push 1
push 0x459b08
call dword [0x421194]
test eax, eax
jne 0x41aa64
mov ecx, dword [0x459ac0]
test ecx, ecx
mov edx, ecx
jle 0x41ab84
lea eax, [ecx*4 + 0x459ac4]
cmp dword [eax], edi
je 0x41ab84
dec edx
sub eax, 4
test edx, edx
jg 0x41ab78
test edx, edx
jne 0x41abb5
push 0xf
pop ebx
cmp ecx, ebx
jg 0x41ab91
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x41aba9
lea eax, [edx*4 + 0x459ac8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x41ab97
cmp ecx, 0x10
jge 0x41abb5
inc ecx
mov dword [0x459ac0], ecx
push 0
push 0x459b08
call dword [0x421194]
jmp 0x41aa64
xor eax, eax
jmp 0x41ac4a
test esi, esi
jle 0x41aa64
mov ebx, dword [0x421194]
push 1
push 0x459b08
call ebx
test eax, eax
jne 0x41aa64
cmp dword [esi*4 + 0x459ac8], edi
je 0x41ac21
mov eax, dword [0x459ac0]
lea esi, [eax - 1]
test esi, esi
jl 0x41ac0f
cmp dword [esi*4 + 0x459ac8], edi
je 0x41ac0b
dec esi
jns 0x41abff
test esi, esi
jge 0x41ac1f
cmp eax, 0x10
jge 0x41ac1a
inc eax
mov dword [0x459ac0], eax
lea esi, [eax - 1]
jmp 0x41ac21
je 0x41ac39
xor ecx, ecx
test esi, esi
jl 0x41ac39
lea eax, [ecx*4 + 0x459ac8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x41ac27
push 0
push 0x459b08
call ebx
jmp 0x41aa64
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ecx
pcmpeqw mm6, mm6
pxor mm7, mm7
push edx
psllw mm6, 0xf
push edi
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
movq mm1, qword [edx]
sub eax, 4
movq mm0, mm1
psrlq mm1, 0x20
jl 0x4010e4
jmp 0x401040
movq mm3, qword [edx + 8]
add edi, 8
punpckldq mm1, mm3
movq mm4, qword [ecx]
paddd mm0, mm1
pxor mm4, mm6
movq mm1, qword [edx + 0x10]
movq mm5, mm4
punpcklwd mm4, mm7
movq mm2, mm3
psrlq mm3, 0x20
paddd mm0, mm2
punpckldq mm3, mm1
psubd mm0, mm4
paddd mm2, mm1
punpckhwd mm5, mm7
paddd mm3, mm2
pslld mm4, 4
psubd mm3, mm5
pslld mm5, 4
psubd mm4, mm0
pcmpeqd mm7, mm7
psubd mm5, mm3
pslld mm7, 0x12
movq mm2, mm6
paddd mm4, mm7
psrld mm2, 0x1c
paddd mm5, mm7
movq mm3, mm2
psrld mm7, 0x1e
pand mm2, mm4
paddd mm4, mm7
psrld mm2, 3
pand mm3, mm5
paddd mm5, mm7
psrld mm3, 3
paddd mm4, mm2
paddd mm5, mm3
psrad mm4, 3
add edx, 0x10
psrad mm5, 3
add ecx, 8
packssdw mm4, mm5
movq mm0, mm1
pxor mm7, mm7
psrlq mm1, 0x20
sub eax, 4
movq qword [edi - 8], mm4
jge 0x401040
add eax, 4
jle 0x401185
movq mm3, qword [edx + 8]
punpckldq mm1, mm3
movq mm4, qword [ecx]
paddd mm0, mm1
pxor mm4, mm6
movq mm1, qword [edx + 0x10]
movq mm5, mm4
punpcklwd mm4, mm7
movq mm2, mm3
psrlq mm3, 0x20
paddd mm0, mm2
punpckldq mm3, mm1
psubd mm0, mm4
paddd mm2, mm1
punpckhwd mm5, mm7
pcmpeqd mm7, mm7
paddd mm3, mm2
pslld mm4, 4
psubd mm3, mm5
pslld mm5, 4
psubd mm4, mm0
pslld mm7, 0x12
psubd mm5, mm3
psrld mm6, 0x1c
paddd mm4, mm7
movq mm0, mm6
paddd mm5, mm7
psrld mm7, 0x1e
pand mm6, mm4
paddd mm4, mm7
psrld mm6, 3
pand mm0, mm5
paddd mm5, mm7
psrld mm0, 3
paddd mm4, mm6
paddd mm5, mm0
psrad mm4, 3
psrad mm5, 3
packssdw mm4, mm5
cmp eax, 2
jl 0x40117f
movd dword [edi], mm4
je 0x401185
psrlq mm4, 0x20
add edi, 4
movd edx, mm4
mov word [edi], dx
emms
pop edi
pop edx
pop ecx
ret

Function at 0x644337
Capabilities:
Encode data using xor

Disassembly:
push esp
outsd dx, dword [esi]
inc edx
nop
mov byte [0xd5715c6a], al
cwde
invalid
Function at 0x434670
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x210]
push esi
push edi
mov edi, dword [ebp + 8]
push eax
push 0xf003f
push 0
push ebx
push edi
mov dword [ebp - 0x210], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
push dword [ebp - 0x210]
call esi
test eax, eax
jne 0x4346ff
lea esp, [esp]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call fcn.00434670
add esp, 8
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
push dword [ebp - 0x210]
call esi
test eax, eax
je 0x4346d0
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
pop esi
inc eax
pop ebx
call fcn.00470e77
mov esp, ebp
pop ebp
ret
Function at 0x401706
Capabilities:
Parse pe header

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

Function at 0x4081d0
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41e468
push 0x41e460
push str.FlsAlloc
push 0x1e
call fcn.004080ee
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408204
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d114]
call esi
jmp 0x40820a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40824e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41e478
push 0x41e470
push str.FlsGetValue
push 0x20
call fcn.004080ee
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408285
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d114]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40f430
Capabilities:
Parse pe header

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

Disassembly:
sub esp, 0x1c
mov ax, word [0x425888]
push ebx
push ebp
mov dword [esp + 8], ecx
mov ecx, 0x3790
add ax, cx
push esi
push edi
mov edi, edx
mov word [0x425888], ax
mov bx, ax
xor edx, edx
push 3
pop ecx
lea eax, [edi + 2]
mov dword [esp + 0x1c], ecx
div ecx
movzx ecx, bl
imul ecx, ecx, 0x55
mov ebp, eax
shl ebp, 2
mov dword [esp + 0x28], ebp
mov byte [0x425880], cl
imul ecx, ebx, 0xcc4
mov word [0x425890], cx
lea ecx, [ebp + 0xa]
push ecx
call fcn.0040570b
mov bx, word [0x425888]
mov esi, eax
mov eax, 0x6eb3
mov dword [esp + 0x28], esi
mov edx, eax
movzx eax, bx
imul eax, edx
pop ecx
mov word [0x425890], ax
test esi, esi
jne 0x40fc21
movzx eax, bx
mov ecx, 0xc220c2de
imul eax, eax, 0x2ae1b737
sub ecx, eax
xor eax, eax
mov dword [0x42588c], ecx
jmp 0x40fdb6
mov bl, byte [0x425880]
xor eax, 0x57b0
movzx ecx, bl
add eax, 0x2010
and ecx, 0x6d961dd7
mov word [0x425890], ax
xor ecx, 0xfc9d8632
movzx eax, ax
test edi, edi
je 0x40fd71
mov eax, dword [esp + 0x10]
lea ebp, [esi + 2]
xor edx, edx
mov dword [esp + 0x14], 2
lea esi, [eax + 2]
not eax
mov dword [esp + 0x10], eax
lea eax, [edi - 1]
div dword [esp + 0x1c]
inc eax
mov dword [esp + 0x18], eax
movzx edx, byte [esi - 2]
xor ecx, 0x2129
movzx eax, cx
mov word [0x425890], cx
mov ecx, dword [esp + 0x10]
add ecx, esi
shl edx, 0x10
mov dword [esp + 0x1c], eax
cmp ecx, edi
jae 0x40fcc9
sub bl, 0x4f
mov eax, 0x55f0
movzx ecx, bl
imul ecx, eax
mov eax, 0x7640
add cx, ax
movzx eax, byte [esi - 1]
shl eax, 8
add edx, eax
mov word [0x425890], cx
movzx eax, cx
mov dword [esp + 0x1c], eax
movzx ecx, ax
mov dword [esp + 0x20], ecx
movzx ebx, cx
cmp dword [esp + 0x14], edi
jae 0x40fcde
movzx eax, byte [esi]
add edx, eax
mov eax, edx
shr eax, 0x12
mov al, byte [eax + 0x421ee0]
mov byte [ebp - 2], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
mov al, byte [eax + 0x421ee0]
mov byte [ebp - 1], al
movzx eax, bl
imul ebx, eax, 0x91
mov eax, dword [esp + 0x10]
add eax, esi
cmp eax, edi
jae 0x40fd20
mov eax, edx
shr eax, 6
and eax, 0x3f
mov al, byte [eax + 0x421ee0]
jmp 0x40fd22
mov al, 0x3d
mov ecx, dword [esp + 0x20]
add bl, 0x22
movzx ecx, cx
add ecx, 0x5d4937e4
mov byte [ebp], al
cmp dword [esp + 0x14], edi
jae 0x40fd46
and edx, 0x3f
mov al, byte [edx + 0x421ee0]
jmp 0x40fd48
mov al, 0x3d
mov byte [ebp + 1], al
add ebp, 4
push 3
pop eax
add dword [esp + 0x14], eax
add esi, eax
sub dword [esp + 0x18], 1
jne 0x40fc77
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
movzx eax, cx
mov edx, dword [esp + 0x30]
lea ecx, [eax - 0x485c]
mov byte [esi + ebp], 0
mov word [0x425888], cx
test edx, edx
je 0x40fd9e
mov eax, ecx
mov dword [edx], ebp
xor eax, 0x640
and eax, 0x8e44
mov word [0x425890], ax
mov al, cl
xor al, 0x89
mov byte [0x425880], al
movzx eax, cx
sub eax, 0x79cfed65
mov dword [0x42588c], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x411338
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
movzx edx, word [0x4258ac]
sub esp, 0x404
mov eax, 0x18fa
imul edx, eax
mov eax, 0x5b9e
push esi
push edi
mov di, word [0x4258a0]
mov esi, ecx
add ax, di
mov word [0x4258b0], dx
cmp dword [0x4258b4], 0xffffffff
mov word [0x4258ac], ax
jne 0x41156d
movzx eax, di
mov edx, 0xd016cbb7
and eax, 0x9e355fd3
movzx ecx, di
mov dword [0x4258cc], eax
mov eax, 0x86c5
imul ecx, eax
mov eax, 0xbfcc
mov word [0x4258e0], cx
movzx ecx, byte [0x4258a6]
imul ecx, eax
mov eax, 0xa7a7
mov word [0x4258b0], cx
movzx ecx, di
imul ecx, eax
lea eax, [ebp - 0x404]
push eax
push 0x200
mov word [0x4258ac], cx
xor ecx, ecx
inc ecx
call fcn.0041287b
call eax
movzx eax, byte [0x4258a6]
mov ecx, 0x1310
sub ax, cx
mov word [0x4258c4], ax
xor eax, 0xcfa6
mov word [0x4258a0], ax
lea eax, [ebp - 0x404]
push eax
call fcn.0040581e
pop ecx
cmp word [ebp + eax*2 - 0x406], 0x5c
je 0x41142f
lea eax, [ebp - 0x404]
push eax
call fcn.0040581e
pop ecx
cmp word [ebp + eax*2 - 0x406], 0x2f
jne 0x411487
movzx eax, byte [0x4258a6]
mov ecx, 0x1528
add ax, cx
mov ecx, dword [0x4258cc]
mov word [0x4258b0], ax
and ecx, 0xe4e1
mov al, byte [0x4258a0]
sub al, 0x2f
mov word [0x4258e0], cx
mov byte [0x4258a6], al
and ecx, 0x1072
lea eax, [ebp - 0x404]
mov word [0x4258c4], cx
push eax
call fcn.0040581e
pop ecx
xor ecx, ecx
mov word [ebp + eax*2 - 0x406], cx
or dword [0x4258cc], 0x5c545aa6
mov eax, 0x452d
add word [0x4258b0], ax
lea eax, [ebp - 0x404]
push str.4375vtb45tv8225nv4285n2.txt
push eax
call fcn.00405bcb
mov al, byte [0x4258a0]
mov edx, 0xf0e4d87b
pop ecx
pop ecx
push 0
or al, 0xda
xor ecx, ecx
push 0x80
mov byte [0x4258a6], al
inc ecx
push 2
mov eax, 0x6546
or ax, word [0x4258c4]
push 0
push 1
mov word [0x4258a0], ax
lea eax, [ebp - 0x404]
push 0x40000000
push eax
call fcn.0041287b
call eax
movzx edx, word [0x4258e0]
mov ecx, 0xbfec
and word [0x4258c4], cx
mov ecx, 0xf7fc
imul edx, ecx
mov dword [0x4258b4], eax
mov word [0x4258ac], dx
cmp eax, 0xffffffff
jne 0x411566
mov ax, word [0x4258a0]
mov ecx, 0x6995
and ax, cx
mov ecx, 0x3954
mov word [0x4258c4], ax
movzx eax, byte [0x4258a6]
sub ax, cx
movzx eax, ax
add eax, 0x7f6020fa
mov dword [0x4258cc], eax
mov eax, 0xd81f
xor ax, word [0x4258b0]
mov word [0x4258ac], ax
jmp 0x4115b7
mov dx, word [0x4258b0]
movzx eax, byte [0x4258a6]
mov edi, 0x84a1
and ax, di
and dl, 0xa1
mov word [0x4258e0], ax
movzx eax, byte [0x4258a6]
xor eax, 0xfce01fd1
mov byte [0x4258a6], dl
mov dword [0x4258cc], eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00405b40
pop ecx
push eax
push esi
push dword [0x4258b4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
leave
ret
Function at 0x412369
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push ebp
mov ebp, dword fs:[0x30]
mov eax, 0x1f63
mov edx, dword [0x42590c]
push esi
push edi
mov ecx, dword [ebp + 0xc]
movzx edi, byte [0x425942]
lea ebx, [edx + 0x5a]
and di, ax
mov byte [0x425938], bl
add ecx, 0x14
mov word [0x42595c], di
mov al, dl
xor al, 0x68
mov byte [0x4258ee], al
mov esi, dword [ecx]
cmp esi, ecx
je 0x412444
movzx ecx, di
mov edi, 0xcd6e
mov eax, ecx
or dl, 0x5a
and eax, 0xbeb1
mov byte [0x425942], dl
add cl, 0x74
mov word [0x425930], ax
mov byte [0x4258ee], cl
mov ecx, 0x7890
movzx eax, bl
push str.kernel32.dll
push dword [esi + 0x28]
xor ax, cx
mov word [0x42595c], ax
call fcn.00407189
pop ecx
pop ecx
test eax, eax
je 0x412420
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov esi, dword [esi]
add eax, 0x14
mov word [0x42595c], di
cmp esi, eax
je 0x412444
mov bl, byte [0x425938]
mov edx, dword [0x42590c]
jmp 0x4123ba
mov cl, byte [0x42595c]
mov eax, dword [esi + 0x10]
add cl, 0x53
mov byte [0x425938], cl
movzx ecx, byte [0x425930]
imul ecx, ecx, 0x25
mov byte [0x425942], cl
jmp 0x412452
mov al, byte [0x425930]
or al, 0x32
mov byte [0x425942], al
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x41270b
Capabilities:
Parse pe header

Disassembly:
movzx eax, word [0x425958]
mov dl, byte [0x425902]
imul eax, eax, 0x8f940ce7
push ebx
mov bh, byte [0x4258f4]
push ebp
mov ebp, ecx
mov bl, bh
mov dword [0x4258f4], eax
mov ecx, 0x4aeb
movzx eax, dl
sub bl, 0xc
and ax, cx
mov byte [0x4265d0], bl
push esi
push edi
movzx edi, ax
and bh, 0x8a
mov eax, 0x5a4d
mov byte [0x425918], bh
cmp word [ebp], ax
jne 0x4127cc
mov esi, dword [ebp + 0x3c]
mov edi, 0xffff
movzx eax, bl
add esi, ebp
mov bl, byte [0x4258f8]
imul edx, eax, 0x85
movzx ecx, bl
mov eax, ecx
mov word [0x4258f0], di
or eax, 0xb49a
xor ecx, 0x7aed
mov word [0x425958], ax
add al, 0x1f
cmp dword [esi], 0x4550
mov byte [0x4265d0], al
mov byte [0x425902], dl
movzx eax, cx
mov word [0x425900], cx
jne 0x4127cc
xor bl, 0x98
mov byte [0x425902], 0xc6
and al, 0xa1
mov byte [0x4258f8], bl
mov byte [0x425918], al
mov eax, esi
jmp 0x4127f4
lea eax, [edi + 0x4599]
mov ecx, 0x9dd2
mov word [0x4258f0], ax
add dl, 0x1d
movzx eax, bh
or ax, cx
mov byte [0x4258f8], dl
mov word [0x425900], ax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4127f9
Capabilities:
Encode data using xor

Disassembly:
movzx eax, byte [0x4265d1]
xor edx, edx
push ebx
push esi
mov esi, ecx
mov ecx, 0x9f36
and ax, cx
mov ecx, 0x655f
add ax, cx
movzx ecx, ax
mov bl, byte [esi]
add ecx, 0x39433cf0
mov word [0x42591c], ax
mov dword [0x425944], ecx
test bl, bl
je 0x412867
movzx ecx, cl
and ecx, 0xe14d5c5d
imul edx, edx, 0x3c847bc
or ecx, 0xd
lea eax, [ecx + 0x68ad]
xor ecx, 0x1d670d14
mov word [0x42591c], ax
movsx eax, bl
xor edx, eax
inc esi
mov bl, byte [esi]
test bl, bl
jne 0x412831
mov dword [0x425944], ecx
movzx ecx, cl
mov eax, edx
imul ecx, ecx, 0xc2
pop esi
pop ebx
mov byte [0x4265d1], cl
ret