joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010ad0
Capabilities:
Delete directory

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi]
cmp eax, dword [eax]
je 0x10010af5
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
lea esi, [eax + 4]
mov eax, dword [esi]
push dword [eax + 8]
call ebx
mov ecx, dword [edi]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x10010ae1
pop esi
pop ebx
mov ecx, edi
pop edi
jmp fcn.10010a40

Function at 0x10010d90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10168fe6
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x101d7c7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.10112750
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x814]
mov dword [ebp - 0x818], eax
call fcn.1000cdc0
mov ecx, eax
test ecx, ecx
je 0x10010eb3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x814], eax
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x814]
call fcn.1000e2c0
test al, al
jne 0x10010e3c
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x814]
call fcn.10012050
lea eax, [ebp - 0x818]
mov dword [ebp - 4], 1
push eax
push ecx
lea eax, [ebp - 0x814]
mov dword [ebp - 0x818], 0
mov ecx, esp
push eax
call fcn.10010760
call fcn.100123b0
mov edx, dword [ebp - 0x814]
add esp, 8
mov esi, eax
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x10010e92
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
test esi, esi
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100acb08
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000ae00
int3

Function at 0x10011330
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101d7c7c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1018685c]
mov dword [ebp - 0xc], eax
mov eax, dword [0x10186860]
mov dword [ebp - 8], eax
mov ax, word [ebp + 8]
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x10011399
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push 0
push 0
lea eax, [ebp - 0xc]
movlpd qword [ebp - 0x14], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x10011399
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100acb08
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
xor edx, edx
call fcn.100acb08
mov esp, ebp
pop ebp
ret
Function at 0x100113b0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.100acf60
mov eax, dword [0x101d7c7c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4004]
push edi
mov edi, dword [ebp + 0xc]
push 0x4000
push 0
push eax
call fcn.10112750
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x100114a6
test edi, edi
je 0x100114a6
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x100114a6
cmp eax, 0x3fff
ja 0x100114a6
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x100114a6
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x400c]
push eax
push 0x10184df4
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100114a6
mov esi, dword [ebp + 0x10]
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.10112750
mov ecx, dword [ebp - 0x400c]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
lea eax, [esi - 1]
push eax
push edi
call fcn.10012ac0
add esp, 0x28
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100acb08
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.100acb08
mov esp, ebp
pop ebp
ret

