joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11056b10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111dbf7c
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
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
mov ebx, dword [ebp + 8]
mov esi, ecx
mov edi, dword [esi + 0xa8]
push 0x50
lea ecx, [ebp - 0xb0]
push ecx
xor eax, eax
push ebx
mov word [esi + 0xc2], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [edi + 0x10]
push 0x4f
call fcn.110c2d40
push eax
lea edx, [ebp - 0xb0]
push edx
call dword [sym.imp.MSVCR100.dll_wcsncat]
add esp, 0xc
lea eax, [ebp - 0xb0]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x90
call fcn.111709c0
add esp, 4
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x11056bb8
push 0x1396
push esi
mov ecx, eax
call fcn.11056850
jmp 0x11056bba
xor eax, eax
push 0x90
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0xb4], eax
call fcn.111709c0
add esp, 4
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x11056bf4
push 0x1398
push esi
mov ecx, eax
call fcn.11056850
jmp 0x11056bf6
xor eax, eax
mov dword [esi + 0xb8], eax
cmp dword [edi + 4], 0
jne 0x11056c5a
mov edx, dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_GetDlgItemTextW]
push 0x40
lea ecx, [ebp - 0x130]
push ecx
push 0x1395
push edx
call edi
mov ecx, dword [esi + 0xc]
push 0x40
lea eax, [ebp - 0x1b0]
push eax
push 0x1397
push ecx
call edi
mov eax, dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea edx, [ebp - 0x130]
push edx
push 0x1397
push eax
call edi
mov edx, dword [esi + 0xc]
lea ecx, [ebp - 0x1b0]
push ecx
push 0x1395
push edx
call edi
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
xor eax, eax
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 4
Function at 0x1105e920
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111dc5f8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
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 ebx, ecx
mov eax, dword [ebx + 0xc]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1105ea9c
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1105ea96
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1105ea96
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, dword [ebx + 0x38]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x3c]
cmp esi, eax
je 0x1105e9ad
mov ecx, eax
sub ecx, eax
sar ecx, 1
lea edi, [ecx + ecx]
push edi
push eax
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
add edi, esi
mov dword [ebx + 0x3c], edi
lea ecx, [ebp - 0x30]
call fcn.1105d680
mov ecx, dword [ebp - 0x10]
push 0
push ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.111be8d0
mov esi, eax
mov dword [ebp - 0x10], eax
movzx eax, word [esi]
test ax, ax
je 0x1105ea4b
mov edx, dword [ebx + 0x34]
cmp edx, dword [ebx + 0x30]
jge 0x1105ea4b
movzx eax, ax
push eax
call dword [sym.imp.MSVCR100.dll_isalnum]
add esp, 4
test eax, eax
je 0x1105ea3c
movzx esi, word [esi]
mov edi, esi
push edi
call dword [sym.imp.MSVCR100.dll_isalpha]
add esp, 4
test eax, eax
je 0x1105ea17
push edi
call dword [sym.imp.MSVCR100.dll_islower]
add esp, 4
test eax, eax
je 0x1105ea17
add esi, 0xffe0
movzx ecx, si
push ecx
call dword [sym.imp.MSVCR100.dll_toupper]
movzx edx, ax
add esp, 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x38]
mov dword [ebp - 0x14], edx
call fcn.1105d030
inc dword [ebx + 0x34]
mov esi, dword [ebp - 0x10]
movzx eax, word [esi + 2]
add esi, 2
mov dword [ebp - 0x10], esi
test ax, ax
jne 0x1105e9d7
cmp dword [ebx + 0xc], 0
jne 0x1105ea68
push 0x1d4
push str.e:_nsmsrc_nsm14101410fctl32wndclass.h
push 0x111f761c
call fcn.11067750
add esp, 0xc
mov ecx, dword [ebx + 0xc]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, ebx
call fcn.11059770
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.111be920
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x110632c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov ecx, dword [0x1127b21c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
push edi
mov edi, dword [ebp + 8]
call edx
test eax, eax
je 0x11063386
push 0x208
lea ecx, [ebp - 0x414]
xor eax, eax
push ecx
mov word [ebp - 0x414], ax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x11063320
sub eax, edx
movzx edx, word [ebp + 0x14]
push ebx
push edx
sar eax, 1
lea eax, [ebp + eax*2 - 0x414]
push str.hh.exe__mapid__u__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [0x1127b21c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xec]
add esp, 0x10
push 0
push 1
push 0
push 0x4000000
push 0
push 0
push 0
lea eax, [ebp - 0x414]
push eax
call edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push eax
push ecx
push ebx
push edi
mov ecx, esi
call fcn.110ebf70
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.111d9022
mov esp, ebp
pop ebp
ret 0x10

Function at 0x11063800
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x14]
xor eax, eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0x10]
inc dword [esi + 0x5c]
push edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
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 ax, word [ebp + 8]
mov dword [esi + 0x60], edx
push 6
lea edx, [ebp - 0x2c]
push edx
mov word [ebp - 0x2c], ax
mov eax, dword [esi + 0x5c]
push ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2a], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
push ecx
xor ebx, ebx
mov ecx, esi
mov dword [esi + 0x64], ebx
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea eax, [edi + 0xfa0]
mov dword [ebp - 0x34], eax
cmp dword [esi + 0x64], ebx
jne 0x110638ce
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov ecx, ebx
sub ecx, dword [ebp - 0x34]
test ecx, ecx
jg 0x110638c5
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, ebx
sub edx, edi
cmp edx, 0x3e8
jb 0x110638bf
mov edx, dword [ebp - 0x30]
mov eax, dword [esi]
push 6
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [eax + 0x24]
push ecx
mov ecx, esi
call edx
mov edi, ebx
cmp dword [esi + 0x64], 0
je 0x11063881
mov dword [esi + 0x60], 0
jmp 0x110638d1
mov dword [esi + 0x60], ebx
mov eax, dword [esi + 0x64]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.111d9022
mov esp, ebp
pop ebp
ret 0x10
Function at 0x11063d80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x1127b228], ecx
inc edx
cmp edx, 0x100
jl 0x11063d82
mov dword [0x1127b1d8], 1
ret

