joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11003020
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x10], edx
mov edx, dword [ebp + 8]
push edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
push 0
push 0x4a
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1100309a
push esi
lea eax, [ebp + 0xc]
push eax
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x11002fc0
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [ebp - 4]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov eax, dword [ebp - 0x1c]
push eax
call esi
pop esi
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x11003180
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x11064c1c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov eax, str.Failed_to_get_callstack_n
mov ecx, esi
mov dword [ebp - 0x2d4], 0
sub ecx, eax
lea esp, [esp]
movzx edx, word [eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x110031b0
lea eax, [ebp - 0x2d4]
push eax
call fcn.11002710
add esp, 4
test eax, eax
jne 0x110031e1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.110278cd
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x11003223
push 0xcc
lea ecx, [ebp - 0x2d0]
push edi
push ecx
call fcn.11027b00
mov ecx, dword [ebp + 8]
add esp, 0xc
push ebx
push ecx
mov ecx, dword [ebp - 0x2d4]
push esi
lea edx, [ebp - 0x2d0]
call fcn.11002840
add esp, 0xc
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.110278cd
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x2d0], 0x10007
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x1100325c
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2d4]
dec ebx
push ebx
push edx
push esi
push eax
call fcn.110029b0
add esp, 0x10
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.110278cd
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x1100326a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [ebp + 8]
push ebx
push edx
push eax
mov eax, dword [ebp - 0x2d4]
lea ecx, [ebp - 0x2d0]
mov edx, esi
call fcn.11003020
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop ebx
call fcn.110278cd
mov esp, ebp
pop ebp
ret
Function at 0x11003b50
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 + 0x110664d8], ecx
inc edx
cmp edx, 0x100
jl 0x11003b52
mov dword [0x110664d0], 1
ret

Function at 0x110046a0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push 0
mov dword [0x11064070], 0
call fcn.110043e0
add esp, 4
push str.NSMTRACE
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
jne 0x110046c8
pop esi
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NSMTraceLoad
push esi
call edi
push str.NSMTraceUnload
push esi
mov dword [0x11069504], eax
call edi
push str.NSMTraceGetConfigItem
push esi
mov dword [0x110694c8], eax
call edi
push str.NSMTraceGetConfigInt
push esi
mov dword [0x11069500], eax
call edi
push str.NSMTraceSetCallBack
push esi
mov dword [0x110694e4], eax
call edi
push str.vRealNSMTrace
push esi
mov dword [0x110694e0], eax
call edi
push str.NSMTraceClose
push esi
mov dword [0x110694f8], eax
call edi
push str.NSMTraceFlush
push esi
mov dword [0x110694d0], eax
call edi
push str.NSMTraceExclusive
push esi
mov dword [0x110694d8], eax
call edi
push str.NSMTraceUnexclusive
push esi
mov dword [0x110694e8], eax
call edi
push str.NSMTraceSetModuleName
push esi
mov dword [0x110694f4], eax
call edi
push str.NSMTraceLoadW
push esi
mov dword [0x110694cc], eax
call edi
push str.NSMTraceGetConfigItemW
push esi
mov dword [0x110694ec], eax
call edi
push str.NSMTraceGetConfigIntW
push esi
mov dword [0x11069508], eax
call edi
push str.vRealNSMTraceW
push esi
mov dword [0x110694dc], eax
call edi
push str.NSMTraceSetModuleNameW
push esi
mov dword [0x110694fc], eax
call edi
pop edi
mov dword [0x110694f0], eax
mov eax, 1
pop esi
ret
Function at 0x11004870
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa10
mov eax, dword [0x11064c1c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x11064070], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
je 0x11004899
call fcn.110046a0
cmp dword [0x110694fc], 0
je 0x110048cc
push 0x11066ae0
call dword [0x110694f0]
mov eax, dword [ebp + 8]
push edi
push esi
push eax
call dword [0x110694fc]
add esp, 0x10
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.110278cd
mov esp, ebp
pop ebp
ret
cmp dword [0x110694d4], 0
je 0x110049a4
push 0x11066ae0
lea ecx, [ebp - 0xa10]
push str._s:
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0xa10]
add esp, 0xc
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x11004900
sub eax, edx
push edi
sar eax, 1
push esi
lea edx, [ebp + eax*2 - 0xa10]
push edx
call dword [sym.imp.USER32.dll_wvsprintfW]
lea eax, [ebp - 0xa10]
lea edx, [eax + 2]
jmp 0x11004930
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x11004930
sub eax, edx
sar eax, 1
cmp eax, 0x3fc
jbe 0x1100494f
xor eax, eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0xa10]
lea edx, [eax + 2]
jmp 0x11004960
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x11004960
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0xa12], 0xa
je 0x11004997
lea edi, [ebp - 0xa10]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x11004983
mov ecx, dword [0x11052ca8]
mov dword [edi], ecx
lea edx, [ebp - 0xa10]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.110278cd
mov esp, ebp
pop ebp
ret
Function at 0x110052b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x11064c1c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ecx + 4], 0
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x11c], ecx
je 0x110052fa
push str.already_created
push 0xf4
call fcn.110051e0
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.110278cd
mov esp, ebp
pop ebp
ret 8
cmp byte [ecx + 5], 0
je 0x11005323
push str.already_opened
push 0xf6
call fcn.110051e0
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.110278cd
mov esp, ebp
pop ebp
ret 8
push esi
xor eax, eax
push 0x5c
push ebx
mov word [edi], ax
call fcn.1102798d
add esp, 8
lea ecx, [ebp - 0x118]
push ecx
mov esi, eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jae 0x1100535f
test esi, esi
je 0x1100537f
lea ebx, [esi + 2]
jmp 0x1100537f
test esi, esi
jne 0x1100537f
mov eax, str.Local_
mov edx, edi
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x11005370
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x11005383
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x11005393
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, ebx
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 2]
pop esi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x110053b5
sub eax, edx
sar eax, 1
cmp eax, 0x40
jbe 0x110053f2
mov ecx, dword [ebp - 0x11c]
push str.name_too_long
push 0x118
call fcn.110051e0
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.110278cd
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x11c]
add edx, 0x40
mov eax, ebx
sub edx, ebx
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x11005400
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.110278cd
mov esp, ebp
pop ebp
ret 8
Function at 0x110093d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x14]
test ecx, ecx
jne 0x110093e4
xor eax, eax
pop esi
pop ebp
ret 4
cmp byte [esi + 0x1d], 0
jne 0x11009426
cmp dword [esi + 0x18], 0
jne 0x110093f7
mov dword [esi + 0x18], 4
mov eax, dword [esi + 0x18]
sub eax, 3
je 0x11009410
sub eax, 2
jne 0x11009422
push ecx
push 2
push 1
push 0x1105398c
jmp 0x1100941a
push ecx
push 3
push 1
push 0x11053988
call fcn.1102a49d
add esp, 0x10
mov byte [esi + 0x1d], 1
mov eax, dword [esi + 0x18]
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x11009435
jmp dword [eax*4 + 0x11009514]
mov eax, dword [ebp + 8]
push 0xfde9
push eax
lea ecx, [ebp + 8]
call fcn.11008b00
mov ecx, dword [esi + 0x14]
mov edx, dword [ebp + 8]
push ecx
push edx
call fcn.1102a240
mov eax, dword [ebp + 8]
push eax
jmp 0x110094f4
mov ecx, dword [ebp + 8]
push ebx
mov eax, ecx
push edi
xor bl, bl
lea edi, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x11009470
sub eax, edi
sar eax, 1
lea eax, [ecx + eax*2]
cmp eax, ecx
jbe 0x110094a2
cmp word [eax - 2], 0xa
jne 0x11009492
add eax, 0xfffffffe
mov bl, 1
cmp eax, ecx
jbe 0x110094a2
cmp word [eax - 2], 0xd
jne 0x110094a0
add eax, 0xfffffffe
cmp eax, ecx
je 0x110094b8
mov edx, dword [esi + 0x14]
push edx
sub eax, ecx
sar eax, 1
push eax
push 2
push ecx
call fcn.1102a49d
add esp, 0x10
pop edi
test bl, bl
pop ebx
je 0x110094fc
mov eax, dword [esi + 0x14]
push eax
push 2
push 2
push 0x11053980
call fcn.1102a49d
add esp, 0x10
jmp 0x110094fc
mov ecx, dword [ebp + 8]
push 0
push ecx
lea ecx, [ebp + 8]
call fcn.11008b00
mov edx, dword [esi + 0x14]
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.1102a240
mov ecx, dword [ebp + 8]
push ecx
call fcn.11027544
add esp, 0xc
mov edx, dword [esi + 0x14]
push edx
call fcn.1102a218
add esp, 4
neg eax
sbb eax, eax
inc eax
pop esi
pop ebp
ret 4
Function at 0x11009590
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
push eax
call fcn.1102aa9a
add esp, 4
cmp eax, 0xef
jne 0x110095dc
mov ecx, dword [esi + 0x14]
push ecx
call fcn.1102aa9a
add esp, 4
cmp eax, 0xbb
jne 0x11009628
mov edx, dword [esi + 0x14]
push edx
call fcn.1102aa9a
add esp, 4
cmp eax, 0xbf
jne 0x11009628
mov dword [esi + 0x18], 3
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 0xff
jne 0x11009602
mov eax, dword [esi + 0x14]
push eax
call fcn.1102aa9a
add esp, 4
cmp eax, 0xfe
jne 0x11009628
mov dword [esi + 0x18], 5
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 0xfe
jne 0x11009628
mov ecx, dword [esi + 0x14]
push ecx
call fcn.1102aa9a
add esp, 4
cmp eax, 0xff
jne 0x11009628
mov dword [esi + 0x18], 7
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x18], 8
jne 0x11009643
mov edx, dword [esi + 0x14]
push 0
push 0
push edx
call fcn.1102a5a1
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
push ebx
push 2
push 0
push eax
mov dword [esi + 0x18], 1
call fcn.1102a5a1
mov ecx, dword [esi + 0x14]
push ecx
call fcn.1102a7b1
mov edx, dword [esi + 0x14]
push 0
push 0
push edx
mov ebx, eax
call fcn.1102a5a1
add esp, 0x1c
test ebx, ebx
jle 0x11009730
lea eax, [ebx + 1]
push edi
push eax
call fcn.11027a34
mov edi, eax
add esp, 4
test edi, edi
je 0x1100972f
mov ecx, dword [esi + 0x14]
push ecx
push ebx
push 1
push edi
call fcn.1102aa7d
mov ebx, eax
add esp, 0x10
test ebx, ebx
js 0x11009719
push edi
mov byte [ebx + edi], 0
call fcn.110087a0
mov ecx, edi
mov dword [ebp - 4], eax
add esp, 4
lea eax, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x110096c0
sub ecx, eax
cmp ecx, ebx
jne 0x110096ec
mov eax, dword [ebp - 4]
cmp eax, 8
jne 0x110096de
mov dword [esi + 0x18], 4
jmp 0x11009719
cmp eax, 7
jne 0x110096ec
mov dword [esi + 0x18], 1
jmp 0x11009719
lea edx, [ebp - 4]
push edx
push ebx
push edi
mov dword [ebp - 4], 0xf
call dword [sym.imp.ADVAPI32.dll_IsTextUnicode]
test eax, eax
je 0x11009712
cmp dword [ebp - 4], 0
je 0x11009712
mov dword [esi + 0x18], 6
jmp 0x11009719
mov dword [esi + 0x18], 2
push edi
call fcn.110279bb
mov eax, dword [esi + 0x14]
push 0
push 0
push eax
call fcn.1102a5a1
add esp, 0x10
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x11009f80
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x11064c1c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1ac], eax
mov eax, dword [0x11066b70]
push esi
or esi, 0xffffffff
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], esi
test eax, eax
jne 0x11009fd1
push str.ws2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x11066b70], eax
test eax, eax
je 0x1100a0b5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push edi
push str.WSAStartup
push eax
call esi
mov ecx, dword [0x11066b70]
push str.WSACleanup
push ecx
mov edi, eax
call esi
mov edx, dword [0x11066b70]
push str.socket
push edx
mov dword [ebp - 0x1a4], eax
call esi
mov ebx, eax
mov eax, dword [0x11066b70]
push str.closesocket
push eax
call esi
mov ecx, dword [0x11066b70]
push str.WSAIoctl
push ecx
mov dword [ebp - 0x1a8], eax
call esi
lea edx, [ebp - 0x194]
push edx
push 2
mov dword [ebp - 0x1a0], eax
call edi
test eax, eax
jne 0x1100a09e
push eax
push 2
push 2
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x1100a098
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1ac]
push 0
push 0
lea eax, [ebp - 0x19c]
push eax
push ecx
push edx
push 0
push 0
push 0x4004747f
push esi
call dword [ebp - 0x1a0]
test eax, eax
jne 0x1100a091
mov ecx, dword [ebp - 0x19c]
mov eax, 0xaf286bcb
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 6
mov dword [ebp - 0x198], ecx
push esi
call dword [ebp - 0x1a8]
call dword [ebp - 0x1a4]
mov eax, dword [ebp - 0x198]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.110278cd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.110278cd
mov esp, ebp
pop ebp
ret

Function at 0x1100aa50
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x11064c1c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
test esi, esi
je 0x1100ab08
mov ebx, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 1
push esi
mov dword [ebp - 0x10], 1
call ebx
mov eax, dword [ebp - 0x10]
call fcn.11027ad0
mov edi, esp
test edi, edi
je 0x1100ab06
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
push ecx
push edx
push edi
push 1
push esi
call ebx
test eax, eax
je 0x1100ab06
mov eax, dword [0x11067384]
test eax, eax
jne 0x1100aadf
push 0x11067384
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0x12
mov dword [ebp - 0xc], eax
push 1
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov eax, dword [0x11067384]
test eax, eax
je 0x1100ab06
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x1100ab06
mov eax, 1
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.110278cd
mov esp, ebp
pop ebp
ret
xor eax, eax
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.110278cd
mov esp, ebp
pop ebp
ret
Function at 0x1100ad40
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 + 0x110677e8], ecx
inc edx
cmp edx, 0x100
jl 0x1100ad42
mov dword [0x11067734], 1
ret

Function at 0x1100ae10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x11067734], 0
push esi
push edi
mov edi, eax
mov esi, ecx
jne 0x1100ae27
call fcn.1100ad40
mov eax, dword [ebp + 8]
test edi, edi
je 0x1100ae4b
mov edi, edi
movzx edx, byte [eax]
mov ecx, esi
and ecx, 0xff
xor ecx, edx
shr esi, 8
xor esi, dword [ecx*4 + 0x110677e8]
inc eax
dec edi
jne 0x1100ae30
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x1100b530
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
push 2
push esi
push ebx
mov dword [ebp - 4], esi
call fcn.1102a5a1
push ebx
call fcn.1102a7b1
push esi
push esi
push ebx
mov edi, eax
call fcn.1102a5a1
add esp, 0x1c
test edi, edi
jle 0x1100b5dd
lea eax, [edi + 1]
push eax
call fcn.11027a34
mov esi, eax
add esp, 4
test esi, esi
je 0x1100b5d3
push ebx
push edi
push 1
push esi
call fcn.1102aa7d
add esp, 0x10
test eax, eax
js 0x1100b590
mov ecx, esi
mov byte [eax + esi], 0
call fcn.1100b4a0
mov dword [ebp - 4], eax
push esi
call fcn.110509a1
mov edi, dword [ebp + 0xc]
add esp, 4
test edi, edi
je 0x1100b5c0
push 0x11053b5c
push esi
call fcn.11029910
add esp, 8
test eax, eax
je 0x1100b5c0
add eax, 8
push eax
call fcn.1102b4c0
add esp, 4
mov dword [edi], eax
push esi
call fcn.110279bb
push 0
push 0
push ebx
call fcn.1102a5a1
add esp, 0x10
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1100bc80
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11050b6b
mov eax, dword fs:[0]
push eax
sub esp, 0x824
mov eax, dword [0x11064c1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x11064830], 0
jge 0x1100bdb8
push 0
push 0x11053d70
push str.SoftwareNetSupport_LtdLicence
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [0x11064830], 0
call fcn.11020490
add esp, 0x10
mov dword [0x11064830], eax
test eax, eax
je 0x1100be91
lea ecx, [ebp - 0x830]
call fcn.110188d0
lea eax, [ebp - 0x830]
push eax
push str.LogFile
push str.SoftwareNetSupport_LtdLicence
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
call fcn.11020650
mov edx, dword [ebp - 0x830]
mov eax, dword [edx]
add esp, 0x10
lea ecx, [ebp - 0x830]
call eax
test al, al
jne 0x1100bd45
push 0x258
push str.E:_nsmsrc_nsm14101410ctl32NSMString.h
push str.IsA__
call fcn.11016130
add esp, 0xc
mov ecx, dword [ebp - 0x824]
cmp word [ecx], 0
je 0x1100bd9f
mov edx, dword [ebp - 0x830]
mov eax, dword [edx]
lea ecx, [ebp - 0x830]
call eax
test al, al
jne 0x1100bd7c
push 0x258
push str.E:_nsmsrc_nsm14101410ctl32NSMString.h
push str.IsA__
call fcn.11016130
add esp, 0xc
mov eax, dword [ebp - 0x824]
mov edx, str.nsSetup.log
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1100bd90
lea ecx, [ebp - 0x830]
mov dword [ebp - 4], 0xffffffff
call fcn.11017260
cmp dword [0x11064830], 0
je 0x1100be91
lea ecx, [ebp - 0x820]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [ebp - 0x812]
movzx eax, word [ebp - 0x814]
movzx ecx, word [ebp - 0x816]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
push edx
movzx edx, word [ebp - 0x818]
push eax
movzx eax, word [ebp - 0x81a]
push ecx
movzx ecx, word [ebp - 0x81e]
push edx
movzx edx, word [ebp - 0x820]
push eax
push ecx
push edx
lea eax, [ebp - 0x810]
push str._04d__02d__02d__02d:_02d:_02d._03d
push eax
call edi
mov edx, dword [ebp + 8]
add esp, 0x24
lea ecx, [ebp + 0xc]
push ecx
mov esi, eax
push edx
lea eax, [ebp + esi*2 - 0x810]
push eax
call dword [sym.imp.USER32.dll_wvsprintfW]
add esi, eax
cmp word [ebp + esi*2 - 0x812], 0xa
lea eax, [ebp + esi*2 - 0x810]
je 0x1100be51
push 0x11052ca8
push eax
call edi
add esp, 8
lea ecx, [ebp - 0x810]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x11053cc8
push str.nsSetup.log
call fcn.11029848
mov esi, eax
add esp, 8
test esi, esi
je 0x1100be91
lea edx, [ebp - 0x810]
push edx
push 0x11052d70
push esi
call fcn.1102b805
push esi
call fcn.110292f8
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.110278cd
mov esp, ebp
pop ebp
ret
Function at 0x1100c600
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x11064c1c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
jmp 0x1100c620
movzx ecx, word [eax + str.SoftwareMicrosoftWindowsCurrentVersionUninstallNetSupport_Manager]
mov word [ebp + eax - 0x204], cx
add eax, 2
test cx, cx
jne 0x1100c620
lea eax, [ebp - 0x204]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.110278cd
mov esp, ebp
pop ebp
ret 4

Function at 0x1100c660
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push 0x44
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.110278e0
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
mov edx, dword [ebp + 8]
mov ecx, 1
lea eax, [ebp - 0x54]
push eax
mov word [ebp - 0x24], cx
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0x4000000
push 1
push 0
push 0
push edx
push 0
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test esi, esi
je 0x1100c6db
mov eax, dword [ebp - 0x10]
push edi
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [ebp - 0xc]
push edx
call edi
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1100ccd0
Capabilities:
Check if file exists

Disassembly:
push esi
push edi
push str.GlobalNorthpointShutdownEvent
xor edi, edi
push edi
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, eax
test esi, esi
je 0x1100ccfd
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1100ccf6
call fcn.1100cca0
pop edi
pop esi
ret 4