joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421008
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
and byte [ebp - 0x408], 0
push esi
push edi
push 0x7f
pop ecx
xor eax, eax
lea edi, [ebp - 0x407]
and byte [ebp - 0x208], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x7f
xor eax, eax
pop ecx
lea edi, [ebp - 0x207]
rep stosd dword es:[edi], eax
mov esi, dword [ebp + 8]
push 0x104
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x408]
mov dword [ebp + 8], esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x421064
mov eax, esi
jmp 0x4211ef
lea eax, [ebp - 0x408]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
lea eax, [ebp - 0x208]
push eax
call ebx
lea eax, [ebp - 0x208]
push str.d3d8.dll
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00420cc6
pop ecx
pop ecx
push 4
test eax, eax
pop edi
jl 0x42110d
mov eax, dword [ebp - 4]
mov esi, 0x371
mov ecx, eax
shr ecx, 0x10
cmp cx, di
jne 0x4210da
push esi
push 1
push 8
push edi
call fcn.00420d65
push edx
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00420d84
add esp, 0x20
test eax, eax
jge 0x421106
mov eax, dword [ebp - 4]
shr eax, 0x10
cmp ax, 5
jne 0x42110d
push esi
push 0xa28
push 1
push 5
call fcn.00420d65
push edx
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00420d84
add esp, 0x20
test eax, eax
jl 0x42110d
mov dword [ebp + 8], 0x10008
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x208]
push eax
call ebx
lea eax, [ebp - 0x208]
push str.dpnet.dll
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00420cc6
pop ecx
test eax, eax
pop ecx
jl 0x4211ac
mov eax, dword [ebp - 4]
mov esi, 0x86
mov ecx, eax
shr ecx, 0x10
cmp cx, di
jne 0x421179
push esi
push 0
push 9
push edi
call fcn.00420d65
push edx
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00420d84
add esp, 0x20
test eax, eax
jge 0x4211a5
mov eax, dword [ebp - 4]
shr eax, 0x10
cmp ax, 5
jne 0x4211ac
push esi
push 0xe5d
push 2
push 5
call fcn.00420d65
push edx
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00420d84
add esp, 0x20
test eax, eax
jl 0x4211ac
mov dword [ebp + 8], 0x20008
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x208]
push eax
call ebx
lea eax, [ebp - 0x208]
push str.d3d9.dll
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00420cc6
pop ecx
pop ecx
pop ebx
test eax, eax
jl 0x4211ec
mov dword [ebp + 8], 9
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret
Function at 0x42144b
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov dword [ebp - 0x14], ecx
xor esi, esi
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
call fcn.0041cf73
push 0x13c
call fcn.00426169
cmp eax, esi
pop ecx
je 0x421496
push 0x1a
lea esi, [eax + 4]
pop ecx
mov edi, esi
mov dword [eax], ecx
mov ebx, ecx
mov ecx, edi
call fcn.0041cf73
add edi, 0xc
dec ebx
jne 0x421482
mov dword [ebp - 8], esi
xor esi, esi
jmp 0x421499
mov dword [ebp - 8], esi
cmp dword [ebp - 8], esi
je 0x4214b7
push esi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
call esi
mov ebx, eax
push ebx
call fcn.00426169
mov edi, eax
pop ecx
test edi, edi
jne 0x4214c2
inc dword [0x47f3b8]
jmp 0x421668
push edi
push ebx
call esi
push str._HD_space_placeholder_
lea ecx, [ebp - 0x4c]
mov esi, edi
call fcn.0041cfe3
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x4c]
push eax
call fcn.004201e7
cmp byte [edi], 0
je 0x4215b4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push esi
call fcn.0041d0c0
mov ecx, dword [ebp - 4]
call fcn.0041decc
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x42159a
inc dword [ebp - 0xc]
push str.
lea ecx, [ebp - 0x28]
call fcn.0041d0c0
push dword [ebp - 4]
lea ecx, [ebp - 0x28]
call fcn.0041d25e
push 9
lea ecx, [ebp - 0x28]
call fcn.0041d191
mov ecx, dword [ebp - 4]
push 1
call fcn.0041decc
push eax
call fcn.0040e956
mov ebx, edx
pop ecx
cmp ebx, dword [0x47f744]
pop ecx
mov dword [ebp - 0x1c], eax
ja 0x421562
jb 0x42155f
cmp eax, dword [0x47f740]
jae 0x421562
inc dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.0041cf73
lea eax, [ebp - 0x34]
push eax
push ebx
push dword [ebp - 0x1c]
call fcn.0041ebce
add esp, 0xc
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x28]
push eax
call fcn.0041d25e
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push eax
call fcn.004201e7
lea ecx, [ebp - 0x34]
call fcn.0041d0a9
add dword [ebp - 4], 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esi + eax + 1], 0
lea esi, [esi + eax + 1]
jne 0x4214f0
push edi
call fcn.0042615e
pop ecx
mov ecx, dword [ebp - 8]
push 3
call fcn.0041a209
push 0x47fb44
lea ecx, [ebp - 0x28]
call fcn.0041d12e
xor esi, esi
lea ecx, [ebp - 0x28]
push esi
push 0x42ea24
call fcn.0041d1e0
lea ecx, [ebp - 0x40]
call fcn.0041cf73
lea eax, [ebp - 0x40]
push eax
push dword [0x47f744]
push dword [0x47f740]
call fcn.0041ebce
add esp, 0xc
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.0041d25e
push 9
lea ecx, [ebp - 0x28]
call fcn.0041d191
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x10], eax
jne 0x42162d
inc dword [0x47f3b0]
push 0x47f9dc
jmp 0x421632
push 0x47f9f4
lea ecx, [ebp - 0x28]
call fcn.0041d25e
push 1
push esi
push esi
lea ecx, [ebp - 0x28]
call fcn.0041decc
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041decc
mov ecx, dword [ebp - 0x14]
push eax
call fcn.0041dda7
lea ecx, [ebp - 0x40]
call fcn.0041d0a9
lea ecx, [ebp - 0x4c]
call fcn.0041d0a9
lea ecx, [ebp - 0x28]
call fcn.0041d0a9
pop edi
pop esi
pop ebx
leave
ret
Function at 0x421675
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push 0x24
lea eax, [ebp - 0x30]
push 0
mov esi, ecx
push eax
call fcn.00425890
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x47fbe0
lea ecx, [ebp - 0xc]
call fcn.0041d047
push dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
push 0x42ea48
push eax
call fcn.0041d600
add esp, 0xc
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.004201e7
lea ecx, [ebp - 0xc]
call fcn.0041d0a9
pop esi
leave
ret
Function at 0x42345d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov edx, ecx
xor cl, cl
cmp byte [edx + 0x93], cl
lea eax, [edx + 0x93]
je 0x4234ad
push edi
push 0x40
mov byte [eax], cl
mov byte [ebp - 0x104], cl
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
mov ecx, edx
push eax
call fcn.00423df2
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
leave
ret

Function at 0x4237af
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
cmp dword [0x47f630], ebx
push edi
mov edi, dword [eax + 0x34]
jle 0x4237ef
mov esi, 0x47f624
push ebx
mov ecx, esi
call fcn.0041fb60
cmp eax, edi
je 0x4237e4
inc ebx
inc ebx
cmp ebx, dword [0x47f630]
jl 0x4237cc
jmp 0x4237ef
inc ebx
mov ecx, esi
push ebx
call fcn.0041fb60
mov edi, eax
xor esi, esi
cmp dword [0x47f61c], esi
jle 0x423890
push esi
mov ecx, 0x47f610
call fcn.0041fb60
cmp dword [eax], edi
je 0x423817
inc esi
cmp esi, dword [0x47f61c]
jl 0x4237fd
jmp 0x423890
add eax, 4
xor esi, esi
cmp eax, esi
je 0x423890
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
mov ecx, eax
call fcn.0041decc
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x423890
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0xc
mov dword [ebp + 8], eax
call fcn.00426169
cmp eax, esi
pop ecx
je 0x423867
mov ecx, eax
call fcn.0041cf73
mov ebx, eax
jmp 0x423869
xor ebx, ebx
push dword [ebp + 8]
mov ecx, ebx
call fcn.0041d7f5
cmp eax, esi
jne 0x423899
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, esi
je 0x423890
mov ecx, ebx
call fcn.0041d0a9
push ebx
call fcn.0042615e
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
lea ecx, [ebp - 4]
push esi
push ecx
mov dword [ebp - 4], esi
push dword [ebp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], esi
je 0x42387e
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x42387e
mov eax, ebx
jmp 0x423892
Function at 0x423d15
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
xor esi, esi
cmp dword [0x47f67c], esi
push edi
mov edi, 0x104
jbe 0x423da2
lea eax, [ebp - 4]
mov ecx, 0x47f67c
push eax
push 0x20019
push esi
call fcn.0041decc
push eax
push dword [0x47f678]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x423da2
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 0x10c]
push eax
push esi
push esi
push str.Uninstaller
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x423d99
lea eax, [ebp - 0x10c]
push eax
call fcn.0040ea5b
test al, al
pop ecx
je 0x423d99
lea eax, [ebp - 0x10c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x423dea
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00425890
push edi
push esi
call fcn.0041f89a
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x14
push esi
call edi
cmp byte [eax + esi - 1], 0x5c
je 0x423dce
push esi
call edi
mov byte [eax + esi], 0x5c
mov ecx, 0x47f44c
call fcn.0041decc
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push eax
push esi
call edi
push str._Uninstaller.exe
push esi
call edi
pop edi
mov al, 1
pop esi
leave
ret 4
Function at 0x424029
Capabilities:
Copy file
Delete directory
Delete file
Get file size
Set current directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push edi
mov esi, ecx
push 0x42ecc8
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test byte [0x47f27c], 0x40
jne 0x4241b6
test byte [0x47f282], 2
jne 0x4241b6
xor ebx, ebx
cmp byte [esi + 0x90], bl
je 0x424099
lea eax, [ebp - 0x11c]
mov ecx, esi
push eax
call fcn.00423df2
lea eax, [ebp - 0x11c]
mov ecx, 0x47f0a8
push eax
push 1
call fcn.004165f3
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x42415a
push ebx
push 0x80
push 3
push ebx
push 1
push 0xc0000000
mov ecx, esi
call fcn.0041decc
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push ebx
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp edi, 0xffffffff
mov dword [ebp - 8], eax
je 0x4241ad
cmp eax, ebx
je 0x4241ad
lea ecx, [ebp - 0x18]
mov byte [esi + 0x92], 1
call fcn.0041cf73
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.004234af
push 2
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0xc]
push ebx
push eax
lea ecx, [ebp - 0x18]
push dword [ebp - 0x18]
call fcn.0041decc
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
call edi
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 8]
push 4
push eax
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.0041decc
push eax
push 1
mov ecx, 0x47f0a8
call fcn.004165f3
mov ecx, esi
call fcn.0041decc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x18]
call fcn.0041d0a9
cmp dword [0x47f778], ebx
jbe 0x4241a5
lea eax, [ebp - 0x11c]
mov ecx, esi
push eax
call fcn.00423d15
lea eax, [ebp - 0x11c]
mov esi, 0x47f778
push ebx
push eax
mov ecx, esi
call fcn.0041decc
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, esi
call fcn.0041decc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x42f1b8
mov ecx, esi
call fcn.0041d0c0
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4241a5
xor ebx, ebx
push 1
cmp byte [esi + 0x90], bl
jne 0x4241a7
pop edi
push ebx
push dword [esi + 0x20]
call fcn.0040ea28
pop ecx
pop ecx
cmp eax, ebx
je 0x4241e9
push eax
call fcn.0040e368
mov eax, edi
inc edi
push eax
push dword [esi + 0x20]
call fcn.0040ea28
add esp, 0xc
jmp 0x4241ce
push 1
pop edi
push ebx
push dword [esi + 0x38]
call fcn.0040ea28
pop ecx
cmp eax, ebx
pop ecx
je 0x4241a5
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov eax, edi
inc edi
push eax
jmp 0x4241ed
Function at 0x424208
Capabilities:
Copy file
Delete file
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
test byte [0x47f282], 2
push esi
mov esi, ecx
mov dword [ebp - 4], esi
je 0x424230
test byte [0x47f27c], 0x40
jne 0x424230
mov al, 1
jmp 0x42436d
lea eax, [ebp - 0x11c]
mov ecx, esi
push eax
call fcn.00423df2
lea eax, [ebp - 0x11c]
push eax
call fcn.0040ea5b
test al, al
pop ecx
je 0x42425f
lea eax, [ebp - 0x11c]
mov ecx, esi
push eax
call fcn.00423279
jmp 0x424268
test byte [0x47f27c], 0x40
je 0x424274
mov ecx, esi
call fcn.00424372
jmp 0x42436d
push ebx
push edi
lea ecx, [ebp - 0x18]
call fcn.0041cf73
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.004234af
xor ebx, ebx
lea eax, [ebp - 0x11c]
push ebx
push eax
mov ecx, esi
call fcn.0041decc
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, esi
call fcn.0041decc
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call esi
push ebx
push 0x80
push 3
push ebx
push 1
lea eax, [ebp - 0x11c]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp edi, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x424338
cmp eax, ebx
je 0x424338
push 2
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 8]
push ebx
push eax
lea ecx, [ebp - 0x18]
push dword [ebp - 0x18]
call fcn.0041decc
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
push edi
call esi
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0xc]
push 4
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x11c]
push eax
mov byte [ecx + 0x90], 1
call fcn.00423279
mov bl, 1
jmp 0x424361
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x11c]
push eax
call esi
push ebx
mov ecx, 0x480030
call fcn.0041decc
push eax
mov ecx, 0x47f0a8
push dword [ebp + 8]
call fcn.0041c44f
lea ecx, [ebp - 0x18]
call fcn.0041d0a9
mov al, bl
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x427e65
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x42efd8
cmp edx, dword [eax]
je 0x427e87
add eax, 8
inc ecx
cmp eax, 0x42f068
jl 0x427e78
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x42efd8]
jne 0x427fb5
mov eax, dword [0x480478]
cmp eax, 1
je 0x427f8f
test eax, eax
jne 0x427eb8
cmp dword [0x42ed24], 1
je 0x427f8f
cmp edx, 0xfc
je 0x427fb5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x427eef
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00426410
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00425d00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x427f32
lea eax, [ebp - 0x1a4]
push eax
call fcn.00425d00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x429b24
push edi
call fcn.004288f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00426410
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00426420
lea eax, [ebp - 0xa0]
push 0x429b04
push eax
call fcn.00426420
push dword [esi + 0x42efdc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00426420
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00428860
add esp, 0x2c
pop edi
jmp 0x427fb5
lea eax, [ebp + 8]
lea esi, [esi + 0x42efdc]
push 0
push eax
push dword [esi]
call fcn.00425d00
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
enter 0x84, 0
sub ebp, 0x82
mov dword [ebp - 2], 0
call fcn.004014da

Function at 0x4014da
Capabilities:
Delete file
Encode data using base64 via winapi
Get common file path

Disassembly:
push ecx
push edx
enter 0x220, 0
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.DLL_GetCursorPos]
push 0x104
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
lea eax, [ebp - 0x220]
push eax
mov dword [ebp - 4], 0xa
mov byte [ebp - 0x220], 0
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push 1
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringA]
movzx eax, byte [ebp - 0x18]
sub eax, 0x41
leave
pop edx
pop ecx
ret
Function at 0x43be9f
Capabilities:
Parse pe header

