joyce8/EMBER2024-capa huggingface dataset:
Function at 0x628196
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x6281a5
xor eax, eax
jmp 0x628287
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
not ecx
cmp esi, 8
jb 0x628266
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x736250]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x736250]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x736250]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x736250]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x736250]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x736250]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x736250]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x736250]
sub edi, 1
jne 0x6281bf
pop edi
test esi, esi
je 0x628282
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x736250]
inc edx
sub esi, 1
jne 0x62826a
not ecx
mov eax, ecx
pop esi
ret 0xc
Function at 0x628957
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
xor edi, edi
mov ebp, edi
mov ebx, edi
mov dword [esi + 0x6af80], 2
jmp 0x628b3d
cmp dword [esi + 0x6af90], 3
jb 0x6289c6
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
xor ecx, eax
mov eax, 0x7fff
and ecx, eax
and edx, eax
mov dword [esi + 0x6af7c], ecx
mov ebp, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], ebp
mov ecx, dword [esi + 0x6af7c]
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
test ebp, ebp
je 0x628a02
mov eax, dword [esi + 0x6af84]
sub eax, ebp
cmp eax, 0x7efa
ja 0x628a02
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x6289ed
mov dword [esi + 0x6afa0], eax
push ebp
push esi
call fcn.006294b5
mov ebx, eax
mov eax, dword [esi + 0x6af90]
cmp ebx, eax
jbe 0x628a02
mov ebx, eax
cmp ebx, 3
jb 0x628ad2
lea eax, [ebx - 3]
push eax
mov eax, dword [esi + 0x6af84]
sub eax, dword [esi + 0x6af88]
push eax
push esi
call fcn.006284d5
sub dword [esi + 0x6af90], ebx
mov dword [esp + 0x14], eax
cmp ebx, dword [esi + 0x6af98]
ja 0x628a98
cmp dword [esi + 0x6af90], 3
jb 0x628a98
dec ebx
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [esi + edx + 0x1af72]
xor ecx, eax
mov eax, 0x7fff
and ecx, eax
and edx, eax
mov dword [esi + 0x6af7c], ecx
mov ebp, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], ebp
mov ecx, dword [esi + 0x6af7c]
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
sub ebx, 1
jne 0x628a3e
mov eax, dword [esp + 0x14]
jmp 0x628aee
add dword [esi + 0x6af84], ebx
mov ebx, edi
mov eax, dword [esi + 0x6af84]
movzx ecx, byte [eax + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx eax, byte [eax + esi + 0x1af71]
shl ecx, 5
xor eax, ecx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov eax, dword [esp + 0x14]
jmp 0x628af4
mov eax, dword [esi + 0x6af84]
movzx eax, byte [eax + esi + 0x1af70]
push eax
push edi
push esi
call fcn.006284d5
dec dword [esi + 0x6af90]
inc dword [esi + 0x6af84]
test eax, eax
je 0x628b2b
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x628b0c
lea edx, [esi + 0x1af70]
add edx, ecx
jmp 0x628b0e
mov edx, edi
mov eax, dword [esi + 0x6af84]
push edi
sub eax, ecx
push eax
push edx
push esi
call fcn.00628d21
mov eax, dword [esi + 0x6af84]
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x628b3d
push esi
call fcn.00628bf5
cmp dword [esi + 0x6af90], edi
jne 0x628974
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x628b5b
lea edi, [esi + 0x1af70]
add edi, ecx
mov eax, dword [esi + 0x6af84]
push 1
sub eax, ecx
push eax
push edi
push esi
call fcn.00628d21
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x629388
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
push 7
pop ecx
lea eax, [ebx - 1]
cmp ecx, eax
push str.bad_pack_level
sbb al, al
inc al
push eax
push esi
call fcn.00627647
xor ebp, ebp
xor edi, edi
inc ebp
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0x6293cf
mov dword [esi + 0x6af78], ebp
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
mov dword [esi + 0x6af6c], edi
push edi
push eax
call fcn.0065d010
movzx eax, word [ebx*8 + 0x7361ea]
add esp, 0xc
mov dword [esi + 0x6af98], eax
movzx eax, word [ebx*8 + 0x7361e8]
mov dword [esi + 0x6af9c], eax
movzx eax, word [ebx*8 + 0x7361ec]
push 2
mov dword [esi + 0x6afa0], eax
movzx eax, word [ebx*8 + 0x7361ee]
pop ecx
mov dword [esi + 0x6af94], eax
cmp ebx, ecx
jg 0x629433
mov eax, dword [esp + 0x1c]
or word [eax], 4
jmp 0x62943f
cmp ebx, 8
jl 0x62943f
mov eax, dword [esp + 0x1c]
or word [eax], cx
push 0x10000
lea ebx, [esi + 0x1af70]
mov dword [esi + 0x6af84], edi
push ebx
push esi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
mov dword [esi + 0x6af90], eax
test eax, eax
je 0x6294a2
cmp eax, 0xffffffff
je 0x6294a2
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x62947d
push esi
call fcn.00628bf5
mov dword [esi + 0x6af7c], edi
mov ecx, edi
movzx eax, byte [ebx + edi]
shl ecx, 5
xor ecx, eax
and ecx, 0x7fff
inc edi
mov dword [esi + 0x6af7c], ecx
cmp edi, 2
jb 0x629485
jmp 0x6294ae
mov dword [esi + 0x6af8c], ebp
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x62a28f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x84]
test ecx, ecx
je 0x62a2e6
mov eax, dword [edi + 0x8c]
mov esi, dword [edi + 0x88]
cmp eax, esi
jae 0x62a311
sub esi, eax
cmp esi, dword [ebp + 0xc]
jbe 0x62a2bb
mov esi, dword [ebp + 0xc]
push esi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0065afc0
add esp, 0xc
add dword [edi + 0x8c], esi
add dword [edi + 0x74], esi
push esi
push dword [ebp + 8]
push dword [edi + 0x78]
call fcn.00628196
mov dword [edi + 0x78], eax
mov eax, esi
jmp 0x62a313
cmp dword [edi + 0x7c], 0
je 0x62a30a
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x7c]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x62a311
mov esi, dword [ebp - 4]
jmp 0x62a2d0
mov dword [edi + 0x14], 0x1000000
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x62a7b9
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov edx, dword [esp + 4]
movsx eax, byte [esp + 8]
mov ecx, dword [edx]
xor eax, ecx
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x736250]
xor eax, ecx
mov ecx, dword [edx + 8]
mov dword [edx], eax
movzx eax, al
add eax, dword [edx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x736250]
mov dword [edx + 8], ecx
ret 8

