joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ca60
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push eax
push 0x47df28
call fcn.0040a320
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40cb6e
push 0xfffe
push 0x40
call dword [0x489894]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40cb64
push str.3C898D2E_677C_4456_AE52_FC494B3DF3ED
push str.raz10update.exe
mov ecx, dword [ebp - 8]
push ecx
push str._s_s__s
push 0x7fff
mov edx, dword [ebp - 0xc]
push edx
call dword [0x489c38]
add esp, 0x18
mov dword [ebp - 0x14], eax
cmp dword [0x47fbdc], 1
jne 0x40cb10
lea eax, [ebp - 0x10]
push eax
push 0x4324b8
push SysReAllocString
call dword [0x489b64]
test eax, eax
jne 0x40cb10
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + ecx + 2]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 1
push 0
push str.AB1F3E47_AEF1_400E_A108_233A046C3A34
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0x489b60]
mov edx, dword [ebp - 0x10]
push edx
call dword [0x489b68]
cmp dword [0x47fbd8], 1
jne 0x40cb5a
lea eax, [ebp - 0x10]
push eax
push 0x432520
push reloc.OLEAUT32.dll_SysReAllocString
call dword [0x489b64]
test eax, eax
jne 0x40cb5a
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + ecx + 2]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 1
push 0
push 0x48399e
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0x489b60]
mov edx, dword [ebp - 0x10]
push edx
call dword [0x489b68]
mov eax, dword [ebp - 0xc]
push eax
call dword [0x4898a0]
mov ecx, dword [ebp - 8]
push ecx
call dword [0x4898a0]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40d660
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [0x47fbe4], 1
jne 0x40d79d
push 0xfffe
push 0x40
call dword [0x489894]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40d6dd
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x436820
call dword [0x489c48]
test eax, eax
jne 0x40d6d3
push str.21F59ED2_8784_4EE1_94B6_D7C850FC26D1
mov ecx, dword [ebp - 0xc]
push ecx
push str._s_s.lnk
push 0x7fff
mov edx, dword [ebp - 4]
push edx
call fcn.0042205a
add esp, 0x14
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x489c64]
mov edx, dword [ebp - 4]
push edx
call dword [0x4898a0]
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x436830
call dword [0x489c48]
test eax, eax
jne 0x40d79d
push 0xfffe
push 0x40
call dword [0x489894]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40d793
push str.779BAA42_8504_4363_A5E6_338F097207AA
mov ecx, dword [ebp - 8]
push ecx
push 0x43269c
push 0x7fff
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042205a
add esp, 0x14
push 0xfffe
push 0x40
call dword [0x489894]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40d789
push str.352D1E3D_5E49_42A1_9AE1_1984B0491551
push str.779BAA42_8504_4363_A5E6_338F097207AA
mov eax, dword [ebp - 8]
push eax
push str._s_s_s.BAT
push 0x7fff
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0042205a
add esp, 0x18
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [0x4898a0]
mov edx, dword [ebp - 0x10]
push edx
call dword [0x4898a0]
mov eax, dword [ebp - 8]
push eax
call dword [0x489c64]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4152d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a0
push 0x47e534
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x415341
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x48970c], eax
cmp dword [0x48970c], 0
je 0x415341
push 0
push 0
push 0
push 0x406110
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x489710], eax
cmp dword [0x489710], 0
je 0x41532b
jmp 0x415341
mov eax, dword [0x48970c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x48970c], 0
cmp dword [0x47fbec], 1
jne 0x41540f
call fcn.0041aec0
cmp eax, 1
jne 0x41540f
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0
lea ecx, [ebp - 0x194]
push ecx
push 0x47df28
call fcn.0040a320
add esp, 8
mov dword [ebp - 0x198], eax
cmp dword [ebp - 0x198], 0
je 0x41540f
xor edx, edx
mov word [ebp - 0x3a0], dx
push 0x206
push 0
lea eax, [ebp - 0x39e]
push eax
call fcn.00421fe0
add esp, 0xc
push str.raz10update.exe
mov ecx, dword [ebp - 0x198]
push ecx
push str.__s_s_
push 0x104
lea edx, [ebp - 0x3a0]
push edx
call fcn.0042205a
add esp, 0x14
mov eax, dword [0x47fc90]
push eax
mov ecx, dword [0x47fc8c]
push ecx
push 0x47fc3e
push 0x47fbf0
push str.3C898D2E_677C_4456_AE52_FC494B3DF3ED
lea edx, [ebp - 0x3a0]
push edx
call fcn.00404d20
add esp, 0x18
mov eax, dword [ebp - 0x198]
push eax
call dword [0x4898a0]
cmp dword [0x47fbe0], 0
jne 0x41541d
call fcn.0040ca60
cmp dword [0x47fbe4], 1
jne 0x41542b
call fcn.0040c7d0
cmp dword [0x47fbe0], 1
jne 0x415439
call fcn.00419700
push 0x15
call fcn.00414330
add esp, 4
cmp dword [0x47e518], 1
jne 0x41549a
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x48971c], eax
cmp dword [0x48971c], 0
je 0x41549a
push 0
push 0
push 0
push 0x409650
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x489720], eax
cmp dword [0x489720], 0
je 0x41548d
jmp 0x41549a
mov ecx, dword [0x48971c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x190]
push edx
push 2
call dword [0x489d04]
test eax, eax
jne 0x415500
cmp dword [0x4869cc], 1
jne 0x4154d0
push 0
push 0
push 0
push 0x41a0e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x489ea8], eax
push 0
push 0
push 0
push 0x41fb40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x48a164], eax
cmp dword [0x48a164], 0
je 0x4154fa
mov eax, 1
jmp 0x415505
call dword [0x489d08]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x415de0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x415e01
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x64
jge 0x415f21
push 0
mov edx, dword [ebp - 0xc]
shl edx, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x415e37
cmp dword [ebp - 8], 0x102
je 0x415f1c
mov edx, dword [ebp - 0xc]
shl edx, 4
add edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x415e63
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0
je 0x415e83
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], 0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x415efe
push 0
push 4
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x415ef4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x415eea
mov eax, 1
jmp 0x415f23
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
jmp 0x415df8
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x419700
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0x489dfc
push 0
push 0
push 0x419790
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x489df4], eax
cmp dword [0x489df4], 0
je 0x419730
mov eax, 1
jmp 0x419732
xor eax, eax
pop ebp
ret
Function at 0x41b090
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x41b134
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x41b12a
mov edx, dword [ebp - 8]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41b12a
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41b120
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 8]
jne 0x41b120
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
jmp 0x41b136
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x41b5b0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
cmp dword [ebp + 8], 0
je 0x41b5d6
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41b7a8
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41b7a8
mov ecx, dword [ebp + 0x10]
push ecx
push str._s.
push 0x7fff
mov edx, dword [ebp - 8]
push edx
call dword [0x489c38]
add esp, 0x10
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41b79e
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x41b781
cmp dword [ebp + 8], 1
jne 0x41b661
push 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x41b661
jmp 0x41b775
push 0x436074
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x41b68d
push 0x436078
lea ecx, [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x41b692
jmp 0x41b75c
mov edx, dword [ebp - 0x260]
and edx, 0x10
je 0x41b730
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0
je 0x41b72e
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push str._s_s_
push 0x7fff
mov edx, dword [ebp - 0x264]
push edx
call dword [0x489c38]
add esp, 0x14
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x264]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041b5b0
add esp, 0x10
mov ecx, dword [ebp - 0x264]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x41b721
mov edx, dword [ebp + 0x14]
cmp dword [edx], 0
jne 0x41b721
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp - 0x264]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x41b75c
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push str._s_s
push 0x7fff
mov edx, dword [ebp - 0xc]
push edx
call dword [0x489c38]
add esp, 0x14
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41b643
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x41b794
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 0
jne 0x41b794
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esp, ebp
pop ebp
ret
Function at 0x41b990
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0x10325476
pop ebp
ret
Function at 0x421040
Capabilities:
Get geographical location
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
push 0x318
push 0x40
call dword [0x489894]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4211f9
push str.NTDLL.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x421088
mov eax, dword [ebp - 4]
push eax
call dword [0x4898a0]
xor eax, eax
jmp 0x4211fb
push str.RtlGetVersion
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4210b1
mov edx, dword [ebp - 4]
push edx
call dword [0x4898a0]
xor eax, eax
jmp 0x4211fb
push 0x11c
push 0
lea eax, [ebp - 0x130]
push eax
call fcn.00421fe0
add esp, 0xc
mov dword [ebp - 0x130], 0x11c
lea ecx, [ebp - 0x130]
push ecx
call dword [ebp - 0xc]
test eax, eax
je 0x4210f0
mov edx, dword [ebp - 4]
push edx
call dword [0x4898a0]
xor eax, eax
jmp 0x4211fb
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x12c]
mov dword [eax + 0x308], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x128]
mov dword [edx + 0x30c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x124]
mov dword [ecx + 0x310], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x120]
mov dword [eax + 0x314], ecx
push 0x10
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov dword [ebp - 0x134], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x134]
mov dword [edx], eax
push 0x50
lea ecx, [ebp - 0x188]
push ecx
call dword [0x489d10]
test eax, eax
jne 0x4211ef
lea edx, [ebp - 0x188]
push edx
call dword [0x489cf4]
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0
je 0x4211ef
mov eax, dword [ebp - 0x18c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
mov ecx, dword [edx]
mov dword [eax + 0x228], ecx
mov dword [ebp - 0x190], 0x10
lea edx, [ebp - 0x190]
push edx
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x4211ef
mov dword [ebp - 0x194], 0x101
lea ecx, [ebp - 0x194]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x24
push edx
call dword [0x489c00]
cmp eax, 1
jne 0x4211ef
call dword [0x4899b8]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x300], eax
mov dword [ecx + 0x304], edx
mov eax, dword [ebp - 4]
jmp 0x4211fb
mov edx, dword [ebp - 4]
push edx
call dword [0x4898a0]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x427f20
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x487578]
jne 0x427f2a
repz ret
jmp fcn.0042c14f

Function at 0x42bd9c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x487578]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004267e6
and dword [ebp - 0x14], 0
cmp dword [0x48ab24], 0
mov dword [ebp - 0x18], eax
jne 0x42be4f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x42bef7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x438110
push ebx
call edi
test eax, eax
je 0x42bef7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x48ab24], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x48ab28], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x48ab2c], eax
call edi
push eax
call esi
mov dword [0x48ab34], eax
test eax, eax
je 0x42be4f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x48ab30], eax
mov eax, dword [0x48ab30]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x42bea8
cmp dword [0x48ab34], ecx
je 0x42bea8
push eax
call esi
push dword [0x48ab34]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x42bea8
test ebx, ebx
je 0x42bea8
call edi
test eax, eax
je 0x42be9f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42be9f
test byte [ebp - 8], 1
jne 0x42bea8
or dword [ebp + 0x10], 0x200000
jmp 0x42bedb
mov eax, dword [0x48ab28]
cmp eax, dword [ebp - 0x18]
je 0x42bedb
push eax
call esi
test eax, eax
je 0x42bedb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42bedb
mov eax, dword [0x48ab2c]
cmp eax, dword [ebp - 0x18]
je 0x42bedb
push eax
call esi
test eax, eax
je 0x42bedb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x48ab24]
call esi
test eax, eax
je 0x42bef7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x42bef9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427f20
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..pdata
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408f6c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x33304530
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..pdata_1
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e3d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x1cc86d42
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x10017ad0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x10017af2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10017af9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10017ae8
mov eax, 1
add ebx, ebx
jne 0x10017b0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10017b00
jne 0x10017b1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10017b00
xor ecx, ecx
sub eax, 3
jb 0x10017b30
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x10017ba2
mov ebp, eax
add ebx, ebx
jne 0x10017b3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10017b48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10017b6c
inc ecx
add ebx, ebx
jne 0x10017b58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10017b4d
jne 0x10017b69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10017b4d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10017b8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10017b7d
jmp 0x10017aee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10017b8c
add edi, ecx
jmp 0x10017aee
pop esi
mov edi, esi
mov ecx, 0xa6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10017baa
cmp byte [edi], 5
jne 0x10017baa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x10017baf
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x10017c1e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x171dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x172a8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10017bdc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x172b0]
or eax, eax
je 0x10017c18
mov dword [ebx], eax
add ebx, 4
jmp 0x10017bf9
call dword [esi + 0x172ac]
mov ebp, dword [esi + 0x172b4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x10017c52
sub esp, 0xffffff80
jmp 0x10004bf0
Function at 0x40e4a0
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x34
push edi
test ecx, ecx
je 0x40fad6
mov edi, dword [ecx + 0x1c]
mov dword [esp + 0x14], edi
test edi, edi
je 0x40fad6
cmp dword [ecx + 0xc], 0
je 0x40fad6
cmp dword [ecx], 0
jne 0x40e4d8
cmp dword [ecx + 4], 0
jne 0x40fad6
cmp dword [edi], 0xb
jne 0x40e4e3
mov dword [edi], 0xc
mov eax, dword [ecx + 0xc]
mov edx, dword [edi + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x10]
push ebx
mov ebx, dword [ecx]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
xor eax, eax
push ebp
mov ebp, dword [ecx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x38], ebp
push esi
mov esi, dword [edi + 0x3c]
cmp eax, 0x1e
ja 0x40ee55
lea ebx, [edi + 0x54]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x14]
jmp 0x40e530
jmp dword [eax*4 + 0x40fae0]
pop esi
pop ebp
pop ebx
mov eax, 0xfffffffe
pop edi
add esp, 0x34
ret
mov eax, 0xfffffffe
pop edi
add esp, 0x34
ret