Disassembly:
add esp, 4
mov edi, dword [esp - 4]
push esi
pop esi
push ecx
push ecx
add esp, 4
add esp, 4
mov ecx, dword [esp - 4]
sub esi, 0xc29330d
add esi, 0xc29330d
mov dword [esp - 4], esi
push esi
sub esi, 0x64e13bf4
add esi, 0x64e13bf4
mov dword [esp - 4], esi
push esi
add esp, 4
push esi
add esi, 0x139a1b00
not esi
pop esi
not esi
push 0x24926046
mov esi, dword [esp]
add esp, 4
push ebx
pop ebx
push esi
push esi
add esp, 4
push ebx
mov ebx, 0x25401e
sub ebx, 0xf815400e
mov esi, ebx
pop ebx
push ebx
lea ebx, [esi]
sub ebx, 0x2ca26042
xchg ebx, esi
pop ebx
add dword [esp], esi
mov esi, esp
mov esi, dword [esi]
add esp, 4
add esi, 0x29687fb5
push esp
sub esi, 0x29687fb5
mov dword [esp], esi
mov dword [esp], esi
sub edi, dword [esp]
add esp, 4
push edi
push esi
xor esi, edi
pop esi
push esi
pop esi
push edi
push edi
add esp, 4
mov esi, dword [esp + 8]
add esp, 0xc
push ecx
push ecx
add esp, 4
mov dword [esp], ebx
push edi
push ebx
add ebx, edi
pop ebx
add esp, 4
sub ebx, 0x4c890f7c
add ebx, 0x4c890f7c
mov dword [esp - 4], ebx
push ebx
sub esi, 0x1ca964a3
add esi, 0x1ca964a3
mov dword [esp - 4], esi
push esi
add esp, 4
push esi
pop esi
push edx
push edx
add esp, 4
mov ebx, esp
mov dword [ebx], 4
push edx
add esp, 4
pop ebx
mov dword [esp], ebx
push ecx
push esi
xor esi, ecx
pop esi
mov esi, dword [esp + 4]
add esp, 8
jmp 0x43bc98
mov ebx, dword [esp]
add esp, 4
mov dword [edi], esi
add esp, 4
mov edi, dword [esp - 4]
mov esi, dword [esp]
add esp, 4
pushal
call 0x43bcb3
pop ebx
mov eax, 0x50031494
sub eax, 0x50031202
add eax, ebx
xor dword [eax], 0x78c9aed2
call 0x43be9f
jmp 0x43be03
call fcn.0043bcd0
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add byte [ecx - 0x17], ah
cmpsb byte [esi], byte es:[edi]
add byte [eax], al
add byte [ebp - 0x75], dl
in al, dx
mov ebx, 0x77000000
add ebx, 0x10000
cmp ebx, 0x80000000
jne 0x43beba
mov ebx, 0xbff00000
call fcn.0043befe
cmp eax, 0
je 0x43bea7
cmp word [ebx], 0x5a4d
jne 0x43bea7
mov eax, dword [ebx + 0x3c]
add eax, ebx
cmp word [eax], 0x4550
jne 0x43bea7
test byte [eax + 0x17], 0x20
je 0x43bea7
mov eax, dword [eax + 0x78]
add eax, ebx
mov edx, dword [eax + 0xc]
add edx, ebx
cmp dword [edx], 0x4e52454b
jne 0x43bea7
cmp dword [edx + 4], 0x32334c45
jne 0x43bea7
mov eax, ebx
mov esp, ebp
pop ebp
ret
Function at 0x406a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push esi
inc edi
mul byte [esi - 0x75]
dec eax
push cs
mov dl, 0xc
mov dword [edi + 0x14d5890c], edi
invalid

