joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f510
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x66c
mov eax, dword [0x491870]
xor eax, esp
mov dword [esp + 0x668], eax
push ebp
push esi
mov esi, dword [esp + 0x678]
push edi
test esi, esi
je 0x40f76e
xor eax, eax
cmp ax, word [esi]
je 0x40f76e
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x26a]
push edx
xor edi, edi
mov word [esp + 0x26c], cx
call fcn.00451570
add esp, 0xc
push 0x250
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00451570
add esp, 0xc
push esi
lea ecx, [esp + 0x264]
push 0x104
push ecx
call fcn.0044e23f
lea eax, [esp + 0x26c]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40f596
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x25e], 0x5c
je 0x40f5ca
push 0x47a654
lea edx, [esp + 0x264]
push 0x104
push edx
call fcn.0044e2ae
add esp, 0xc
push 0x47a678
lea eax, [esp + 0x264]
push 0x104
push eax
call fcn.0044e2ae
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x264]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40f61b
mov eax, 1
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x668]
xor ecx, esp
call fcn.0044dee5
add esp, 0x66c
ret
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, 0x478e04
lea eax, [esp + 0x3c]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f656
test dx, dx
je 0x40f652
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f656
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f630
xor eax, eax
jmp 0x40f65b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40f73d
mov ecx, 0x47a67c
lea eax, [esp + 0x3c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f696
test dx, dx
je 0x40f692
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f696
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f670
xor eax, eax
jmp 0x40f69b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40f73d
test byte [esp + 0x10], 0x10
je 0x40f73c
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x472]
push ecx
mov word [esp + 0x474], ax
call fcn.00451570
add esp, 0xc
lea edx, [esp + 0x260]
push edx
lea eax, [esp + 0x46c]
push 0x104
push eax
call fcn.0044e23f
lea eax, [esp + 0x474]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40f6f5
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.0044e2ae
lea ecx, [esp + 0x474]
add esp, 0xc
push ecx
call fcn.0040f510
add esp, 4
add edi, eax
jmp 0x40f73d
inc edi
lea edx, [esp + 0x10]
push edx
push esi
call ebp
test eax, eax
jne 0x40f621
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x668]
xor ecx, esp
call fcn.0044dee5
add esp, 0x66c
ret
mov ecx, dword [esp + 0x674]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0044dee5
add esp, 0x66c
ret
Function at 0x40f790
Capabilities:
Delete internet cache
Enumerate internet cache
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x491870]
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.00421255
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 0x40f84d
push ebp
mov ebp, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test dword [esi + 0xc], 0x100000
jne 0x40f808
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.00421260
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00421255
add esp, 8
mov esi, eax
lea eax, [esp + 0xc]
push eax
push esi
push edi
call ebp
test eax, eax
jne 0x40f7f5
pop ebp
test esi, esi
je 0x40f85a
push esi
call fcn.00421260
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 0x40f893
lea edx, [esp + 4]
push edx
call fcn.0040f0f0
add esp, 4
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0044dee5
add esp, 0x210
ret
mov ecx, dword [esp + 0x20c]
xor ecx, esp
xor eax, eax
call fcn.0044dee5
add esp, 0x210
ret

Function at 0x40f8b0
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 0x40f8e0
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 0x40f8da
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 0x40f920
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x491870]
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.00451570
add esp, 0xc
lea edx, [esp]
push edx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x40f99a
lea eax, [esp + 4]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x40f98f
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.0044e2ae
lea ecx, [esp + 0x14]
push ecx
call fcn.0040f0f0
mov ecx, dword [esp + 0x220]
add esp, 0x10
xor ecx, esp
call fcn.0044dee5
add esp, 0x214
ret

Function at 0x4106c0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x491870]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x114
lea eax, [esp + 4]
push 0
push eax
call fcn.00451570
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.0044dee5
add esp, 0x118
ret
Function at 0x4107f0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x644
mov eax, dword [0x491870]
xor eax, esp
mov dword [esp + 0x640], eax
mov eax, dword [esp + 0x650]
push ebp
mov ebp, dword [esp + 0x64c]
push edi
xor edi, edi
mov dword [esp + 8], eax
cmp esi, edi
je 0x410972
xor ecx, ecx
cmp cx, word [esi]
je 0x410972
cmp ebx, edi
je 0x410972
xor edx, edx
cmp dx, word [ebx]
je 0x410972
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.00438982
test eax, eax
je 0x410972
push 0x206
lea edx, [esp + 0x446]
xor ecx, ecx
push edi
push edx
mov word [esp + 0x44c], cx
call fcn.00451570
add esp, 0xc
lea eax, [esp + 0x440]
push eax
push edi
push edi
push 0x19
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
call edi
test eax, eax
jl 0x410972
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x242]
push edx
mov word [esp + 0x244], cx
call fcn.00451570
add esp, 0xc
lea eax, [esp + 0x238]
push eax
push 0
push 0
push 5
push 0
call edi
lea ecx, [esp + 0x238]
push 0x5c
push ecx
call fcn.0044e3ec
lea edx, [esp + 0x448]
push 0x5c
push edx
mov edi, eax
call fcn.0044e3ec
add esp, 0x10
test edi, edi
je 0x410937
test eax, eax
je 0x410937
push ebx
push eax
lea edx, [esp + 0x240]
push edx
push str._s_s_s.lnk
mov eax, edx
xor ecx, ecx
push 0x104
push eax
mov word [edi], cx
call fcn.0044e418
add esp, 0x18
lea ecx, [esp + 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
lea edx, [esp + 0x444]
push edx
push str._s_s.lnk
mov eax, edx
push 0x104
push eax
call fcn.0044e418
mov ecx, dword [esp + 0x668]
mov edx, dword [esp + 0x1c]
add esp, 0x14
push ecx
push ebp
lea edi, [esp + 0x448]
mov ecx, esi
call fcn.00410d30
jmp 0x410974
xor eax, eax
mov ecx, dword [esp + 0x648]
pop edi
pop ebp
xor ecx, esp
call fcn.0044dee5
add esp, 0x644
ret 0xc

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

Disassembly:
sub esp, 0x20c
mov eax, dword [0x491870]
xor eax, esp
mov dword [esp + 0x208], eax
xor eax, eax
cmp ax, word [esi]
je 0x410a1b
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xa]
push edx
mov word [esp + 0xc], cx
call fcn.00451570
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 0x410a1b
push esi
lea ecx, [esp + 4]
push ecx
push str._s_s.lnk
mov edx, ecx
push 0x104
push edx
call fcn.0044e418
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.0044dee5
add esp, 0x20c
ret
mov ecx, dword [esp + 0x208]
xor ecx, esp
xor eax, eax
call fcn.0044dee5
add esp, 0x20c
ret
Function at 0x410a40
Capabilities:
Create process on windows
Delete file
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x491870]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
mov esi, ecx
xor eax, eax
cmp ax, word [esi]
je 0x410b03
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xe]
push edx
mov word [esp + 0x10], cx
call fcn.00451570
add esp, 0xc
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x410b03
push esi
lea ecx, [esp + 8]
push ecx
push str._sMicrosoftInternet_ExplorerQuick_Launch_s.lnk
mov edx, ecx
push 0x104
push edx
call fcn.0044e418
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esp, 0x14
push 5
push 0
push 0
lea eax, [esp + 0x10]
push eax
push str.TaskbarUnpin
push 0
call esi
push 5
push 0
push 0
lea ecx, [esp + 0x10]
push ecx
push str.StartUnpin
push 0
call esi
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
neg eax
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0044dee5
add esp, 0x20c
ret
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0044dee5
add esp, 0x20c
ret

Function at 0x410b20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x438
mov eax, dword [0x491870]
xor eax, esp
mov dword [esp + 0x434], eax
push ebp
xor ebp, ebp
push edi
mov edi, ecx
cmp esi, ebp
je 0x410c41
xor eax, eax
cmp ax, word [esi]
je 0x410c41
cmp edi, ebp
je 0x410c41
xor ecx, ecx
cmp cx, word [edi]
je 0x410c41
lea edx, [esp + 8]
push edx
push esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
call fcn.00438982
test eax, eax
je 0x410c41
push 0x206
lea ecx, [esp + 0x23a]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x240], ax
call fcn.00451570
add esp, 0xc
lea edx, [esp + 0x234]
push edx
push ebp
push ebp
push 0x17
push ebp
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x410c41
xor eax, eax
cmp eax, 0x478800
je 0x410bfa
push 0x478800
lea ecx, [esp + 0x238]
push ecx
push str._s_s
mov edx, ecx
push 0x104
push edx
call fcn.0044e418
lea eax, [esp + 0x248]
push eax
call fcn.0044ed15
add esp, 0x18
push edi
lea ecx, [esp + 0x238]
push ecx
push str._s_s.lnk
mov edx, ecx
push 0x104
push edx
call fcn.0044e418
add esp, 0x14
push ebp
push ebx
xor edx, edx
lea edi, [esp + 0x23c]
mov ecx, esi
call fcn.00410d30
pop edi
pop ebp
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.0044dee5
add esp, 0x438
ret
mov ecx, dword [esp + 0x43c]
pop edi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0044dee5
add esp, 0x438
ret
Function at 0x410c60
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x491870]
xor eax, esp
mov dword [esp + 0x20c], eax
xor eax, eax
cmp ax, word [esi]
jne 0x410c92
xor eax, eax
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0044dee5
add esp, 0x214
ret
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xa]
push edx
mov word [esp + 0xc], cx
call fcn.00451570
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 0x410c7b
xor ecx, ecx
cmp ecx, 0x478800
je 0x410ceb
push 0x478800
lea edx, [esp + 4]
push edx
push str._s_s
mov eax, edx
push 0x104
push eax
call fcn.0044e418
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.0044e418
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.0044dee5
add esp, 0x214
ret

Function at 0x410d30
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x214
mov eax, dword [0x491870]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
mov ebp, dword [esp + 0x220]
push esi
mov esi, ecx
mov ebx, edx
test edi, edi
jne 0x410d5d
xor eax, eax
jmp 0x410e39
lea eax, [esp + 0xc]
push eax
push 0x473428
push 1
push 0
push 0x473418
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x410d56
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push esi
push eax
call edx
mov edx, dword [esp + 0x228]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push edx
push esi
push eax
mov eax, dword [ecx + 0x44]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x476af4
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x410d56
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push ebp
push eax
call edx
test ebx, ebx
je 0x410dd9
cmp word [ebx], 0
je 0x410dd9
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push ebx
push eax
call edx
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1e]
push ecx
mov word [esp + 0x20], ax
call fcn.00451570
push 0
lea ebx, [esp + 0x24]
call fcn.0040f3d0
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
add esp, 0x10
mov ecx, ebx
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 2
push edi
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
mov ecx, dword [esp + 0x21c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044dee5
add esp, 0x214
ret 8
Function at 0x411a60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x46beb8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x491870]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
cmp esi, ebp
je 0x411b03
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 0x411bf9
mov dword [esp + 0x18], ebp
push 0x4790e8
push edi
push esi
mov dword [esp + 0x50], ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, ebp
jne 0x411b19
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x411b03
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 0x411b55
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x411b3f
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.00411a20
add esp, 4
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, ebp
je 0x411b27
push 0xff00ff
push esi
call fcn.00411c20
add esp, 8
mov dword [esp + 0x1c], eax
cmp eax, ebp
jne 0x411bd7
mov ecx, dword [esi + 4]
push 0xffff00ff
lea eax, [esp + 0x20]
push eax
push ecx
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
cmp eax, ebp
je 0x411bd7
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 0x411bf9
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 0x412d50
Capabilities:
Change the wallpaper

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0042a3b1
push 0
push 0x20000
push 0xc00080
mov ecx, esi
call fcn.0042b2a6
push 0
push 0
push 0x101
mov ecx, esi
call fcn.0042b2d2
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 + 0x3a0], 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 + 0x3b0], edi
pop edi
mov dword [esi + 0x3a8], ebp
mov dword [esi + 0x3ac], eax
mov dword [esi + 0x3b4], ebx
mov dword [esi + 0x3a4], ecx
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret
Function at 0x415ce0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x74
mov eax, dword [0x491870]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415d01
sub eax, edx
sar eax, 1
mov ebx, eax
xor eax, eax
lea ebp, [ebx + 1]
push ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.00421226
add esp, 4
push 0
push 0
push ebp
mov esi, eax
push esi
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
mov eax, ebx
lea ecx, [esp + 0x18]
call fcn.00415ea0
lea ecx, [esp + 0x14]
call fcn.00415f40
push esi
call fcn.00421260
mov edi, dword [esp + 0x14]
add esp, 4
lea ebx, [esp + 0x6c]
call fcn.00415c70
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044dee5
add esp, 0x74
ret

Function at 0x415da0
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
sub esp, 0x474
mov eax, dword [0x491870]
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.00451570
push 0x47b6c0
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.0044f776
mov eax, dword [esp + 0x1c]
add esp, 0x18
test eax, eax
je 0x415e87
push eax
push 0x400
lea edx, [esp + 0x7c]
push 1
push edx
call fcn.00450aad
add esp, 0x10
test eax, eax
je 0x415e50
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0xc]
call fcn.00415ea0
mov edx, dword [esp + 4]
push edx
push 0x400
lea eax, [esp + 0x7c]
push 1
push eax
call fcn.00450aad
add esp, 0x10
test eax, eax
jne 0x415e25
push ebx
lea ecx, [esp + 0xc]
call fcn.00415f40
mov ecx, dword [esp + 8]
push ecx
call fcn.0044fa24
add esp, 4
lea ebx, [esp + 0x64]
call fcn.00415c70
pop ebx
pop edi
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.0044dee5
add esp, 0x474
ret
mov ecx, dword [esp + 0x474]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0044dee5
add esp, 0x474
ret
Function at 0x417570
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push ebp
push esi
mov ebx, ecx
call fcn.00412d50
push str.Hr_g
mov esi, ebx
mov dword [ebx + 0x80], 0x1e
mov dword [ebx + 0x90], 4
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x8c], 0
call fcn.00412bc0
push 0
push 0
push 0
push ecx
mov ecx, dword [0x496cd4]
push 0x84
call fcn.00411a60
add esp, 8
push 1
push 0
push ecx
mov ecx, dword [0x496cd4]
push 0x83
mov esi, eax
call fcn.00411a60
add esp, 8
push eax
mov ecx, esi
call fcn.00412e60
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.00426c32
push eax
mov ecx, ebx
call fcn.0042655a
mov eax, dword [ebx + 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 [0x496cd4]
push 0x99
call fcn.00411a60
mov ecx, dword [0x496cd4]
add esp, 4
push 0x98
mov ebp, eax
call fcn.00411a60
add esp, 4
lea esi, [ebx + 0x3d8]
mov ecx, ebp
call fcn.00414a60
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push ebx
push 0x4177a0
push 0
push 0
call esi
push 0
push 0
push ebx
push 0x417740
push 0
push 0
mov dword [ebx + 0xa64], eax
call esi
mov dword [ebx + 0xa68], eax
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret