joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b360
Capabilities:
Get disk information

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0
push 0
push 0
lea eax, [esp + 0x14]
push 0
push eax
push 0
push 0
push 0x4272dc
mov byte [esi], 0
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationA]
test eax, eax
jne 0x40b398
push str.getHDS:_get_vol_info
call fcn.0040b180
add esp, 4
mov byte [esi], 0
mov ecx, dword [esp + 8]
push ecx
push 0x42965c
push esi
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
pop esi
ret

Function at 0x40b3b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1000c
call fcn.004097b0
push esi
mov esi, dword [esp + 0x10014]
mov dword [esp + 8], 0xffff
mov byte [esi], 0
call fcn.0040b480
test eax, eax
je 0x40b3e1
mov byte [esi], 0
pop esi
add esp, 0x1000c
ret
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftCryptography
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40b41a
push eax
push str.getMSCG:_open_crypto_key
call fcn.0040b340
add esp, 8
mov byte [esi], 0
pop esi
add esp, 0x1000c
ret
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.MachineGuid
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40b458
push eax
push str.getMSCG:_query_machine_guid
call fcn.0040b340
add esp, 8
mov byte [esi], 0
pop esi
add esp, 0x1000c
ret
lea edx, [esp + 0x10]
push edx
push 0x429658
push esi
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
pop esi
add esp, 0x1000c
ret

Function at 0x40b4d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
push 0x200
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x200
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebp, dword [esp + 0x1c]
add esp, 4
mov ebx, eax
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push 0x80000002
mov byte [ebp], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40b535
push eax
push str.getWID:_Open_Windows_key
call fcn.0040b340
add esp, 8
mov byte [ebp], 0
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push ebx
push edx
push 0
push str.ProductId
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40b56e
push eax
push str.getWID:_Get_product_id
call fcn.0040b340
add esp, 8
mov byte [ebp], 0
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 8]
push esi
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x40b5b0
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
mov eax, 0x1000c
call fcn.004097b0
push ebx
mov ebx, dword [esp + 0x10014]
push ebp
push esi
lea eax, [esp + 0x10]
push edi
push eax
push 0x20019
push 0
mov esi, 0xffff
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
mov dword [esp + 0x24], esi
mov byte [ebx], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40b60a
push eax
push str.getCPUI:_Open_CPU_key
call fcn.0040b340
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1000c
ret
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push str.Identifier
push ecx
call ebp
test eax, eax
je 0x40b64a
push eax
push str.getCPUI:_Query_identifier
call fcn.0040b340
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1000c
ret
lea edx, [esp + 0x1c]
push edx
push str._s_r_n
push ebx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push 0
push str.VendorIdentifier
push eax
mov dword [esp + 0x28], esi
call ebp
test eax, eax
je 0x40b69c
push eax
push str.getCPUInfo:_Query_vendor_id
call fcn.0040b340
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1000c
ret
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], 0xffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x429784
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0040b480
test eax, eax
jne 0x40b772
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push str.ProcessorNameString
push eax
call ebp
test eax, eax
je 0x40b738
push eax
push str.getCPUI:_Get_processor_name_string
call fcn.0040b340
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1000c
ret
lea ecx, [esp + 0x1c]
push 0x429748
push ecx
call dword [sym.imp.MSVCRT.dll__mbsspnp]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1000c
ret
Function at 0x40b790
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREClickSpring
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40b7d1
push str.setUID:_RegCreateKeyEx
call fcn.0040b180
add esp, 4
xor eax, eax
add esp, 8
ret
mov edx, dword [esp + 0xc]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esp + 0xc]
push 1
push eax
push str.UUID
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
pop edi
je 0x40b80e
push str.setUID:_RegSetValueEx
call fcn.0040b180
add esp, 4
xor eax, eax
add esp, 8
ret
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add esp, 8
ret

Function at 0x40b830
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 8]
push esi
push eax
push 0x20019
push 0
push str.SOFTWAREClickSpring
push 0x80000002
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0x200
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40b86b
xor eax, eax
pop esi
add esp, 0xc
ret
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [esp + 0x10]
add esp, 4
lea edx, [esp + 4]
mov esi, eax
push edx
lea eax, [esp + 0xc]
push esi
push eax
push 0
push str.UUID
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
push esi
je 0x40b8ad
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
xor eax, eax
pop esi
add esp, 0xc
ret
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, 1
pop esi
add esp, 0xc
ret

Function at 0x40ba30
Capabilities:
Query or enumerate registry value

