joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1107e570
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xa8], eax
test ebx, ebx
je 0x1107e5a2
test eax, eax
jne 0x1107e5b9
push 0x229
push str...ctl32clipbrd.cpp
push str.pData__pSize
call fcn.11067750
add esp, 0xc
push esi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x1107e5d4
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
push edi
push esi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
jne 0x1107e5f3
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xac]
lea eax, [ecx - 1]
xor esi, esi
cmp eax, 0xc
ja case.0x1107e60a.3
movzx eax, byte [eax + 0x1107e6c8]
jmp dword [eax*4 + 0x1107e6b4]
mov ecx, dword [ebp - 0xa8]
push ecx
push ebx
push edi
call fcn.1107d5e0
add esp, 0xc
jmp 0x1107e698
mov edx, dword [ebp - 0xa8]
push edx
push ebx
push edi
call fcn.1107d710
add esp, 0xc
jmp 0x1107e698
mov eax, dword [ebp - 0xa8]
push eax
push ebx
push edi
call fcn.1107d7a0
add esp, 0xc
jmp 0x1107e698
mov ecx, dword [ebp - 0xa8]
push ecx
push ebx
push edi
call fcn.1107d820
add esp, 0xc
jmp 0x1107e698
push 0x50
lea edx, [ebp - 0xa4]
push edx
push ecx
call dword [sym.imp.USER32.dll_GetClipboardFormatNameW]
test eax, eax
jne 0x1107e67c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 6
jne 0x1107e69a
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xa4]
push ecx
push edx
push ebx
push edi
call fcn.1107d650
add esp, 0x14
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.111d9022
mov esp, ebp
pop ebp
ret

Function at 0x1107e840
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
movzx ecx, word [esi]
lea eax, [ecx - 1]
cmp eax, 0x8d
ja case.0x1107e86b.14
movzx eax, byte [eax + 0x1107e8e8]
jmp dword [eax*4 + 0x1107e8d0]
push esi
call fcn.1107d980
jmp 0x1107e8ac
push esi
call fcn.1107d8f0
jmp 0x1107e8ac
push esi
call fcn.1107d910
jmp 0x1107e8ac
push esi
call fcn.1107d980
jmp 0x1107e8ac
push 0x50
lea edx, [ebp - 0xa4]
push edx
push ecx
call dword [sym.imp.USER32.dll_GetClipboardFormatNameW]
test eax, eax
je case.0x1107e86b.3
push esi
call fcn.1107d880
add esp, 4
test eax, eax
je case.0x1107e86b.3
push eax
movzx eax, word [esi]
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.111d9022
mov esp, ebp
pop ebp
ret
Function at 0x1107f960
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push esi
mov dword [ebp - 0x28], 0x20
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1107f993
push esi
call fcn.1107f8e0
add esp, 4
test al, al
jne 0x1107f9a4
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea edx, [ebp - 0x24]
push edx
push 0xffffffffffffffff
push 0x14c
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
cmp eax, 0xffffffff
setne al
xor ecx, ebp
pop esi
call fcn.111d9022
mov esp, ebp
pop ebp
ret

Function at 0x1107faf0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
test esi, esi
jne 0x1107fb22
push 0x180
push str.CltAutoLogon.cpp
push str.pszDomain_NULL
call fcn.11067750
add esp, 0xc
mov edx, dword [ebx + 4]
xor eax, eax
test edx, edx
je 0x1107fbb5
mov eax, esi
push edi
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1107fb35
sub eax, edi
sar eax, 1
je 0x1107fb6e
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 0xffffffffffffffff
push 0x158
push edx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x1107fbac
mov eax, dword [ebx + 4]
push 0
push esi
push 0x14e
push eax
call edi
jmp 0x1107fbac
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x28], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x24]
push eax
push ecx
call fcn.1107f750
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
je 0x1107fbac
mov edx, dword [ebx + 4]
push 0
push esi
push 0x14e
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp esi, 0xffffffff
sete al
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.111d9022
mov esp, ebp
pop ebp
ret 4
Function at 0x110802c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
call fcn.1107fd30
lea ebx, [esi + 0x14]
push ebx
push 0x1120d95c
push 1
push edi
push 0x1120d94c
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
mov dword [ebx], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
push esi
push 0x11080170
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x1108030b
cmp dword [esi + 0x18], edi
je 0x110803c2
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x11080350
lea edx, [ebp - 4]
push edx
mov dword [ebp - 4], edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
push 0x2722
push ecx
call eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x11080340
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push eax
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x18], edi
jmp 0x11080361
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0xd
call fcn.1107fe70
add esp, 4
push 0
push 0
push 0xa
call fcn.111bb9f0
add esp, 0xc
test eax, eax
je 0x110803bd
xor edi, edi
jmp 0x11080380
push esi
push 0x11080170
mov dword [esi + 0x10], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x110803a2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
je 0x110803bd
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x32
jl 0x11080380
mov edi, 1
mov eax, dword [ebx]
test eax, eax
je 0x110803d0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
pop edi
pop esi
mov dword [ebx], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x11082e20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111deacb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x11279148]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x11082f24
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x11082e56
sub eax, edx
sar eax, 1
test eax, eax
jle 0x11082f24
mov ebx, dword [ebp + 8]
mov eax, dword [edi + 0xc]
add ebx, 0x46f
push ebx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp byte [edi + 0x4dc], 0
mov esi, eax
je 0x11082e9c
push 0
push 0xb
push 0xf4
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp + 0xc]
push 0x26
lea ecx, [ebp - 0x10]
push ecx
push edx
call fcn.111ba420
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi + 0xc]
add esp, 0xc
push eax
push ebx
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edx, dword [ebp - 0x10]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [edi + 0x4dc], 0
je 0x11082f24
push 0x30
call fcn.111709c0
mov ebx, eax
add esp, 4
mov dword [ebp + 0xc], ebx
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp ebx, ecx
je 0x11082f0b
mov ecx, ebx
call fcn.111d7c10
mov dword [ebx], vtable.NSMVoteTouchButton.0
mov ecx, ebx
mov eax, dword [ebp + 8]
mov dword [edi + eax*4 + 0x4e0], ecx
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push esi
mov dword [ebp - 4], 0xffffffff
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x11086400
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x30
lea eax, [ebp - 0x5c]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x5c]
push ecx
push 0
mov dword [ebp - 0x5c], 0x30
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x60]
push edx
push eax
mov dword [ebp - 0x60], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, eax
push esi
call sub.IMM32.dll_ImmIsIME
mov ebx, eax
cmp esi, dword [edi + 0x4bc]
je 0x110864bb
push ebx
push esi
push str.KbdLayout_x__isime_d_n
mov dword [edi + 0x4bc], esi
call fcn.111bd7b0
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ecx, 0xe6
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov word [ebp - 0x2c], cx
mov ecx, dword [edi + 4]
push 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], al
mov word [ebp - 0x26], si
mov word [ebp - 0x24], bx
mov edx, dword [ecx]
mov edx, dword [edx + 0x48]
push 0xa
lea eax, [ebp - 0x2c]
push eax
call edx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.111d9022
mov esp, ebp
pop ebp
ret
Function at 0x110868d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
xor ecx, ecx
mov word [edx + 2], cx
movzx ecx, word [eax + 0x78]
test cx, cx
je 0x11086924
and ecx, 0xfffe
mov word [eax + 0x78], cx
push esi
mov word [edx + 2], cx
mov esi, dword [eax + 0x14]
inc esi
lea ecx, [edx + 4]
je 0x11086912
mov dx, word [eax + 0x78]
shr dx, 1
xor byte [ecx], dl
add word [eax + 0x78], 5
inc ecx
dec esi
jne 0x11086900
mov edx, 2
or word [eax + 0x78], dx
mov word [ecx], 0
add dword [eax + 0x14], edx
pop esi
pop ebp
ret
Function at 0x110880b0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x110880d0
sub eax, edx
sar eax, 1
xor ecx, ecx
add eax, 0x104
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.11170a40
mov esi, dword [sym.imp.MSVCR100.dll__wcsnicmp]
push 5
push str._WIN_
push edi
mov ebx, eax
call esi
add esp, 0x10
test eax, eax
jne 0x11088125
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 5
push str._SYS_
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x11088148
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 7
push str.__PROG_
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x11088188
lea edx, [ebp - 0x20c]
push edx
push eax
push eax
push 0x26
push eax
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathW]
test eax, eax
jns 0x11088188
xor eax, eax
movzx ecx, word [eax + str.c:program_files]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x11088171
push 0x25
push edi
call fcn.110e4740
add esp, 8
test eax, eax
jne 0x110881b3
push ebx
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
mov ecx, 0x111fa890
mov esi, ebx
add eax, 2
sub esi, ecx
nop
movzx edx, word [ecx]
mov word [esi + ecx], dx
add ecx, 2
test dx, dx
jne 0x110881c0
lea ecx, [ebp - 0x20c]
mov esi, ecx
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x110881d7
sub ecx, esi
mov edx, ecx
lea edi, [ebx - 2]
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x110881f0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x11088210
sub eax, ecx
mov esi, ecx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x11088222
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.111d9022
mov esp, ebp
pop ebp
ret
Function at 0x1108a040
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, dword [ecx + 0x4c]
cmp dword [edi + 0x51c], 0
jne 0x1108a1b3
cmp dword [edi + 0x500], 0
jne 0x1108a1b3
cmp dword [edi + 0x4e4], 0
je 0x1108a0b0
push 0
push 0x1120fbc0
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x1108a1b3
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 8], edx
mov edx, dword [0x1127ab38]
push edx
push 0x4a
push eax
mov dword [ebp - 0x10], 0x492
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
mov esp, ebp
pop ebp
ret 0xc
cmp dword [edi + 0x4e0], 0
je 0x1108a1b3
cmp dword [edi + 0x4e8], 0
je 0x1108a112
mov eax, dword [edi + 0x4f8]
test eax, eax
je 0x1108a1b3
mov edx, dword [ebp + 0xc]
push 0
lea ecx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1108a104
mov edx, dword [edi + 0x4f8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x4f8], 0
mov byte [edi + 0x4fc], 1
pop edi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [edi + 0x508]
mov dword [ebp - 4], ecx
call fcn.11170990
cmp eax, 0x2710
jle 0x1108a133
call fcn.11089f80
pop edi
mov esp, ebp
pop ebp
ret 0xc
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebx + 8]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x1108a162
push 0x3f06
push str.CltConn.cpp
push 0x1120fbbc
call fcn.11067750
add esp, 0xc
mov ecx, dword [ebp + 8]
push ebx
push ecx
lea edx, [esi + 4]
push edx
mov dword [esi], ebx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
push esi
mov esi, dword [ebp - 4]
mov ecx, esi
call fcn.11170f60
mov ecx, esi
call fcn.11170990
pop esi
pop ebx
cmp eax, 0xc
jle 0x1108a1b3
cmp dword [edi + 0x518], 0
jne 0x1108a1b3
mov eax, dword [edi + 0x510]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov dword [edi + 0x518], 1
pop edi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1108a500
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [eax + 2], 0
je 0x1108a52e
lea ecx, [ebp - 4]
push ecx
push 0
push edx
push 0x1108a360
push 0
push 0
call dword [sym.imp.MSVCR100.dll__beginthreadex]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1127ac28]
push 0
push eax
call fcn.1118ce10
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x1108a660
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111def9b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x11279148]
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
xor ebx, ebx
mov edi, ecx
mov esi, dword [edi + 0x4c]
cmp dword [ebp + 8], ebx
je 0x1108a79c
cmp dword [esi + 0x344], ebx
jne 0x1108a790
test dword [esi + 0x284], 0x400
je 0x1108a765
cmp dword [0x1127ac5c], ebx
jne 0x1108a704
push 0x858
call fcn.111709c0
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x1108a6df
mov ecx, eax
call fcn.1111f060
jmp 0x1108a6e1
xor eax, eax
push ebx
push 1
push 0x11122e50
lea ecx, [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [0x1127ac5c], eax
call fcn.11170830
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x1127acf4]
mov ecx, dword [0x1127ac5c]
push eax
call fcn.1111b110
mov ecx, dword [esi + 0x3c4]
lea eax, [esi + 0x3c4]
cmp ecx, dword [esi + 0x3cc]
jne 0x1108a738
lea edx, [ebp - 0x20]
push edx
call fcn.110fcb70
add esp, 4
lea eax, [ebp - 0x20]
mov ecx, dword [0x1127ac5c]
push eax
mov eax, dword [esi + 0x3c0]
push eax
push edi
call fcn.1111ae00
mov dword [esi + 0x364], 1
mov dword [esi + 0x344], 1
jmp 0x1108a7e5
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ecx, [ebp - 0x24]
push ecx
push ebx
push edi
push 0x1118de70
push 0x2000
push ebx
mov dword [edi + 0x58], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x344], 1
jmp 0x1108a7e5
cmp dword [esi + 0x344], ebx
je 0x1108a7df
cmp dword [esi + 0x364], ebx
je 0x1108a7d5
mov ecx, dword [0x1127ac5c]
push edi
call fcn.1111af30
mov dword [esi + 0x364], ebx
cmp eax, ebx
jne 0x1108a7df
mov ecx, dword [0x1127ac5c]
call fcn.1111acb0
mov dword [0x1127ac5c], ebx
jmp 0x1108a7df
mov edx, dword [edi + 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [esi + 0x344], ebx
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.111d9022
mov esp, ebp
pop ebp
ret 8
Function at 0x1108ceb0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111df188
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x14], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x1108cf33
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
push edx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x1108cf22
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x1108cf98
mov ecx, dword [0x1127b220]
mov edx, dword [ecx]
mov eax, dword [edx + 0x90]
push ebx
push esi
call eax
lea ecx, [ebp - 0x24]
call fcn.11143200
push ebx
push ebx
push 0x2001f
push str.SoftwareNetSupport_LtdClient32
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.11143640
cmp eax, ebx
jne 0x1108cf74
mov dword [ebp - 0x1c], 1
mov ecx, dword [0x1127b220]
mov edx, dword [ecx]
mov eax, dword [edx + 0x90]
push ebx
push ebx
call eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.11143c00
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
Function at 0x1108de00
Capabilities:
Check for time delay via gettickcount
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111df300
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x30]
push 0
push 0
push str.DisableBatteryInfo
push str.Client
call fcn.110bbc00
test eax, eax
jne 0x1108dff1
mov ecx, dword [0x1127ba10]
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*4]
mov eax, ecx
inc ecx
sub eax, edx
mov dword [0x1127ba10], ecx
jne 0x1108dff1
lea ecx, [ebp - 0x28]
call fcn.1104c2b0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.1104c320
lea ecx, [ebp - 0x28]
mov ebx, eax
call fcn.1104c3a0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x30], eax
call fcn.1104c360
movzx ecx, byte [esi + 0x44b]
mov dword [ebp - 0x34], eax
cmp ecx, ebx
jne 0x1108dec7
movzx edx, byte [esi + 0x44c]
cmp edx, dword [ebp - 0x30]
jne 0x1108dec7
cmp dword [esi + 0x450], eax
je 0x1108dfe2
mov ecx, dword [esi + 4]
call fcn.110c7040
push eax
push 0x20
lea ecx, [ebp - 0x58]
call fcn.1111a110
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [ebp - 4], 1
call edi
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [edx + 0xc]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x38], 0xb7
call eax
mov dl, byte [ebp - 0x30]
mov cl, byte [ebp - 0x34]
mov byte [ebp - 0x2b], dl
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x2a]
mov byte [ebp - 0x29], cl
push eax
mov eax, dword [edx + 0x14]
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x2a], bl
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
lea ecx, [ebp - 0x2b]
push ecx
mov ecx, eax
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
lea ecx, [ebp - 0x29]
push ecx
mov ecx, eax
call edx
call edi
sub eax, dword [ebp - 0x3c]
cmp eax, 0x64
jb 0x1108df4f
push eax
push str.Info._NC_BATTERY_took__d_ms_n
call fcn.111bd7b0
add esp, 8
mov eax, dword [ebp - 0x58]
mov edx, dword [eax + 0xa4]
lea ecx, [ebp - 0x58]
call edx
test al, al
jne 0x1108df78
push 0x13a
push str.e:_nsmsrc_nsm14101410fctl32DataStream.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov eax, dword [ebp - 0x58]
mov edx, dword [eax + 0xa4]
mov edi, dword [ebp - 0x4c]
lea ecx, [ebp - 0x58]
call edx
test al, al
jne 0x1108dfa4
push 0x135
push str.e:_nsmsrc_nsm14101410fctl32DataStream.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov edx, dword [ebp - 0x44]
mov eax, dword [eax + 0x48]
push 0
push edi
push edx
call eax
mov eax, dword [ebp - 0x34]
test ebx, ebx
setne cl
cmp dword [ebp - 0x30], 0
mov byte [esi + 0x44b], cl
setne dl
lea ecx, [ebp - 0x58]
mov byte [esi + 0x44c], dl
mov dword [esi + 0x450], eax
mov byte [ebp - 4], 0
call fcn.1111ab70
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.1104c2d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
Function at 0x110916b0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x414]
push 0x112112dc
push eax
call ebx
push 0x250
lea ecx, [ebp - 0x664]
push 0
push ecx
call sub.MSVCR100.dll_memset
add esp, 0x18
lea edx, [ebp - 0x664]
push edx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x668], eax
cmp eax, 0xffffffff
je 0x110917b3
lea ebx, [ebx]
lea ecx, [ebp - 0x638]
push ecx
push edi
lea edx, [ebp - 0x20c]
push 0x11207c1c
push edx
call ebx
add esp, 0x10
test byte [ebp - 0x664], 0x10
je 0x1109176b
cmp word [ebp - 0x638], 0x2e
je 0x11091791
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.110916b0
add esp, 8
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x11091791
test esi, esi
je 0x11091784
lea edx, [ebp - 0x20c]
push esi
push edx
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x11091791
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x668]
lea ecx, [ebp - 0x664]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x11091720
mov eax, dword [ebp - 0x668]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.111d9022
mov esp, ebp
pop ebp
ret