joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4072b0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x14
push ebp
push esi
push edi
xor edi, edi
cmp dword [ebx + 0x183c], edi
mov dword [esp + 0xc], edi
jle 0x407381
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
jl 0x40738a
cmp edi, dword [ebx + 0x183c]
jge 0x40738a
mov eax, dword [ebx + 0x1838]
mov esi, dword [eax + edi*4]
cmp dword [esp + 0x24], esi
je 0x4072f8
push 0
push esi
call ebp
jmp 0x407370
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub ecx, 4
push 0
add edi, 0x1e
add edx, 4
sub eax, 4
mov dword [esp + 0x20], ecx
sub ecx, edi
push ecx
mov dword [esp + 0x20], eax
sub eax, edx
push eax
push edi
push edx
push esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edi
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push esi
call ebp
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebx + 0x182c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40736c
mov ecx, dword [ebx + 0x182c]
push 0
push ecx
call ebp
mov edi, dword [esp + 0xc]
inc edi
cmp edi, dword [ebx + 0x183c]
mov dword [esp + 0xc], edi
jl 0x4072ce
pop edi
pop esi
pop ebp
add esp, 0x14
ret 4
call fcn.00418702
int3

Function at 0x4074b0
Capabilities:
Hide graphical window
Terminate process

Disassembly:
sub esp, 0x3c0
mov eax, dword [0x47c944]
xor eax, esp
mov dword [esp + 0x3bc], eax
mov eax, dword [ebx + 0x1830]
push ebp
push esi
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebx + 0x1830]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x481148]
push edx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
xor edi, edi
cmp dword [ebx + 0x183c], edi
jle 0x407547
mov ebp, dword [sym.imp.USER32.dll_SetParent]
test edi, edi
jl 0x4075cd
cmp edi, dword [ebx + 0x183c]
jge 0x4075cd
mov eax, dword [ebx + 0x1838]
mov esi, dword [eax + edi*4]
push 0
push esi
call ebp
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0xf060
push 0x112
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
inc edi
cmp edi, dword [ebx + 0x183c]
jl 0x407500
push 0x3b8
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.00447b40
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x260]
push 0x46a4fc
lea ecx, [esp + 0x34]
push 0x80
push ecx
mov dword [esp + 0x34], 0x401
mov dword [esp + 0x24], 0x3bc
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 7
mov dword [esp + 0x38], eax
call fcn.004454a7
add esp, 0x18
lea edx, [esp + 0xc]
push edx
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [esp + 0x3c8]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00445369
add esp, 0x3c0
ret
call fcn.00418702
int3

Function at 0x407cb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.00421ae7
Function at 0x4096e0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x66c
mov eax, dword [0x47c944]
xor eax, esp
mov dword [esp + 0x668], eax
push ebp
push esi
mov esi, dword [esp + 0x678]
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x26a]
push ecx
xor edi, edi
mov word [esp + 0x26c], ax
call fcn.00447b40
add esp, 0xc
push 0x250
lea edx, [esp + 0x14]
push edi
push edx
call fcn.00447b40
add esp, 0xc
push esi
lea eax, [esp + 0x264]
push 0x104
push eax
call fcn.004454a7
lea eax, [esp + 0x26c]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409753
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x25e], 0x5c
je 0x409787
push 0x46b8e4
lea ecx, [esp + 0x264]
push 0x104
push ecx
call fcn.00445516
add esp, 0xc
push 0x46b8e8
lea edx, [esp + 0x264]
push 0x104
push edx
call fcn.00445516
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x264]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4097d8
mov eax, 1
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x668]
xor ecx, esp
call fcn.00445369
add esp, 0x66c
ret
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, edi
mov ecx, 0x46aaf4
lea eax, [esp + 0x3c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x409816
test dx, dx
je 0x409812
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x409816
add eax, 4
add ecx, 4
test dx, dx
jne 0x4097f0
xor eax, eax
jmp 0x40981b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4098fd
mov ecx, 0x46b8ec
lea eax, [esp + 0x3c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x409856
test dx, dx
je 0x409852
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x409856
add eax, 4
add ecx, 4
test dx, dx
jne 0x409830
xor eax, eax
jmp 0x40985b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4098fd
test byte [esp + 0x10], 0x10
je 0x4098fc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x472]
push eax
mov word [esp + 0x474], dx
call fcn.00447b40
add esp, 0xc
lea ecx, [esp + 0x260]
push ecx
lea edx, [esp + 0x46c]
push 0x104
push edx
call fcn.004454a7
lea eax, [esp + 0x474]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4098b5
sub eax, edx
sar eax, 1
lea edx, [esp + 0x3c]
xor ecx, ecx
push edx
mov word [esp + eax*2 + 0x46a], cx
lea eax, [esp + 0x46c]
push 0x104
push eax
call fcn.00445516
lea ecx, [esp + 0x474]
add esp, 0xc
push ecx
call fcn.004096e0
add esp, 4
add edi, eax
jmp 0x4098fd
inc edi
lea edx, [esp + 0x10]
push edx
push esi
call ebp
test eax, eax
jne 0x4097e0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x674]
mov eax, edi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00445369
add esp, 0x66c
ret
Function at 0x409930
Capabilities:
Delete internet cache
Enumerate internet cache
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x47c944]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
mov edi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
lea eax, [esp + 8]
push eax
push 0
push 0
mov dword [esp + 0x14], 0
call edi
mov eax, dword [esp + 8]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00418469
add esp, 4
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
push 0
call edi
mov edi, eax
test edi, edi
je 0x4099ed
push ebp
mov ebp, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test dword [esi + 0xc], 0x100000
jne 0x4099a8
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea edx, [esp + 0xc]
push edx
push 0
push edi
mov dword [esp + 0x18], 0
call ebp
push esi
call fcn.0041845e
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00418469
add esp, 8
mov esi, eax
lea eax, [esp + 0xc]
push eax
push esi
push edi
call ebp
test eax, eax
jne 0x409995
pop ebp
test esi, esi
je 0x4099fa
push esi
call fcn.0041845e
add esp, 4
push 0
push 0x20
lea ecx, [esp + 0x14]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
pop edi
pop esi
test eax, eax
je 0x409a33
lea edx, [esp + 4]
push edx
call fcn.00409360
add esp, 4
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00445369
add esp, 0x210
ret
mov ecx, dword [esp + 0x20c]
xor ecx, esp
xor eax, eax
call fcn.00445369
add esp, 0x210
ret