Function at 0x40a3d0
Capabilities:
Terminate process

Disassembly:
xor eax, eax
pop ebp
ret 0x74ad
adc eax, 0x409b27
test eax, eax
je 0x40a2e7
cmp eax, 0x3280
add al, ah
jecxz 0x40a342
loopne 0x40a2e7
cmp eax, 0x102
add al, byte [ecx]
add byte [eax], al
push esi
jne 0x40a34a
mov eax, 0x111eb
add al, 0x5d
push 0x6a8b0004
cwde
rol byte [eax], 0xff
salc
sal byte [di - 0x20], 8
pop ebp
ret 4
sahf
or al, 0x2b
inc ecx
or byte [esi - 0xdcfea01], ah
inc eax
xchg bl, ch
jne 0x40a2f4
clc
add ah, ah
jecxz 0x40a301
inc ecx
xchg ebp, eax
xor al, 0xff
daa
xor al, 0xc0
inc eax
add byte [ebp - 0x742a8a40], al
jmp 0xe8816421
push ebp
mov ebp, esp
mov edx, eax
jp 0x40a362
mov eax, 0x74c08514
sub eax, 0x518f698b
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x40a469
out dx, al
int1
xor eax, sym.imp.KERNEL32.dll_GetLastError
call esi
wait
sal byte [ebp + 5], 0x5e
pop ebp
fmul dword [eax]
add bh, bh
salc
adc al, 0x80
cld
or al, byte [eax]
pop esi
pop ebp
movsb byte es:[edi], byte [esi]
or byte [eax], al
mov esi, 0x8c25dc0
add byte [eax + 0x4e3b], bh
pop ebp
ret 8
mov ch, 0x85
hlt
nop
nop
nop
nop
mov byte [0x28689090], al
add eax, 0x15ff0041
je 0x40a439
inc eax
add byte [ebx], dh
rol bl, 0x90
nop
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1f]
mov ecx, eax
mov al, byte [0x600aae1]
rcr dl, 0xf9
add byte [eax], al
add al, al
jne 0x40a4a2
test eax, 0x3fff0000
mov eax, 0xa15f02
je 0x40a4a7
out 1, al
add byte [eax], al
add byte [ebp - 0x3d], bl
and al, 0x90
inc esi
nop
nop
nop
nop
pop ebp
ret
Function at 0x409a30
Capabilities:
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x47d244], 0
mov ebp, esp
push esi
mov edx, dword [ebp + 0xc]
push ebx
jne 0x409a6d
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
shr esi, 1
and eax, 1
je 0x409a58
mov eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x409a4a
mov dword [ecx*4 + 0x47d240], eax
inc ecx
cmp ecx, 0x100
jne 0x409a43
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
cmp edx, ebx
je 0x409a8f
mov cl, byte [edx]
inc edx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x47d240]
jmp 0x409a77
pop ebx
not eax
pop esi
pop ebp
ret 0xc

