joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406907
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10020
call fcn.00435c70
push edi
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
mov byte [ebp - 0x1000c], 0
mov ecx, 0x3fff
xor eax, eax
lea edi, [ebp - 0x1000b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1000c]
test eax, eax
jne 0x40695e
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x406a81
mov dword [ebp - 0x10010], 0
jmp 0x406979
mov edx, dword [ebp - 0x10010]
add edx, 1
mov dword [ebp - 0x10010], edx
cmp dword [ebp - 0x10010], 0x10000
jge 0x40699a
call dword [sym.imp.MSVCRT.dll_rand]
mov ecx, dword [ebp - 0x10010]
mov byte [ebp + ecx - 0x1000c], al
jmp 0x40696a
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0x10]
ja 0x406a7f
jb 0x4069c2
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x406a7f
xor ecx, ecx
mov cl, byte [0x496758]
test ecx, ecx
je 0x4069d5
mov al, 1
jmp 0x406a81
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
sbb eax, dword [ebp - 4]
mov dword [ebp - 0x10020], edx
mov dword [ebp - 0x1001c], eax
cmp dword [ebp - 0x1001c], 0
ja 0x406a02
cmp dword [ebp - 0x10020], 0x100000
jbe 0x406a0b
mov dword [ebp - 0xc], 0x100000
jmp 0x406a1a
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
sbb edx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x10000
jbe 0x406a2a
mov dword [ebp - 0xc], 0x10000
push 0
lea eax, [ebp - 0x10018]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
lea edx, [ebp - 0x1000c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 0x10014], al
mov ecx, dword [ebp - 0x10014]
and ecx, 0xff
test ecx, ecx
jne 0x406a62
xor al, al
jmp 0x406a81
mov edx, dword [ebp - 0x10018]
xor eax, eax
mov ecx, dword [ebp - 8]
add ecx, edx
mov edx, dword [ebp - 4]
adc edx, eax
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
jmp 0x4069a8
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x406db6
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
push edi
mov byte [ebp - 0x820], 0
mov ecx, 0x207
xor eax, eax
lea edi, [ebp - 0x81f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x5c
mov edx, dword [ebp + 0xc]
push edx
call fcn.00408c00
add esp, 8
mov dword [ebp - 0x824], eax
mov eax, dword [ebp - 0x824]
sub eax, dword [ebp + 0xc]
mov dword [ebp - 0x830], eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x820]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov dword [ebp - 0x828], 0x19
jmp 0x406e3a
mov eax, dword [ebp - 0x828]
add eax, 1
mov dword [ebp - 0x828], eax
cmp dword [ebp - 0x828], 0x1a
jae 0x406ed4
mov ecx, dword [ebp - 0x830]
add ecx, 1
mov dword [ebp - 0x82c], ecx
jmp 0x406e67
mov edx, dword [ebp - 0x82c]
add edx, 1
mov dword [ebp - 0x82c], edx
mov eax, dword [ebp + 8]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
cmp dword [ebp - 0x82c], eax
jae 0x406ea5
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x82c]
movsx edx, byte [ecx]
cmp edx, 0x2e
je 0x406ea3
movsx eax, byte [ebp - 0x828]
add eax, 0x41
mov ecx, dword [ebp - 0x82c]
mov byte [ebp + ecx - 0x820], al
jmp 0x406e58
lea edx, [ebp - 0x820]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x406ebc
jmp 0x406ed4
lea ecx, [ebp - 0x820]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
jmp 0x406e2b
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x406f09
Capabilities:
Delete file
Get disk size
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x28bc
call fcn.00435c70
push edi
mov byte [ebp - 0x28a8], 0
mov byte [ebp - 0x28b0], 0
mov byte [ebp - 0x28a0], 0
mov ecx, 0xa27
xor eax, eax
lea edi, [ebp - 0x289f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [0x480adc], 0xffffffff
jne 0x406fb5
mov eax, dword [ebp + 8]
mov cl, byte [eax]
mov byte [0x480ad4], cl
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str..A:
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x480adc], eax
mov edx, dword [ebp + 8]
mov al, byte [edx]
mov byte [0x480ad8], al
lea ecx, [ebp - 0x28ac]
push ecx
lea edx, [ebp - 0x28a4]
push edx
lea eax, [ebp - 0x28b4]
push eax
lea ecx, [ebp - 0x28bc]
push ecx
push 0x480ad8
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov edx, dword [ebp - 0x28b4]
imul edx, dword [ebp - 0x28bc]
mov dword [0x496740], edx
push 0
push 0
push 3
push 0
push 0
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x28b8], eax
cmp dword [ebp - 0x28b8], 0xffffffff
jne 0x406ff3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00406ed9
add esp, 4
mov al, 1
jmp 0x4070bd
lea ecx, [ebp - 0x28b0]
push ecx
lea edx, [ebp - 0x28a8]
push edx
mov eax, dword [ebp - 0x28b8]
push eax
mov ecx, dword [0x496740]
push ecx
mov edx, dword [0x480adc]
push edx
call fcn.00406a86
add esp, 0x14
and eax, 0xff
test eax, eax
jne 0x40703b
mov eax, dword [ebp - 0x28b8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x4070bd
mov ecx, dword [ebp - 0x28b8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x28a8]
and edx, 0xff
test edx, edx
je 0x4070b7
lea eax, [ebp - 0x28a0]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00406db6
add esp, 8
lea edx, [ebp - 0x28a0]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4070a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00406ed9
add esp, 4
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28a0]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov al, 1
jmp 0x4070bd
mov edx, dword [ebp - 0x28b0]
and edx, 0xff
test edx, edx
jne 0x4070b7
mov byte [0x496753], 1
mov al, byte [ebp - 0x28a8]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x41a576
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437f9d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 8]
call fcn.0041a8a0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x41
jmp 0x41a5bd
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x5a
jge 0x41a6ff
mov cl, byte [ebp - 0x14]
mov byte [ebp - 0x18], cl
mov byte [ebp - 0x17], 0x3a
mov byte [ebp - 0x16], 0x5c
mov byte [ebp - 0x15], 0
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
sub ecx, 2
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 3
ja case.default.0x41a602
mov edx, dword [ebp - 0x28]
jmp dword [edx*4 + 0x41a725]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_2
push 0x482080
lea ecx, [ebp - 0x10]
call fcn.0043549e
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041a900
jmp case.default.0x41a602
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
mov cl, byte [eax + 0xb]
push ecx
call fcn.0041a870
add esp, 4
and eax, 0xff
test eax, eax
je 0x41a673
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_2
push 0x482084
lea ecx, [ebp - 0x10]
call fcn.0043549e
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041a900
jmp case.default.0x41a602
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
mov al, byte [edx + 0xc]
push eax
call fcn.0041a870
add esp, 4
and eax, 0xff
test eax, eax
je 0x41a6b8
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_2
push 0x482088
lea ecx, [ebp - 0x10]
call fcn.0043549e
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041a900
jmp case.default.0x41a602
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
mov dl, byte [ecx + 0xd]
push edx
call fcn.0041a870
add esp, 4
and eax, 0xff
test eax, eax
je case.default.0x41a602
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_2
push 0x48208c
lea ecx, [ebp - 0x10]
call fcn.0043549e
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041a900
jmp 0x41a5b4
mov byte [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov al, byte [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x431dcf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439fdb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push 1
push 0
mov ecx, dword [ebp - 0x24]
add ecx, 0xc
call fcn.004190e0
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0
je 0x431e3d
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
jmp 0x431eab
mov dword [ebp - 0x10], 1
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
lea ecx, [ebp + 8]
call fcn.004190e0
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x24]
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x24]
cmp dword [ecx], 0
jne 0x431e92
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1c]
jmp 0x431eab
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x4350c8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a30e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x29c
push edi
mov dword [ebp - 0x2a8], ecx
mov dword [ebp - 4], 1
push 0x44
push 0
lea eax, [ebp - 0x268]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x268], 0x44
mov word [ebp - 0x238], 4
mov byte [ebp - 0x110], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x2a4], 0
mov ecx, 0xe
xor eax, eax
lea edi, [ebp - 0x2a0]
rep stosd dword es:[edi], eax
lea ecx, [ebp + 8]
call fcn.004190e0
push eax
lea ecx, [ebp - 0x224]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea ecx, [ebp + 0xc]
call fcn.004190e0
push eax
lea edx, [ebp - 0x110]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov dword [ebp - 0x2a4], 0x3c
mov dword [ebp - 0x2a0], 0x440
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 0x82ec0c
lea eax, [ebp - 0x224]
mov dword [ebp - 0x294], eax
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x290], ecx
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 6
mov dword [ebp - 0x284], 0
lea edx, [ebp - 0x2a4]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x435d00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c178
push 0x435eb6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x82ec34], 0xffffffff
mov dword [0x82ec38], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x82ec28]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x82ec24]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x82ec30], ecx
call fcn.00435f10
mov eax, dword [0x4940d8]
test eax, eax
jne 0x435d91
push 0x435f00
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.00435ee0
push 0x4420b0
push 0x4420ac
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x82ec20]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x82ec1c]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x4420a8
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [sym.imp.MSVCRT.dll__acmdln]
mov esi, dword [edx]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x435e9f
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x435e05
cmp al, 0x22
jne 0x435df7
cmp byte [esi], 0x22
jne 0x435e0e
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x435e1e
cmp al, 0x20
ja 0x435e1e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x435e0e
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x435e3f
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x435e44
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x435e84
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x435e0e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x435e9f
Function at 0xe0012d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0xe001305
nop
nop
mov ecx, ecx
nop
mov edx, edx
nop
mov ecx, ecx
nop
mov edx, edx
mov ecx, ecx
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 0xe001310
push 0
push 0
mov dword [0xe003464], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc

Function at 0xe01058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xe011a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xe0107e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe0106a
add dl, dl
jne 0xe01089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe010dc
xor eax, eax
add dl, dl
jne 0xe01096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe0117d
add dl, dl
jne 0xe010a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe010b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe010bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe010c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xe010d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xe01075
mov eax, 1
add dl, dl
jne 0xe010ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe010f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe010e1
sub eax, ebx
mov ebx, 1
jne 0xe01128
mov ecx, 1
add dl, dl
jne 0xe0110e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe01119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe01105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe01075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xe0113f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe0114a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe01136
cmp eax, 0x7d00
jae 0xe0116d
cmp eax, 0x500
jb 0xe01168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe01075
cmp eax, 0x7f
ja 0xe01170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe01075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xe0119e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xe01075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..reloc
nop
nop
mov ebx, 0x407ef8
mov ecx, 0x108723c6
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x3c58598b
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x413eec
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x60
mov eax, 0x455ba7
call fcn.00441f3c
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x5c], eax
xor eax, eax
dec ecx
push 4
neg ecx
sbb ecx, ecx
mov esi, edx
pop edx
and ecx, 0xfffffffc
mov dword [ebp - 0x54], ebx
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
add ecx, edx
lea eax, [ebp - 0x54]
push eax
or ecx, 1
push ecx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x60], edx
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
jne 0x413f79
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x30]
call fcn.00413e86
push eax
lea eax, [ebp - 0x4c]
push str.encryption_failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.00406098
add esp, 0x14
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.0040bd9c
push 0x46e5e0
mov eax, esi
push eax
call fcn.00441aa3
mov edi, dword [ebp - 0x58]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov esi, dword [ebp - 0x54]
mov eax, edi
call fcn.00410524
push dword [ebp - 0x54]
mov eax, dword [edi]
push dword [ebp - 0x50]
push eax
call fcn.0043a490
add esp, 0xc
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
call fcn.00441fbf
ret

