joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418bd0
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov ecx, 0x55be7a
call fcn.0051a674
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0x40000001
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
jne 0x418c23
push 0
mov ecx, dword [ebp + 8]
call fcn.0041f5c0
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
jmp 0x418c97
mov ecx, dword [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
call fcn.0041f650
add esp, 8
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
call fcn.004197b0
push eax
push 0x40000001
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
jne 0x418c77
push 0
mov ecx, dword [ebp + 8]
call fcn.0041f5c0
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
lea ecx, [ebp - 8]
call fcn.004197d0
mov eax, dword [ebp + 8]
jmp 0x418c97
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041f5f0
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
lea ecx, [ebp - 8]
call fcn.004197d0
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x418ca0
Capabilities:
Hash data via bcrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b27e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov ecx, 0x55be7a
call fcn.0051a674
mov dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x30], 4
mov ecx, dword [ebp + 8]
call fcn.0041f6d0
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
push 0
push 0
push 0x5444b0
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
jl 0x418dc5
mov dword [ebp - 0x10], 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.bcrypt.dll_BCryptCreateHash]
test eax, eax
jl 0x418db9
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.bcrypt.dll_BCryptHashData]
test eax, eax
jl 0x418daf
push 4
lea ecx, [ebp - 0x20]
push ecx
call fcn.0041f700
add esp, 8
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041f780
lea ecx, [ebp - 0x20]
call fcn.004197d0
mov ecx, dword [ebp + 8]
call fcn.004197b0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
push 0
push 0x10
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.bcrypt.dll_BCryptFinishHash]
test eax, eax
jge 0x418daf
push 0
mov ecx, dword [ebp + 8]
call fcn.0041a5e0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x422010
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b3ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov dword [ebp - 0x10], ecx
mov ecx, 0x55be4b
call fcn.0051a674
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push 0x54713a
mov ecx, dword [ebp - 0x14]
call fcn.00403f30
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov dword [ebp - 0x18], ecx
push 0x54713a
mov ecx, dword [ebp - 0x18]
call fcn.00403f30
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x30], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x422400
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov ecx, 0x55be7a
call fcn.0051a674
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0xffffffff
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4225c9
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x422478
mov dword [ebp - 0x10], 0x64
mov dword [ebp - 8], 0
jmp 0x42248a
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x10]
jae 0x4225c9
mov dword [ebp - 4], 0
push 0x104
push 0
lea edx, [ebp - 0x228]
push edx
call fcn.004efcf0
add esp, 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0x104
push 0x104
push 0
lea eax, [ebp - 0x124]
push eax
call fcn.004efcf0
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
push str._04u
push 0x104
lea edx, [ebp - 0x124]
push edx
call fcn.00423570
add esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x422520
jmp 0x422481
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push str.NetCfgInstanceId
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x422553
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x422481
lea edx, [ebp - 0x228]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403d30
push eax
call fcn.004f9a12
add esp, 8
test eax, eax
je 0x42257e
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x422481
mov dword [ebp - 0x14], 4
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0x544964
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4225ba
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4225c9
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x422481
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret
Function at 0x423d50
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b3ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0040f3e0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
add edx, 0x18
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0040f3e0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
mov dword [ecx + 0x30], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
mov dword [ecx + 0x34], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
mov dword [ecx + 0x38], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x425320
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xffffffe0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b70d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
add esp, 0xffffff30
mov dword [ebp - 0x30], ecx
mov ecx, 0x55be7a
call fcn.0051a674
push 0
push 1
push 0x46a
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
call fcn.00407da0
add esp, 4
xor eax, eax
mov byte [ebp - 0x21], al
xor ecx, ecx
mov byte [ebp - 0x22], cl
xor edx, edx
mov byte [ebp - 0x23], dl
movzx eax, byte [ebp - 0x21]
push eax
movzx ecx, byte [ebp - 0x22]
push ecx
movzx edx, byte [ebp - 0x23]
push edx
lea ecx, [ebp - 0xe0]
call fcn.0042fc40
mov ecx, eax
call fcn.0042d6b0
push eax
call fcn.00407f10
add esp, 4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov byte [ebp - 0x24], al
xor ecx, ecx
mov byte [ebp - 0x25], cl
xor edx, edx
mov byte [ebp - 0x26], dl
movzx eax, byte [ebp - 0x24]
push eax
movzx ecx, byte [ebp - 0x25]
push ecx
movzx edx, byte [ebp - 0x26]
push edx
lea ecx, [ebp - 0x90]
call fcn.0042fd00
mov ecx, eax
call fcn.0042de70
push eax
call fcn.0040c9b0
add esp, 4
xor eax, eax
mov byte [ebp - 0x27], al
xor ecx, ecx
mov byte [ebp - 0x28], cl
xor edx, edx
mov byte [ebp - 0x29], dl
movzx eax, byte [ebp - 0x27]
push eax
movzx ecx, byte [ebp - 0x28]
push ecx
movzx edx, byte [ebp - 0x29]
push edx
lea ecx, [ebp - 0x70]
call fcn.0042fd90
mov ecx, eax
call fcn.0042dd40
push eax
lea ecx, [ebp - 0x54]
call fcn.00403f30
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00403d30
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x38]
push eax
push 0
push 0x469
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x34], 0
jmp 0x425478
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0x14
jge 0x4254ad
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
add ecx, 4
push ecx
call fcn.00409d20
add esp, 4
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 4]
add ecx, 4
call fcn.004100c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4254ab
jmp 0x4254ad
jmp 0x42546f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00403e90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x426590
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b87d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x60
mov dword [ebp - 0x1c], ecx
mov ecx, 0x55be7a
call fcn.0051a674
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00425320
xor edx, edx
mov byte [ebp - 0x11], dl
xor eax, eax
mov byte [ebp - 0x12], al
xor ecx, ecx
mov byte [ebp - 0x13], cl
movzx edx, byte [ebp - 0x11]
push edx
movzx eax, byte [ebp - 0x12]
push eax
movzx ecx, byte [ebp - 0x13]
push ecx
lea ecx, [ebp - 0x60]
call fcn.00430400
mov ecx, eax
call fcn.0042dd40
push eax
lea ecx, [ebp - 0x24]
call fcn.0040ff00
mov dword [ebp - 4], 0
xor edx, edx
mov byte [ebp - 0x14], dl
xor eax, eax
mov byte [ebp - 0x15], al
xor ecx, ecx
mov byte [ebp - 0x16], cl
movzx edx, byte [ebp - 0x14]
push edx
movzx eax, byte [ebp - 0x15]
push eax
movzx ecx, byte [ebp - 0x16]
push ecx
lea ecx, [ebp - 0x70]
call fcn.004303b0
mov ecx, eax
call fcn.0042dd40
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
add eax, 4
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.0040f600
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.0040f6b0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.0040fee0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.0040fee0
lea ecx, [ebp - 0x20]
call fcn.004100c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
movzx ecx, byte [eax + 6]
test ecx, ecx
je 0x4266d8
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp - 0x20]
push edx
call fcn.00410000
mov ecx, dword [ebp - 0x1c]
call fcn.00425b70
jmp 0x426713
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
lea eax, [ebp - 0x20]
push eax
call fcn.00410000
mov ecx, dword [ebp - 0x1c]
call fcn.004262b0
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
lea edx, [ebp - 0x20]
push edx
call fcn.00410000
mov ecx, dword [ebp - 0x1c]
call fcn.00425b70
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
mov dword [ecx + 8], 1
mov ecx, dword [ebp - 0x1c]
call fcn.0042c5f0
push 0
push 0
push 0x46c
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0040fee0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x42c020
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a89e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov ecx, 0x55be7a
call fcn.0051a674
mov ecx, dword [ebp + 8]
call fcn.00410030
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
push 0x800
push 0
lea ecx, [ebp - 0x814]
push ecx
call fcn.004efcf0
add esp, 0xc
push 0x800
push 0
lea edx, [ebp - 0x814]
push edx
call fcn.004efcf0
add esp, 0xc
push 0
push 0x17
lea eax, [ebp - 0x814]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42c0d0
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040fe80
push str.______
mov ecx, dword [ebp + 8]
call fcn.0040fd90
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42d310
Capabilities:
Check if file exists
Create directory
Delete directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xffffffe0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ac1d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
add esp, 0xffffff50
mov ecx, 0x55be7a
call fcn.0051a674
xor eax, eax
mov byte [ebp - 0x21], al
xor ecx, ecx
mov byte [ebp - 0x22], cl
xor edx, edx
mov byte [ebp - 0x23], dl
movzx eax, byte [ebp - 0x21]
push eax
movzx ecx, byte [ebp - 0x22]
push ecx
movzx edx, byte [ebp - 0x23]
push edx
lea ecx, [ebp - 0x80]
call fcn.004336f0
mov ecx, eax
call fcn.0042d6b0
push eax
lea ecx, [ebp - 0x30]
call fcn.0040ff80
mov dword [ebp - 4], 0
xor eax, eax
mov byte [ebp - 0x24], al
xor ecx, ecx
mov byte [ebp - 0x25], cl
xor edx, edx
mov byte [ebp - 0x26], dl
movzx eax, byte [ebp - 0x24]
push eax
movzx ecx, byte [ebp - 0x25]
push ecx
movzx edx, byte [ebp - 0x26]
push edx
lea ecx, [ebp - 0xc0]
call fcn.004337b0
mov ecx, eax
call fcn.0042d9a0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040ff80
lea ecx, [ebp - 0x30]
call fcn.004100c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42d409
push 0
lea ecx, [ebp - 0x30]
call fcn.004100c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42d401
mov eax, dword [ebx + 8]
mov byte [eax], 1
lea ecx, [ebp - 0x30]
call fcn.004100c0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x42d407
mov ecx, dword [ebx + 8]
mov byte [ecx], 0
jmp 0x42d471
lea ecx, [ebp - 0x2c]
call fcn.004100c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42d43f
lea ecx, [ebp - 0x2c]
call fcn.004100c0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x42d437
mov edx, dword [ebx + 8]
mov byte [edx], 1
jmp 0x42d43d
mov eax, dword [ebx + 8]
mov byte [eax], 0
jmp 0x42d471
push 0
lea ecx, [ebp - 0x2c]
call fcn.004100c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42d46b
mov ecx, dword [ebx + 8]
mov byte [ecx], 1
lea ecx, [ebp - 0x2c]
call fcn.004100c0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x42d471
mov edx, dword [ebx + 8]
mov byte [edx], 0
lea ecx, [ebp - 0x2c]
call fcn.0040fee0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0040fee0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x42d4a0
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xffffffe0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ac1d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
add esp, 0xfffffcf0
mov ecx, 0x55be7a
call fcn.0051a674
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x42d4ed
mov al, 1
jmp 0x42d687
push 0x208
push 0
lea eax, [ebp - 0x308]
push eax
call fcn.004efcf0
add esp, 0xc
mov dword [ebp - 0x3c], 0
push 0x104
lea ecx, [ebp - 0x308]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x78], 0x3c
push 0x38
push 0
lea eax, [ebp - 0x74]
push eax
call fcn.004efcf0
add esp, 0xc
xor ecx, ecx
mov byte [ebp - 0x21], cl
xor edx, edx
mov byte [ebp - 0x22], dl
xor eax, eax
mov byte [ebp - 0x23], al
movzx ecx, byte [ebp - 0x21]
push ecx
movzx edx, byte [ebp - 0x22]
push edx
movzx eax, byte [ebp - 0x23]
push eax
lea ecx, [ebp - 0x90]
call fcn.004338b0
mov ecx, eax
call fcn.0042dd40
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x308]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x5c], 1
lea ecx, [ebp - 0x30]
call fcn.00410030
mov dword [ebp - 4], 0
mov edx, dword [ebx + 8]
movzx eax, byte [edx]
test eax, eax
je 0x42d5ce
xor ecx, ecx
mov byte [ebp - 0x24], cl
xor edx, edx
mov byte [ebp - 0x25], dl
xor eax, eax
mov byte [ebp - 0x26], al
movzx ecx, byte [ebp - 0x24]
push ecx
movzx edx, byte [ebp - 0x25]
push edx
movzx eax, byte [ebp - 0x26]
push eax
lea ecx, [ebp - 0x100]
call fcn.00433900
mov ecx, eax
call fcn.0042d6b0
push eax
lea ecx, [ebp - 0x30]
call fcn.0040fe80
jmp 0x42d607
xor ecx, ecx
mov byte [ebp - 0x27], cl
xor edx, edx
mov byte [ebp - 0x28], dl
xor eax, eax
mov byte [ebp - 0x29], al
movzx ecx, byte [ebp - 0x27]
push ecx
movzx edx, byte [ebp - 0x28]
push edx
movzx eax, byte [ebp - 0x29]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00433480
mov ecx, eax
call fcn.0042de70
push eax
lea ecx, [ebp - 0x30]
call fcn.0040fe80
lea ecx, [ebp - 0x30]
call fcn.004100c0
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x78]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x42d638
mov byte [ebp - 0x2a], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0040fee0
mov al, byte [ebp - 0x2a]
jmp 0x42d687
push 0xffffffffffffffff
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x34], 0
jne 0x42d668
mov dword [ebp - 0x38], 1
jmp 0x42d66f
mov dword [ebp - 0x38], 0
mov dl, byte [ebp - 0x38]
mov byte [ebp - 0x2b], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0040fee0
mov al, byte [ebp - 0x2b]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x433b30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51bfed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov dword [ebp - 0x10], ecx
mov ecx, 0x55b841
call fcn.0051a674
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00433ec0
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x433f20
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
push 0
lea ecx, [ebp - 0x14]
call fcn.00433d40
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
call fcn.004f9ee5
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
je 0x433baf
lea ecx, [ebp - 0x14]
call fcn.00433d10
jmp 0x433bc0
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
push 6
call fcn.004eda04
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00433da0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x433be0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51c00d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov dword [ebp - 0x10], ecx
mov ecx, 0x55b841
call fcn.0051a674
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00433fa0
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x434000
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
push 0
lea ecx, [ebp - 0x14]
call fcn.00433d40
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
call fcn.004f9ee5
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
je 0x433c5f
lea ecx, [ebp - 0x14]
call fcn.00433d10
jmp 0x433c70
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
push 6
call fcn.004eda04
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00433d60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x45a140
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x1505
lea ebx, [esi + eax]
cmp esi, ebx
jae 0x45a176
mov al, byte [esi]
push eax
call fcn.00467ee0
movsx ecx, al
inc esi
mov eax, edi
add esp, 4
shl eax, 5
add eax, edi
xor ecx, eax
mov edi, ecx
cmp esi, ebx
jb 0x45a158
mov eax, 0x4104105
mov esi, edi
mul edi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 5
mov ecx, esi
shl ecx, 6
sub ecx, esi
sub edi, ecx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4662d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push str.kernel32
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4662f0
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0x52306c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp + 8]
mov ebx, eax
push 0x52307c
push esi
mov dword [ebp - 8], ebx
call fcn.00502452
add esp, 8
test eax, eax
je 0x46633c
test ebx, ebx
je 0x46632c
push 8
push 0
push esi
call ebx
pop esi
mov edi, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop esi
mov edi, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x466365
push str.AddDllDirectory
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x466365
push 0x800
push 0
push esi
call ebx
pop esi
mov edi, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov dword [ebp - 4], edx
test edx, edx
je 0x466428
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466381
sub ecx, ebx
sar ecx, 1
lea eax, [ecx + edx]
lea eax, [eax*2 + 2]
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x46641e
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x46641e
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4663c0
sub ecx, edx
sar ecx, 1
mov dword [ebx + ecx*2], 0x5c
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4663e0
sub ecx, edx
sar ecx, 1
add ecx, ecx
sub ecx, esi
add ecx, ebx
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x4663f5
mov eax, dword [ebp - 8]
test eax, eax
je 0x466415
push 8
push 0
push ebx
call eax
jmp 0x46641c
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
push ebx
call dword [0x556004]
add esp, 4
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret