joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437400
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebp
mov ecx, dword [ebx]
push 0
mov ebp, dword [esp + 0x18]
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x43743f
push ebp
mov ecx, edi
call fcn.0040aea0
mov eax, edi
pop ebp
add esp, 0xc
ret 4
mov edx, dword [esp + 0x14]
push esi
push edx
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0
call fcn.00423290
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov esi, dword [esp + 8]
mov eax, esi
je 0x437470
mov byte [eax], 0
add eax, 1
sub ecx, 1
jne 0x437465
mov eax, dword [ebx]
lea ecx, [esp + 0x18]
push ecx
push esi
lea edx, [esp + 0x18]
push edx
push 0
push str.OrderName
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4374ef
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x43749d
cmp eax, 2
jne 0x4374ef
push esi
lea ecx, [esp + 0x10]
call fcn.0040aea0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.0040ae10
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4374f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.0044cd27
add esp, 4
pop esi
mov eax, edi
pop ebp
add esp, 0xc
ret 4
push ebp
mov ecx, edi
call fcn.0040aea0
push esi
call fcn.0044cd27
add esp, 4
pop esi
mov eax, edi
pop ebp
add esp, 0xc
ret 4

Function at 0x437510
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov ecx, dword [esi]
push 0
push 0
lea eax, [esp + 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x437578
cmp dword [esp], 4
jb 0x437578
lea edx, [esp]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 8]
push eax
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x437578
cmp dword [esp + 8], 4
mov eax, dword [esp + 4]
je 0x43757a
mov eax, edi
add esp, 0xc
ret 4

Function at 0x437620
Capabilities:
Create thread

Disassembly:
push ecx
test eax, eax
push esi
lea esi, [esp + 4]
je 0x43762c
mov esi, eax
push 0xc
call fcn.0044ccf7
add esp, 4
test eax, eax
je 0x437646
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
jmp 0x437648
xor eax, eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push esi
push 0
push eax
push 0x437580
push 0
push 0
mov dword [eax + 4], ecx
mov dword [eax], edx
mov dword [eax + 8], 2
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
pop ecx
ret
Function at 0x438030
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48dad1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4b5930]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], ebx
call fcn.00457afe
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x43807e
push 0x80004005
call fcn.00405140
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x24], ebx
mov edi, 1
mov dword [esp + 0x10], edi
call fcn.00437fd0
test al, al
je 0x4380d9
lea ecx, [esp + 0x14]
push ecx
call fcn.00437680
add esp, 4
push eax
mov ecx, esi
mov dword [esp + 0x28], edi
call fcn.0040b2c0
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4381c5
mov eax, dword [esi]
sub eax, 0x10
mov ecx, edi
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov edi, 0x104
sub eax, edi
or eax, ecx
jge 0x4380f9
push edi
mov ecx, esi
call fcn.0040ab10
mov eax, dword [esi]
cmp dword [eax - 8], edi
jge 0x43810a
push 0x80070057
call fcn.00405140
push eax
push ebx
push ebx
mov dword [eax - 0xc], edi
mov ecx, dword [esi]
push 0x801a
push ebx
mov byte [ecx + 0x104], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov ecx, dword [esi]
cmp ecx, ebx
jne 0x43812f
xor eax, eax
jmp 0x438141
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x438134
sub eax, edi
js 0x438100
cmp eax, dword [ecx - 8]
jg 0x438100
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
mov byte [eax + edx], 0
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040aea0
lea ecx, [esp + 0x14]
mov ebx, 2
push ecx
mov edi, eax
mov dword [esp + 0x28], ebx
call fcn.00438290
add esp, 4
mov byte [esp + 0x24], 3
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call fcn.0040ef80
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4381ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4381d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x4381f0
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push 0
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
xor ebx, ebx
test esi, esi
jne 0x438219
mov ecx, edi
call fcn.0040b260
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 4
mov eax, dword [edi]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, esi
or ecx, edx
jge 0x438237
push esi
mov ecx, edi
call fcn.0040ab10
mov eax, dword [edi]
push esi
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ecx, dword [edi]
test ecx, ecx
jne 0x43824c
xor eax, eax
jmp 0x43825e
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x438251
sub eax, esi
js 0x438278
cmp eax, dword [ecx - 8]
jg 0x438278
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
mov byte [eax + ecx], bl
pop esi
mov ebx, 1
pop ebp
mov eax, ebx
pop ebx
ret 4
push 0x80070057
call fcn.00405140
int3
Function at 0x43b550
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x48ad8b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4b5930]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00488300
push 4
mov dword [esp + 0x20], 0
call fcn.0044ccf7
mov edi, eax
add esp, 4
test edi, edi
je 0x43b5d0
call fcn.0048891a
mov dword [edi], eax
call fcn.0048874e
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.004886c0
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x43b5c5
add eax, 1
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.004886e1
jmp 0x43b5d2
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x43dd90
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
lea esi, [eax + 4]
test esi, esi
push edi
je 0x43dde3
lea edi, [ebp + 4]
test edi, edi
je 0x43dde3
cmp byte [eax + 0x48], 0
je 0x43dde3
mov ebx, dword [sym.imp.ADVAPI32.dll_IsValidSid]
push esi
call ebx
test eax, eax
setne al
test al, al
je 0x43dde3
cmp byte [ebp + 0x48], 0
je 0x43dde3
push edi
call ebx
test eax, eax
setne al
test al, al
je 0x43dde3
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_EqualSid]
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret

Function at 0x43f110
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x48bb66
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4b5930]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
mov eax, dword [0x4b5930]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov eax, 0x104
xor ebx, ebx
push ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x12c]
push ecx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
je 0x43f297
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push 0xf003f
push 0
lea edx, [esp + 0x138]
push edx
push 0
lea eax, [esp + 0x3c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x43f29e
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
call fcn.0040aea0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x238], 0
call fcn.0040aea0
lea ecx, [esp + 0x14]
push ecx
push edi
lea edx, [esp + 0x20]
push edx
push esi
mov byte [esp + 0x244], 1
call fcn.0043f3d0
mov ebp, eax
mov byte [esp + 0x244], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f22a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x234], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f255
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
je 0x43f29e
push 0
lea ecx, [esp + 0x10]
push ecx
mov eax, 0x104
lea edx, [esp + 0x12c]
push edx
push 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push ecx
add ebx, 1
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
jne 0x43f184
mov eax, 1
jmp 0x43f2a0
xor eax, eax
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0046da06
add esp, 0x22c
ret
Function at 0x440280
Capabilities:
Get file version info

Disassembly:
sub esp, 0x118
mov eax, dword [0x4b5930]
xor eax, esp
mov dword [esp + 0x114], eax
push ebp
push esi
push edi
xor edi, edi
push 0x34
lea ebp, [ebx + 4]
push edi
push ebp
mov esi, ecx
mov word [ebx + 0x3c], di
mov word [ebx + 0x3e], 0x4e4
call fcn.00473530
add esp, 0xc
push 0x104
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
ja 0x4402e3
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0046da06
add esp, 0x118
ret
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, edi
jbe 0x4402c9
mov eax, dword [ebx + 0x38]
cmp eax, edi
je 0x44030b
push eax
call fcn.0044cd27
add esp, 4
mov dword [ebx + 0x38], edi
push esi
call fcn.0044cd22
add esp, 4
push eax
push esi
mov dword [ebx + 0x38], eax
push edi
lea eax, [esp + 0x24]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4402c9
mov eax, dword [ebx + 0x38]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x49aa08
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4402c9
mov esi, dword [esp + 0xc]
mov ecx, 0xd
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x38]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push str.VarFileInfoTranslation
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x44037d
cmp dword [esp + 0x10], 4
jb 0x44037d
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov dword [ebx + 0x3c], edx
mov ecx, dword [esp + 0x120]
xor eax, eax
cmp dword [ebp], 0xfeef04bd
pop edi
pop esi
sete al
pop ebp
xor ecx, esp
call fcn.0046da06
add esp, 0x118
ret
Function at 0x440670
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x48baa6
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x4b5930]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [0x4b5930]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov dword [esp + 8], 0
mov ecx, 0x94
lea eax, [esp + 0xc]
jmp 0x4406c0
mov byte [eax], 0
add eax, 1
sub ecx, 1
jne 0x4406c0
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x440716
call fcn.00457afe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4406fc
push 0x80004005
call fcn.00405140
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, esi
call fcn.0040b260
jmp 0x440811
push str.Vista
lea ecx, [esp + 0xc]
call fcn.0040aea0
mov dword [esp + 0xac], 1
mov eax, dword [esp + 0x1c]
sub eax, 1
je 0x44079c
sub eax, 1
jne 0x4407d1
mov eax, dword [esp + 0x10]
cmp eax, 4
ja 0x440751
push 0x4a1788
jmp 0x440762
cmp eax, 5
jne 0x4407d1
cmp dword [esp + 0x14], 0
jne 0x440772
push str.2000
lea ecx, [esp + 0xc]
call fcn.0040b150
cmp dword [esp + 0x10], 5
jne 0x4407d1
cmp dword [esp + 0x14], 1
jne 0x44078e
push 0x4a1794
lea ecx, [esp + 0xc]
call fcn.0040b150
cmp dword [esp + 0x10], 5
jne 0x4407d1
cmp dword [esp + 0x14], 2
jne 0x4407d1
push 0x4a1794
jmp 0x4407c8
cmp dword [esp + 0x10], 4
jne 0x4407d1
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4407b2
push 0x4a1798
jmp 0x4407c8
cmp eax, 0xa
jne 0x4407be
push 0x4a179c
jmp 0x4407c8
cmp eax, 0x5a
jne 0x4407d1
push 0x4a17a0
lea ecx, [esp + 0xc]
call fcn.0040b150
mov eax, dword [esp + 8]
add eax, 0xfffffff0
push eax
call fcn.0040ae10
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0xb0], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440811
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.0046da06
add esp, 0xac
ret
Function at 0x4411d0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x114
mov eax, dword [0x4b5930]
xor eax, esp
mov dword [esp + 0x110], eax
push ebp
mov ebp, dword [esp + 0x11c]
push esi
lea esi, [ebp + 4]
mov edx, esi
call fcn.00441b10
test eax, eax
jne 0x441244
push 0xf
push str._Not_available_
lea ecx, [ebp + 0x138]
call fcn.00409990
push 0xf
push str._Not_available_
lea ecx, [ebp + 0x11c]
call fcn.00409990
push 0xf
push str._Not_available_
lea ecx, [ebp + 0x58]
call fcn.00409990
push 0xf
push str._Not_available_
lea ecx, [ebp + 0x20]
call fcn.00409990
xor al, al
jmp 0x4413ae
push edi
mov edi, 0x10
cmp dword [esi + 0x18], edi
jb 0x441254
mov eax, dword [esi + 4]
jmp 0x441257
lea eax, [esi + 4]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x441294
cmp dword [esi + 0x18], edi
jb 0x44126f
mov esi, dword [esi + 4]
jmp 0x441272
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x44128d
mov esi, ebp
call fcn.00441180
xor al, al
jmp 0x4413ac
mov byte [ebp + 0x201], 1
push 0x104
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
ja 0x4412c1
cmp byte [ebp + 0x201], 0
je 0x4412c1
test ebx, ebx
je 0x4412c1
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
call edi
jmp 0x4412c7
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jbe 0x44133e
mov eax, dword [ebp + 0x1c8]
test eax, eax
je 0x4412ef
push eax
call fcn.0044cd27
add esp, 4
push esi
call fcn.0044cd22
push esi
push 0
push eax
mov dword [ebp + 0x1c8], eax
call fcn.00473530
mov eax, dword [ebp + 0x1c8]
add esp, 0x10
push eax
push esi
push 0
lea ecx, [esp + 0x28]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x44133e
mov ecx, dword [ebp + 0x1c8]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push 0x49aa08
push ecx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x441352
cmp byte [ebp + 0x201], 0
je 0x44134e
test ebx, ebx
je 0x44134e
push ebx
call edi
xor al, al
jmp 0x4413ac
mov esi, dword [esp + 0x10]
lea edi, [ebp + 0x1cc]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov esi, ebp
call fcn.004416f0
test al, al
je 0x441377
call fcn.004413d0
test al, al
jne 0x44138f
cmp byte [ebp + 0x201], 0
je 0x44138b
test ebx, ebx
je 0x44138b
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
jmp 0x4413ac
cmp byte [ebp + 0x201], 0
je 0x4413a3
test ebx, ebx
je 0x4413a3
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp + 0x200], 1
mov al, 1
pop ebx
pop edi
mov ecx, dword [esp + 0x118]
pop esi
pop ebp
xor ecx, esp
call fcn.0046da06
add esp, 0x114
ret 4
Function at 0x441b70
Capabilities:
Create process on windows
Query service status
Start service

Disassembly:
sub esp, 0x214
mov eax, dword [0x4b5930]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0x7c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x88], 1
jne 0x441c46
push str.SYSTEM_AGENT_COM_WINDOW
push str.SAGEWINDOWCLASS
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x441cd0
push 0x44
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00473530
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x114]
push eax
push 0x104
push 0
push str.mstask.exe
push 0
mov dword [esp + 0x48], 0x44
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
je 0x441c8c
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
push edx
push 0
push 0
push 0x210
push 0
push 0
push 0
push 0
lea eax, [esp + 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x441c8c
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
jmp 0x441cce
mov ebp, dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
push 1
push 0
push 0
call ebp
mov esi, eax
test esi, esi
je 0x441c8c
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenServiceA]
push 4
push str.Schedule
push esi
call ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
test edi, edi
je 0x441c8c
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
push edi
jne 0x441c94
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x441cd2
cmp dword [esp + 0x1c], 4
je 0x441cce
call esi
push 1
push 0
push 0
call ebp
mov edi, eax
test edi, edi
je 0x441c8c
push 0x14
push str.Schedule
push edi
call ebx
push edi
mov ebx, eax
call esi
test ebx, ebx
je 0x441c8c
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
push ebx
je 0x441c8a
call esi
xor eax, eax
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046da06
add esp, 0x214
ret
Function at 0x4435c0
Capabilities:
Get user security identifier

Disassembly:
push 0xffffffffffffffff
push 0x48b88b
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x4b5930]
xor eax, esp
mov dword [esp + 0xdc], eax
push ebx
push ebp
push edi
mov eax, dword [0x4b5930]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
lea ebx, [esi + 0x50]
lea ebp, [esi + 0x4c]
mov ecx, ebx
mov dword [ebp], 7
call fcn.0040b260
lea edi, [esi + 0x54]
mov ecx, edi
mov dword [esp + 0x20], edi
call fcn.0040b260
lea ecx, [esi + 0x58]
call fcn.0040b260
lea ecx, [esi + 0x5c]
mov dword [esp + 0x1c], ecx
call fcn.0040b260
mov byte [esi + 0x48], 0
push ebp
lea eax, [esp + 0x2c]
mov ecx, eax
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0xb8]
push edx
mov dword [esp + 0x10c], 0
push str.EVERYONE
push 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], 0x44
mov dword [esp + 0x30], 0x80
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
jne 0x4436ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x443746
cmp dword [esp + 0x10], 0x44
jbe 0x4436a2
push 0x80004005
call fcn.00405140
mov eax, dword [esp + 0x14]
cmp eax, 0x80
jbe 0x4436c4
mov edi, eax
lea eax, [esp + 0x24]
call fcn.00446a30
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
push ebp
lea ecx, [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xb8]
push ecx
push str.EVERYONE
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
je 0x443746
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xa8]
push edx
lea eax, [esi + 4]
push eax
push ecx
mov byte [esi + 0x48], 1
call dword [sym.imp.ADVAPI32.dll_CopySid]
test eax, eax
je 0x443746
mov edx, dword [esp + 0x18]
push edx
mov ecx, edi
call fcn.0040b150
push str.EVERYONE
mov ecx, ebx
call fcn.0040b150
mov ecx, dword [esp + 0x1c]
push 0
call fcn.0040b150
lea eax, [esp + 0x28]
cmp dword [esp + 0x24], eax
je 0x443742
lea ecx, [esp + 0x24]
call fcn.004051f0
mov al, 1
jmp 0x443785
mov ecx, ebx
mov dword [ebp], 7
call fcn.0040b260
mov ecx, edi
call fcn.0040b260
lea ecx, [esi + 0x58]
call fcn.0040b260
mov ecx, dword [esp + 0x1c]
call fcn.0040b260
lea ecx, [esp + 0x28]
cmp dword [esp + 0x24], ecx
mov byte [esi + 0x48], 0
je 0x443783
lea ecx, [esp + 0x24]
call fcn.004051f0
xor al, al
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0xdc]
xor ecx, esp
call fcn.0046da06
add esp, 0xec
ret
Function at 0x443a90
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
cmp dword [esp + 0xc], 0xffffffff
push ebp
mov ebp, dword [esp + 0x1c]
push edi
mov edi, eax
jne 0x443aad
pop edi
mov eax, 6
pop ebp
add esp, 8
ret
push ebx
push esi
lea ebx, [ebp + 8]
push ebx
call fcn.0046e07b
add esp, 4
test ebx, ebx
mov esi, eax
mov ecx, ebx
je 0x443ace
mov byte [eax], 0
add eax, 1
sub ecx, 1
jne 0x443ac3
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ebp
push ecx
lea edx, [esi + 8]
push edx
mov dword [esi], eax
mov dword [esi + 4], ebp
call fcn.004778b0
mov eax, dword [edi + 0x94]
mov ebp, dword [edi + 0x8c]
mov dword [esp + 0x1c], eax
call dword [edi + 0xa4]
mov ecx, dword [edi + 0xa0]
mov edx, dword [edi + 0x9c]
push ecx
mov ecx, dword [edi + 0x88]
push edx
push ecx
push eax
push ebx
push esi
push ebp
call dword [esp + 0x38]
mov ebp, dword [esp + 0x44]
add esp, 0x28
push 0
lea edx, [esp + 0x18]
push edx
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.0046dd15
add esp, 4
cmp dword [esp + 0x14], ebx
pop esi
pop ebx
je 0x443b51
mov eax, edi
pop edi
pop ebp
add esp, 8
ret
push ebp
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
pop edi
xor eax, eax
pop ebp
add esp, 8
ret