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

Disassembly:
push 0x94
mov eax, 0x42d2a0
call fcn.004198f7
mov esi, ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov dword [ebp - 4], 2
cmp dword [ebp + 0x48], ebx
jbe 0x404dd1
cmp dword [ebp + 0x30], ebx
jbe 0x404dd1
inc dword [0x4407d4]
lea edi, [ebp - 0x20]
mov esi, str.xAGZT_R
mov ecx, ebx
push 0x37
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x30
xor byte [ebp + ecx - 0x20], dl
inc ecx
cmp ecx, 0xb
jl 0x404c7f
lea eax, [ebp + 8]
push eax
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0xa0]
call fcn.00405063
pop ecx
mov dword [ebp - 0x14], eax
mov esi, 0x4384f4
mov byte [ebp - 4], 3
cmp byte [str._9e_fq_6], 0
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x404cdb
push 0x37
mov ecx, ebx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x30
xor byte [ebp + ecx - 0x20], dl
inc ecx
cmp ecx, 0xc
jl 0x404cc5
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call fcn.00404840
push eax
lea ecx, [ebp - 0x88]
call fcn.0040425a
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x88]
call fcn.0040441b
push eax
lea ecx, [ebp - 0x70]
call fcn.0040425a
mov esi, str.:aS_GBYE_
mov byte [ebp - 4], 5
cmp byte [str._D_QQG_f7:dAVF_WZ_], 0
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x404d3c
push 0x37
pop ecx
xor edx, edx
mov eax, ebx
div ecx
add dl, 0x30
xor byte [ebp + ebx - 0x20], dl
inc ebx
cmp ebx, 0xc
jl 0x404d29
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x70]
call fcn.00404840
push eax
lea ecx, [ebp - 0x58]
call fcn.0040425a
lea eax, [ebp + 0x38]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x58]
call fcn.0040441b
push eax
lea ecx, [ebp - 0x40]
call fcn.0040425a
push 2
push 0x4384c4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.00404497
mov ecx, dword [ebp - 0x24]
push eax
call fcn.0040425a
lea ecx, [ebp - 0x40]
call fcn.004025e6
lea ecx, [ebp - 0x58]
call fcn.004025e6
lea ecx, [ebp - 0x70]
call fcn.004025e6
lea ecx, [ebp - 0x88]
call fcn.004025e6
lea ecx, [ebp - 0xa0]
call fcn.004025e6
lea ecx, [ebp + 8]
call fcn.004025e6
lea ecx, [ebp + 0x20]
call fcn.004025e6
lea ecx, [ebp + 0x38]
call fcn.004025e6
mov eax, dword [ebp - 0x24]
jmp 0x404df7
push 0x437f86
mov ecx, esi
call fcn.00404293
lea ecx, [ebp + 8]
call fcn.004025e6
lea ecx, [ebp + 0x20]
call fcn.004025e6
lea ecx, [ebp + 0x38]
call fcn.004025e6
mov eax, esi
call fcn.004198c5
ret
Function at 0x404e84
Capabilities:
Encode data using xor

Disassembly:
push 0xbc
mov eax, 0x42d368
call fcn.004198f7
mov eax, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov dword [ebp - 4], 3
mov eax, dword [0x4384ec]
mov ecx, dword [0x4384f0]
push 0x37
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
pop edi
cmp byte [0x4384f3], bl
je 0x404ed8
mov ecx, ebx
xor edx, edx
mov eax, ecx
div edi
add dl, 0x30
xor byte [ebp + ecx - 0x18], dl
inc ecx
cmp ecx, 8
jl 0x404ec5
lea eax, [ebp + 8]
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0xc8]
call fcn.00405063
pop ecx
mov esi, eax
mov byte [ebp - 4], 4
mov eax, dword [str.:tJC]
mov dword [ebp - 0x18], eax
mov ax, word [0x43850c]
mov word [ebp - 0x14], ax
test ah, ah
je 0x404f1c
mov ecx, ebx
xor edx, edx
mov eax, ecx
div edi
add dl, 0x30
xor byte [ebp + ecx - 0x18], dl
inc ecx
cmp ecx, 6
jl 0x404f09
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00404840
push eax
lea ecx, [ebp - 0xb0]
call fcn.0040425a
lea eax, [ebp + 0x38]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0xb0]
call fcn.0040441b
push eax
lea ecx, [ebp - 0x98]
call fcn.0040425a
push 1
push 0x4384d0
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 6
call fcn.00404497
push eax
lea ecx, [ebp - 0x80]
call fcn.0040425a
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x80]
call fcn.0040441b
push eax
lea ecx, [ebp - 0x68]
call fcn.0040425a
mov esi, 0x438518
mov byte [ebp - 4], 8
lea edi, [ebp - 0x18]
push 0x37
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor edx, edx
mov eax, ebx
div ecx
add dl, 0x30
xor byte [ebp + ebx - 0x18], dl
inc ebx
cmp ebx, 9
jl 0x404f9c
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x68]
call fcn.00404840
push eax
lea ecx, [ebp - 0x50]
call fcn.0040425a
lea eax, [ebp + 0x50]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x50]
call fcn.0040441b
push eax
lea ecx, [ebp - 0x38]
call fcn.0040425a
push 2
push 0x4384c4
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call fcn.00404497
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.0040425a
lea ecx, [ebp - 0x38]
call fcn.004025e6
lea ecx, [ebp - 0x50]
call fcn.004025e6
lea ecx, [ebp - 0x68]
call fcn.004025e6
lea ecx, [ebp - 0x80]
call fcn.004025e6
lea ecx, [ebp - 0x98]
call fcn.004025e6
lea ecx, [ebp - 0xb0]
call fcn.004025e6
lea ecx, [ebp - 0xc8]
call fcn.004025e6
lea ecx, [ebp + 8]
call fcn.004025e6
lea ecx, [ebp + 0x20]
call fcn.004025e6
lea ecx, [ebp + 0x38]
call fcn.004025e6
lea ecx, [ebp + 0x50]
call fcn.004025e6
mov eax, dword [ebp - 0x1c]
call fcn.004198c5
ret
Function at 0x405d75
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x43f040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x43863f], 0
push ebx
push esi
push edi
mov esi, str.cYW_X
mov dword [ebp - 0x114], edx
lea edi, [ebp - 0x120]
mov ebx, ecx
push 0x32
mov dword [ebp - 0x10c], ebx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10c], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [ebp - 0x10c], esi
je 0x405dd7
xor ecx, ecx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x30
xor byte [ebp + ecx - 0x120], dl
inc ecx
cmp ecx, 0xc
jl 0x405dc1
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, eax
mov dword [ebp - 0x110], ecx
test ecx, ecx
je 0x405e67
mov esi, str.cyuV_sY_Hk_IV_
lea edi, [ebp - 0x138]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor edi, edi
mov esi, edi
xor edx, edx
mov eax, esi
div dword [ebp - 0x10c]
add dl, 0x30
xor byte [ebp + esi - 0x138], dl
inc esi
cmp esi, 0x11
jl 0x405e04
lea eax, [ebp - 0x138]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x405e5b
lea ecx, [ebp - 0x108]
push ecx
push edi
push edi
push dword [ebp - 0x114]
push edi
call eax
test eax, eax
jne 0x405e5b
push dword [ebp - 0x110]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x108]
push eax
jmp 0x405e6c
push dword [ebp - 0x110]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x437f86
mov ecx, ebx
call fcn.00404293
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418fad
leave
ret
Function at 0x406c4c
Capabilities:
Encode data using xor

Disassembly:
push 0x84
mov eax, 0x42d9ab
call fcn.0041992a
mov dword [ebp - 0x38], edx
mov ebx, ecx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x34], ebx
and dword [ebp - 4], 0
lea edi, [ebp - 0x90]
mov dword [ebp - 0x44], ebx
mov esi, str.qsqwqsq
and dword [ebp - 0x3c], 0
push 0x10
pop ecx
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
movsb byte es:[edi], byte [esi]
xor edx, edx
mov eax, ecx
push 0x39
pop esi
div esi
add dl, 0x30
xor byte [ebp + ecx - 0x90], dl
inc ecx
cmp ecx, 0x41
jl 0x406c84
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404293
xor ecx, ecx
mov edi, ebx
xor eax, eax
inc ecx
mov dword [ebp - 4], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebx + 0x10], 0
and dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov eax, dword [ebp - 0x38]
xor edi, edi
mov dword [ebp - 0x3c], ecx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x406d6e
mov ebx, dword [ebp - 0x38]
xor esi, esi
cmp edi, eax
jae 0x406d11
cmp dword [ebx + 0x14], 0xf
mov eax, ebx
jbe 0x406cf5
mov eax, dword [ebx]
movzx eax, byte [eax + edi]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040822d
mov byte [ebp + esi - 0x2c], al
inc edi
mov eax, dword [ebp - 0x34]
inc esi
cmp esi, 4
jb 0x406ce7
mov cl, byte [ebp - 0x2b]
mov al, byte [ebp - 0x2c]
mov dl, byte [ebp - 0x2a]
mov ebx, dword [ebp - 0x40]
shr cl, 4
and cl, 3
shl al, 2
add cl, al
mov al, byte [ebp - 0x2b]
mov byte [ebp - 0x30], cl
mov cl, dl
shr cl, 2
and cl, 0xf
shl al, 4
shl dl, 6
add cl, al
add dl, byte [ebp - 0x29]
xor esi, esi
mov byte [ebp - 0x2f], cl
mov byte [ebp - 0x2e], dl
cmp byte [ebp + esi - 0x2c], 0x40
je 0x406d5d
movzx eax, byte [ebp + esi - 0x30]
mov ecx, ebx
push eax
call fcn.004043e0
inc esi
cmp esi, 3
jb 0x406d49
mov eax, dword [ebp - 0x34]
cmp edi, eax
jb 0x406ce2
lea ecx, [ebp - 0x28]
call fcn.004025e6
mov eax, ebx
call fcn.004198d9
ret
Function at 0x406d7e
Capabilities:
Encode data using base64
Encode data using xor