Function at 0x11063e50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x1127b1d8], 0
push esi
push edi
mov edi, eax
mov esi, ecx
jne 0x11063e67
call fcn.11063d80
mov eax, dword [ebp + 8]
test edi, edi
je 0x11063e8b
mov edi, edi
movzx edx, byte [eax]
mov ecx, esi
and ecx, 0xff
xor ecx, edx
shr esi, 8
xor esi, dword [ecx*4 + 0x1127b228]
inc eax
dec edi
jne 0x11063e70
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x110642d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.MSVCR100.dll_fseek]
push 2
push 0
push edi
mov dword [ebp - 4], 0
call esi
push edi
call dword [sym.imp.MSVCR100.dll_ftell]
push 0
push 0
push edi
mov ebx, eax
call esi
add esp, 0x1c
test ebx, ebx
jle 0x1106437c
lea eax, [ebx + 1]
push eax
call dword [sym.imp.MSVCR100.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x1106437c
push edi
push ebx
push 1
push esi
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
test eax, eax
js 0x11064334
mov ecx, esi
mov byte [eax + esi], 0
call fcn.11144e50
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.MSVCR100.dll__strlwr]
mov ebx, dword [ebp + 8]
add esp, 4
test ebx, ebx
je 0x11064367
push 0x11206744
push esi
call dword [sym.imp.MSVCR100.dll_strstr]
add esp, 8
test eax, eax
je 0x11064367
add eax, 8
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
mov dword [ebx], eax
push esi
call dword [sym.imp.MSVCR100.dll_free]
push 0
push 0
push edi
call dword [sym.imp.MSVCR100.dll_fseek]
add esp, 0x10
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x110643f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
movzx eax, word [esi]
push eax
call dword [sym.imp.MSVCR100.dll_isalpha]
add esp, 4
test eax, eax
je 0x1106445b
cmp word [esi + 2], 0x3a
jne 0x1106445b
xor eax, eax
mov edi, edi
movzx ecx, word [eax + 0x1120678c]
mov word [ebp + eax - 0xc], cx
add eax, 2
test cx, cx
jne 0x11064420
mov cx, word [esi]
lea edx, [ebp - 0xc]
push edx
mov word [ebp - 0xc], cx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x1106445b
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
cmp word [esi], 0x5c
jne 0x1106446f
cmp word [esi + 2], 0x5c
jne 0x1106446f
cmp word [esi + 4], 0x2e
jne 0x1106444a
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call fcn.111d9022
mov esp, ebp
pop ebp
ret

Function at 0x11064e20
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x88]
push eax
xor esi, esi
push 0x28
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x11064f1d
mov edx, dword [ebp - 0x88]
push ebx
push edi
lea ecx, [ebp - 0x8c]
push ecx
push esi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push 3
push edx
call esi
mov ebx, dword [ebp - 0x8c]
push ebx
call dword [sym.imp.MSVCR100.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x11064f0a
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x8c]
push eax
push ebx
push edi
push 3
push ecx
call esi
xor ebx, ebx
cmp dword [edi], ebx
jbe 0x11064f00
lea esi, [edi + 4]
nop
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x84]
push ecx
xor edx, edx
push esi
push edx
mov dword [ebp - 0x90], 0x40
mov word [ebp - 0x84], dx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeNameW]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
lea edx, [ebp - 0x84]
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
push str.Luid_Low_x__High_x__Attr_x__name_s_n
call fcn.111bd7b0
inc ebx
add esp, 0x14
add esi, 0xc
cmp ebx, dword [edi]
jb 0x11064eb0
push edi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov eax, dword [ebp - 0x88]
pop edi
pop ebx
test eax, eax
je 0x11064f1d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.111d9022
mov esp, ebp
pop ebp
ret
Function at 0x11064f30
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0
call fcn.111bb510
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push eax
lea eax, [ebp - 0x614]
push str.__sWINSTALL.EXE_
push eax
call esi
lea ecx, [ebp - 0x614]
push 0
push ecx
call fcn.111be4e0
add esp, 0x18
test eax, eax
jne 0x11064f91
push eax
call fcn.111bb510
push eax
lea edx, [ebp - 0x614]
push str.__sWINST32.EXE_
push edx
call esi
add esp, 0x10
call fcn.111bbd10
test eax, eax
jne 0x11064fac
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1127b21c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xbc]
call edx
test eax, eax
je 0x11064f9a
xor eax, eax
cmp dword [0x1127acfc], eax
jne 0x110650da
mov edi, edi
movzx ecx, word [eax + str.__EM]
mov word [ebp + eax - 0x204], cx
add eax, 2
test cx, cx
jne 0x11064fd0
test edi, edi
je 0x11065022
mov eax, edi
mov edx, edi
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x11064ff0
lea edi, [ebp - 0x204]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x11065006
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x204]
mov edx, eax
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x11065030
lea edi, [ebp - 0x614]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x11065046
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x44
lea eax, [ebp - 0x668]
and ecx, 3
push 0
push eax
rep movsb byte es:[edi], byte [esi]
call sub.MSVCR100.dll_memset
add esp, 0xc
xor ecx, ecx
lea edx, [ebp - 0x624]
push edx
lea eax, [ebp - 0x668]
push eax
push ecx
push ecx
push 0x4000000
push ecx
push ecx
push ecx
mov word [ebp - 0x638], cx
lea ecx, [ebp - 0x614]
push ecx
push 0
mov dword [ebp - 0x668], 0x44
mov dword [ebp - 0x63c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x110650d5
mov edx, dword [ebp - 0x620]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x624]
push eax
call esi
mov eax, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov byte [0x1127ad17], 1
pop esi
call fcn.111d9022
mov esp, ebp
pop ebp
ret
Function at 0x11065210
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111dcd1b
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1127acfc], 0
je 0x11065425
push 0
push 0
push 6
call fcn.111bb9f0
add esp, 0xc
test eax, eax
je 0x11065425
push 0
push 2
push 6
call fcn.111bb9f0
add esp, 0xc
test eax, eax
jne 0x11065425
call fcn.11123260
test eax, eax
je 0x11065425
mov ecx, dword [0x1127aa68]
push 0
push 0
push str.screenscrape
push str.Client
call fcn.110bbc00
test eax, eax
jne 0x11065425
lea ecx, [ebp - 0x424]
call fcn.11143200
push 0x20019
push str.SystemCurrentControlSetServicesGdihook5
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x424]
mov dword [ebp - 4], 0
call fcn.111435f0
test eax, eax
je 0x11065413
mov ecx, dword [0x1127aa68]
push 0
push 1
push str.AutoInstallGdihook5
push str.Client
call fcn.110bbc00
test eax, eax
je 0x11065413
push 0x43
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x11065413
push eax
call fcn.111bb510
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push eax
lea eax, [ebp - 0x420]
push str.__sWINSTALL.EXE_
push eax
call esi
lea ecx, [ebp - 0x420]
push 0
push ecx
call fcn.111be4e0
add esp, 0x18
test eax, eax
jne 0x11065350
push eax
call fcn.111bb510
push eax
lea edx, [ebp - 0x420]
push str.__sWINST32.EXE_
push edx
call esi
add esp, 0x10
lea eax, [ebp - 0x420]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x11065360
mov ecx, dword [str.__Q__Q]
mov edx, dword [0x11206ab4]
mov dword [eax], ecx
mov ecx, dword [0x11206ab8]
mov dword [eax + 4], edx
mov dx, word [0x11206abc]
mov dword [eax + 8], ecx
push 0x44
mov word [eax + 0xc], dx
lea eax, [ebp - 0x478]
push 0
push eax
call sub.MSVCR100.dll_memset
xor ecx, ecx
push str.Trying_to_reinstall_gdihook5_n
mov dword [ebp - 0x478], 0x44
mov dword [ebp - 0x44c], 1
mov word [ebp - 0x448], cx
call fcn.111bd7b0
add esp, 0x10
lea edx, [ebp - 0x434]
push edx
lea eax, [ebp - 0x478]
push eax
push 0
push 0
push 0x4000000
push 0
push 0
push 0
lea ecx, [ebp - 0x420]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x11065413
mov edx, dword [ebp - 0x434]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x430]
push eax
call esi
lea ecx, [ebp - 0x424]
mov dword [ebp - 4], 0xffffffff
call fcn.11143c00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
Function at 0x11065670
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor bl, bl
cmp dword [0x1127acfc], 0
je 0x11065730
call fcn.11065590
test al, al
je 0x11065730
mov ecx, dword [0x1127b220]
xor eax, eax
mov word [ebp - 0x84], ax
mov edx, dword [ecx]
mov eax, dword [edx + 0x120]
push esi
call eax
mov esi, eax
test esi, esi
je 0x11065714
push esi
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x11065714
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x84]
push edx
mov dword [ebp - 0x88], 0x40
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x11065707
lea eax, [ebp - 0x84]
push str.SRCShell
push eax
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.11123260
push eax
lea ecx, [ebp - 0x84]
push ecx
push esi
push str.IsMultiPointShell_hUser_p__user_s__sesh_d_n
call fcn.111bd7b0
add esp, 0x10
pop esi
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.111d9022
mov esp, ebp
pop ebp
ret
Function at 0x11065dd0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push edi
mov ebx, 1
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x11065f42
push esi
call fcn.11170a40
mov ecx, dword [ebp - 0x10]
add esp, 4
push eax
push esi
push ecx
push edi
mov dword [ebp - 0xc], eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x11065f36
mov esi, dword [ebp - 0xc]
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 4]
push eax
push str.StringFileInfo040904e4ProductVersion
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x11065e61
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push str.StringFileInfo080904b0ProductVersion
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x11065e61
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push str.StringFileInfo040904b0ProductVersion
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x11065f36
mov esi, dword [ebp - 4]
test esi, esi
je 0x11065f36
cmp word [esi], 0
mov edi, dword [sym.imp.MSVCR100.dll_iswdigit]
je 0x11065e8d
movzx edx, word [esi]
push edx
call edi
add esp, 4
test eax, eax
jne 0x11065e8d
add esi, 2
cmp word [esi], ax
jne 0x11065e78
mov ebx, dword [sym.imp.MSVCR100.dll__wtoi]
push esi
call ebx
mov dword [ebp - 0x14], eax
movzx eax, word [esi]
push eax
call edi
add esp, 8
test eax, eax
je 0x11065eb7
movzx ecx, word [esi + 2]
add esi, 2
push ecx
call edi
add esp, 4
test eax, eax
jne 0x11065ea6
movzx eax, word [esi]
test ax, ax
je 0x11065ed6
nop
push eax
call edi
add esp, 4
test eax, eax
jne 0x11065ed6
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x11065ec0
push esi
call ebx
movzx edx, word [esi]
push edx
mov ebx, eax
call edi
add esp, 8
test eax, eax
je 0x11065ef9
movzx eax, word [esi + 2]
add esi, 2
push eax
call edi
add esp, 4
test eax, eax
jne 0x11065ee8
movzx eax, word [esi]
test ax, ax
je 0x11065f17
push eax
call edi
add esp, 4
test eax, eax
jne 0x11065f17
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x11065f01
mov eax, dword [ebp - 0x14]
cmp eax, 0xc
jge 0x11065f23
xor ebx, ebx
jmp 0x11065f36
jle 0x11065f2c
mov ebx, 1
jmp 0x11065f36
xor ecx, ecx
cmp ebx, 0x32
setge cl
mov ebx, ecx
mov edx, dword [ebp - 0xc]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x11066240
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x44
xor esi, esi
lea eax, [ebp - 0x260]
push esi
push eax
call sub.MSVCR100.dll_memset
push 1
mov dword [ebp - 0x260], 0x44
call fcn.111bb510
push eax
lea ecx, [ebp - 0x20c]
push str.__sclientRestarter.exe_
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x260]
push eax
push esi
push esi
push 0x4000000
push esi
push esi
push esi
lea ecx, [ebp - 0x20c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x110662e2
mov edx, dword [ebp - 0x21c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x218]
push eax
call esi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.111d9022
mov esp, ebp
pop ebp
ret

Function at 0x11067350
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x1127b82c], 0
jne 0x110673a9
mov ecx, dword [0x1127aa68]
push 0
push 0
push str.TapiFixPeriod
push str.Bridge
mov dword [0x1127b828], 0
call fcn.110bbc00
test eax, eax
je 0x110673a9
cmp eax, 0x64
jge 0x1106738e
mov eax, 0x1f4
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push 0x110645a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1127b82c], eax
mov esp, ebp
pop ebp
ret