joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4441c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x4443e0
push 0
push 0
call fcn.0045c10a
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x444207
push 0x7530
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x444210
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00430ac0
movzx eax, al
test eax, eax
je 0x444232
xor eax, eax
jmp 0x444259
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x444410
push 0
push 0
call fcn.0045c10a
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xb4], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x444280
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x68
call fcn.00401e30
test eax, eax
je 0x4442cf
mov ecx, dword [ebp - 4]
add ecx, 0x68
call fcn.00401930
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4442cf
push 5
push 0
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x68
call fcn.00401930
push eax
push str.open
push 0
call sub.SHELL32.dll_ShellExecuteW
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444a70
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
push 0x4dc9d8
push 0x4000
call fcn.0045bb11
add esp, 8
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
push eax
lea ecx, [ebp - 4]
call fcn.00446780
push 0x4000
push 0
lea ecx, [ebp - 4]
call fcn.004467c0
push eax
call fcn.00458690
add esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x444ad2
cmp dword [ebp + 0xc], 0
je 0x444ad2
cmp dword [ebp + 0x10], 0
jne 0x444ae9
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 4]
call fcn.004467a0
mov eax, dword [ebp - 0x64]
jmp 0x444bfa
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x444b08
cmp dword [ebp - 8], 0x1fff
jbe 0x444b1f
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 4]
call fcn.004467a0
mov eax, dword [ebp - 0x60]
jmp 0x444bfa
lea ecx, [ebp - 4]
call fcn.004467c0
push eax
mov eax, dword [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x444be8
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0x4cf2f4
lea ecx, [ebp - 4]
call fcn.004467c0
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x444be8
mov eax, dword [ebp + 0x10]
shl eax, 1
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00458690
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push 0x4bf8b0
mov eax, dword [ebp + 0x10]
sub eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0045c20b
add esp, 0x1c
mov dword [ebp - 0x5c], 1
lea ecx, [ebp - 4]
call fcn.004467a0
mov eax, dword [ebp - 0x5c]
jmp 0x444bfa
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 4]
call fcn.004467a0
mov eax, dword [ebp - 0x58]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x445990
Capabilities:
Get common file path
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa84
mov eax, dword [0x4d9b30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xa78], 0
mov ecx, dword [ebp - 8]
call fcn.00444170
push 0x208
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.00458690
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
xor eax, eax
mov word [ebp - 0xa10], ax
push 0x7fe
push 0
lea eax, [ebp - 0xa0e]
push eax
call fcn.00458690
add esp, 0xc
lea eax, [ebp - 0xa10]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0xa14], eax
mov dword [ebp - 0xa18], 0
jmp 0x445a42
mov eax, dword [ebp - 0xa18]
add eax, 4
mov dword [ebp - 0xa18], eax
mov eax, dword [ebp - 0xa18]
cmp eax, dword [ebp - 0xa14]
jae 0x445bd7
mov eax, dword [ebp - 0xa18]
lea ecx, [ebp + eax*2 - 0xa10]
push ecx
lea ecx, [ebp - 0xa1c]
call fcn.00401860
lea ecx, [ebp - 0xa1c]
call fcn.00401930
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x445ac5
push 2
lea ecx, [ebp - 0xa7c]
push ecx
lea ecx, [ebp - 0xa1c]
call fcn.00430890
or dword [ebp - 0xa78], 1
mov ecx, eax
call fcn.00401930
push eax
call fcn.0042fbb0
add esp, 4
test eax, eax
jne 0x445ac5
mov dword [ebp - 0xa84], 1
jmp 0x445acf
mov dword [ebp - 0xa84], 0
mov dl, byte [ebp - 0xa84]
mov byte [ebp - 0xa7d], dl
mov eax, dword [ebp - 0xa78]
and eax, 1
je 0x445af8
and dword [ebp - 0xa78], 0xfffffffe
lea ecx, [ebp - 0xa7c]
call fcn.00401910
movzx ecx, byte [ebp - 0xa7d]
test ecx, ecx
je 0x445b13
lea ecx, [ebp - 0xa1c]
call fcn.00401910
jmp 0x445a33
mov dword [ebp - 0xa24], 0
xor eax, eax
mov dword [ebp - 0xa20], eax
mov dword [ebp - 0xa2c], 0
xor eax, eax
mov dword [ebp - 0xa28], eax
mov dword [ebp - 0xa34], 0
xor eax, eax
mov dword [ebp - 0xa30], eax
lea eax, [ebp - 0xa34]
push eax
lea ecx, [ebp - 0xa2c]
push ecx
lea edx, [ebp - 0xa24]
push edx
mov eax, dword [ebp - 0xa18]
lea ecx, [ebp + eax*2 - 0xa10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x445bc7
lea ecx, [ebp - 0xa1c]
call fcn.004463a0
lea eax, [ebp - 0xa1c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x18
call fcn.004464b0
mov ecx, dword [ebp - 0xa24]
mov dword [eax], ecx
mov edx, dword [ebp - 0xa20]
mov dword [eax + 4], edx
lea eax, [ebp - 0xa1c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x38
call fcn.004464b0
mov ecx, dword [ebp - 0xa2c]
mov dword [eax], ecx
mov edx, dword [ebp - 0xa28]
mov dword [eax + 4], edx
lea ecx, [ebp - 0xa1c]
call fcn.00401910
jmp 0x445a33
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045870a
mov esp, ebp
pop ebp
ret
Function at 0x445bf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x4d9b30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
push 0x208
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.00458690
add esp, 0xc
push 0
push 0x1a
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.360DownLoad
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
call fcn.00401860
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045870a
mov esp, ebp
pop ebp
ret 4

Function at 0x449cb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 4], 0
push 0x4c077c
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x4dc540
call fcn.004324e0
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x449d4f
mov eax, dword [ebp - 8]
push eax
mov ecx, 0x4dc540
call fcn.004324e0
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, 0x4dc540
call fcn.004324e0
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x449d4f
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x449d45
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00449c00
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x449d60
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x4d9b30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea ecx, [ebp - 8]
call fcn.0042d0a0
call fcn.0044a3c0
mov ecx, eax
call fcn.0044a9e0
push eax
call fcn.0044a3c0
mov ecx, eax
call fcn.0044a950
push eax
mov eax, dword [0x4dc8a8]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.http:__s.360.cn_safe_instcomp.htm_soft2023040419status_dpid_dmid_sm2_s
lea edx, [ebp - 8]
push edx
call fcn.004492c0
add esp, 0x18
push 0x208
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.00458690
add esp, 0xc
push 0
push 0
push 0x104
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 8]
call fcn.00401930
push eax
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
jne 0x449dfa
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 8]
call fcn.00401910
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045870a
mov esp, ebp
pop ebp
ret
Function at 0x44a280
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x10], 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x44a2aa
xor eax, eax
jmp 0x44a318
mov eax, dword [ebp - 4]
push eax
call fcn.0045af20
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x44a2c3
xor eax, eax
jmp 0x44a318
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44a309
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0x4cf2f4
mov edx, dword [ebp - 0xc]
push edx
call sub.VERSION.dll_VerQueryValueW
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0045adc9
add esp, 4
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44b160
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov byte [ebp - 1], 0
jmp 0x44b177
mov al, byte [ebp - 1]
add al, 1
mov byte [ebp - 1], al
movzx eax, byte [ebp - 1]
cmp eax, 4
jge 0x44b1dc
mov byte [ebp - 2], 0
jmp 0x44b18e
mov al, byte [ebp - 2]
add al, 1
mov byte [ebp - 2], al
movzx eax, byte [ebp - 2]
cmp eax, 4
jge 0x44b1da
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax*4]
movzx eax, byte [ebp - 2]
movzx ecx, byte [ebp + 8]
shl ecx, 2
movzx esi, byte [ebp - 1]
shl esi, 2
lea ecx, [esi + ecx*4]
movzx esi, byte [ebp - 2]
add esi, dword [ebp + 0x10]
movzx ecx, byte [esi + ecx]
movzx edx, byte [edx + eax]
xor edx, ecx
movzx eax, byte [ebp - 2]
movzx ecx, byte [ebp - 1]
mov esi, dword [ebp + 0xc]
lea ecx, [esi + ecx*4]
mov byte [ecx + eax], dl
jmp 0x44b186
jmp 0x44b16f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44b1f0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov byte [ebp - 1], 0
jmp 0x44b207
mov al, byte [ebp - 1]
add al, 1
mov byte [ebp - 1], al
movzx eax, byte [ebp - 1]
cmp eax, 4
jge 0x44b254
mov byte [ebp - 2], 0
jmp 0x44b21e
mov al, byte [ebp - 2]
add al, 1
mov byte [ebp - 2], al
movzx eax, byte [ebp - 2]
cmp eax, 4
jge 0x44b252
movzx eax, byte [ebp - 2]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*4]
movzx eax, byte [ebp - 1]
movzx ecx, byte [edx + eax]
movzx edx, byte [ebp - 2]
mov eax, dword [ebp + 8]
lea edx, [eax + edx*4]
movzx eax, byte [ebp - 1]
mov cl, byte [ecx + str.cw]
mov byte [edx + eax], cl
jmp 0x44b216
jmp 0x44b1ff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c020
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov byte [ebp - 1], 0
jmp 0x44c037
mov al, byte [ebp - 1]
add al, 1
mov byte [ebp - 1], al
movzx eax, byte [ebp - 1]
cmp eax, 4
jge 0x44c084
mov byte [ebp - 2], 0
jmp 0x44c04e
mov al, byte [ebp - 2]
add al, 1
mov byte [ebp - 2], al
movzx eax, byte [ebp - 2]
cmp eax, 4
jge 0x44c082
movzx eax, byte [ebp - 2]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*4]
movzx eax, byte [ebp - 1]
movzx ecx, byte [edx + eax]
movzx edx, byte [ebp - 2]
mov eax, dword [ebp + 8]
lea edx, [eax + edx*4]
movzx eax, byte [ebp - 1]
mov cl, byte [ecx + 0x4c0988]
mov byte [edx + eax], cl
jmp 0x44c046
jmp 0x44c02f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c1d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov byte [ebp - 1], 0
jmp 0x44c1e7
mov al, byte [ebp - 1]
add al, 1
mov byte [ebp - 1], al
movzx eax, byte [ebp - 1]
cmp eax, 0x10
jge 0x44c214
movzx eax, byte [ebp - 1]
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [edx + ecx]
mov edx, dword [ebp + 8]
movzx eax, byte [edx + eax]
xor eax, ecx
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 8]
mov byte [edx + ecx], al
jmp 0x44c1df
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c3d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450a40
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push 1
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
lea ecx, [ebp - 8]
call fcn.004261b0
cmp dword [ebp - 4], 0
je 0x450aba
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x20]
call fcn.00450f60
lea eax, [ebp - 4]
push eax
push 0
lea ecx, [ebp - 0x20]
call fcn.00450fd0
push eax
push 1
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
push 0
lea ecx, [ebp - 0x20]
call fcn.00450fd0
push eax
lea ecx, [ebp - 8]
call fcn.004261f0
lea ecx, [ebp - 0x20]
call fcn.00450fa0
push 0x4ce379
push 0x4c0418
lea ecx, [ebp - 8]
call fcn.00446100
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
call fcn.0042ff40
lea ecx, [ebp - 8]
call fcn.004261d0
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450dc0
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov ecx, dword [ebp + 0xc]
call fcn.004511d0
cmp dword [ebp + 8], 0
je 0x450e29
mov dword [ebp - 4], 0
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
cmp dword [ebp - 4], 0
je 0x450e29
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004510a0
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.004510f0
push eax
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455532
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4dc9a4], 0
push esi
jne 0x4554a0
call fcn.004553b4
test eax, eax
je 0x4554e3
mov eax, dword [0x4dc9a4]
cmp eax, 1
jne 0x4554c1
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4554e3
pop esi
ret
push eax
call dword [0x4dc9ac]
test eax, eax
jne 0x45552b
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4554e7
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4dc9a4]
call dword [0x4dc9ac]
mov edi, eax
test edi, edi
je 0x45550c
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x455528
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4dc9a4]
call dword [0x4dc9a8]
add edi, 0x10
cmp edi, esi
jb 0x455514
mov eax, edi
pop edi
pop esi
ret
jmp 0x45548d