Function at 0x100114c0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x101d7c7c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x800
lea eax, [ebp - 0x80c]
push 0
push eax
call fcn.10112750
add esp, 0xc
lea eax, [ebp - 0x80c]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x80c]
cdq
mov edi, eax
mov ebx, edx
mov ax, word [ebp - 0x80c]
shld ebx, edi, 0x14
shl edi, 0x14
test ax, ax
je 0x100115b0
movzx ecx, ax
nop word [eax + eax]
mov eax, dword [0x1018685c]
mov dword [ebp - 0xc], eax
mov eax, dword [0x10186860]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 0xc], cx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x10011589
lea eax, [ebp - 0x814]
xorps xmm0, xmm0
push eax
push 0
push 0
lea eax, [ebp - 0xc]
movlpd qword [ebp - 0x814], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x10011589
cmp dword [ebp - 0x810], ebx
ja 0x100115c3
jb 0x10011589
cmp dword [ebp - 0x814], edi
ja 0x100115c3
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10011590
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2]
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
test ax, ax
jne 0x10011530
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100acb08
mov esp, ebp
pop ebp
ret
mov ax, word [esi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100acb08
mov esp, ebp
pop ebp
ret
Function at 0x10012b20
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101693b6
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x101d7c7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x820]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
call fcn.1002be00
push esi
push edi
push ebx
lea ecx, [ebp - 0x820]
mov dword [ebp - 4], 0
call fcn.1002c1d0
test eax, eax
jne 0x10012b82
xor esi, esi
jmp 0x10012c2b
call fcn.1000cdc0
mov ecx, eax
test ecx, ecx
je 0x10012cb1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x814], eax
push 0
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x820]
call fcn.1002c3d0
test eax, eax
je 0x10012c07
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.10112750
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x10186954
push dword [ebp - 0x814]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10012c56
push str.file_KB931125.exe_is_not_exit
call fcn.1004d370
add esp, 4
xor esi, esi
mov edi, dword [ebp - 0x814]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10012c2b
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x820]
call fcn.1002be20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100acb08
mov esp, ebp
pop ebp
ret 0xc
push 0x2710
push 0
push 1
push 0
push 0
push 0x101869ac
lea eax, [ebp - 0x810]
push eax
call fcn.1002ad60
mov esi, eax
test esi, esi
jne 0x10012c87
push str.run_KB931125.exe_error
call fcn.1004d370
add esp, 4
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10012c09
push 4
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x10012c09
push 0x80004005
call fcn.1000ae00
int3
Function at 0x10013f00
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x101d7c7c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_GetDC]
push 0x118
mov ebx, eax
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.10112750
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jb 0x10013f69
push esi
push 0x10013d50
push 0
push ebx
call dword [sym.imp.GDI32.dll_EnumFontFamiliesW]
jmp 0x10013f72
mov eax, 0x100
or word [esi + 0xc], ax
movzx ecx, word [esi + 0xc]
movzx eax, cx
test ecx, 0x100
je 0x10013f92
push 0x10186a2c
lea ecx, [esi + 8]
call fcn.10012050
movzx eax, word [esi + 0xc]
movzx ecx, ax
test al, 0x10
je 0x10013faa
push str.Tahoma
lea ecx, [esi + 8]
call fcn.10012050
movzx ecx, word [esi + 0xc]
test cl, 1
je 0x10013fbc
push 0x10186a10
lea ecx, [esi + 8]
call fcn.10012050
push ebx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [esi + 8]
movsd xmm0, qword [ebp + 8]
mulsd xmm0, qword [0x10186a40]
push 0x20
push 0
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x190
cvttsd2si eax, xmm0
push 0
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 4], eax
xor ecx, ebp
pop esi
pop ebx
call fcn.100acb08
mov esp, ebp
pop ebp
ret 8
Function at 0x10014b80
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016960b
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x101d7c7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x1c], 0
mov eax, dword [ebp + 8]
je 0x10014bc3
mov eax, 1
jmp 0x10014d7c
mov eax, dword [eax]
mov ecx, dword [eax - 0x10]
lea esi, [eax - 0x10]
mov dword [ebp - 0x424], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x10014bea
cmp ecx, dword [esi]
jne 0x10014bea
lock inc dword [eax]
jmp 0x10014c1d
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x10014d9a
mov eax, dword [edi]
mov dword [esi + 4], eax
mov eax, dword [edi]
inc eax
add eax, eax
push eax
push dword [ebp - 0x424]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.100155d0
add esp, 0x10
add esi, 0x10
mov dword [ebp - 0x424], esi
cmp dword [esi - 0xc], 0
mov dword [ebp - 4], 0
jne 0x10014cdf
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10112750
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10112750
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.1013e0fc
add esp, 0x18
lea eax, [ebp - 0x218]
push 0x10186acc
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10014cb7
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.1000d900
mov esi, dword [ebp - 0x424]
push esi
call fcn.100a6880
add esp, 4
test eax, eax
jne 0x10014cf0
xor edi, edi
jmp 0x10014d5b
mov dword [ebx + 0x1c], 1
cmp dword [ebx], 0
jne 0x10014d56
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx], eax
test eax, eax
je 0x10014d56
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call edi
push str.HttpUninit
push dword [ebx]
mov dword [ebx + 4], eax
call edi
push str.zlib_uncompress
push dword [ebx]
mov dword [ebx + 8], eax
call edi
push str.zlib_compress
push dword [ebx]
mov dword [ebx + 0x10], eax
call edi
push str.zlib_compressBound
push dword [ebx]
mov dword [ebx + 0x14], eax
call edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x10014d56
call eax
mov dword [ebx + 0xc], eax
mov edi, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10014d7a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100acb08
mov esp, ebp
pop ebp
ret 4
call fcn.1000b490
int3
Function at 0x10015b00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, word [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x10015b58
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x10015b58
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x10015b58
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x10015b61
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x10015b83
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push ebx
push eax
call fcn.10112ee0
add esp, 0xc
mov dword [ebp + 8], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
xor edi, edi
test eax, eax
je 0x10015bab
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp + 8]
push eax
push 0
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x10015bf0
mov ebx, dword [ebp + 8]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
test edi, edi
je 0x10015bee
lea eax, [ebp - 4]
mov dword [edi], vtable.Gdiplus::Bitmap.0
push eax
push ebx
mov dword [ebp - 4], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [edi + 8], eax
mov eax, dword [ebp - 4]
mov dword [edi + 4], eax
jmp 0x10015bf0
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x10015c04
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10015c10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x10015c3a
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 4], 0
push dword [ebp + 0xc]
movzx eax, word [ebp + 8]
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x10015d57
push ebx
push esi
push 0x10000000
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp + 8], ebx
test ebx, ebx
jne 0x10015c74
xor esi, esi
jmp 0x10015d56
push esi
push 0x10000000
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10015d56
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x10015cae
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
jmp 0x10015d56
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x10015cce
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
jmp 0x10015d56
push dword [ebp + 8]
push esi
push eax
call fcn.10112ee0
add esp, 0xc
mov dword [ebp + 0xc], 0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 0xc]
xor esi, esi
test eax, eax
je 0x10015cf8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp + 0xc]
push eax
push 0
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x10015d42
mov eax, dword [ebp + 0xc]
push 0x10
mov dword [ebp - 4], eax
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x10015d40
lea eax, [ebp + 8]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
push dword [ebp - 4]
mov dword [ebp + 8], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
jmp 0x10015d42
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10015d56
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop ebx
mov dword [edi + 4], esi
test esi, esi
jne 0x10015d68
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x10015d82
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [edi + 4]
mov dword [edi + 8], eax
lea eax, [ebp + 0xc]
push eax
mov dword [ebp + 0xc], 0
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x10015da5
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov dword [edi + 0xc], eax
call fcn.10015a90
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10016500
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x101d7c7c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x800
lea eax, [ebp - 0x804]
mov ebx, ecx
push 0
push eax
call fcn.10112750
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push str.Q360ComputerZSetupMutext
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x808], esi
test esi, esi
je 0x1001663d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1001660c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push str.ComputerZSetupMainWnd
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
je 0x100165f9
push str.ComputerZSetupDesktopTips
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
movzx eax, ax
test ax, ax
je 0x100165cc
push eax
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
push 0
push 0
push 0x8c88
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1001663d
push esi
call dword [sym.imp.USER32.dll_IsIconic]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x100165e2
push 9
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x100165f2
push 5
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100acb08
mov esp, ebp
pop ebp
ret
lea edi, [ebx + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 8]
lea ecx, [ebx + 4]
cmp dword [ecx + 8], eax
je 0x10016629
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x10016636
lea edx, [ebp - 0x808]
push edx
push eax
call fcn.10015ff0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100acb08
mov esp, ebp
pop ebp
ret
Function at 0x100166e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a3c
call fcn.100acf60
mov eax, dword [0x101d7c7c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push 0
push 2
mov dword [ebp - 0x1a34], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100168f9
push edi
push 0x228
lea eax, [ebp - 0x1a2c]
push 0
push eax
call fcn.10112750
add esp, 0xc
mov dword [ebp - 0x1a30], 0x22c
lea eax, [ebp - 0x1a30]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100168f5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x1a3c], eax
cmp eax, dword [ebp - 0x1a28]
je 0x100168da
push dword [ebp - 0x1a34]
lea eax, [ebp - 0x1a0c]
push eax
call fcn.1013da92
add esp, 8
test eax, eax
jne 0x100168da
push 0x800
push eax
lea eax, [ebp - 0x1804]
push eax
call fcn.10112750
add esp, 0xc
push dword [ebp - 0x1a28]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x10016896
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.10112750
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x1001688b
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.10112750
lea eax, [ebp - 0x804]
push 0x7e
push eax
call fcn.10113a76
add esp, 0x14
test eax, eax
je 0x10016853
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
cmp eax, 0x3fe
ja 0x10016853
lea ecx, [ebp - 0x1004]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10016840
lea eax, [ebp - 0x1004]
jmp 0x10016871
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10016860
lea eax, [ebp - 0x804]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea eax, [ebp - 0x1804]
push 0x400
push eax
call fcn.1013e22d
add esp, 0x10
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x1001689c
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x1804]
push eax
call fcn.100a6880
add esp, 4
test eax, eax
je 0x100168da
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x1a28]
mov dword [ebp - 0x1a38], ecx
cmp dword [esi + 8], eax
je 0x100168cb
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x100168da
lea ecx, [ebp - 0x1a38]
push ecx
push eax
mov ecx, esi
call fcn.10015e90
lea eax, [ebp - 0x1a30]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
mov eax, dword [ebp - 0x1a3c]
jne 0x10016761
push ebx
call edi
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100acb08
mov esp, ebp
pop ebp
ret 8
Function at 0x10016b70
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
xor esi, esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
test edi, edi
je 0x10016ba3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov ecx, 1
push edi
cmove esi, ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x1001e350
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10169fa0
mov eax, dword fs:[0]
push eax
mov eax, dword [0x101d7c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ecx + 0x30]
or eax, 0xffffffff
mov dword [ecx], vtable.CLayerControlBase.0
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001e393
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x1001e3b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10169fc0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x101d7c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
or eax, 0xffffffff
mov dword [esi], vtable.CLayerControlBase.0
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001e3f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test byte [ebp + 8], 1
je 0x1001e407
push 0x44
push esi
call fcn.100acb1e
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4