Disassembly:
mov al, byte [0x42b2c8]
sub esp, 8
test al, al
je 0x40ba49
push 0x42b2c8
call fcn.0040b790
add esp, 4
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREClickSpring
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40ba87
push str.setUID:_RegCreateKeyEx
call fcn.0040b180
add esp, 4
xor eax, eax
add esp, 8
ret
cmp dword [esp + 4], 2
je 0x40ba94
xor eax, eax
add esp, 8
ret
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp]
push edx
push eax
push 0
push 0
push 0x42989c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40bac9
push str.setUID:_RegQueryValueEx
call fcn.0040b180
add esp, 4
xor eax, eax
add esp, 8
ret
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add esp, 8
ret
Function at 0x40bae0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREClickSpring
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40bb21
push str.set_pid_list:_RegCreateKeyEx
call fcn.0040b180
add esp, 4
xor eax, eax
add esp, 8
ret
mov edx, dword [esp + 0xc]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esp + 0xc]
push 1
push eax
push 0x42989c
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
pop edi
je 0x40bb5e
push str.set_pid_list:_RegSetValueEx
call fcn.0040b180
add esp, 4
xor eax, eax
add esp, 8
ret
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add esp, 8
ret
Function at 0x40d360
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [0x42de58]
cmp eax, 0x1c00
jle 0x40d397
lea eax, [esp]
push 0
push eax
push 0x42b54c
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov ecx, dword [esp + 0x10]
push eax
push 0x42b54c
push ecx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
xor eax, eax
mov dword [0x42de58], eax
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
lea edx, [eax + 0x42b54c]
push ecx
push edx
call dword [sym.imp.USER32.dll_wvsprintfA]
add dword [0x42de58], eax
pop ecx
ret

Function at 0x40d3c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414c68
push 0x4099f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 0xc]
xor ebx, ebx
cmp edi, ebx
jne 0x40d452
mov dword [ebp - 4], ebx
push str.raising_exception_r_n
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
push ebx
push ebx
push ebx
push 0x80000003
call dword [sym.imp.KERNEL32.DLL_RaiseException]
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
cmp eax, ebx
je 0x40d4a8
push str.MiniDumpWriteDump
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x40d4a8
push str.writing_minidump_r_n
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], ebx
push ebx
push ebx
lea edx, [ebp - 0x24]
push edx
push ebx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40d4c0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
lea eax, [esp + 0x2c]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov edi, dword [esp + 0x34]
mov eax, 0x40000000
xor edx, edx
mov esi, 0
div edi
mov ebp, esi
mov dword [esp + 0x10], 1
mov ebx, eax
shl ebx, 2
je 0x40d55b
mov edx, esi
lea ecx, [esp + 0x14]
imul edx, edi
push 0x1c
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x40d54c
mov eax, dword [esp + 0x20]
test eax, eax
jbe 0x40d54c
xor edx, edx
div edi
add esi, eax
mov eax, dword [esp + 0x24]
cmp eax, 0x1000
jne 0x40d557
mov eax, dword [esp + 0x18]
cmp eax, ebp
jbe 0x40d557
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x58]
push ecx
push eax
push edx
mov ebp, eax
call fcn.0040d570
add esp, 0xc
test al, al
je 0x40d557
inc dword [esp + 0x10]
jmp 0x40d557
mov eax, 0x10000
xor edx, edx
div edi
add esi, eax
cmp esi, ebx
jb 0x40d4f5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
Function at 0x40e700
Capabilities:
Get file version info

Disassembly:
sub esp, 0x38
lea eax, [esp]
push ebx
push ebp
push esi
mov esi, ecx
push eax
lea ebp, [esi + 0x28]
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40e816
push edi
lea edi, [ebx + 1]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [esi], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
push eax
push ebx
push ecx
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
pop edi
je 0x40e816
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.0040e990
test eax, eax
je 0x40e816
mov eax, dword [esp + 0x18]
mov ecx, eax
mov word [esi + 0xa], ax
mov eax, dword [esp + 0x1c]
shr ecx, 0x10
mov edx, eax
mov word [esi + 0xe], ax
mov eax, dword [esp + 0x20]
mov word [esi + 8], cx
mov ecx, eax
mov word [esi + 0x12], ax
mov eax, dword [esp + 0x24]
shr edx, 0x10
shr ecx, 0x10
mov word [esi + 0xc], dx
mov word [esi + 0x10], cx
mov ecx, dword [esp + 0x30]
mov edx, eax
mov word [esi + 0x16], ax
mov eax, dword [esp + 0x2c]
shr edx, 0x10
mov dword [esi + 0x1c], ecx
lea ecx, [esi + 0x230]
mov word [esi + 0x14], dx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x38]
push ecx
push str.CompanyName
mov ecx, esi
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
call fcn.0040e9e0
lea edx, [esi + 0x640]
mov ecx, esi
push edx
push 0x42a3bc
call fcn.0040e9e0
lea eax, [esi + 0x438]
mov ecx, esi
push eax
push 0x42a3b0
call fcn.0040e9e0
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x38
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x38
ret
Function at 0x40f320
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
mov edi, dword [eax + 0x38]
mov cl, byte [eax + 0x34]
test edi, edi
mov byte [esp + 0x10], cl
jle 0x40f361
mov esi, dword [esp + 0x10]
and esi, 0xff
mov edx, dword [eax + 0x260]
mov ebx, edx
shr ebx, 0x18
xor ebx, esi
shl edx, 8
mov ebx, dword [ebx*4 + 0x42a4f4]
xor ebx, edx
dec edi
mov dword [eax + 0x260], ebx
jne 0x40f33f
mov edx, dword [eax + 0x34]
mov bl, 1
mov byte [eax + edx + 0x58], bl
mov edx, dword [eax + 0x38]
mov esi, edx
dec esi
je 0x40f40f
dec esi
je 0x40f3ee
dec esi
je 0x40f3d4
mov byte [edx + eax + 0x54], bl
mov edx, dword [eax + 0x24]
mov esi, dword [eax + 0x44]
mov byte [edx + esi], cl
mov esi, dword [eax + 0x44]
inc esi
mov dword [eax + 0x44], esi
mov edx, esi
mov esi, dword [eax + 0x24]
mov byte [esi + edx], cl
mov edx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
inc edx
mov dword [eax + 0x44], edx
mov byte [esi + edx], cl
mov ebx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
inc ebx
mov edx, ebx
mov dword [eax + 0x44], ebx
mov byte [esi + edx], cl
mov edi, dword [eax + 0x44]
mov dl, byte [eax + 0x38]
mov esi, dword [eax + 0x24]
inc edi
sub dl, 4
mov ecx, edi
mov dword [eax + 0x44], edi
pop edi
mov byte [esi + ecx], dl
mov ecx, dword [eax + 0x44]
inc ecx
pop esi
mov dword [eax + 0x44], ecx
pop ebx
ret
mov edx, dword [eax + 0x24]
mov esi, dword [eax + 0x44]
mov byte [edx + esi], cl
mov esi, dword [eax + 0x44]
inc esi
mov dword [eax + 0x44], esi
mov edx, esi
mov esi, dword [eax + 0x24]
mov byte [esi + edx], cl
jmp 0x40f3f7
mov edx, dword [eax + 0x24]
mov esi, dword [eax + 0x44]
mov byte [edx + esi], cl
mov edx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
inc edx
pop edi
mov dword [eax + 0x44], edx
mov byte [esi + edx], cl
mov ecx, dword [eax + 0x44]
inc ecx
pop esi
mov dword [eax + 0x44], ecx
pop ebx
ret
mov edx, dword [eax + 0x24]
mov esi, dword [eax + 0x44]
pop edi
mov byte [edx + esi], cl
mov ecx, dword [eax + 0x44]
inc ecx
pop esi
mov dword [eax + 0x44], ecx
pop ebx
ret
Function at 0x4215dd
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x42167a
push ebx
push esi
call fcn.004215a6
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0042022b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x421627
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x421679
push edi
push eax
call fcn.00419350
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x421647
call fcn.004188af
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x421678
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042022b
add esp, 0x20
test eax, eax
jne 0x421666
push edi
call fcn.004188af
jmp 0x42166e
push ebx
call fcn.004188af
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x428550
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42857d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42857d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x431000
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax - 0x6f6f6f70], dl
nop
nop
nop
nop
nop
pushal
call 0x43100c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430fd9
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40688e
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push esi
push edi
mov eax, 0x1a1
cmp eax, 0x24
ja 0x40689c
call 0x856681b
mov al, byte [0x8b640041]
cmp eax, 0x30
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x446630], eax
sub eax, eax
je 0x4068c1
call 0xa8cf50f4
invalid
call 0x401154
call 0x406651
pop edi
xor eax, eax
pop esi
ret

Function at 0x407515
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407554
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x407554
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x407554
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x407554
cmp dword [ecx + 0x74], 0xe
jbe 0x407554
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40d5eb
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41c2c8
push 0x41c2c0
push str.FlsAlloc
push 0x1e
call fcn.0040d4ac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d61f
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a120]
call esi
jmp 0x40d625
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40d669
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41c2d8
push 0x41c2d0
push str.FlsGetValue
push 0x20
call fcn.0040d4ac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d6a0
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a120]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40124b
Capabilities:
Check if file exists

Disassembly:
push 0x20
mov eax, 0x4788f4
call fcn.0045e88a
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
push eax
call dword [sym.imp.USER32.dll_SwitchDesktop]
push 4
push dword [esi + 0x14]
xor edi, edi
push dword [esi + 0x10]
push edi
push edi
push edi
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowPos]
push edi
push 0x313
push 0x5ac
push dword [esi]
call dword [sym.imp.USER32.dll_SetTimer]
push str.SetShellWindow
push 0x47cfa0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x4012b4
push dword [esi]
call eax
push dword [esi]
push dword [esi + 8]
call fcn.0040988d
mov dword [esi + 0x18], eax
movsx eax, byte [esi + 0x24]
push eax
push str._c:__metawallpaper.jpg
lea ecx, [ebp - 0x2c]
call fcn.0040ce40
add esp, 0x10
mov dword [ebp - 4], edi
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4012e5
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401306
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4012fc
lea eax, [ebp - 0x28]
push eax
call fcn.0040f4ec
pop ecx
mov dword [esi + 0x20], eax
push edi
push 1
lea esi, [ebp - 0x2c]
call fcn.0040144b
call fcn.0045e90d
ret