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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
lea eax, [ebx + ebx*4]
push 0x41637346
shl eax, 2
push eax
call sym.xboxkrnl.exe_Ordinal_15
mov edi, eax
test edi, edi
mov dword [ebp + 8], edi
je 0x8002450f
push 0
mov eax, ebx
sub eax, dword [0x80049c58]
push 0x8002705a
shl eax, 0xc
push eax
push 2
push 8
push 0x80044b20
call fcn.80025ce1
test eax, eax
jne 0x80024519
push edi
call sym.xboxkrnl.exe_Ordinal_17
mov eax, 0xc000009a
jmp 0x800245b0
mov ecx, dword [0x80049c58]
lea ecx, [ecx + ecx*4]
shl ecx, 2
mov edx, ecx
shr ecx, 2
push esi
mov esi, dword [0x80049c5c]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [0x80049c58]
cmp edx, ebx
jae 0x8002458b
mov esi, dword [ebp + 8]
lea ecx, [edx + edx*4]
lea esi, [esi + ecx*4 + 8]
and dword [esi - 4], 0
mov ecx, eax
shr ecx, 0xa
and ecx, 0x3ffffc
mov dword [esi], eax
mov ecx, dword [ecx - 0x40000000]
shr ecx, 0xc
mov edi, edx
shl edi, 0x11
lea ecx, [ecx*4 - 0x7c010000]
xor edi, dword [ecx]
add eax, 0x1000
and edi, 0xffe0000
xor dword [ecx], edi
inc edx
add esi, 0x14
cmp edx, ebx
jb 0x8002454e
mov eax, dword [0x80049c5c]
test eax, eax
pop esi
je 0x8002459b
push eax
call sym.xboxkrnl.exe_Ordinal_17
mov eax, dword [ebp + 8]
mov dword [0x80049c5c], eax
mov dword [0x80049c58], ebx
call fcn.80024467
xor eax, eax
pop edi
pop ebx
pop ebp
ret 4

Function at 0x800260f3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x200
mov edi, 0xc0300000
rep stosd dword es:[edi], eax
xor ebx, ebx
mov dword [0xc0300ffc], ebx
mov eax, 0xf00000eb
mov ecx, 0xc0300f00
mov edx, 0x400000
mov dword [ecx], eax
add ecx, 4
add eax, edx
cmp ecx, 0xc0300f7c
jbe 0x8002611f
and eax, 0xfe7
or eax, 0xf8000018
mov ecx, 0xc0300f80
mov dword [ecx], eax
add ecx, 4
add eax, edx
cmp ecx, 0xc0300ff8
jbe 0x8002613d
push ebx
push 1
lea eax, [ebp - 1]
push eax
push 0x87
push ebx
push ebx
call sym.xboxkrnl.exe_Ordinal_46
movzx eax, byte [ebp - 1]
shl eax, 0xc
mov esi, 0xfff
add eax, esi
cmp eax, 0x4000
mov dword [0x80049c38], eax
jae 0x8002618d
mov dword [0x80044b48], 0x80049c2c
mov dword [0x80044b4c], fcn.800271a5
cmp byte [0x8004993c], bl
jne 0x800261b2
test byte [0x80056540], 1
je 0x800261ab
call fcn.800712e0
cmp byte [0x8004993c], bl
jne 0x800261b2
call fcn.80071356
jmp 0x800261b7
call fcn.80027159
mov eax, dword [0x80049c38]
shl eax, 0xc
sub eax, 0x7ffff001
shr eax, 0x14
and eax, 0xffc
mov edi, 0xc0300800
sub eax, 0x3fd00000
cmp eax, edi
mov edx, 0x3ff0067
mov ecx, 0xc03008fc
jb 0x80026203
mov ebx, edx
mov dword [edi], edx
and ebx, 0xfffff000
add ebx, 0x1000
and edx, esi
add edi, 4
xor edx, ebx
cmp edi, eax
jbe 0x800261e4
cmp edi, ecx
ja 0x8002620d
sub ecx, edi
shr ecx, 2
inc ecx
xor eax, eax
rep stosd dword es:[edi], eax
call fcn.800203b4
call fcn.800194d2
push 8
push 0x80044b20
call fcn.8002758a
push 0x10
mov dword [0x80049c4c], eax
call sym.xboxkrnl.exe_Ordinal_37
pop edi
pop esi
pop ebx
leave
ret
Function at 0x80027159
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
call sym.xboxkrnl.exe_Ordinal_129
mov bl, al
xor esi, esi
mov eax, dword [esi*4 - 0x7c010000]
test al, 1
je 0x8002717c
test ah, 4
je 0x8002718a
inc dword [0x80049c24]
jmp 0x80027193
test eax, 0x10000
je 0x8002718a
test eax, 0xf0000000
je 0x80027193
xor dl, dl
mov ecx, esi
call fcn.80026e7b
inc esi
cmp esi, dword [0x80049c38]
jbe 0x80027164
pop esi
mov cl, bl
pop ebx
jmp sym.xboxkrnl.exe_Ordinal_161

Function at 0x8002b895
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
xor eax, eax
test ecx, ecx
je 0x8002b8d1
cmp ecx, 0xffffffff
je 0x8002b8d1
cmp word [ecx], 0x5a4d
jne 0x8002b8d1
mov eax, dword [ecx + 0x3c]
mov edx, 0x7ffeffff
add eax, ecx
cmp ecx, edx
jae 0x8002b8c7
cmp eax, edx
jae 0x8002b8cf
lea ecx, [eax + 0xf8]
cmp ecx, edx
jae 0x8002b8cf
cmp dword [eax], 0x4550
je 0x8002b8d1
xor eax, eax
ret 4

Function at 0x8002b8d4
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 4]
movzx eax, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
movzx ecx, word [ecx + 6]
push esi
xor esi, esi
test ecx, ecx
push edi
jbe 0x8002b908
mov edx, dword [eax + 0xc]
cmp dword [esp + 0x14], edx
jb 0x8002b900
mov edi, dword [eax + 0x10]
add edi, edx
cmp dword [esp + 0x14], edi
jb 0x8002b90a
add eax, 0x28
inc esi
cmp esi, ecx
jb 0x8002b8ec
xor eax, eax
pop edi
pop esi
ret 0xc
Function at 0x8003090f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
push edi
jne 0x80030926
push 0x78
pop edi
mov eax, 0x63527446
jmp 0x80030944
test byte [esi + 1], 0x10
movzx edi, byte [esi]
je 0x80030939
add edi, 0x78
mov eax, 0x63447446
jmp 0x80030944
add edi, 0x140
mov eax, 0x63467446
push eax
push edi
call sym.xboxkrnl.exe_Ordinal_15
mov ebx, eax
test ebx, ebx
je 0x80030a70
mov ecx, edi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
and dword [ebx + 0x20], 0
test eax, eax
mov dword [ebx + 4], 1
mov dword [ebx + 0x1c], eax
je 0x80030982
or dword [ebx + 0x28], 0xffffffff
test esi, esi
je 0x80030a1b
mov al, byte [esi + 1]
mov byte [ebx + 3], al
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x40], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x3c], eax
lea eax, [esi + 0x38]
push eax
call fcn.80034432
test byte [ebx + 3], 0x10
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], edx
je 0x800309bf
or byte [ebx], 2
lea eax, [ebx + 0x78]
jmp 0x800309ce
lea eax, [ebx + 0x44]
push eax
call sym.xboxkrnl.exe_Ordinal_18
lea eax, [ebx + 0x140]
mov dword [ebx + 0x30], eax
mov al, byte [esi]
mov edi, dword [ebx + 0x30]
mov byte [ebx + 2], al
movzx ecx, byte [esi]
mov eax, ecx
shr ecx, 2
add esi, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 8]
inc dword [eax + 4]
mov dword [ebx + 0x18], eax
mov cl, byte [eax + 1]
add cl, byte [ebx + 2]
inc cl
mov byte [ebx + 1], cl
add eax, 0x44
mov edx, dword [eax]
lea ecx, [ebx + 0x10]
mov dword [ecx], edx
mov dword [ebx + 0x14], eax
mov dword [edx + 4], ecx
mov dword [eax], ecx
jmp 0x80030a22
or byte [ebx], 6
mov byte [ebx + 3], 0x10
mov cl, byte [ebx]
and cl, 2
je 0x80030a35
and dword [ebx + 0x4c], 0
lea eax, [ebx + 0x44]
mov dword [ebx + 0x48], eax
mov dword [eax], eax
test cl, cl
je 0x80030a43
mov byte [ebx + 0x5c], 1
mov byte [ebx + 0x54], 1
jmp 0x80030a6c
xor ecx, ecx
lea eax, [ebx + 0x7c]
mov dl, cl
dec dl
mov byte [eax + 8], dl
mov dl, cl
inc dl
mov byte [eax], dl
inc ecx
add eax, 0x14
cmp ecx, 0xa
jb 0x80030a48
and byte [ebx + 0x130], 0
mov byte [ebx + 0x84], 9
xor eax, eax
jmp 0x80030a75
mov eax, 0xc000009a
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
pop ebp
ret 0x14
Function at 0x80030fe6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test byte [eax], 2
lea ecx, [eax + 0x50]
jne 0x80030ff8
lea ecx, [eax + 0x78]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
push edi
mov dword [ebp - 4], ecx
mov edi, 0xfffffff
je 0x80031082
movzx eax, byte [eax + 0xf]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x80031082
mov edx, dword [eax + 8]
and edx, edi
add edx, ecx
cmp edx, esi
je 0x80031043
mov ecx, dword [ebp + 8]
movzx eax, byte [eax + 4]
movzx ecx, byte [ecx + 0xf]
cmp eax, ecx
mov dword [ebp + 0xc], eax
jne 0x80031014
jmp 0x80031082
mov ecx, dword [eax]
mov edx, dword [eax + 0x10]
and ecx, edi
add edx, ecx
cmp edx, dword [ebx]
jne 0x80031082
mov esi, dword [eax + 8]
mov dword [ebx], ecx
mov ecx, dword [eax + 0x10]
add dword [ebx + 4], ecx
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + 0xf]
and esi, edi
cmp dword [ebp + 0xc], ecx
jne 0x80031074
mov al, byte [eax + 4]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xf], al
jmp 0x80031082
push dword [ebp + 0xc]
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.80030ade
mov eax, dword [ebp + 0x14]
lea ecx, [ebx + eax*8 - 8]
mov eax, ecx
add esi, dword [eax + 4]
sub eax, 8
cmp eax, ebx
jae 0x8003108b
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0xf]
mov edx, dword [ebp - 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
movzx edx, byte [eax + 0xc]
mov ebx, dword [ebp - 4]
sub esi, dword [ecx + 4]
lea eax, [edx + edx*4]
lea eax, [ebx + eax*4]
mov ebx, dword [eax]
xor ebx, dword [ecx]
sub ecx, 8
and ebx, edi
xor dword [eax], ebx
mov ebx, dword [eax + 8]
xor ebx, esi
and ebx, edi
xor dword [eax + 8], ebx
cmp ecx, dword [ebp + 0x10]
mov ebx, dword [ecx + 0xc]
mov dword [eax + 0x10], ebx
jae 0x800310a5
mov eax, dword [ebp + 8]
pop edi
pop esi
mov byte [eax + 0xf], dl
pop ebx
leave
ret 0x10

Function at 0x80039d70
Capabilities:
Encode data using xor

Disassembly:
push 0x3f
pop eax
push esi
xor ecx, ecx
push edi
mov edx, dword [esp + 0xc]
shr edx, cl
xor edx, eax
shr eax, 1
and edx, 1
mov esi, eax
and esi, 0x10
mov edi, edx
shl edi, 4
xor esi, edi
and eax, 0xf
or esi, eax
shl edx, 5
or esi, edx
inc ecx
cmp ecx, 0xe
mov eax, esi
jb 0x80039d77
shl eax, 0xe
or eax, dword [esp + 0xc]
pop edi
pop esi
ret 4

Function at 0x80039e19
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov al, byte [0x800602b0]
cmp al, 0x8a
jne 0x80039e2b
pop ebp
jmp fcn.8003b139
cmp al, 0xd4
jne 0x80039e35
pop ebp
jmp fcn.8003a9e0
cmp al, 0xe0
jne 0x80039e3f
pop ebp
jmp fcn.8003a22a
xor eax, eax
pop ebp
ret 0x18
Function at 0x8003c090
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor edx, edx
xor ecx, ecx
push esi
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
push edi
mov edi, eax
mov ebx, dword [esp + 0x14]
push ebp
mov cl, byte [esi + 0x100]
mov ebp, ebx
mov dl, byte [esi + 0x101]
test ebx, ebx
je 0x8003c1cb
shr ebx, 2
and eax, 3
test ebx, ebx
je 0x8003c1a0
test eax, eax
jne 0x8003c1a0
mov eax, edi
lea edi, [edi + ebx*4]
mov dword [esp + 0x1c], edi
sub eax, 4
mov ebp, ebx
mov edi, dword [eax + 4]
inc ecx
xor eax, eax
and ecx, 0xff
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 8
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 0x10
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 0x18
lea ebx, [ebp*4]
xor edi, eax
mov eax, dword [esp + 0x1c]
sub eax, ebx
mov dword [eax], edi
dec ebp
jne 0x8003c0e0
mov ebp, dword [esp + 0x18]
and ebp, 3
test ebp, ebp
je 0x8003c1cb
lea edi, [eax + 4]
inc ecx
mov ebx, 0xff
and ecx, ebx
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, ebx
xor ebx, ebx
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov bl, byte [edi]
mov al, byte [esi + eax]
xor bl, al
mov byte [edi], bl
inc edi
dec ebp
jne 0x8003c1a0
pop ebp
pop edi
lea eax, [esi + 0x100]
pop esi
mov byte [eax], cl
pop ebx
mov byte [eax + 1], dl
ret 0xc

Function at 0x8003c430
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, dword [esp + 0x60]
mov edx, dword [esi + 0x30]
mov eax, edx
and eax, 0x3f
mov ebx, 0x40
sub ebx, eax
cmp ebx, 8
push edi
ja 0x8003c452
add ebx, 0x40
lea ecx, [ebx - 6]
mov ebp, ecx
shr ecx, 2
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x2c]
mov eax, edx
shl ecx, 3
shr eax, 0x1d
or ecx, eax
mov dword [esp + 0x10], ecx
lea ecx, [edx*8]
push 2
lea edx, [esp + 0x14]
push edx
lea eax, [esp + ebx + 0x18]
push eax
mov byte [esp + 0x24], 0x80
mov dword [esp + 0x20], ecx
call fcn.8003d050
push ebx
lea ecx, [esp + 0x1c]
push ecx
push esi
call fcn.8003c310
mov edx, dword [esp + 0x68]
push 5
lea edi, [esi + 0x18]
push edi
push edx
call fcn.8003d050
xor eax, eax
mov dword [edi], 0x67452301
pop edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x1c], 0xefcdab89
mov dword [esi + 0x20], 0x98badcfe
mov dword [esi + 0x24], 0x10325476
mov dword [esi + 0x28], 0xc3d2e1f0
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 8
Function at 0x800436de
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 0x220]
mov dword [eax + 0xb4], ecx
mov ecx, dword [edx + 0x224]
mov dword [eax + 0xb8], ecx
mov ecx, dword [edx + 0x228]
mov dword [eax + 0xbc], ecx
mov ecx, dword [edx + 0x22c]
mov dword [eax + 0xc0], ecx
mov ecx, dword [edx + 0x230]
mov dword [eax + 0xc4], ecx
mov ecx, dword [edx + 0x234]
and dword [eax + 0x8c], 0
mov dword [eax + 0xc8], ecx
push ebx
mov dword [eax + 0x90], 0x20
push esi
push edi
push 0x10
pop ecx
mov dword [eax + 0x94], ecx
mov dword [eax + 0x98], ecx
mov ecx, dword [edx + 0x208]
mov dword [eax + 0x9c], ecx
mov ecx, dword [edx + 0x20c]
mov dword [eax + 0xa0], ecx
mov ecx, dword [edx + 0x210]
mov dword [eax + 0xa4], ecx
mov ecx, dword [edx + 0x214]
mov dword [eax + 0xa8], ecx
mov ecx, dword [edx + 0x218]
mov dword [eax + 0xac], ecx
mov ecx, dword [edx + 0x21c]
mov dword [eax + 0xb0], ecx
lea ebx, [edx + 4]
lea edi, [eax + 0xcc]
mov ecx, 0x80
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
movzx ecx, word [ebx]
mov dword [eax + 0x1c], ecx
movzx ecx, word [edx + 6]
mov dword [eax + 0x20], ecx
movzx ecx, word [edx + 8]
mov dword [eax + 0x24], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0x28], ecx
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x2c], ecx
mov ecx, dword [edx + 0x14]
mov dword [eax + 0x30], ecx
mov ecx, dword [edx + 0x18]
mov dword [eax + 0x34], ecx
mov ecx, dword [edx + 0x204]
mov dword [eax + 0x88], ecx
push 8
add eax, 0x38
add edx, 0x24
pop ecx
mov esi, edx
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add edx, 0x10
add eax, 0xa
dec ecx
movsw word es:[edi], word [esi]
jne 0x800437f0
pop edi
pop esi
pop ebx
ret 8
Function at 0x80065ff0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, dword [esp + 8]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x414]
and ecx, 0xfffffff7
test eax, eax
mov dword [esi + 8], ecx
jne 0x800661e1
push edi
push ebx
xor edi, edi
push ebp
mov eax, dword [0x800702f8]
test eax, eax
mov ebp, edi
je 0x80066021
mov ebp, 3
push ebp
push edi
push esi
call fcn.8006a7a0
mov ebx, eax
push ebx
push ebp
push edi
push esi
call fcn.80069e00
xor edx, edx
cmp ebx, edx
jne 0x8006603e
cmp edi, edx
jne 0x8006604a
inc edi
cmp ebx, edx
je 0x8006604a
cmp ebp, 3
jb 0x80066011
xor edx, edx
cmp edi, 8
pop ebp
mov dword [esi + 0x594], edi
pop ebx
jae 0x80066076
mov ecx, 8
lea eax, [esi + edi*4 + 0x570]
sub ecx, edi
mov dword [eax - 0x20], edx
mov dword [eax], edx
mov dword [eax - 0x60], edx
mov dword [eax - 0x40], edx
add eax, 4
dec ecx
jne 0x80066065
push esi
call fcn.80065250
mov dword [eax], 0x41e60
mov dword [eax + 8], 0x200ac0
and edi, 0xff
mov dword [eax + 4], edi
mov ecx, dword [esi + 0x550]
mov dword [eax + 0xc], ecx
mov edx, dword [esi + 0x554]
mov dword [eax + 0x10], edx
mov ecx, dword [esi + 0x558]
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 0x55c]
mov dword [eax + 0x18], edx
mov ecx, dword [esi + 0x560]
mov dword [eax + 0x1c], ecx
mov edx, dword [esi + 0x564]
mov dword [eax + 0x20], edx
mov ecx, dword [esi + 0x568]
mov dword [eax + 0x24], ecx
mov edx, dword [esi + 0x56c]
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], 0x201e40
mov ecx, dword [esi + 0x570]
mov dword [eax + 0x30], ecx
mov edx, dword [esi + 0x574]
mov dword [eax + 0x34], edx
mov ecx, dword [esi + 0x578]
mov dword [eax + 0x38], ecx
mov edx, dword [esi + 0x57c]
mov dword [eax + 0x3c], edx
mov ecx, dword [esi + 0x580]
mov dword [eax + 0x40], ecx
mov edx, dword [esi + 0x584]
mov dword [eax + 0x44], edx
mov ecx, dword [esi + 0x588]
mov dword [eax + 0x48], ecx
mov edx, dword [esi + 0x58c]
mov dword [eax + 0x4c], edx
mov dword [eax + 0x50], 0x200260
mov ecx, dword [esi + 0x510]
mov dword [eax + 0x54], ecx
mov edx, dword [esi + 0x514]
mov dword [eax + 0x58], edx
mov ecx, dword [esi + 0x518]
mov dword [eax + 0x5c], ecx
mov edx, dword [esi + 0x51c]
mov dword [eax + 0x60], edx
mov ecx, dword [esi + 0x520]
mov dword [eax + 0x64], ecx
mov edx, dword [esi + 0x524]
mov dword [eax + 0x68], edx
mov ecx, dword [esi + 0x528]
mov dword [eax + 0x6c], ecx
mov edx, dword [esi + 0x52c]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], 0x200aa0
mov ecx, dword [esi + 0x530]
mov dword [eax + 0x78], ecx
mov edx, dword [esi + 0x534]
mov dword [eax + 0x7c], edx
mov ecx, dword [esi + 0x538]
mov dword [eax + 0x80], ecx
mov edx, dword [esi + 0x53c]
mov dword [eax + 0x84], edx
mov ecx, dword [esi + 0x540]
mov dword [eax + 0x88], ecx
mov edx, dword [esi + 0x544]
mov dword [eax + 0x8c], edx
mov ecx, dword [esi + 0x548]
mov dword [eax + 0x90], ecx
mov edx, dword [esi + 0x54c]
mov dword [eax + 0x94], edx
add eax, 0x98
mov dword [esi], eax
pop edi
pop esi
ret 4
Function at 0x80068c40
Capabilities:
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [0x8006ff10]
push esi
mov dword [esp + 8], esi
call fcn.80065250
mov ecx, dword [esp + 0xc]
dec ecx
je 0x80068c6d
dec ecx
je 0x80068c66
sub ecx, 2
mov ecx, 0xa
jmp 0x80068c72
mov ecx, 4
jmp 0x80068c72
mov ecx, 1
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x14]
and ecx, 0xffff
shl edx, 0x10
or ecx, edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax], 0x108300
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
add eax, 0x14
mov dword [esi], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x80068d37
push ebx
push ebp
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x18], eax
jmp 0x80068cc0
push esi
call fcn.80065250
mov ebp, dword [edi]
mov ebx, dword [edi + 4]
mov edx, ebp
mov ecx, ebx
shl ecx, 0x10
and edx, 0xffff
or edx, ecx
mov ecx, dword [esp + 0x34]
mov esi, dword [ecx + 4]
mov ecx, dword [ecx]
and ecx, 0xffff
shl esi, 0x10
or esi, ecx
mov ecx, dword [edi + 8]
sub ecx, ebp
mov ebp, dword [edi + 0xc]
and ecx, 0xffff
sub ebp, ebx
shl ebp, 0x10
xor ecx, ebp
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x10]
mov dword [eax], 0xc6300
mov dword [eax + 4], edx
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x18]
add ecx, 8
add edi, 0x10
dec eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], eax
jne 0x80068cc0
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret 0x20
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x401c66
pop dword [ebp - 0x14]
mov eax, 0x401c66
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x241a9900
add dword [ebp - 0x24], 0x2a37ac4b
mov dword [ebp - 0x20], 0x1fe2920f
sub dword [ebp - 0x20], 0xedaf45ca
mov dword [ebp - 0x1c], 0xfdc52906
add dword [ebp - 0x1c], 0x4e871b28
mov dword [ebp - 0x18], 0x542f69cb
sub dword [ebp - 0x18], 0x542f69cb
lea eax, [ebp - 0x24]
push eax
mov eax, 0x8a9c0c3f
sub eax, 0x8a5bdbeb
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xafea8d74
add dword [ebp - 0x24], 0xc487dbe2
mov dword [ebp - 0x20], 0x3e538a69
sub dword [ebp - 0x20], 0xfce728f4
mov dword [ebp - 0x1c], 0xd31b8d05
sub dword [ebp - 0x1c], 0x6fac2099
mov dword [ebp - 0x18], 0xf7ca54bc
add dword [ebp - 0x18], 0x835ab44
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x8f8b114a
sub eax, 0x8f4ae11e
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3a3b2
push 0
call eax
mov ecx, 0xb8851e64
add ecx, 0x477b389c
mov ebx, eax
mov esi, 0x407000
add esi, dword [ebp - 0x14]
mov edx, 0xba376799
sub edx, 0xab88421e
add dword [ebp - 8], eax
mov edi, dword [esi]
sub dword [ebp - 0x10], 0x4c072fa4
xor edi, edx
mov dword [ebx], edi
sub dword [ebp - 8], 0x9df19b66
add ebx, 0x30392bd6
add ebx, 0xcfc6d42e
add esi, 4
loop 0x401d7d
add eax, 0x14ed3
mov ebx, eax
add eax, 0x38773f65
add eax, 0xc788c0a0
mov ecx, 0xb1254b4d
add ecx, 0x4f1ab4b3
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret

Function at 0x40c7fb
Capabilities:
Encode data using xor

Disassembly:
adc byte [ecx + 0x38fcfcfc], bl
or al, 0x10
adc al, 0x18
arpl word [ecx + 0x2036f8b3], di
and al, 0x28
sub al, 0x30
xor al, 0x1c
xor al, 0x1c
cmp byte [eax + 0x46c72c], bh
mov eax, 0x46c72c
push eax
push dword fs:[0]
mov dword fs:[0], esp
and eax, 0
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x40c87b
arpl word [edx + esi], si
je 0x40c898
inc ecx
sub al, 0x61
jl 0x40c7dc
sub byte [ecx], 0xcb
bound eax, qword [edi - 0x7c]
ja 0x40c80a
jno 0x40c7f7
mov byte [eax + edx*4 + 0x1dc771dc], cl
xchg esp, eax
cwde
pushfd
adc al, 0xc6
sbb eax, 0xa8a4a077
xchg edx, eax
sub al, 0x61
sub al, 0x81
dec esp
aad 0xf3
xor eax, 0x83d40ca8
cmp eax, dword [0x290d2ef8]
jae 0x40c83c
pop ebp
in eax, dx
push 0x38c2fc19
daa
arpl word [ebx], di
das
dec edi
sub al, 0x67
dec esi
hlt
sbb byte [eax], dl
sbb al, 0x14
invalid
mov eax, dword [0x3702acb1]
mov cl, 0xac
add dh, byte [edi]
sal byte [eax], 0x22
or dword [edi], ecx
stosd dword es:[edi], eax
add al, 0x24
jmp 0x40c897