Function at 0x409a50
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings5.0CacheContent
push reloc.DSOUND.dll_DirectSoundCreate
mov dword [esp + 0x18], 0x100000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x409a80
xor eax, eax
add esp, 8
ret
mov edx, dword [esp]
push 4
lea ecx, [esp + 8]
push ecx
push 4
push 0
push str.CacheLimit
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x409a7a
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg eax
sbb eax, eax
inc eax
add esp, 8
ret
Function at 0x409ac0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x47c944]
xor eax, esp
mov dword [esp + 0x210], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.00447b40
add esp, 0xc
lea edx, [esp]
push edx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x409b3a
lea eax, [esp + 4]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x409b2f
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [esp]
mov edx, dword [esp + 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push str.MacromediaFlash_PlayerSharedObjects
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.00445516
lea ecx, [esp + 0x14]
push ecx
call fcn.00409360
mov ecx, dword [esp + 0x220]
add esp, 0x10
xor ecx, esp
call fcn.00445369
add esp, 0x214
ret

Function at 0x40aaf0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x47c944]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x114
lea eax, [esp + 4]
push 0
push eax
call fcn.00447b40
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
mov ecx, dword [esp + 0x114]
sbb eax, eax
xor ecx, esp
inc eax
call fcn.00445369
add esp, 0x118
ret
Function at 0x40ac00
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x644
mov eax, dword [0x47c944]
xor eax, esp
mov dword [esp + 0x640], eax
mov eax, dword [esp + 0x650]
push ebx
push ebp
mov ebp, dword [esp + 0x650]
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, edx
mov dword [esp + 0x10], eax
cmp esi, ebx
je 0x40ad87
xor ecx, ecx
cmp cx, word [esi]
je 0x40ad87
cmp ebp, ebx
je 0x40ad87
xor edx, edx
cmp dx, word [ebp]
je 0x40ad87
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0042fcdc
test eax, eax
je 0x40ad87
push 0x206
lea edx, [esp + 0x44e]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x454], cx
call fcn.00447b40
add esp, 0xc
lea eax, [esp + 0x448]
push eax
push ebx
push ebx
push 0x19
push ebx
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
call ebx
test eax, eax
jl 0x40ad87
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x24a]
push edx
mov word [esp + 0x24c], cx
call fcn.00447b40
add esp, 0xc
lea eax, [esp + 0x240]
push eax
push 0
push 0
push 5
push 0
call ebx
lea ecx, [esp + 0x240]
push 0x5c
push ecx
call fcn.00445593
lea edx, [esp + 0x450]
push 0x5c
push edx
mov ebx, eax
call fcn.00445593
add esp, 0x10
test ebx, ebx
je 0x40ad4e
test eax, eax
je 0x40ad4e
push ebp
push eax
lea edx, [esp + 0x248]
push edx
push str._s_s_s.lnk
mov eax, edx
xor ecx, ecx
push 0x104
push eax
mov word [ebx], cx
call fcn.0044575a
add esp, 0x18
lea ecx, [esp + 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebp
lea edx, [esp + 0x44c]
push edx
push str._s_s.lnk
mov eax, edx
push 0x104
push eax
call fcn.0044575a
mov ecx, dword [esp + 0x670]
add esp, 0x14
push ecx
push edi
mov edi, dword [esp + 0x18]
lea ebx, [esp + 0x450]
call fcn.0040b070
jmp 0x40ad89
xor eax, eax
mov ecx, dword [esp + 0x650]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00445369
add esp, 0x644
ret 0xc

Function at 0x40adb0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x47c944]
xor eax, esp
mov dword [esp + 0x208], eax
xor eax, eax
cmp ax, word [esi]
je 0x40ae3b
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xa]
push edx
mov word [esp + 0xc], cx
call fcn.00447b40
add esp, 0xc
lea eax, [esp]
push eax
push 0
push 0
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x40ae3b
push esi
lea ecx, [esp + 4]
push ecx
push str._s_s.lnk
mov edx, ecx
push 0x104
push edx
call fcn.0044575a
add esp, 0x14
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00445369
add esp, 0x20c
ret
mov ecx, dword [esp + 0x208]
xor ecx, esp
xor eax, eax
call fcn.00445369
add esp, 0x20c
ret
Function at 0x40ae60
Capabilities:
Get common file path

Disassembly:
sub esp, 0x438
mov eax, dword [0x47c944]
xor eax, esp
mov dword [esp + 0x434], eax
push ebx
mov ebx, dword [esp + 0x440]
push ebp
push esi
mov esi, edx
xor ebp, ebp
push edi
mov edi, ecx
cmp esi, ebp
je 0x40af75
xor eax, eax
cmp ax, word [esi]
je 0x40af75
cmp edi, ebp
je 0x40af75
xor ecx, ecx
cmp cx, word [edi]
je 0x40af75
lea edx, [esp + 0x10]
push edx
push esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.0042fcdc
test eax, eax
je 0x40af75
push 0x206
lea ecx, [esp + 0x242]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x248], ax
call fcn.00447b40
add esp, 0xc
lea edx, [esp + 0x23c]
push edx
push ebp
push ebp
push 0x17
push ebp
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x40af75
xor eax, eax
cmp eax, 0x46a818
je 0x40af45
push 0x46a818
lea ecx, [esp + 0x240]
push ecx
push str._s_s
mov edx, ecx
push 0x104
push edx
call fcn.0044575a
lea eax, [esp + 0x250]
push eax
call fcn.00445f19
add esp, 0x18
push edi
lea ecx, [esp + 0x240]
push ecx
push str._s_s.lnk
mov edx, ecx
push 0x104
push edx
call fcn.0044575a
add esp, 0x14
push ebp
push ebx
xor edi, edi
lea ebx, [esp + 0x244]
call fcn.0040b070
jmp 0x40af77
xor eax, eax
mov ecx, dword [esp + 0x444]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00445369
add esp, 0x438
ret 4

Function at 0x40afa0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x47c944]
xor eax, esp
mov dword [esp + 0x20c], eax
xor eax, eax
cmp ax, word [esi]
jne 0x40afd2
xor eax, eax
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00445369
add esp, 0x214
ret
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xa]
push edx
mov word [esp + 0xc], cx
call fcn.00447b40
add esp, 0xc
lea eax, [esp]
push eax
push 0
push 0
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x40afbb
xor ecx, ecx
cmp ecx, 0x46a818
je 0x40b02b
push 0x46a818
lea edx, [esp + 4]
push edx
push str._s_s
mov eax, edx
push 0x104
push eax
call fcn.0044575a
add esp, 0x14
push esi
lea ecx, [esp + 4]
push ecx
push str._s_s.lnk
mov edx, ecx
push 0x104
push edx
call fcn.0044575a
add esp, 0x14
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x20c]
neg eax
sbb eax, eax
xor ecx, esp
neg eax
call fcn.00445369
add esp, 0x214
ret
Function at 0x40b070
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 8
test ebx, ebx
jne 0x40b07f
xor eax, eax
add esp, 8
ret 8
lea eax, [esp]
push eax
push 0x465cf4
push 1
push 0
push 0x465ce4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40b077
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push esi
push eax
call edx
mov edx, dword [esp + 0x10]
mov eax, dword [esp]
mov ecx, dword [eax]
push edx
push esi
push eax
mov eax, dword [ecx + 0x44]
call eax
mov eax, dword [esp]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push 0x468a34
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x40b077
mov eax, dword [esp]
mov edx, dword [esp + 0xc]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
test edi, edi
je 0x40b0f6
cmp word [edi], 0
je 0x40b0f6
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push edi
push eax
call edx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 2
push ebx
push eax
call edx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
add esp, 8
ret 8
Function at 0x40bf10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x45e738
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47c944]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
cmp esi, ebp
je 0x40bfb3
movzx edi, word [esp + 0x4c]
push ebp
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
call sub.gdiplus.dll_GdiplusStartup
push edi
push esi
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov dword [esp + 0x1c], eax
cmp eax, ebp
jne 0x40c0a9
mov dword [esp + 0x18], ebp
push 0x46acf0
push edi
push esi
mov dword [esp + 0x50], ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, ebp
jne 0x40bfc9
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x40bfb3
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebp
jne 0x40c005
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x40bfef
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
lea eax, [esp + 0x18]
push eax
push 1
push ebp
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov esi, dword [ecx]
mov ebx, ecx
lea ecx, [esp + 0x20]
push ecx
push eax
push edi
add esi, 0x10
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [esi]
push eax
push ebx
call edx
mov eax, dword [esp + 0x18]
push eax
call fcn.0040bd30
add esp, 4
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, ebp
je 0x40bfd7
push 0xff00ff
push esi
call fcn.0040c0e0
add esp, 8
mov dword [esp + 0x1c], eax
cmp eax, ebp
jne 0x40c087
mov ecx, dword [esi + 4]
push 0xffff00ff
lea eax, [esp + 0x20]
push eax
push ecx
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
cmp eax, ebp
je 0x40c087
mov dword [esi + 8], eax
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x40c0a9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x24]
push eax
call sub.gdiplus.dll_GdiplusShutdown
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x40cff0
Capabilities:
Change the wallpaper

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00421553
push 0
push 0x20000
push 0xc00080
mov ecx, esi
call fcn.00422448
push 0
push 0
push 0x101
mov ecx, esi
call fcn.00422474
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, edi
sub eax, dword [esp + 0x10]
mov ecx, ebx
sub ecx, dword [esp + 0x14]
mov dword [esi + 0x224], eax
cdq
and edx, 7
add eax, edx
mov ebp, eax
mov eax, ecx
cdq
sar ebp, 3
and edx, 7
add eax, edx
sub edi, ebp
sar eax, 3
sub ebx, eax
mov dword [esi + 0x234], edi
pop edi
mov dword [esi + 0x22c], ebp
mov dword [esi + 0x230], eax
mov dword [esi + 0x238], ebx
mov dword [esi + 0x228], ecx
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret
Function at 0x40ff50
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
sub esp, 0x474
mov eax, dword [0x47c944]
xor eax, esp
mov dword [esp + 0x470], eax
push edi
xor eax, eax
push 0x400
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x7c]
push eax
mov edi, ecx
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.00447b40
push 0x46c870
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.004461dc
mov eax, dword [esp + 0x1c]
add esp, 0x18
test eax, eax
je 0x410037
push eax
push 0x400
lea edx, [esp + 0x7c]
push 1
push edx
call fcn.0044716a
add esp, 0x10
test eax, eax
je 0x410000
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0xc]
call fcn.00410050
mov edx, dword [esp + 4]
push edx
push 0x400
lea eax, [esp + 0x7c]
push 1
push eax
call fcn.0044716a
add esp, 0x10
test eax, eax
jne 0x40ffd5
push ebx
lea ecx, [esp + 0xc]
call fcn.004100f0
mov ecx, dword [esp + 8]
push ecx
call fcn.0044648a
add esp, 4
lea ebx, [esp + 0x64]
call fcn.0040fed0
pop ebx
pop edi
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.00445369
add esp, 0x474
ret
mov ecx, dword [esp + 0x474]
pop edi
xor ecx, esp
xor eax, eax
call fcn.00445369
add esp, 0x474
ret