Function at 0x413fb0
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x60
mov eax, 0x455ba7
call fcn.00441f3c
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x54], ebx
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push eax
push 1
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x60]
mov esi, edx
push eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x60], ecx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x41402e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x30]
call fcn.00413e86
push eax
lea eax, [ebp - 0x4c]
push str.decryption_failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.00406098
add esp, 0x14
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.0040bd9c
push 0x46e5e0
mov eax, esi
push eax
call fcn.00441aa3
mov edi, dword [ebp - 0x58]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov esi, dword [ebp - 0x54]
mov eax, edi
call fcn.00410524
push dword [ebp - 0x54]
mov eax, dword [edi]
push dword [ebp - 0x50]
push eax
call fcn.0043a490
add esp, 0xc
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
call fcn.00441fbf
ret
Function at 0x4140d7
Capabilities:
Encode data using base64 via winapi

Disassembly:
push 0x6c
mov eax, 0x455b72
call fcn.00441f3c
mov eax, dword [ebp + 8]
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ecx
cmp dword [ebp + 0xc], ecx
jne 0x414106
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ecx
mov byte [edi], cl
jmp 0x4141ff
mov esi, dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
lea edx, [ebp - 0x68]
push edx
push ecx
mov ebx, 0x40000001
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x68], ecx
push eax
call esi
test eax, eax
jne 0x414164
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea esi, [ebp - 0x64]
call fcn.00413e86
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x48]
push str.binary2string__phase1__failed__sysError
push eax
call fcn.00406098
add esp, 0x14
mov byte [ebp - 4], 1
lea esi, [ebp - 0x78]
call fcn.0040bd9c
push 0x46e5e0
mov eax, esi
push eax
call fcn.00441aa3
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
call fcn.00414482
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x414191
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x68]
push ecx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x6c]
call esi
test eax, eax
jne 0x4141d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea esi, [ebp - 0x48]
call fcn.00413e86
push eax
lea eax, [ebp - 0x64]
push str.binary2string__phase2__failed__sysError
push eax
mov byte [ebp - 4], 3
call fcn.00406098
add esp, 0x14
mov byte [ebp - 4], 4
jmp 0x41414f
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
call fcn.00414482
and dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea esi, [ebp - 0x2c]
mov byte [edi], 0
call fcn.00405cea
push 0
push 1
mov ecx, esi
call fcn.00405e43
mov eax, edi
call fcn.00441fbf
ret
Function at 0x43a47b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47a630]
jne 0x43a485
repz ret
jmp fcn.004446e5

Function at 0x43b581
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [edi - 0x3a]
test dword [ebp + 0x4afffffc], esi
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
inc eax

Function at 0x43c128
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and dword [ebp - 0x700], 0
jmp 0x43c13e
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x43c187
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x43c131
call fcn.0043ad31
adc dh, bh
cli
push ebp
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.0043ad31
test eax, 0x8dd41a65
test esp, edx
clc
invalid