joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100151f5
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
mov eax, dword [0x10074118]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x174], 0
push ebx
push esi
push edi
mov dword [ebp - 0x15c], eax
xor eax, eax
lea edi, [ebp - 0x170]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x174]
mov ebx, ecx
push eax
mov esi, edx
push ebx
mov dword [ebp - 0x160], esi
mov byte [ebp - 0x155], 0
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x100153f2
lea eax, [ebp - 0x1b4]
push eax
push 0x18
push dword [ebp - 0x164]
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0x118
xor edi, edi
lea eax, [ebp - 0x150]
push edi
push eax
call fcn.10046720
add esp, 0xc
lea eax, [ebp - 0x154]
push eax
mov dword [ebp - 0x154], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push ebx
call fcn.100086b7
cmp word [ebp - 0x1a2], 0x20
pop ecx
jne 0x10015344
cmp dword [ebp - 0x150], 5
je 0x10015344
push dword [ebp - 0x164]
call fcn.1000867f
mov edi, eax
pop ecx
mov esi, edi
call fcn.100085e8
mov ebx, eax
call fcn.100085c8
and dword [ebp - 0x184], 0
and dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x178], ebx
call fcn.10008608
lea ecx, [ebp - 0x19c]
push ecx
push eax
push 1
lea eax, [ebp - 0x184]
push eax
push dword [edi + 4]
call sub.gdiplus.dll_GdipBitmapLockBits
test eax, eax
je 0x1001530e
mov dword [edi + 8], eax
push 0x10
call sub.gdiplus.dll_GdipAlloc
test eax, eax
je 0x1001533a
push dword [ebp - 0x18c]
mov esi, eax
push dword [ebp - 0x194]
push dword [ebp - 0x198]
push dword [ebp - 0x19c]
call fcn.10008648
jmp 0x1001533c
xor eax, eax
mov esi, dword [ebp - 0x160]
jmp 0x1001534b
push ebx
call fcn.100086b7
pop ecx
mov ebx, eax
lea eax, [ebp - 0x34]
push eax
call fcn.10015167
test eax, eax
je 0x100153bd
cmp dword [esi + 0x18], 0x10
jb 0x10015365
mov esi, dword [esi + 4]
jmp 0x10015368
add esi, 4
mov eax, dword [ebp - 0x15c]
cmp dword [eax + 0x3c], 8
jb 0x10015379
mov eax, dword [eax + 0x28]
jmp 0x1001537c
add eax, 0x28
push esi
push eax
push str._ls_hs.png
lea ecx, [ebp - 0x24]
call fcn.10028d88
mov eax, dword [ebp - 0x20]
add esp, 0xc
cmp dword [ebp - 0xc], 8
jae 0x1001539a
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x34]
push ecx
push eax
mov esi, ebx
call fcn.100085a8
test eax, eax
jne 0x100153b1
mov byte [ebp - 0x155], 1
push 0
push 1
lea esi, [ebp - 0x24]
call fcn.10004e12
test ebx, ebx
je 0x100153c9
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
test edi, edi
je 0x100153d5
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
push dword [ebp - 0x164]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebp - 0x168]
call esi
movzx eax, byte [ebp - 0x155]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100408d9
leave
ret 4
Function at 0x100172af
Capabilities:
Create directory
Delete file