Function at 0x62a802
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x14]
cmp byte [esi + 0x2d], 0
je 0x62a877
cmp dword [esi + 0x3c], 0
je 0x62a833
cmp dword [esi + 0x40], edi
jae 0x62a82d
push dword [esi + 0x3c]
call fcn.006426f2
and dword [esi + 0x3c], 0
pop ecx
cmp dword [esi + 0x3c], 0
jne 0x62a843
lea eax, [edi + edi]
push eax
call fcn.00642a25
pop ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
push edi
push ebx
push dword [esi + 0x3c]
call fcn.0065afc0
add esp, 0xc
xor ebx, ebx
test edi, edi
je 0x62a874
push ebp
lea ebp, [esi + 0x30]
mov eax, dword [esi + 0x3c]
movzx eax, byte [ebx + eax]
push eax
push ebp
call fcn.0062a8d2
mov ecx, dword [esi + 0x3c]
mov byte [ebx + ecx], al
inc ebx
cmp ebx, edi
jb 0x62a85a
pop ebp
mov ebx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x62a8a6
mov edx, dword [esi + 0x24]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x28]
jb 0x62a892
mov dword [esi + 0x14], 0x30000
jmp 0x62a8ca
push edi
add ecx, edx
push ebx
push ecx
call fcn.0065afc0
add esp, 0xc
mov eax, edi
add dword [esi + 0x24], edi
jmp 0x62a8cc
mov eax, dword [esi + 4]
test eax, eax
je 0x62a8c3
push 0
lea ecx, [esp + 0x14]
push ecx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [esp + 0x10]
jmp 0x62a8cc
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop edi
pop esi
pop ebx
ret 8
Function at 0x62a9a8
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push ebp
push esi
push edi
mov edi, ecx
push 0x6a1
push dword [edi + 4]
call ebx
push 1
xor esi, esi
push esi
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ebp, dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [edi + 0x74], esi
jne 0x62aaee
push 2
push 0x172
push 0x122
push esi
push esi
push esi
push dword [edi + 4]
call ebp
mov esi, dword [edi + 4]
push 0xa7
call fcn.0058dfbe
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
call esi
push 0x6a1
push dword [edi + 4]
call ebx
push 0x42
push 0x172
push 0x122
xor ecx, ecx
push ecx
push ecx
push ecx
push eax
call ebp
cmp byte [edi + 0x54], 0
push 0x6a0
push dword [edi + 4]
jne 0x62aa3e
call ebx
push 0x40
push 0xf
push 0xc3
jmp 0x62aa49
call ebx
push 0x40
push 0xf
push 0x109
push 0x13b
push 0xa
push 0
push eax
call ebp
push 0x6a2
push dword [edi + 4]
call ebx
push 0x41
xor ecx, ecx
push ecx
push ecx
push 0x136
push 0xd0
push ecx
push eax
call ebp
cmp byte [edi + 0x54], 0
jne 0x62aa80
push 0xc0
jmp 0x62aa85
push 0xc1
call fcn.0058dfbe
push 0x6a0
push dword [edi + 4]
mov dword [esp + 0x18], eax
call ebx
push dword [esp + 0x10]
push eax
call esi
push 0x6a2
push dword [edi + 4]
call ebx
push 0xa9
mov esi, eax
call fcn.0058dfbe
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x6a2
push dword [edi + 4]
call ebx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
xor ecx, ecx
cmp byte [edi + 0x54], cl
setne cl
dec ecx
and ecx, 5
push ecx
push eax
call esi
push 0x6b3
push dword [edi + 4]
call ebx
push 0
push eax
call esi
xor esi, esi
cmp dword [edi + 0x74], 1
jne 0x62abdc
push 2
push 0x64
push 0x136
push esi
push esi
push esi
push dword [edi + 4]
call ebp
mov esi, dword [edi + 4]
push 0xa8
call fcn.0058dfbe
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x6a0
push dword [edi + 4]
call ebx
xor esi, esi
push esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x6a1
push dword [edi + 4]
call ebx
push 0x42
push 0x64
push 0x136
push esi
push esi
push esi
push eax
call ebp
push 0x6a2
push dword [edi + 4]
call ebx
push 0x41
push esi
push esi
push 0x28
push 0x98
push esi
push eax
call ebp
push 0x6a2
push dword [edi + 4]
call ebx
push 0xab
mov esi, eax
call fcn.0058dfbe
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, 0x6b3
push esi
push dword [edi + 4]
call ebx
push 0x41
xor ecx, ecx
push ecx
push ecx
push 0x28
push 0xe4
push ecx
push eax
call ebp
push esi
push dword [edi + 4]
call ebx
push 0xaa
mov esi, eax
call fcn.0058dfbe
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x6a2
push dword [edi + 4]
call ebx
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebp
push 0x6b3
push dword [edi + 4]
call ebx
push 5
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x62b868
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x638
lea eax, [ebp - 0x220]
push esi
xor esi, esi
push esi
push 0x25
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x62b8a2
mov ecx, esi
movzx eax, word [ecx + 0x736b20]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x222], ax
test ax, ax
jne 0x62b88b
push 0x14
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0047240c
test al, al
jne 0x62b8d1
mov ecx, esi
movzx eax, word [ecx + 0x736b20]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x222], ax
test ax, ax
jne 0x62b8ba
mov ecx, 0x105
lea eax, [ebp - 0x42c]
push ecx
push eax
push esi
push esi
lea eax, [ebp - 4]
push eax
push ecx
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationW]
neg eax
pop esi
sbb eax, eax
and eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x645597
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop ebp
ret