Function at 0x410db0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0040cff0
push str.Hr_g
mov esi, edi
mov dword [edi + 0x78], 0x1e
mov dword [edi + 0x88], 4
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
call fcn.0040ce60
push 0
push 0
push 0
push ecx
mov ecx, dword [0x48139c]
push 0x84
call fcn.0040bf10
mov ecx, dword [0x48139c]
add esp, 8
push eax
push 1
push 0
push 0x83
call fcn.0040bf10
add esp, 4
push eax
call fcn.0040d100
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0041ddd7
push eax
mov ecx, edi
call fcn.0041d6ff
mov eax, dword [edi + 0x20]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [0x48139c]
push 0x99
call fcn.0040bf10
mov ecx, dword [0x48139c]
add esp, 4
push 0x98
mov ebp, eax
call fcn.0040bf10
add esp, 4
lea esi, [edi + 0x260]
mov ecx, ebp
call fcn.0040ebc0
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push edi
push 0x410fd0
push 0
push 0
call esi
push 0
push 0
push edi
push 0x410f70
push 0
push 0
mov dword [edi + 0x8ec], eax
call esi
mov dword [edi + 0x8f0], eax
pop edi
mov eax, 1
pop esi
pop ebp
mov esp, ebp
pop ebp
ret
Function at 0x410ed0
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov esi, ecx
mov eax, dword [esi + 0x8f0]
push 0
push eax
call edi
mov ecx, dword [esi + 0x8ec]
push 0
push ecx
call edi
mov edx, dword [esi + 0x8ec]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esi + 0x8f0]
push eax
call edi
mov ecx, dword [esi + 0x8f4]
push ecx
call fcn.0044648a
mov eax, dword [esi + 0x904]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 4
test eax, eax
je 0x410f2a
push eax
call edi
mov eax, dword [esi + 0x900]
test eax, eax
je 0x410f37
push eax
call edi
mov eax, dword [esi + 0x8fc]
test eax, eax
je 0x410f44
push eax
call edi
pop edi
mov dword [esi + 0x904], 0
mov dword [esi + 0x900], 0
mov dword [esi + 0x8fc], 0
mov ecx, esi
pop esi
jmp fcn.00421232