Function at 0x455b30
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4d9b30]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
test ebx, ebx
jne 0x455b68
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0045870a
add esp, 0x20c
ret
push esi
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00458690
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x455c33
mov ecx, ebx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x455ba0
sub ecx, esi
sar ecx, 1
mov edx, 0x103
sub edx, ecx
cmp eax, edx
jae 0x455c33
push edi
lea edi, [esp + 0xc]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x455bc2
mov eax, dword [0x4cf2f4]
mov dword [edi], eax
mov eax, ebx
mov edx, ebx
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x455be0
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x455bf4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0045870a
add esp, 0x20c
ret
mov ecx, dword [esp + 0x210]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0045870a
add esp, 0x20c
ret
Function at 0x456470
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c14
call fcn.00459790
mov eax, dword [0x4d9b30]
xor eax, esp
mov dword [esp + 0x2c10], eax
mov eax, dword [esp + 0x2c18]
push edi
xor edi, edi
mov dword [esp + 0xc], eax
cmp eax, edi
je 0x4565db
cmp dword [esp + 0x2c20], edi
je 0x4565db
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov dword [esp + 0x10], edi
xor ebx, ebx
lea ebx, [ebx]
push ebx
push 0x4ce2c0
lea eax, [esp + 0x30]
push 0x100
push eax
call fcn.00427ce0
add esp, 0x10
push edi
push edi
push 3
push edi
push 3
push edi
lea ecx, [esp + 0x40]
push ecx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x4565b4
xor eax, eax
push 0x2710
lea edx, [esp + 0x514]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.00458690
add esp, 0xc
push edi
lea eax, [esp + 0x18]
push eax
push 0x2710
lea ecx, [esp + 0x51c]
push ecx
push 0xc
lea edx, [esp + 0x30]
push edx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4565a7
push 0x3e8
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.00458690
mov edx, dword [esp + 0x534]
lea ecx, [esp + 0x134]
push ecx
push 1
push edx
lea eax, [esp + 0x528]
push eax
call fcn.00458230
mov edx, dword [esp + 0x2c48]
mov eax, dword [esp + 0x34]
add esp, 0x1c
lea ecx, [esp + 0x128]
push ecx
push edx
push eax
call fcn.00427dd0
test eax, eax
jne 0x4565a7
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x4565be
inc ebx
cmp ebx, 0x10
jl 0x4564c0
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2c10]
xor ecx, esp
call fcn.0045870a
add esp, 0x2c14
ret
mov ecx, dword [esp + 0x2c14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0045870a
add esp, 0x2c14
ret
Function at 0x4568c0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x4d9b30]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x456ac1
cmp dword [esp + 0x2f8], 0
je 0x456ac1
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00458690
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x4c17d4
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x456a88
mov ecx, dword [esp + 4]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x100]
push eax
push ebx
mov esi, 0x104
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x456a7b
lea ebx, [ebx]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push 0
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x456a49
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0x4ce354
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x456a3e
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.00458690
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.004567b0
add esp, 0x14
test eax, eax
je 0x456a3e
cmp byte [esp + 0x24], 0
je 0x456a02
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x456a3e
lea eax, [esp + 0x24]
lea esi, [esp + 0x88]
mov ecx, eax
mov edx, 0x64
sub esi, ecx
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x456a31
mov cl, byte [esi + eax]
test cl, cl
je 0x456a31
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x456a16
jmp 0x456a35
test edx, edx
jne 0x456a36
dec eax
mov byte [eax], 0
mov esi, 0x104
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x100]
push ecx
inc ebx
push ebx
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x456960
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
cmp byte [esp + 0x1c], 0
je 0x456ac1
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.00427dd0
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.0045870a
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0045870a
add esp, 0x2ec
ret