Function at 0x43b657
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x43b3c1
dec eax
call fcn.0043b685
add eax, 0x8002e9a6
xor dword [ebx], edi
mov esi, eax
dec esi
inc ebx
add esi, 0x4aef6203
add eax, 0xc9bc3421
inc esi
cmp ebx, ecx
jne fcn.0043b657
and eax, esi
inc eax
ret

Function at 0x401750
Capabilities:
Terminate process

Disassembly:
dec ebx
mov ebp, esp
mov eax, dword [ebp + 8]
inc eax
or eax, 0x17c0c8
push eax
add ecx, 0xffffffdd
push 0x74
shl byte [eax + 0x15ffba00], cl
sbb byte [ebx], 0x40
add byte [ecx + 0x4102ac], ah
add esp, 0xc
test ebx, ecx
je 0x401787
push eax
push 0x2408454
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 0xffffffd2
or al, byte [ecx]
call dword [sym.imp.MSVCRT.dll_exit]
adc dword [ebp - 0x75], 0xb8ec8163
push ebp
mov esp, dword [ebx - 0x7f]
in al, dx
mov eax, 0xd1000000

Function at 0x406220
Capabilities:
Encode data using xor

Disassembly:
call fcn.004060f8
mov ecx, 0x1ec
call 0x406220
rcr dword [esi + 0x30], 0x4c
push cs
pop es
xor byte [esi + ecx + 7], cl
loop 0x406223
ljmp 0x5b6:0xda8d5821