Disassembly:
push 0x20
mov eax, 0x10059ca2
call fcn.100425c1
mov eax, dword [ebp + 8]
lea edi, [eax + 8]
push 7
mov dword [eax], vtable.CDeviceMgr.0
pop edx
xor esi, esi
xor ecx, ecx
mov dword [edi + 0x18], edx
mov dword [edi + 0x14], esi
mov word [edi + 4], cx
lea ecx, [eax + 0x24]
mov dword [ebp - 4], esi
mov dword [ecx + 0x18], edx
xor edx, edx
mov dword [ecx + 0x14], esi
mov dword [ebp - 0x10], ecx
mov word [ecx + 4], dx
add eax, 0x40
push eax
mov byte [ebp - 4], 1
call fcn.1001131c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.1002cdf8
push 0xffffffffffffffff
push edi
xor ebx, ebx
mov byte [ebp - 4], 3
call fcn.10004d65
push esi
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.10004e12
cmp dword [edi + 0x18], 8
jb 0x1001732e
mov edi, dword [edi + 4]
jmp 0x10017331
add edi, 4
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, str.cachedeviceico
lea ecx, [ebp - 0x2c]
call fcn.1002cd36
mov edi, dword [ebp - 0x10]
push 0xffffffffffffffff
push edi
xor ebx, ebx
mov byte [ebp - 4], 4
call fcn.10004d65
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.10004e12
cmp dword [edi + 0x18], 8
jb 0x1001736c
mov edi, dword [edi + 4]
jmp 0x1001736f
add edi, 4
push ebx
push edi
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [ebp + 8]
mov dword [eax + 4], ebx
call fcn.10042699
ret 4
Function at 0x10018d11
Capabilities:
Write file on windows

Disassembly:
push 0x54
mov eax, 0x10058a9e
call fcn.1004262a
mov ebx, ecx
cmp dword [ebx + 0x3c], 0
mov dword [ebp - 0x38], ebx
je 0x10018e26
cmp byte [ebx + 0x41], 0
je 0x10018e26
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x10018d49
xor al, al
jmp 0x10018e28
push 0
push 8
pop edi
lea esi, [ebp - 0x30]
call fcn.1001860a
and dword [ebp - 4], 0
lea eax, [ebx + 0x44]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
call fcn.10034b0e
mov esi, eax
call fcn.10019067
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x30]
call fcn.10034b0e
mov esi, eax
call fcn.10019067
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
lea esi, [ebp - 0x34]
push esi
mov esi, dword [ebp - 0x40]
add edi, esi
push edi
push eax
push dword [ebp - 0x3c]
call dword [edx + 0x18]
sub eax, 0
je 0x10018dbe
dec eax
je 0x10018dc2
dec eax
dec eax
je 0x10018e22
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.10004d1a
mov al, bl
jmp 0x10018e28
mov byte [ebx + 0x41], 0
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x30]
call fcn.10034b0e
mov esi, eax
call fcn.10019067
mov edi, dword [ebp - 0x34]
sub edi, eax
je 0x10018e00
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x30]
call fcn.10034b0e
mov esi, eax
call fcn.10019067
push dword [ebx + 0x4c]
push edi
push 1
push eax
call fcn.10041b09
add esp, 0x10
cmp edi, eax
jne 0x10018dac
cmp byte [ebx + 0x41], 0
je 0x10018e22
test edi, edi
jne 0x10018d60
push edi
push 8
pop ebx
lea edi, [ebp - 0x30]
call fcn.1001864d
mov ebx, dword [ebp - 0x38]
jmp 0x10018d60
mov bl, 1
jmp 0x10018dae
mov al, 1
call fcn.100426ad
ret
Function at 0x1001ad31
Capabilities:
Check if file exists
Get session user name

Disassembly:
push 0x334
mov eax, 0x100593df
call fcn.1004262a
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x31c], ax
lea eax, [ebp - 0x31a]
push eax
mov esi, ecx
call fcn.10046720
add esp, 0xc
lea eax, [ebp - 0x31c]
push eax
mov ebx, str.polocker.exe
xor ecx, ecx
call fcn.10027248
lea eax, [ebp - 0x31c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001ad8c
push 3
pop eax
jmp 0x1001ae74
push edi
push esi
lea eax, [ebp - 0x31c]
push eax
push str.__s___s__s
lea ecx, [ebp - 0x338]
call fcn.10028d88
xor esi, esi
xor eax, eax
mov dword [ebp - 4], esi
push 0xfe
mov word [ebp - 0x114], ax
lea eax, [ebp - 0x112]
push esi
push eax
call fcn.10046720
add esp, 0x1c
lea eax, [ebp - 0x340]
push eax
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x340], 0x80
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x1001adfc
push esi
push 1
lea esi, [ebp - 0x338]
call fcn.10004e12
xor eax, eax
jmp 0x1001ae74
call fcn.1002bc98
test eax, eax
mov eax, dword [ebp - 0x334]
jne 0x1001ae25
cmp dword [ebp - 0x320], 8
jae 0x1001ae1a
lea eax, [ebp - 0x334]
push eax
xor eax, eax
inc eax
call fcn.10027e26
jmp 0x1001ae3a
cmp dword [ebp - 0x320], 8
jae 0x1001ae34
lea eax, [ebp - 0x334]
push eax
call fcn.100280dd
mov dword [ebp - 0x33c], eax
cmp eax, esi
je 0x1001ae4e
cmp eax, 0xffffffff
je 0x1001ae4e
xor ebx, ebx
inc ebx
jmp 0x1001ae50
xor ebx, ebx
lea eax, [ebp - 0x33c]
call fcn.100011b0
push esi
push 1
lea esi, [ebp - 0x338]
call fcn.10004e12
xor eax, eax
test bl, bl
setne al
dec eax
and eax, 4
call fcn.100426ad
ret
Function at 0x1001b7c4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10074118]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.__lastRtLock
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, str.Softwareprojonepodlp_smpcache_
lea esi, [ebp - 0x20]
call fcn.10028f39
xor esi, esi
pop ecx
pop ecx
cmp dword [ebp - 0xc], esi
je 0x1001b80c
push esi
push esi
push esi
push 0x1001b824
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push 1
lea esi, [ebp - 0x20]
call fcn.10004e12
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100408d9
leave
ret
Function at 0x1001f3f2
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor bl, bl
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xc]
xor edi, edi
push eax
push 0x1f6
push edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
call sub.NETAPI32.dll_NetShareEnum
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x1001f436
cmp eax, 0xea
jne 0x1001f499
mov esi, dword [ebp - 0xc]
xor eax, eax
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 8], eax
jb 0x1001f484
cmp dword [esi + 4], edi
jne 0x1001f463
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x1001f463
cmp dword [ebp + 8], edi
je 0x1001f463
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1001f473
add esi, 0x28
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jbe 0x1001f444
jmp 0x1001f484
push edi
push dword [esi]
push edi
call sub.NETAPI32.dll_NetShareDel
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
push dword [ebp - 0xc]
call sub.NETAPI32.dll_NetApiBufferFree
cmp dword [ebp - 0x18], 0xea
je 0x1001f3fd
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x100203aa
Capabilities:
Enumerate processes on remote desktop session host

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x10074118]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x10077bb8
call fcn.1001c89a
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
xor esi, esi
push 1
push esi
push esi
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x218], esi
call sub.WTSAPI32.dll_WTSEnumerateProcessesW
test eax, eax
je 0x1002050f
mov dword [ebp - 0x214], esi
cmp dword [ebp - 0x218], esi
jbe 0x10020504
mov dword [ebp - 0x210], esi
mov edi, 0xfe
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x210]
lea esi, [ecx + eax]
lea ebx, [esi + 4]
mov eax, dword [ebx]
test eax, eax
je 0x100204d0
cmp eax, 4
je 0x100204d0
xor eax, eax
push edi
push eax
mov word [ebp - 0x108], ax
lea eax, [ebp - 0x106]
push eax
call fcn.10046720
xor eax, eax
push edi
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
mov ebx, 0x80
push eax
mov dword [ebp - 0x220], ebx
call fcn.10046720
add esp, 0x18
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x108]
push eax
mov dword [ebp - 0x21c], ebx
push dword [esi + 0xc]
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
test eax, eax
je 0x100204e5
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x210]
lea ebx, [ecx + eax + 4]
push 0x10077bb8
call fcn.1001c784
lea ecx, [ebp - 0x108]
push ecx
jmp 0x100204df
push 0x10077bb8
call fcn.1001c784
push str.system
push eax
call fcn.10004deb
inc dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
add dword [ebp - 0x210], 0x10
cmp eax, dword [ebp - 0x218]
jb 0x10020414
push dword [ebp - 0x20c]
call sub.WTSAPI32.dll_WTSFreeMemory
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100408d9
leave
ret
Function at 0x10022b17
Capabilities:
Check os version

Disassembly:
push 0x198
mov eax, 0x1005cf4b
call fcn.1004262a
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, edx
mov dword [ebp - 0x170], ebx
mov esi, ecx
mov dword [ebp - 0x168], edi
cmp dword [eax + 0x14], ebx
jne 0x10022b88
push ebx
push ebx
lea eax, [ebp - 0x1a4]
call fcn.10031e83
push 3
pop eax
lea ecx, [ebp - 0x1a4]
push ecx
push str.param_error
push eax
push edi
mov dword [ebp - 4], eax
call fcn.1002b926
add esp, 0x10
lea esi, [ebp - 0x1a4]
mov dword [ebp - 0x170], 1
mov byte [ebp - 4], bl
call fcn.10031144
mov eax, edi
jmp 0x10022d4f
push eax
lea ecx, [ebp - 0x4c]
call fcn.10001206
pop ecx
push esi
lea edi, [ebp - 0x188]
mov dword [ebp - 4], 4
call fcn.10024009
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x178]
sub eax, dword [ebp - 0x17c]
mov edi, 0xfc
cdq
mov ecx, edi
idiv ecx
mov dword [ebp - 0x16c], ebx
test eax, eax
je 0x10022c29
push dword [ebp - 0x16c]
lea esi, [ebp - 0x188]
call fcn.100247c5
lea ecx, [ebp - 0x4c]
mov esi, eax
call fcn.100136cd
test al, al
jne 0x10022c19
mov eax, dword [ebp - 0x178]
sub eax, dword [ebp - 0x17c]
mov ecx, edi
cdq
idiv ecx
inc dword [ebp - 0x16c]
cmp dword [ebp - 0x16c], eax
jne 0x10022bd9
jmp 0x10022c29
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
lea eax, [esi + 0x38]
push ecx
xor ebx, ebx
call fcn.10004d65
mov eax, dword [ebp - 0x178]
sub eax, dword [ebp - 0x17c]
cdq
idiv edi
cmp dword [ebp - 0x16c], eax
jne 0x10022c5e
push ebx
push ebx
lea eax, [ebp - 0x1a4]
call fcn.10031e83
push eax
push str.id_not_find
mov byte [ebp - 4], 9
push 4
jmp 0x10022cf8
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x10022c6a
lea eax, [ebp - 0x2c]
push eax
push str.test_delete_task:_ls
call fcn.1003b928
cmp dword [ebp - 0x18], 8
mov esi, dword [ebp - 0x2c]
pop ecx
pop ecx
jae 0x10022c83
lea esi, [ebp - 0x2c]
push 0x110
lea eax, [ebp - 0x160]
push ebx
push eax
mov dword [ebp - 0x164], 0x114
call fcn.10046720
add esp, 0xc
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x160], 6
push esi
jb 0x10022cc0
call fcn.1002264c
jmp 0x10022cc5
call fcn.100229f5
push ebx
cmp eax, ebx
push ebx
lea eax, [ebp - 0x1a4]
je 0x10022ce2
call fcn.10031e83
push eax
mov byte [ebp - 4], 0xc
push str.delete_task_success
jmp 0x10022cf7
call fcn.10031e83
lea eax, [ebp - 0x1a4]
push eax
mov byte [ebp - 4], 0xf
push str.delete_task_failed
push ebx
push dword [ebp - 0x168]
call fcn.1002b926
xor edi, edi
inc edi
add esp, 0x10
lea esi, [ebp - 0x1a4]
mov dword [ebp - 0x170], edi
mov byte [ebp - 4], 6
call fcn.10031144
push ebx
push edi
lea esi, [ebp - 0x30]
call fcn.10004e12
lea esi, [ebp - 0x188]
call fcn.10024af0
push dword [ebp - 0x188]
call fcn.10040dca
pop ecx
push ebx
push edi
lea esi, [ebp - 0x4c]
call fcn.10004e12
mov eax, dword [ebp - 0x168]
call fcn.100426ad
ret 4
Function at 0x10022e15
Capabilities:
Query environment variable

Disassembly:
push ebp
sub esp, 0x41c
lea ebp, [esp - 4]
mov eax, dword [0x10074118]
xor eax, ebp
mov dword [ebp + 0x41c], eax
push 4
mov eax, 0x10059b42
call fcn.100425c1
and dword [ebp - 0x10], 0
lea eax, [ebp]
push eax
mov edx, str.Command
call fcn.10022d57
and dword [ebp - 4], 0
xor eax, eax
push 0x3fe
push eax
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push eax
call fcn.10046720
mov eax, dword [ebp + 4]
add esp, 0xc
cmp dword [ebp + 0x18], 8
jae 0x10022e73
lea eax, [ebp + 4]
push 0x200
lea ecx, [ebp + 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp + 0x1c]
push eax
mov esi, ebx
call fcn.100048dd
push 0
push 1
lea esi, [ebp]
call fcn.10004e12
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x41c]
xor ecx, ebp
call fcn.100408d9
add ebp, 0x420
leave
ret

Function at 0x10022ebf
Capabilities:
Query environment variable

Disassembly:
push ebp
sub esp, 0x454
lea ebp, [esp - 4]
mov eax, dword [0x10074118]
xor eax, ebp
mov dword [ebp + 0x454], eax
push 4
mov eax, 0x10059b12
call fcn.100425c1
lea eax, [ebp + 0x1c]
xor edi, edi
push eax
mov edx, str.ClassId
mov dword [ebp - 0x10], edi
call fcn.10022d57
mov dword [ebp - 4], edi
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x10022f05
lea eax, [ebp + 0x20]
push eax
push str.CLSID_lsInprocServer32
lea ecx, [ebp + 0x38]
call fcn.10028d88
pop ecx
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp + 0x50], 8
mov ecx, dword [ebp + 0x3c]
jae 0x10022f25
lea ecx, [ebp + 0x3c]
push 0x10062e9c
push bind
lea esi, [ebp]
call fcn.10028f39
xor eax, eax
mov byte [ebp - 4], 2
push 0x3fe
mov word [ebp + 0x54], ax
lea eax, [ebp + 0x56]
push edi
push eax
call fcn.10046720
mov eax, dword [ebp + 4]
add esp, 0x14
cmp dword [ebp + 0x18], 8
jae 0x10022f5f
lea eax, [ebp + 4]
push 0x200
lea ecx, [ebp + 0x54]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp + 0x54]
push eax
mov esi, ebx
call fcn.100048dd
push edi
push 1
lea esi, [ebp]
call fcn.10004e12
push edi
push 1
lea esi, [ebp + 0x38]
call fcn.10004e12
push edi
push 1
lea esi, [ebp + 0x1c]
call fcn.10004e12
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x454]
xor ecx, ebp
call fcn.100408d9
add ebp, 0x458
leave
ret

Function at 0x10023959
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
call fcn.1002391c
cmp dword [eax + 0x18], 8
jb 0x10023976
mov eax, dword [eax + 4]
jmp 0x10023979
add eax, 4
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
push 0
push 1
lea esi, [ebp - 0x1c]
mov edi, ecx
call fcn.10004e12
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0x100239a0
Capabilities:
Delete file
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
mov eax, dword [0x10074118]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebx + 0x18], 8
push esi
mov esi, ecx
lea eax, [ebx + 4]
push edi
mov dword [ebp - 0x2c8], esi
mov dword [ebp - 0x2c4], eax
jb 0x100239ce
mov eax, dword [eax]
push eax
push str.pe_file:_ls
call fcn.1003b928
cmp dword [esi + 0x18], 8
pop ecx
pop ecx
jb 0x100239e8
add esi, 4
mov edi, dword [esi]
jmp 0x100239ed
add esi, 4
mov edi, esi
call fcn.10026adc
mov edi, dword [ebp - 0x2c8]
cmp dword [edi + 0x18], 8
jb 0x10023a00
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
push 0x2b0
lea eax, [ebp - 0x2bc]
push esi
push eax
mov dword [ebp - 0x2c0], esi
call fcn.10046720
mov eax, dword [ebp - 0x2c4]
add esp, 0xc
cmp dword [ebx + 0x18], 8
jb 0x10023a32
mov eax, dword [eax]
push 0x100
push 0x2b4
lea ecx, [ebp - 0x2c0]
push ecx
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [ebp - 0x2c0]
cmp ecx, esi
jne 0x10023a59
xor eax, eax
jmp 0x10023a6f
mov edx, edi
call fcn.10026316
push dword [ebp - 0x2c0]
call dword [sym.imp.USER32.dll_DestroyIcon]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100408d9
leave
ret
Function at 0x10024009
Capabilities:
Check os version

Disassembly:
push 0x140
mov eax, 0x1005bb3b
call fcn.1004262a
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x130], ebx
call fcn.1001131c
push 0x110
xor esi, esi
lea eax, [ebp - 0x124]
mov dword [ebp - 4], ebx
push ebx
inc esi
push eax
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x128], 0x114
call fcn.10046720
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x124], 6
jb 0x10024089
lea ecx, [ebp - 0x14c]
call fcn.1002330e
mov dword [ebp - 4], esi
jmp 0x1002409c
lea eax, [ebp - 0x14c]
push eax
call fcn.10022fc2
mov dword [ebp - 4], 2
mov esi, eax
mov eax, edi
call fcn.100246bd
lea esi, [ebp - 0x14c]
mov byte [ebp - 4], bl
call fcn.10024af0
push dword [ebp - 0x14c]
call fcn.10040dca
pop ecx
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.10023a7d
mov eax, edi
call fcn.100426ad
ret 4
Function at 0x10026316
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x10074118]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x158], 0
and dword [ebp - 0x13c], 0
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x154]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x158]
mov ebx, ecx
push eax
mov esi, edx
push ebx
mov dword [ebp - 0x144], esi
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x10026512
lea eax, [ebp - 0x1a8]
push eax
push 0x18
push dword [ebp - 0x148]
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0x118
xor edi, edi
lea eax, [ebp - 0x134]
push edi
push eax
call fcn.10046720
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
mov dword [ebp - 0x138], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
push eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x140]
push eax
mov dword [ebp - 0x178], 1
call sub.gdiplus.dll_GdiplusStartup
push ebx
call fcn.100086b7
cmp word [ebp - 0x196], 0x20
pop ecx
jne 0x10026494
cmp dword [ebp - 0x134], 5
je 0x10026494
push dword [ebp - 0x148]
call fcn.1000867f
mov edi, eax
pop ecx
mov esi, edi
call fcn.100085e8
mov ebx, eax
call fcn.100085c8
and dword [ebp - 0x168], 0
and dword [ebp - 0x164], 0
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], ebx
call fcn.10008608
lea ecx, [ebp - 0x190]
push ecx
push eax
push 1
lea eax, [ebp - 0x168]
push eax
push dword [edi + 4]
call sub.gdiplus.dll_GdipBitmapLockBits
test eax, eax
je 0x1002645e
mov dword [edi + 8], eax
push 0x10
call sub.gdiplus.dll_GdipAlloc
test eax, eax
je 0x1002648a
push dword [ebp - 0x180]
mov esi, eax
push dword [ebp - 0x188]
push dword [ebp - 0x18c]
push dword [ebp - 0x190]
call fcn.10008648
jmp 0x1002648c
xor eax, eax
mov esi, dword [ebp - 0x144]
jmp 0x1002649b
push ebx
call fcn.100086b7
pop ecx
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
call fcn.1002628a
pop ecx
test eax, eax
je 0x100264d3
cmp dword [esi + 0x18], 8
jb 0x100264b6
mov esi, dword [esi + 4]
jmp 0x100264b9
add esi, 4
lea eax, [ebp - 0x14]
push eax
push esi
mov esi, ebx
call fcn.100085a8
test eax, eax
jne 0x100264d3
mov dword [ebp - 0x13c], 1
test ebx, ebx
je 0x100264df
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
test edi, edi
je 0x100264eb
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
push dword [ebp - 0x148]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebp - 0x14c]
call esi
push dword [ebp - 0x140]
call sub.gdiplus.dll_GdiplusShutdown
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100408d9
leave
ret