Function at 0x67c5dd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0067c2a0

Function at 0x67c5e8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0067c421

Function at 0x683a7b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.006833e9

Function at 0x683a86
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00683624
Function at 0x691da5
Capabilities:
Get common file path
Get disk information

Disassembly:
mov eax, 0x6bc0b5
call fcn.006426c4
sub esp, 0x678
and dword [ebp - 4], 0
xor eax, eax
and dword [ebp - 0x28], 0
push ebx
push esi
push edi
push 8
pop ecx
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
xor ecx, ecx
lea edi, [ebp - 0x3c]
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
xor ecx, ecx
mov dword [esi + 0xc], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x40], eax
xor eax, eax
inc eax
cpuid
mov dword [esi], eax
lea eax, [ebp - 0x26c]
mov dword [esi + 4], ebx
xor ebx, ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov byte [ebp - 0x19], bl
movsd dword es:[edi], dword [esi]
push ebx
push 0x25
push eax
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.KERNEL32.DLL_GetVolumeInformationW]
mov edi, 0x105
test eax, eax
je 0x691e6b
push 0xa
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumePathNameW]
test eax, eax
je 0x691e6b
push edi
lea eax, [ebp - 0x478]
push eax
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x684]
push eax
lea eax, [ebp - 0x24]
push eax
call esi
test eax, eax
je 0x691e6b
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
jmp 0x691e6e
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x691eab
push 0x736b20
lea eax, [ebp - 0x24]
push 0xa
push eax
call fcn.0067780f
add esp, 0xc
lea eax, [ebp - 0x478]
push edi
push eax
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x684]
push eax
lea eax, [ebp - 0x24]
push eax
call esi
test eax, eax
je 0x691eab
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 8]
push str.cid2_
call fcn.0040f32f
push 0x20
lea eax, [ebp - 0x48]
mov dword [ebp - 4], ebx
push eax
xor esi, esi
lea eax, [ebp - 0x60]
inc esi
push eax
mov dword [ebp - 0x28], esi
call fcn.00691d86
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push ebx
push eax
mov dword [ebp - 4], esi
call fcn.0040f409
push ebx
push esi
lea ecx, [ebp - 0x60]
call fcn.0040f95f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x696dc7
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebx
push dword [esp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x696ddb
test al, 0x10
jne 0x696dec
xor ebx, ebx
push ebx
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
je 0x696def
xor ebx, ebx
inc ebx
mov al, bl
pop ebx
ret 4
Function at 0x6979d7
Capabilities:
Terminate process

Disassembly:
mov eax, 0x6bc92c
call fcn.006426c4
sub esp, 0x64
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
test edi, edi
jne 0x697a03
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov dword [esi + 0x84], eax
mov ecx, esi
call fcn.00696c21
cmp byte [esi + 0x24], bl
je 0x697b76
test al, al
je 0x697a42
test edi, edi
je 0x697a42
mov ecx, dword [esi + 0x7c]
lea eax, [ebp - 0x3c]
push eax
call fcn.00698c55
push eax
push ebx
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.006979d7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
push ebx
push 1
call fcn.0040f95f
mov eax, dword [esi + 0x80]
test eax, eax
je 0x697adf
mov al, byte [eax + 0x74]
test al, al
je 0x697adf
push dword [ebp + 0xc]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x70], edi
call fcn.0040f8db
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 5
push eax
lea ecx, [ebp - 0x70]
call fcn.00698bdc
mov ecx, dword [esi + 0x80]
push eax
mov byte [ebp - 4], 6
call fcn.0069991e
push ebx
push 1
lea ecx, [ebp - 0x24]
call fcn.0040f95f
test edi, edi
jne 0x697ad7
push 0x2710
push dword [esi + 0x84]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
je 0x697ac9
push 1
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push dword [esi + 0x10]
call edi
mov dword [esi + 0x10], ebx
push dword [esi + 0x84]
call edi
mov dword [esi + 0x84], ebx
lea ecx, [ebp - 0x6c]
jmp 0x697b6e
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x24], bl
xor esi, esi
lea ecx, [ebp - 0x3c]
inc esi
push str.error
mov dword [ebp - 4], esi
call fcn.0040f32f
push ebx
push str.The_other_end_of_the_pipe_hung_up
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0046adc6
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0040f409
push ebx
push esi
lea ecx, [ebp - 0x54]
call fcn.0040f95f
push ebx
push esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0040f95f
push str.remote_ieprocess
lea ecx, [ebp - 0x3c]
call fcn.0040f32f
push ebx
push ebx
push ebx
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x24]
push eax
push 0x2c
call fcn.00489021
push ebx
push esi
lea ecx, [ebp - 0x3c]
call fcn.0040f95f
lea ecx, [ebp - 0x24]
push ebx
push 1
call fcn.0040f95f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x697e84
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 4]
push ebp
push esi
push edi
push eax
push 2
xor ebp, ebp
push ebp
push 0x7469c0
push reloc.WS2_32.dll_accept
mov dword [esp + 0x24], ebp
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x697ee6
lea eax, [esp + 0x14]
push eax
call fcn.006985ac
cmp dword [eax + 0x14], 8
jb 0x697ecd
mov eax, dword [eax]
push eax
push dword [esp + 0x14]
call esi
push ebp
push 1
lea ecx, [esp + 0x1c]
call fcn.004285f6
push dword [esp + 0x10]
call edi
lea eax, [esp + 0x10]
push eax
push 2
push ebp
push 0x746a68
push reloc.WS2_32.dll_accept
call ebx
test eax, eax
jne 0x697f29
lea eax, [esp + 0x14]
push eax
call fcn.006985ac
cmp dword [eax + 0x14], 8
jb 0x697f10
mov eax, dword [eax]
push eax
push dword [esp + 0x14]
call esi
push ebp
push 1
lea ecx, [esp + 0x1c]
call fcn.004285f6
push dword [esp + 0x10]
call edi
lea eax, [esp + 0x10]
push eax
push 2
push ebp
push 0x746b18
push reloc.WS2_32.dll_accept
call ebx
test eax, eax
jne 0x697f6c
lea eax, [esp + 0x14]
push eax
call fcn.006985ac
cmp dword [eax + 0x14], 8
jb 0x697f53
mov eax, dword [eax]
push eax
push dword [esp + 0x14]
call esi
push ebp
push 1
lea ecx, [esp + 0x1c]
call fcn.004285f6
push dword [esp + 0x10]
call edi
call fcn.006982ae
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x6982ae
Capabilities:
Move file

Disassembly:
mov eax, 0x6b10e9
call fcn.006426c4
sub esp, 0x38
push esi
xor esi, esi
push esi
push esi
push 6
call fcn.006972de
test eax, eax
je 0x69833a
push 0x7aaf98
lea eax, [ebp - 0x24]
push eax
call fcn.00696f84
push esi
push 1
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.00439096
push esi
push 1
lea ecx, [ebp - 0x24]
call fcn.00439096
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], 3
jae 0x698308
lea eax, [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov ecx, 0x6c4198
mov eax, 0x414
mov dword [ebp - 0x38], ecx
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x32], esi
mov dword [ebp - 0x2e], esi
mov dword [ebp - 0x2a], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push esi
push 1
lea ecx, [ebp - 0x24]
call fcn.004285f6
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x699053
Capabilities:
Get system information on windows

Disassembly:
mov eax, 0x6bcb28
call fcn.006426c4
sub esp, 0x44
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], edi
push ebx
push ebx
lea esi, [edi + 0x2c]
mov dword [edi], 0x746c10
mov dword [edi + 0x24], ebx
mov ecx, esi
mov byte [edi + 0x28], 1
mov dword [ebp - 0x14], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.00699176
mov dword [esi], eax
lea esi, [edi + 0x34]
mov dword [ebp - 4], ebx
push ebx
push ebx
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.004b9663
mov dword [esi], eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov eax, dword [ebp - 0x3c]
mov dword [edi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemTimeAsFileTime]
mov eax, dword [ebp - 0x1c]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 8], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push eax
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.DLL_GetProcessTimes]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x18], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret