joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418cf0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x648
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x644], eax
mov eax, dword [esp + 0x64c]
push ebp
xor ebp, ebp
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
cmp esi, ebp
je 0x418d53
xor edx, edx
cmp dx, word [esi]
je 0x418d53
cmp ebx, ebp
je 0x418d53
xor eax, eax
cmp ax, word [ebx]
je 0x418d53
lea ecx, [esp + 0xc]
push ecx
push esi
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
mov dword [esp + 0x28], ebp
call fcn.0044f446
test eax, eax
jne 0x418d6d
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x644]
xor ecx, esp
call fcn.004597c7
add esp, 0x648
ret 4
push edi
push 0x206
lea eax, [esp + 0x44a]
xor edx, edx
push ebp
push eax
mov word [esp + 0x450], dx
call fcn.0045db90
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
add esp, 0xc
lea ecx, [esp + 0x444]
push ecx
push ebp
push ebp
push 0x19
push ebp
call edi
test eax, eax
jl 0x418e74
push 0x206
lea eax, [esp + 0x242]
xor edx, edx
push ebp
push eax
mov word [esp + 0x248], dx
call fcn.0045db90
add esp, 0xc
lea ecx, [esp + 0x23c]
push ecx
push ebp
push ebp
push 5
push ebp
call edi
lea edx, [esp + 0x23c]
push 0x5c
push edx
call fcn.00459ccc
mov edi, eax
lea eax, [esp + 0x44c]
push 0x5c
push eax
call fcn.00459ccc
add esp, 0x10
cmp edi, ebp
je 0x418e37
cmp eax, ebp
je 0x418e37
push ebx
push eax
lea edx, [esp + 0x244]
push edx
push str._s_s_s.lnk
mov eax, edx
xor ecx, ecx
push 0x104
push eax
mov word [edi], cx
call fcn.00459cf8
add esp, 0x18
lea ecx, [esp + 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
lea edx, [esp + 0x448]
push edx
push str._s_s.lnk
mov eax, edx
push 0x104
push eax
call fcn.00459cf8
mov ecx, dword [esp + 0x20]
add esp, 0x14
push 0x485768
push ecx
lea edx, [esp + 0x44c]
push edx
mov edx, dword [esp + 0x14]
mov ecx, esi
call fcn.004193d0
jmp 0x418e76
xor eax, eax
mov ecx, dword [esp + 0x64c]
pop edi
pop ebp
xor ecx, esp
call fcn.004597c7
add esp, 0x648
ret 4

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

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x208], eax
xor eax, eax
cmp ax, word [esi]
je 0x418f1b
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xa]
push edx
mov word [esp + 0xc], cx
call fcn.0045db90
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 0x418f1b
push esi
lea ecx, [esp + 4]
push ecx
push str._s_s.lnk
mov edx, ecx
push 0x104
push edx
call fcn.00459cf8
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.004597c7
add esp, 0x20c
ret
mov ecx, dword [esp + 0x208]
xor ecx, esp
xor eax, eax
call fcn.004597c7
add esp, 0x20c
ret
Function at 0x418f40
Capabilities:
Check os version
Create process on windows
Get common file path

Disassembly:
sub esp, 0x54c
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x548], eax
push ebp
mov ebp, dword [esp + 0x554]
push esi
mov esi, edx
xor eax, eax
push edi
mov edi, ecx
cmp esi, eax
je 0x4190a6
xor ecx, ecx
cmp cx, word [esi]
je 0x4190a6
cmp edi, eax
je 0x4190a6
xor edx, edx
cmp dx, word [edi]
je 0x4190a6
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], eax
lea eax, [esp + 0x120]
push eax
push esi
call fcn.0044f446
test eax, eax
je 0x4190a6
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x356]
push edx
mov word [esp + 0x358], cx
call fcn.0045db90
add esp, 0xc
lea eax, [esp + 0x34c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x4190a6
push edi
lea ecx, [esp + 0x350]
push ecx
push str._sMicrosoftInternet_ExplorerQuick_Launch_s.lnk
mov edx, ecx
push 0x104
push edx
call fcn.00459cf8
add esp, 0x14
push 0
push ebx
lea eax, [esp + 0x354]
push eax
mov edx, ebp
mov ecx, esi
call fcn.004193d0
push 0x110
lea ecx, [esp + 0x14]
push 0
push ecx
mov esi, eax
mov dword [esp + 0x18], 0x114
call fcn.0045db90
add esp, 0xc
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test esi, esi
je 0x4190a2
cmp dword [esp + 0x10], 6
jb 0x4190a2
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 5
push 0
push 0
lea eax, [esp + 0x358]
push eax
push str.TaskbarPin
push 0
call edi
push 5
push 0
push 0
lea ecx, [esp + 0x358]
push ecx
push str.StartPin
push 0
call edi
mov eax, esi
jmp 0x4190a8
xor eax, eax
mov ecx, dword [esp + 0x554]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004597c7
add esp, 0x54c
ret 4

Function at 0x4190d0
Capabilities:
Create process on windows
Delete file
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
mov esi, ecx
xor eax, eax
cmp ax, word [esi]
je 0x419193
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xe]
push edx
mov word [esp + 0x10], cx
call fcn.0045db90
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 0x419193
push esi
lea ecx, [esp + 8]
push ecx
push str._sMicrosoftInternet_ExplorerQuick_Launch_s.lnk
mov edx, ecx
push 0x104
push edx
call fcn.00459cf8
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.004597c7
add esp, 0x20c
ret
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
xor eax, eax
call fcn.004597c7
add esp, 0x20c
ret
Function at 0x4191b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x438
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x434], eax
xor eax, eax
push ebp
mov ebp, dword [esp + 0x440]
cmp esi, eax
je 0x4192e0
xor ecx, ecx
cmp cx, word [esi]
je 0x4192e0
cmp edi, eax
je 0x4192e0
xor edx, edx
cmp dx, word [edi]
je 0x4192e0
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 4]
push eax
push esi
call fcn.0044f446
test eax, eax
je 0x4192e0
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x23a]
push edx
mov word [esp + 0x23c], cx
call fcn.0045db90
add esp, 0xc
lea eax, [esp + 0x230]
push eax
push 0
push 0
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x4192e0
xor ecx, ecx
cmp ecx, 0x485798
je 0x419296
push 0x485798
lea edx, [esp + 0x234]
push edx
push 0x487a08
mov eax, edx
push 0x104
push eax
call fcn.00459cf8
lea ecx, [esp + 0x244]
push ecx
call fcn.0045a5f5
add esp, 0x18
push edi
lea edx, [esp + 0x234]
push edx
push str._s_s.lnk
mov eax, edx
push 0x104
push eax
call fcn.00459cf8
add esp, 0x14
push 0
push ebx
lea ecx, [esp + 0x238]
push ecx
mov edx, ebp
mov ecx, esi
call fcn.004193d0
pop ebp
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.004597c7
add esp, 0x438
ret 4
mov ecx, dword [esp + 0x438]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.004597c7
add esp, 0x438
ret 4

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

Disassembly:
sub esp, 0x214
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x20c], eax
xor eax, eax
cmp ax, word [esi]
jne 0x419332
xor eax, eax
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004597c7
add esp, 0x214
ret
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xa]
push edx
mov word [esp + 0xc], cx
call fcn.0045db90
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 0x41931b
xor ecx, ecx
cmp ecx, 0x485798
je 0x41938b
push 0x485798
lea edx, [esp + 4]
push edx
push 0x487a08
mov eax, edx
push 0x104
push eax
call fcn.00459cf8
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.00459cf8
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.004597c7
add esp, 0x214
ret
Function at 0x4193d0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x218
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [esp + 0x220]
push ebx
mov ebx, dword [esp + 0x228]
push ebp
mov ebp, dword [esp + 0x224]
push esi
push edi
mov esi, ecx
mov dword [esp + 0x18], eax
mov edi, edx
test ebp, ebp
jne 0x419410
xor eax, eax
jmp 0x4194f0
lea ecx, [esp + 0x10]
push ecx
push 0x483664
push 1
push 0
push 0x483694
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x419409
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x50]
call eax
test edi, edi
jne 0x419440
mov edi, esi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push 0
push edi
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x4836d4
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x419409
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
test ebx, ebx
je 0x419490
cmp word [ebx], 0
je 0x419490
mov eax, dword [esp + 0x10]
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 + 0x26]
push ecx
mov word [esp + 0x28], ax
call fcn.0045db90
push 0
lea ebx, [esp + 0x2c]
call fcn.004177f0
mov eax, dword [esp + 0x20]
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 + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 2
push ebp
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004597c7
add esp, 0x218
ret 0xc
Function at 0x41a130
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x479db8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a05d0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
cmp esi, ebp
je 0x41a1d3
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 0x41a2c9
mov dword [esp + 0x18], ebp
push 0x485cf4
push edi
push esi
mov dword [esp + 0x50], ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, ebp
jne 0x41a1e9
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x41a1d3
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 0x41a225
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x41a20f
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.0041a0f0
add esp, 4
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, ebp
je 0x41a1f7
push 0xff00ff
push esi
call fcn.0041a2f0
add esp, 8
mov dword [esp + 0x1c], eax
cmp eax, ebp
jne 0x41a2a7
mov ecx, dword [esi + 4]
push 0xffff00ff
lea eax, [esp + 0x20]
push eax
push ecx
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
cmp eax, ebp
je 0x41a2a7
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 0x41a2c9
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 0x41a6b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
push ebx
push edi
mov edi, dword [esp + 0x18]
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
test ebx, ebx
jne 0x41a6fc
call fcn.0043df48
test eax, eax
je 0x41a6de
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x41a6e0
xor eax, eax
mov ecx, dword [eax + 0x20]
push 0
push edi
push 0x487c68
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
xor eax, eax
pop ebx
add esp, 0xc
ret 4
push 0xe
push 0x80
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x41a71f
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
xor eax, eax
pop ebx
add esp, 0xc
ret 4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41a70e
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x41a74b
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 0xc
ret 4
movzx edx, word [esi + 4]
dec edx
shl edx, 5
add edx, 0x438
push ebp
push edx
call fcn.0045c744
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x41a792
push eax
push edi
push 0x487ca8
call fcn.00412e20
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebp
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 0xc
ret 4
movzx ecx, word [esi + 4]
push edi
lea edx, [ebp + 0x20c]
push 0x104
push edx
mov dword [ebp + 0x414], ecx
call fcn.00459b1f
push 0x485fe4
lea eax, [ebp + 4]
push 0x104
push eax
call fcn.00459b1f
add esp, 0x18
cmp dword [ebp + 0x414], 0
mov dword [esp + 0x14], 0
jbe 0x41a876
add esi, 0x12
lea edi, [ebp + 0x424]
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x10]
movzx edx, word [ecx]
push 3
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41a8a4
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x18], eax
test eax, eax
je 0x41a8a4
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
mov dword [edi + 4], eax
call fcn.0045c744
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [edi], eax
mov eax, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [edi]
push eax
push edx
call fcn.0045f9a0
lea eax, [edi - 0xc]
add esp, 0xc
test eax, eax
je 0x41a889
lea esi, [edi - 0xc]
call fcn.0041a650
test eax, eax
je 0x41a889
mov eax, dword [esp + 0x14]
add dword [esp + 0x10], 0xe
inc eax
add edi, 0x20
mov dword [esp + 0x14], eax
cmp eax, dword [ebp + 0x414]
jb 0x41a7e6
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebp
pop ebp
pop esi
pop edi
pop ebx
add esp, 0xc
ret 4
mov ecx, dword [esp + 0x20]
push 0
push ecx
push 0x487cb8
call fcn.00412e20
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebp
call fcn.0045bc37
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebp
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 0xc
ret 4
Function at 0x41a8c0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0xc]
push eax
push 2
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + 0x18], 0
call edi
test eax, eax
jne 0x41a8f0
xor eax, eax
pop edi
add esp, 8
ret 4
cmp dword [esp + 8], 2
jne 0x41a8e7
push 0
lea edx, [esp + 0xc]
push edx
push 2
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], 1
call edi
test eax, eax
je 0x41a8e7
cmp dword [esp + 8], 2
jne 0x41a8e7
movzx ecx, word [esp + 0x10]
push 0
lea edx, [esp + 0xc]
push edx
push 2
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], ecx
call edi
test eax, eax
je 0x41a8e7
xor eax, eax
cmp dword [esp + 8], 2
pop edi
sete al
add esp, 8
ret 4
Function at 0x41a9b0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
mov edi, eax
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [esp + 0x14], ebx
cmp ebx, 0xffffffff
jne 0x41aa15
call fcn.0043df48
test eax, eax
je 0x41a9f5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x41a9f7
xor eax, eax
mov ecx, dword [eax + 0x20]
push 0
push edi
push 0x487cd4
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
mov edx, dword [ebp + 0x414]
push edx
mov esi, ebx
call fcn.0041a8c0
test eax, eax
jne 0x41aa62
call fcn.0043df48
test eax, eax
je 0x41aa3b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x41aa3d
xor eax, eax
mov ecx, dword [eax + 0x20]
push 0
push edi
push 0x487ce8
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
xor esi, esi
cmp dword [ebp + 0x414], esi
jbe 0x41aafc
lea edi, [ebp + 0x42c]
mov al, byte [edi - 0x10]
mov dl, byte [edi - 0x14]
mov byte [esp + 0x19], al
mov eax, dword [edi]
mov byte [esp + 0x18], dl
mov byte [esp + 0x1b], 0
mov dx, word [eax + 0xc]
mov word [esp + 0x1c], dx
mov ax, word [eax + 0xe]
movzx ecx, ax
movzx edx, dx
imul ecx, edx
cmp ecx, 8
mov word [esp + 0x1e], ax
jl 0x41aab2
mov byte [esp + 0x1a], 0
jmp 0x41aaba
mov al, 1
shl al, cl
mov byte [esp + 0x1a], al
mov ecx, dword [edi - 4]
push esi
push ebp
mov dword [esp + 0x28], ecx
call fcn.0041a950
push 0
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x2c], eax
push 0x10
lea eax, [esp + 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41ab5b
cmp dword [esp + 0x2c], 0x10
jne 0x41ab5b
inc esi
add edi, 0x20
cmp esi, dword [ebp + 0x414]
jb 0x41aa76
xor ebx, ebx
cmp dword [ebp + 0x414], ebx
jbe 0x41ab50
lea edi, [ebp + 0x42c]
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
push 0
mov dword [eax + 0x14], 0
mov edx, dword [edi - 4]
mov eax, dword [edi - 8]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41ab5b
mov edx, dword [esp + 0x2c]
cmp edx, dword [edi - 4]
jne 0x41ab5b
mov eax, dword [edi]
inc ebx
mov dword [eax + 0x14], esi
add edi, 0x20
cmp ebx, dword [ebp + 0x414]
jb 0x41ab0c
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret 4
Function at 0x41b9e0
Capabilities:
Change the wallpaper

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0043c31d
push 0
push 0x20000
push 0xc00080
mov ecx, esi
call fcn.0043fac7
push 0
push 0
push 0x101
mov ecx, esi
call fcn.0043faf3
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 0x41e8f0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x74
mov eax, dword [0x4a05d0]
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 0x41e911
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.00439ab6
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.0041eab0
lea ecx, [esp + 0x14]
call fcn.0041eb50
push esi
call fcn.00439ae5
mov edi, dword [esp + 0x14]
add esp, 4
lea ebx, [esp + 0x6c]
call fcn.0041e880
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004597c7
add esp, 0x74
ret

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

Disassembly:
sub esp, 0x474
mov eax, dword [0x4a05d0]
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.0045db90
push 0x488630
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.0045b056
mov eax, dword [esp + 0x1c]
add esp, 0x18
test eax, eax
je 0x41ea97
push eax
push 0x400
lea edx, [esp + 0x7c]
push 1
push edx
call fcn.0045ccc9
add esp, 0x10
test eax, eax
je 0x41ea60
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0xc]
call fcn.0041eab0
mov edx, dword [esp + 4]
push edx
push 0x400
lea eax, [esp + 0x7c]
push 1
push eax
call fcn.0045ccc9
add esp, 0x10
test eax, eax
jne 0x41ea35
push ebx
lea ecx, [esp + 0xc]
call fcn.0041eb50
mov ecx, dword [esp + 8]
push ecx
call fcn.0045b304
add esp, 4
lea ebx, [esp + 0x64]
call fcn.0041e880
pop ebx
pop edi
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.004597c7
add esp, 0x474
ret
mov ecx, dword [esp + 0x474]
pop edi
xor ecx, esp
xor eax, eax
call fcn.004597c7
add esp, 0x474
ret