Disassembly:
push 0x84
mov eax, 0x42d9ab
call fcn.0041992a
mov dword [ebp - 0x2c], edx
mov ebx, ecx
mov dword [ebp - 0x38], ebx
and dword [ebp - 4], 0
lea edi, [ebp - 0x90]
mov dword [ebp - 0x44], ebx
mov esi, str.qsqwqsq
and dword [ebp - 0x3c], 0
push 0x10
pop ecx
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
movsb byte es:[edi], byte [esi]
xor edx, edx
mov eax, ecx
push 0x39
pop esi
div esi
add dl, 0x30
xor byte [ebp + ecx - 0x90], dl
inc ecx
cmp ecx, 0x41
jl 0x406db3
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404293
xor ecx, ecx
xor eax, eax
mov edi, ebx
inc ecx
mov dword [ebp - 4], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0xf
mov byte [ebx], al
mov eax, dword [ebp - 0x2c]
xor edx, edx
push 3
mov dword [ebp - 0x3c], ecx
pop ecx
mov edi, dword [eax + 4]
sub edi, dword [eax]
lea eax, [edi + 2]
div ecx
mov ecx, ebx
shl eax, 2
push eax
call fcn.00408262
xor ecx, ecx
mov dword [ebp - 0x34], ecx
test edi, edi
je 0x406ef7
mov eax, dword [ebp - 0x2c]
lea edx, [ecx + 2]
lea esi, [edx - 1]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x40], esi
mov eax, dword [eax]
add eax, ecx
cmp esi, edi
jae 0x406e44
movzx ecx, byte [eax + 1]
mov dword [ebp - 0x30], ecx
jmp 0x406e48
and dword [ebp - 0x30], 0
cmp edx, edi
jae 0x406e52
movzx ecx, byte [eax + 2]
jmp 0x406e54
xor ecx, ecx
movzx esi, byte [eax]
shl esi, 8
add esi, dword [ebp - 0x30]
shl esi, 8
add esi, ecx
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
mov eax, esi
cmova ecx, dword [ebp - 0x28]
shr eax, 0x12
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.004043e0
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
mov eax, esi
cmova ecx, dword [ebp - 0x28]
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.004043e0
cmp dword [ebp - 0x40], edi
jae 0x406eba
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
mov eax, esi
cmova ecx, dword [ebp - 0x28]
shr eax, 6
and eax, 0x3f
mov al, byte [eax + ecx]
jmp 0x406ebc
mov al, 0x3d
push eax
mov ecx, ebx
call fcn.004043e0
cmp dword [ebp - 0x38], edi
jae 0x406edc
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
and esi, 0x3f
mov al, byte [esi + eax]
jmp 0x406ede
mov al, 0x3d
push eax
mov ecx, ebx
call fcn.004043e0
mov ecx, dword [ebp - 0x34]
add ecx, 3
mov dword [ebp - 0x34], ecx
cmp ecx, edi
jb 0x406e24
lea ecx, [ebp - 0x28]
call fcn.004025e6
mov eax, ebx
call fcn.004198d9
ret
Function at 0x406f07
Capabilities:
Encode data using xor

Disassembly:
push 0x84
mov eax, 0x42d9fb
call fcn.0041992a
mov ebx, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x38], ecx
xor eax, eax
lea edi, [ebp - 0x90]
mov dword [ebp - 4], eax
mov esi, str.qsqwqsq
mov dword [ebp - 0x44], ecx
push 0x10
mov dword [ebp - 0x3c], eax
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
movsb byte es:[edi], byte [esi]
xor edx, edx
mov eax, ecx
push 0x39
pop esi
div esi
add dl, 0x30
xor byte [ebp + ecx - 0x90], dl
inc ecx
cmp ecx, 0x41
jl 0x406f3c
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404293
xor ecx, ecx
xor eax, eax
inc ecx
mov dword [ebp - 4], ecx
mov esi, dword [ebp - 0x14]
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov edx, dword [ebx + 0x10]
imul eax, edx, 3
mov dword [ebp - 0x3c], ecx
shr eax, 2
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406f9f
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.004084d7
mov edx, dword [ebx + 0x10]
cmp dword [ebx + 0x14], 0xf
mov dword [ebp - 0x34], edi
jbe 0x406fb3
mov eax, dword [ebx]
mov ecx, eax
mov dword [ebp - 0x14], eax
mov ebx, eax
jmp 0x406fba
mov eax, ebx
mov dword [ebp - 0x14], ebx
mov ecx, ebx
add ecx, edx
mov dword [ebp - 0x38], ecx
cmp ebx, ecx
je 0x407030
mov bl, byte [eax]
movsx eax, bl
push eax
mov byte [ebp - 0x40], bl
call fcn.0041c950
pop ecx
test eax, eax
jne 0x407024
cmp bl, 0x3d
je 0x407030
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x2c]
call fcn.0040822d
shl edi, 6
or edi, eax
mov eax, dword [ebp - 0x34]
add eax, 6
mov dword [ebp - 0x34], eax
cmp eax, 8
jl 0x407024
sub eax, 8
mov edx, edi
mov ecx, eax
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 4]
shr edx, cl
mov byte [ebp - 0x2d], dl
cmp eax, dword [esi + 8]
je 0x407018
mov byte [eax], dl
inc dword [esi + 4]
jmp 0x407024
lea ecx, [ebp - 0x2d]
push ecx
push eax
mov ecx, esi
call fcn.00408a88
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x38]
jne 0x406fc3
lea ecx, [ebp - 0x2c]
call fcn.004025e6
mov eax, esi
call fcn.004198d9
ret

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

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x407229
test al, 0x10
jne 0x407229
mov al, 1
ret
xor al, al
ret

Function at 0x4072cb
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x43f040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x14], 0xf
jbe 0x4072e3
mov ecx, dword [ecx]
push esi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x407308
xor eax, eax
jmp 0x407329
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
test eax, eax
jne 0x407320
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x407304
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00418fad
leave
ret
Function at 0x407336
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x6c
mov eax, 0x42daa8
call fcn.0041992a
mov esi, ecx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], esi
and dword [ebp - 0x44], 0
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x78]
call fcn.004042cc
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x5c]
xor ebx, ebx
call fcn.004042cc
cmp dword [ebp - 0x48], 0xf
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
lea edi, [ebp - 0x5c]
cmova ecx, dword [ebp - 0x5c]
cmova edi, dword [ebp - 0x5c]
add eax, ecx
mov dword [ebp - 0x44], 2
cmp edi, eax
je 0x4073c3
mov esi, eax
mov al, byte [edi]
push ecx
mov byte [ebp - 0x3c], al
mov ecx, 0x440d48
push dword [ebp - 0x3c]
call fcn.0040822d
cmp eax, 0xffffffff
je 0x4073ba
push 1
push ebx
lea ecx, [ebp - 0x5c]
call fcn.004082c3
inc ebx
inc edi
cmp edi, esi
jne 0x407397
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x78]
call fcn.004025e6
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp + 8]
call fcn.00404225
xor ebx, ebx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], bl
call fcn.004025e6
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
push ebx
cmova eax, dword [ebp + 8]
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
mov dword [ebp - 0x40], ebx
cmp ebx, 0xffffffff
jne 0x407421
push 0x437f86
mov ecx, esi
call fcn.00404293
jmp 0x4074dd
lea eax, [ebp - 0x38]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x407439
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x407410
mov ebx, dword [ebp - 0x38]
lea edi, [ebp - 0x2c]
xor eax, eax
stosd dword es:[edi], eax
push 0xf
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
pop edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x2c], al
mov byte [ebp - 4], 3
test ebx, ebx
jne 0x407464
mov dword [ebp - 0x1c], ebx
mov byte [ebp + ebx - 0x2c], al
jmp 0x40746e
push ecx
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004083e1
cmp dword [ebp - 0x18], edi
lea ecx, [ebp - 0x14]
mov edi, dword [ebp - 0x40]
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push 0
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4074a7
cmp dword [ebp - 0x14], ebx
jne 0x4074a7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.0040425a
jmp 0x4074ba
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x437f86
mov ecx, esi
call fcn.00404293
mov eax, dword [ebp - 0x18]
cmp eax, 0xf
jbe 0x4074ce
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.00402682
pop ecx
pop ecx
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea ecx, [ebp + 8]
call fcn.004025e6
mov eax, esi
call fcn.004198d9
ret
Function at 0x407807
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x1a8
mov eax, 0x42dc0b
call fcn.0041992a
mov dword [ebp - 0x194], edx
mov esi, ecx
mov dword [ebp - 0x198], esi
mov dword [ebp - 0x19c], esi
xor ecx, ecx
mov dword [ebp - 0x190], ecx
mov edi, esi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [ebp - 4], ecx
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x4c]
push 0x4386b4
mov dword [ebp - 0x190], ebx
call fcn.004044fb
pop ecx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x18c]
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
push ecx
cmova eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov dword [ebp - 0x198], edi
cmp edi, 0xffffffff
je 0x4079f4
test byte [ebp - 0x18c], 0x10
je 0x407976
lea ecx, [ebp - 0x160]
cmp byte [ecx], 0x2e
jne 0x4078ac
movzx eax, byte [ecx + 1]
test al, al
je 0x4079d7
lea edx, [ebp - 0x160]
xor ecx, ecx
movzx eax, byte [edx + ecx]
mov edx, 0x4386b8
cmp al, byte [edx + ecx]
lea edx, [ebp - 0x160]
jne 0x4078d2
inc ecx
cmp ecx, 3
jne 0x4078b4
xor eax, eax
jmp 0x4078d7
sbb eax, eax
or eax, 1
test eax, eax
je 0x4079d7
mov edx, dword [ebp - 0x194]
lea ecx, [ebp - 0x1b4]
push 0x437f98
call fcn.004044fb
pop ecx
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.00404840
push eax
lea ecx, [ebp - 0x34]
call fcn.0040425a
or ebx, 4
mov dword [ebp - 0x190], ebx
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 4
call fcn.004025e6
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00407807
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
push 0x18
pop ecx
cdq
idiv ecx
mov ecx, esi
push eax
push dword [ebp - 0x1c]
push dword [esi + 4]
call fcn.0040881e
lea ecx, [ebp - 0x1c]
call fcn.0040438d
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.004025e6
mov edi, dword [ebp - 0x198]
jmp 0x4079d7
mov edx, dword [ebp - 0x194]
lea ecx, [ebp - 0x1b4]
push 0x437f98
call fcn.004044fb
pop ecx
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 6
push ecx
mov ecx, eax
call fcn.00404840
push eax
lea ecx, [ebp - 0x34]
call fcn.0040425a
or ebx, 2
mov dword [ebp - 0x190], ebx
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 8
call fcn.004025e6
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.004081ce
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.004025e6
lea eax, [ebp - 0x18c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407888
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x4c]
call fcn.004025e6
mov eax, esi
call fcn.004198d9
ret
Function at 0x407a04
Capabilities:
Encode data using xor
Enumerate processes

Disassembly:
push 0x16c
mov eax, 0x42dc4a
call fcn.00419996
and dword [ebp - 4], 0
lea edi, [ebp - 0x28]
mov esi, str._T__QY
mov byte [ebp - 4], 1
push 0x39
xor ecx, ecx
pop ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor edx, edx
mov eax, ecx
div ebx
add dl, 0x30
xor byte [ebp + ecx - 0x28], dl
inc ecx
cmp ecx, 0xd
jl 0x407a2c
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
je 0x407b47
mov esi, str.dT___WC_iHT_XML_
lea edi, [ebp - 0x178]
push 0x39
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x30
xor byte [ebp + ecx - 0x178], dl
inc ecx
cmp ecx, 0x11
jl 0x407a68
lea eax, [ebp - 0x178]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x164], eax
test eax, eax
je 0x407b47
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
mov ebx, eax
push 2
mov dword [ebp - 0x160], ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x15c], 0x128
lea eax, [ebp - 0x15c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x407b40
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x30]
call fcn.00404293
lea edx, [ebp + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.0040846b
test al, al
je 0x407b26
cmp dword [ebp - 0x154], ebx
je 0x407b26
push dword [ebp - 0x154]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x407b20
push 0
push ebx
call dword [ebp - 0x164]
push ebx
call esi
mov ebx, dword [ebp - 0x160]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004025e6
lea eax, [ebp - 0x15c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x407ad4
push edi
call esi
lea ecx, [ebp + 8]
call fcn.004025e6
call fcn.004198e8
ret