joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431020
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, ebx
cmp dword [ebx + 0x14], 0x10
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0xc], eax
jb 0x431042
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x431061
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x431050
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
and eax, edx
mov edi, dword [edi + 4]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 0x10], edx
mov esi, edx
mov dword [ebp - 8], eax
cmp edx, edi
jne 0x43108b
mov eax, edi
jmp 0x43108f
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x4310cf
push ebx
lea eax, [esi + 8]
push eax
call fcn.0042a280
test al, al
je 0x4310ab
mov esi, dword [esi]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
jmp 0x431083
lea eax, [esi + 8]
push eax
push ebx
call fcn.0042a280
test al, al
je 0x4310c2
test al, al
mov ecx, edi
cmove edi, esi
jmp 0x4310d1
mov ecx, dword [ebp - 4]
test al, al
cmove edi, esi
mov ecx, dword [ecx + 4]
jmp 0x4310d1
mov ecx, edi
mov eax, edi
cmp edi, ecx
jne 0x43112b
mov esi, dword [ecx]
lea eax, [ebp - 8]
push ecx
push eax
push ecx
mov edi, dword [esi + 4]
push edi
push esi
mov dword [ebp - 8], ebx
call fcn.00435180
mov ebx, dword [ebp - 4]
mov ecx, eax
mov eax, 0x71c71c6
mov edx, dword [ebx + 8]
sub eax, edx
cmp eax, 1
jb 0x43113f
lea eax, [edx + 1]
mov dword [ebx + 8], eax
mov dword [esi + 4], ecx
mov esi, dword [ebp - 0xc]
mov dword [edi], ecx
mov ecx, ebx
mov edx, dword [ebx + 4]
mov edx, dword [edx]
push edx
add edx, 8
push edx
push esi
call fcn.00433de0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 0
mov esp, ebp
pop ebp
ret 8
push str.list_T__too_long
call fcn.0045e7c4
int3
Function at 0x431150
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, ebx
cmp dword [ebx + 0x14], 0x10
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0xc], eax
jb 0x431172
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x431191
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x431180
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
and eax, edx
mov edi, dword [edi + 4]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 0x10], edx
mov esi, edx
mov dword [ebp - 8], eax
cmp edx, edi
jne 0x4311bb
mov eax, edi
jmp 0x4311bf
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x4311ff
push ebx
lea eax, [esi + 8]
push eax
call fcn.0042a280
test al, al
je 0x4311db
mov esi, dword [esi]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
jmp 0x4311b3
lea eax, [esi + 8]
push eax
push ebx
call fcn.0042a280
test al, al
je 0x4311f2
test al, al
mov ecx, edi
cmove edi, esi
jmp 0x431201
mov ecx, dword [ebp - 4]
test al, al
cmove edi, esi
mov ecx, dword [ecx + 4]
jmp 0x431201
mov ecx, edi
mov eax, edi
cmp edi, ecx
jne 0x43125b
mov esi, dword [ecx]
lea eax, [ebp - 8]
push ecx
push eax
push ecx
mov edi, dword [esi + 4]
push edi
push esi
mov dword [ebp - 8], ebx
call fcn.00435280
mov ebx, dword [ebp - 4]
mov ecx, eax
mov eax, 0x71c71c6
mov edx, dword [ebx + 8]
sub eax, edx
cmp eax, 1
jb 0x43126f
lea eax, [edx + 1]
mov dword [ebx + 8], eax
mov dword [esi + 4], ecx
mov esi, dword [ebp - 0xc]
mov dword [edi], ecx
mov ecx, ebx
mov edx, dword [ebx + 4]
mov edx, dword [edx]
push edx
add edx, 8
push edx
push esi
call fcn.00433de0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 0
mov esp, ebp
pop ebp
ret 8
push str.list_T__too_long
call fcn.0045e7c4
int3
Function at 0x4331f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 8
push ebx
push esi
lea esi, [eax + 8]
mov dword [ebp - 8], eax
mov ebx, ecx
mov ecx, dword [esi + 0x10]
jb 0x433214
mov esi, dword [esi]
xor edx, edx
push edi
mov edi, 0x811c9dc5
add ecx, ecx
je 0x433236
mov eax, ecx
movzx ecx, byte [edx + esi]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x433222
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0xc]
and ecx, edi
pop edi
lea esi, [ecx*8]
mov ecx, dword [edx + esi]
add edx, esi
cmp dword [edx + 4], eax
jne 0x43326d
cmp ecx, eax
jne 0x433265
mov ecx, dword [ebx + 4]
mov dword [edx], ecx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov dword [esi + edx + 4], ecx
jmp 0x433275
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x433275
cmp ecx, eax
jne 0x433275
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [ebx + 8]
call fcn.0042a660
mov eax, dword [ebp - 0xc]
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x434000
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557e00
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5ac3e4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24], esi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
and ecx, eax
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 4]
mov dword [ebp - 0x20], ecx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp esi, eax
je 0x4340e3
mov esi, dword [ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x4340e3
mov esi, dword [esi + 4]
mov ecx, dword [edx]
cmp ecx, dword [esi + 8]
jne 0x434091
mov edi, dword [ebp + 0x10]
push edi
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov edx, dword [edi]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
dec dword [eax + 8]
call fcn.0042a8a0
mov dword [ebx], esi
mov byte [ebx + 4], 0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e037c
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
cmp esi, eax
je 0x434110
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
push dword [ebp - 0x20]
push esi
mov esi, dword [ebp - 0x1c]
mov ecx, esi
push edi
call fcn.00434a90
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.004349f0
mov dword [ebx], edi
mov byte [ebx + 4], 1
jmp 0x4340c3
Function at 0x4351d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 0x10
push ebx
mov ebx, dword [eax + 0x18]
push esi
lea esi, [eax + 8]
mov dword [ebp - 4], ecx
jb 0x4351f2
mov esi, dword [esi]
xor edx, edx
push edi
mov edi, 0x811c9dc5
test ebx, ebx
je 0x435211
nop
movzx ecx, byte [edx + esi]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, ebx
jb 0x435200
mov ebx, dword [ebp - 4]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0xc]
and ecx, edi
pop edi
lea esi, [ecx*8]
mov ecx, dword [edx + esi]
add edx, esi
cmp dword [edx + 4], eax
jne 0x43524b
cmp ecx, eax
jne 0x435243
mov ecx, dword [ebx + 4]
mov dword [edx], ecx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov dword [esi + edx + 4], ecx
jmp 0x435253
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x435253
cmp ecx, eax
jne 0x435253
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [ebx + 8]
call fcn.0042a840
mov eax, dword [ebp - 8]
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x435a70
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5ac3e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xf003f
push 0
push 0
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x435aae
pop edi
mov eax, 0x80004003
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e037c
mov esp, ebp
pop ebp
ret
push ebx
push 0xf01ff
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
jne 0x435ac9
mov edi, 0x80004005
jmp 0x435b00
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
push eax
xorps xmm0, xmm0
push 1
push ebx
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_ControlService]
neg eax
push ebx
sbb edi, edi
and edi, 0x7fffbffb
add edi, 0x80004005
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004e037c
mov esp, ebp
pop ebp
ret

Function at 0x435b20
Capabilities:
Delete service

Disassembly:
push esi
push edi
push 0xf003f
push 0
push 0
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x435b41
pop edi
mov eax, 0x80004003
pop esi
ret
push ebx
push 0xf01ff
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x435b67
push esi
mov ebx, 0x80004005
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
pop ebx
pop edi
pop esi
ret
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
neg eax
push edi
sbb ebx, ebx
and ebx, 0x7fffbffb
add ebx, 0x80004005
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
pop ebx
pop edi
pop esi
ret
Function at 0x435ba0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.004e15c0
mov eax, dword [0x5ac3e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x4000
lea eax, [ebp - 0x4004]
mov esi, ecx
push 0
push eax
call fcn.0051d990
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x435c92
lea eax, [ebp - 0x4008]
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
je 0x435c92
cmp eax, 0x3fff
ja 0x435c92
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x435c92
lea eax, [ebp - 0x400c]
push eax
lea eax, [ebp - 0x4010]
push eax
push 0x58b9c4
lea eax, [ebp - 0x4004]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x435c92
push 0x208
push 0
push 0x5b4ba8
call fcn.0051d990
mov ecx, dword [ebp - 0x4010]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push 0x103
push 0x5b4ba8
call fcn.00414fe0
add esp, 0x28
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e037c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004e037c
mov esp, ebp
pop ebp
ret

Function at 0x435df0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5ac3e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, edx
test edi, edi
je 0x435e6e
test esi, esi
je 0x435e6e
push 5
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x435e6e
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x435e68
mov eax, dword [esi]
mov dword [edi], eax
mov al, byte [esi + 4]
mov byte [edi + 4], al
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x435e68
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e037c
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.004e037c
mov esp, ebp
pop ebp
ret
Function at 0x43e880
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558b48
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5ac3e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00438520
mov ecx, dword [ebp + 0x10]
mov esi, eax
mov dword [ebp - 4], 0
lea edi, [esi + 8]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edi
mov eax, dword [ecx]
mov dword [edi], eax
xor eax, eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
movups xmm0, xmmword [ecx + 4]
movups xmmword [edi + 4], xmm0
movq xmm0, qword [ecx + 0x14]
movq qword [edi + 0x14], xmm0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 7
mov word [ecx + 4], ax
mov byte [ebp - 4], 1
mov eax, dword [ecx + 0x1c]
xor ecx, ecx
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 7
mov word [edi + 0x1c], cx
lea ecx, [eax + 2]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e927
sub eax, dword [ebp + 0xc]
lea ecx, [edi + 0x1c]
sar eax, 1
push eax
push dword [ebp + 8]
call fcn.004295e0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x20]
mov dword [edi + 0x34], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x445060
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
imul esi, ebx, 0x4058
mov edi, ecx
add esi, edi
push esi
push dword [esi + 0x28]
mov dword [esi + 0x4038], 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x4450ab
mov byte [esi + 0x2c], 0
mov dword [esi + 0x4038], 1
mov ecx, dword [edi + 0x283ec]
test ecx, ecx
je 0x4450ab
mov eax, dword [ecx]
push 0
push ebx
push edi
call dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x4450d9
cmp eax, 0x3e5
je 0x4450c8
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4
pop edi
mov byte [esi + 0x2c], 1
mov al, 1
mov byte [esi + 0x2d], 0
pop esi
pop ebx
pop ebp
ret 4
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
mov byte [esi + 0x2d], 0
mov al, 1
pop esi
pop ebx
pop ebp
ret 4

Function at 0x445240
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5ac3e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
imul edx, ebx, 0x4058
mov esi, ecx
mov ecx, dword [ebp + 0xc]
add edx, esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], edx
lea eax, [edx + 0x14]
imul edi, ebx, 0x4058
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push ecx
push dword [edx + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
add edi, esi
test eax, eax
je 0x445292
xor al, al
jmp 0x4452a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4452de
mov al, 1
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x2d], al
cmp byte [edi + 0x2d], 0
jne 0x4452c9
push dword [edi + 0x24]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x4452c9
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax + 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e037c
mov esp, ebp
pop ebp
ret 0xc
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push ebx
mov ecx, esi
call fcn.00445060
test al, al
jne 0x4452c9
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e037c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x445310
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5ac3e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
imul edi, ebx, 0x4058
mov esi, ecx
mov dword [ebp - 8], 0
add edi, esi
cmp byte [edi + 0x2c], 0
je 0x4453ee
push 0
lea eax, [ebp - 8]
push eax
push edi
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ecx, dword [edi + 0x4038]
sub ecx, 0
je 0x4453ca
sub ecx, 1
jne 0x4453ee
test eax, eax
je 0x44538d
mov eax, dword [ebp - 8]
test eax, eax
je 0x44538d
mov dword [edi + 0x30], eax
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x4453ee
mov edx, dword [ecx]
push 0
push eax
lea eax, [edi + 0x38]
push eax
push ebx
push esi
call dword [edx + 8]
jmp 0x4453ee
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push ebx
mov ecx, esi
call fcn.00445060
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x445450
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax + 4]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e037c
mov esp, ebp
pop ebp
ret 4
test eax, eax
je 0x445489
mov dword [edi + 0x4038], 1
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x4453ee
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax]
push 0x2000
lea eax, [edi + 0x38]
push 0
push eax
call fcn.0051d990
add esp, 0xc
lea eax, [edi + 0x30]
push edi
push eax
push 0x2000
lea eax, [edi + 0x38]
push eax
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x445420
xor al, al
jmp 0x44542f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x445465
mov al, 1
mov byte [edi + 0x2c], al
test al, al
jne 0x445450
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x445450
mov eax, dword [ecx]
lea edx, [edi + 0x38]
push 0
push dword [edi + 0x30]
push edx
push ebx
push esi
call dword [eax + 8]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e037c
mov esp, ebp
pop ebp
ret 4
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push ebx
mov ecx, esi
call fcn.00445060
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x445489
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax + 4]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e037c
mov esp, ebp
pop ebp
ret 4
Function at 0x448610
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x59dbb8
push 0x51cb90
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x5ac3e4]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x438], 0
mov dword [ebp - 4], 0
push 0x200
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.0051d990
push edi
push str.SYSTEMCurrentControlSetServices_sParameters
push 0xff
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x438]
push eax
push 0x20219
push 0
lea eax, [ebp - 0x42c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44872b
mov dword [ebp - 0x434], eax
push 0x210
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.0051d990
add esp, 0xc
mov dword [ebp - 0x430], 0x210
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x434]
push eax
push 0
push str.ServiceDll
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44872b
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x107
jge 0x44872b
push 0x107
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 4], 0xfffffffe
call fcn.0044875d
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004e037c
mov esp, ebp
pop ebp
ret 4
Function at 0x448880
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x59dbf8
push 0x51cb90
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5ac3e4]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x44], edx
mov eax, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], 0
xor edi, edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], edi
mov dword [eax], edi
mov dword [edx], edi
lea eax, [ebp - 0x2c]
push eax
push edi
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x4488f6
cmp dword [ebp - 0x2c], edi
je 0x4488f6
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44892e
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x3f0
jne 0x448a10
lea eax, [ebp - 0x2c]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x448a10
cmp dword [ebp - 0x2c], 0
je 0x448a10
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 2
push dword [ebp - 0x2c]
mov ebx, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call ebx
test eax, eax
jne 0x448a10
cmp dword [ebp - 0x30], eax
jbe 0x448a10
call esi
cmp eax, 0x7a
jne 0x448a10
push dword [ebp - 0x30]
call fcn.00526145
add esp, 4
mov edi, eax
mov dword [ebp - 0x38], edi
test edi, edi
je 0x448a10
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x30]
push edi
push 2
push dword [ebp - 0x2c]
call ebx
test eax, eax
je 0x448a10
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x30]
jne 0x448a10
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0x500
lea eax, [ebp - 0x34]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x448a10
cmp dword [ebp - 0x34], 0
je 0x448a10
xor esi, esi
mov dword [ebp - 0x3c], esi
cmp esi, dword [edi]
jae 0x448a10
lea ebx, [edi + esi*8]
push dword [ebp - 0x34]
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4489f9
inc esi
jmp 0x4489dc
mov eax, dword [ebp - 0x40]
mov dword [eax], 1
mov eax, dword [ebx + 8]
shr eax, 2
and eax, 1
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.00448a3b
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004e037c
mov esp, ebp
pop ebp
ret