joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444770
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x8c], 1
jne 0x4447ff
xor eax, eax
cmp dword [edi + 0x60], 8
mov word [ebp - 8], ax
mov dword [ebp - 4], eax
lea eax, [edi + 0x4c]
jb 0x44479b
mov eax, dword [eax]
push str.rb__ccsUTF_8
push eax
lea eax, [ebp - 4]
push eax
call fcn.00608764
mov eax, dword [ebp - 4]
add esp, 0xc
test eax, eax
je 0x4447ff
push eax
push 2
lea eax, [ebp - 8]
push 1
push eax
call fcn.00608c39
push dword [ebp - 4]
call fcn.00608844
mov cl, byte [ebp - 8]
add esp, 0x14
mov al, byte [ebp - 7]
cmp cl, 0xff
jne 0x4447dc
cmp al, 0xfe
je 0x4447ff
cmp al, 0xff
jne 0x4447e5
cmp cl, 0xfe
je 0x4447ff
mov eax, dword [ebx]
test eax, eax
je 0x4447f8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0
mov ecx, edi
call fcn.00445d70
cmp dword [edi + 0x60], 8
lea esi, [edi + 0x4c]
jb 0x44480c
mov eax, dword [esi]
jmp 0x44480e
mov eax, esi
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx], eax
cmp eax, 0xffffffff
jne 0x4448ac
cmp dword [esi + 0x14], 8
jb 0x444836
mov esi, dword [esi]
push 0
push 0x80
push 1
push 0
push 3
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx], eax
cmp eax, 0xffffffff
jne 0x444861
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [edi + 0x8c], 1
push 0
jne 0x444891
mov ecx, 0xfeff
mov word [ebp - 4], cx
lea ecx, [ebp - 8]
push ecx
push 2
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 8]
mov word [ebp - 4], 0xbbef
push ecx
push 3
lea ecx, [ebp - 4]
mov byte [ebp - 2], 0xbf
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x444e60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x444e70
push 2
push 0
push 0
push dword [ebx + 0x68]
sub esi, ecx
sar esi, 1
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
add esi, esi
push esi
push dword [ebp + 8]
push dword [ebx + 0x68]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 4
push 0x70c43c
push dword [ebx + 0x68]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x444ed0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x444ee0
push 2
push 0
push 0
push dword [ebx + 0x68]
sub esi, ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push esi
push dword [ebp + 8]
push dword [ebx + 0x68]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 2
push 0x70c444
push dword [ebx + 0x68]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44a580
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66ad60
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x759454]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.005e981c
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.005eb6d4
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
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 0x44d8b0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
push ebx
push esi
lea esi, [eax + 0x4c]
mov dword [ebp - 0xc], eax
xor bl, bl
cmp dword [esi + 0x14], 8
push edi
jb 0x44d8cd
mov eax, dword [esi]
jmp 0x44d8cf
mov eax, esi
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44d8fa
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x44d919
mov eax, dword [ebp - 0x14]
mov bl, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x44d925
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x44d99b
cmp dword [ebp - 4], 0
jl 0x44d99b
jg 0x44d941
cmp dword [ebp - 8], 0xa00000
jb 0x44d99b
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x68]
lea edi, [ebx + 0x68]
test eax, eax
je 0x44d955
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x14], 8
jb 0x44d95d
mov esi, dword [esi]
push 0
push 0x80
push 5
push 0
push 3
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi], eax
test eax, eax
je 0x44d989
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
mov eax, dword [ebx]
mov ecx, ebx
push edi
mov eax, dword [eax]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44e470
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
test esi, esi
je 0x44e4d3
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x44e4d3
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44e4a2
pop edi
shr eax, 4
pop esi
and al, 1
pop ebx
pop ebp
ret 4
push esi
call fcn.0061fb65
mov edi, eax
push 0x5c
push edi
call fcn.00669782
add esp, 0xc
test eax, eax
je 0x44e4f1
xor ecx, ecx
mov word [eax], cx
mov ecx, ebx
push edi
call fcn.0044e470
push edi
test al, al
jne 0x44e4dc
call fcn.00613e50
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4
call fcn.00613e50
add esp, 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x44e4d3
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
Function at 0x4522a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66b129
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x759454]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x75e9f0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 5
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x2c]
mov dword [esi], vtable.TiXmlDeclaration.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x75e9f0
mov dword [esi + 0x30], 0x75e9f0
mov dword [esi + 0x34], 0x75e9f0
mov edi, dword [ebp + 8]
mov edx, edi
mov byte [ebp - 4], 3
lea ebx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x452341
sub edx, ebx
push edx
push edi
call fcn.00452010
mov edi, dword [ebp + 0xc]
mov edx, edi
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x452360
sub edx, ecx
lea ecx, [esi + 0x30]
push edx
push edi
call fcn.00452010
mov edi, dword [ebp + 0x10]
mov edx, edi
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x452380
sub edx, ecx
lea ecx, [esi + 0x34]
push edx
push edi
call fcn.00452010
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 0x4523b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66b163
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x759454]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x75e9f0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x75e9f0
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x6acdf0
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00452010
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x453970
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66b278
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x759454]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4539c1
push esi
push esi
push esi
push 2
call fcn.00457240
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00452c10
push 2
push 0
push esi
mov dword [edi + 8], 0xffffffff
mov dword [edi + 4], 0xffffffff
call fcn.0060904b
push esi
call fcn.006096f2
push 0
push 0
push esi
mov ebx, eax
call fcn.0060904b
add esp, 0x1c
test ebx, ebx
jg 0x453a1c
push 0
push 0
push 0
push 0xd
mov ecx, edi
call fcn.00457240
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0x14], 0x75e9f0
push ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.004520f0
lea eax, [ebx + 1]
push eax
call fcn.005e97fd
push esi
push 1
push ebx
push eax
mov dword [ebp - 0x18], eax
mov byte [eax], 0
call fcn.00608c39
add esp, 0x14
cmp eax, 1
je 0x453a75
push dword [ebp - 0x18]
call fcn.005e9806
add esp, 4
mov ecx, edi
push 0
push 0
push 0
push 2
call fcn.00457240
xor bl, bl
jmp 0x453b1f
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov esi, eax
mov byte [eax + ebx], 0
mov al, byte [eax]
test al, al
je 0x453add
cmp al, 0xa
jne 0x453a9e
mov eax, esi
sub eax, ecx
inc eax
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00451fc0
inc esi
mov ecx, esi
jmp 0x453ad7
cmp al, 0xd
jne 0x453ad6
mov eax, esi
sub eax, ecx
test eax, eax
jle 0x453ab4
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00451fc0
push 1
lea eax, [ebp - 0x10]
mov byte [ebp - 0x10], 0xa
push eax
lea ecx, [ebp - 0x14]
call fcn.00451fc0
xor eax, eax
cmp byte [esi + 1], 0xa
sete al
inc eax
add esi, eax
mov ecx, esi
jmp 0x453ad7
inc esi
mov al, byte [esi]
test al, al
jne 0x453a86
sub esi, ecx
je 0x453aeb
push esi
push ecx
lea ecx, [ebp - 0x14]
call fcn.00451fc0
push dword [ebp - 0x18]
call fcn.005e9806
mov esi, dword [edi]
add esp, 4
mov eax, dword [ebp - 0x14]
add eax, 8
push dword [ebp + 0xc]
mov esi, dword [esi + 0xc]
mov ecx, esi
push 0
push eax
call dword [0x6a459c]
mov ecx, edi
call esi
cmp byte [edi + 0x2c], 0
je 0x453b1d
xor bl, bl
jmp 0x453b1f
mov bl, 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x75e9f0
je 0x453b33
push ecx
call fcn.005e9806
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45a5f0
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66b996
mov eax, dword fs:[0]
push eax
mov eax, 0x10040
call fcn.005e9df0
mov eax, dword [0x759454]
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 edi, dword [ebp + 8]
xor esi, esi
mov ebx, dword [ebp + 0xc]
nop word [eax + eax]
push 0
lea eax, [ebp - 0x10048]
mov dword [ebp - 0x10048], 0
push eax
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x45a74e
cmp dword [ebp - 0x10048], 0
jne 0x45a67f
push 0x64
inc esi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0x96
jl 0x45a630
cmp dword [ebp - 0x10048], 0
je 0x45a74e
push 0
lea eax, [ebp - 0x1004c]
mov dword [ebp - 0x1004c], 0
push eax
push 0x10000
lea eax, [ebp - 0x10010]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45a74e
mov eax, dword [ebp - 0x1004c]
and eax, 0xfffffffe
cmp eax, 0x10000
jae 0x45a76c
xor ecx, ecx
mov word [ebp + eax - 0x10010], cx
lea eax, [ebp - 0x10010]
push eax
lea ecx, [ebp - 0x10028]
call fcn.00458180
cmp dword [ebp - 0x10014], 8
lea ecx, [ebp - 0x10028]
mov eax, dword [ebp - 0x10018]
lea edx, [ebp - 0x10028]
cmovae ecx, dword [ebp - 0x10028]
cmovae edx, dword [ebp - 0x10028]
mov dword [ebp - 4], 0
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x10041]
push ecx
push eax
push edx
lea ecx, [ebp - 0x10040]
call fcn.004575f0
lea eax, [ebp - 0x10040]
mov byte [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.004583f0
lea ecx, [ebp - 0x10040]
call fcn.00442560
lea ecx, [ebp - 0x10028]
call fcn.00442470
mov al, 1
jmp 0x45a750
xor al, al
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.005e980b
mov esp, ebp
pop ebp
ret
call fcn.005e9d0a
int3
Function at 0x45a780
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66b9c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x759454]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
cmp dword [ebp + 0x20], 0x10
lea edx, [ebp + 0xc]
mov ebx, dword [ebp + 0x1c]
lea edi, [ebp + 0xc]
cmovae edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
add ebx, edx
mov dword [ebp - 4], 0
cmp dword [ebp + 0x20], 0x10
mov dword [ebp - 0x18], 0
cmovae edi, dword [ebp + 0xc]
xor eax, eax
mov word [ebp - 0x28], ax
mov eax, ebx
sub eax, edi
mov dword [ebp - 0x14], 7
push eax
call fcn.0044b2e0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
push ebx
push edi
call fcn.00457620
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov dword [ebp - 0x30], 0
cmovae edx, dword [ebp - 0x28]
mov eax, edx
lea esi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45a820
sub eax, esi
lea ecx, [ebp - 0x30]
push 0
sar eax, 1
push ecx
add eax, eax
push eax
push edx
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x45a86d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.IPC_Server_:_Failed_to_send_data.__d
push 0
push 2
push str.IPCXMLUtilityLog
push dword [0x75ea08]
call fcn.00511a90
add esp, 0x18
xor bl, bl
jmp 0x45a86f
mov bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x45a8a5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45a89b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a907
push edx
push ecx
call fcn.005e984c
add esp, 8
mov edx, dword [ebp + 0x20]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 0x10
jb 0x45a8e9
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45a8df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a907
push edx
push ecx
call fcn.005e984c
add esp, 8
mov al, bl
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.005e980b
mov esp, ebp
pop ebp
ret
call fcn.00608584
int3
Function at 0x45c1e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe58
mov eax, dword [0x759454]
xor eax, ebp
mov dword [ebp - 4], eax
push str.Thread_PerformSelfUpdate_...
push 0
push 4
push str.AGSService
push dword [0x75ea0c]
call fcn.00511a90
xorps xmm0, xmm0
mov dword [ebp - 0xe48], 0x44
push 0x200
lea eax, [ebp - 0x604]
movlpd qword [ebp - 0xe44], xmm0
push 0
push eax
movlpd qword [ebp - 0xe3c], xmm0
movlpd qword [ebp - 0xe34], xmm0
movlpd qword [ebp - 0xe2c], xmm0
movlpd qword [ebp - 0xe24], xmm0
movlpd qword [ebp - 0xe1c], xmm0
movlpd qword [ebp - 0xe14], xmm0
movlpd qword [ebp - 0xe0c], xmm0
movups xmmword [ebp - 0xe58], xmm0
call fcn.005ff380
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.005ff380
push 0x200
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.005ff380
lea eax, [ebp - 0x604]
push 1
push eax
call fcn.0047fc70
add esp, 0x40
lea eax, [ebp - 0x604]
push str.AdobeGCClient_agshelper.exe
push 0x104
push eax
call fcn.0047f9f0
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.0047fc70
push str.AdobeGCClient
lea eax, [ebp - 0x404]
push 0x104
push eax
call fcn.0047f9f0
push 1
push 0x6ace44
lea eax, [ebp - 0x204]
push 0x104
push eax
call fcn.0047fb30
lea eax, [ebp - 0x604]
push eax
lea eax, [ebp - 0x204]
push 0x104
push eax
call fcn.0047f9f0
push 0x6ace44
lea eax, [ebp - 0x204]
push 0x104
push eax
call fcn.0047f9f0
add esp, 0x48
lea eax, [ebp - 0x204]
push 0x6ace14
push 0x104
push eax
call fcn.0047f9f0
push 0x6ace44
lea eax, [ebp - 0x204]
push 0x104
push eax
call fcn.0047f9f0
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x204]
push 0x104
push eax
call fcn.0047f9f0
push str._temp
lea eax, [ebp - 0x204]
push 0x104
push eax
call fcn.0047f9f0
push 0x6ace44
lea eax, [ebp - 0x204]
push 0x104
push eax
call fcn.0047f9f0
push 0x400
lea eax, [ebp - 0xe04]
push 0
push eax
call fcn.005ff380
add esp, 0x48
lea eax, [ebp - 0xa04]
push 0x400
push 0
push eax
call fcn.005ff380
lea ecx, [ebp - 0x204]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45c3d2
sub ecx, edx
lea eax, [ebp - 0x204]
push ecx
push eax
lea eax, [ebp - 0xe04]
push eax
call fcn.00614166
lea eax, [ebp - 0x404]
add esp, 0xc
lea edx, [eax + 1]
nop dword [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45c400
sub eax, edx
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0xa04]
push eax
call fcn.00614166
add esp, 0xc
lea eax, [ebp - 0xe58]
push eax
lea eax, [ebp - 0xe48]
push eax
lea eax, [ebp - 0xa04]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xe04]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x45c467
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x204]
push eax
push str.Launch_Failed__s_d
jmp 0x45c47a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x204]
push eax
push str.Launched__s_d
push 0
push 4
push str.AGSService
push dword [0x75ea0c]
call fcn.00511a90
mov ecx, dword [ebp - 4]
add esp, 0x1c
xor ecx, ebp
call fcn.005e980b
mov esp, ebp
pop ebp
ret
Function at 0x45eda0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x759454]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0xc]
mov edi, ecx
push eax
push str._s_failed_w_err_0x_08lx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0045ed10
add esp, 0x14
push dword [edi + 4]
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x45ee20
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x20c]
push 0
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x214]
push eax
push 0
push 2
push 0
push 0
push 0
push 1
push esi
mov dword [ebp - 0x214], ecx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005e980b
mov esp, ebp
pop ebp
ret 8

Function at 0x45ee40
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
push dword [edi + 4]
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x45ee88
mov ecx, dword [edi + 4]
lea eax, [ebp - 8]
push 0
push eax
push 0
push 2
push 0
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
push esi
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x45f100
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x759454]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
push 1
push 0
push 0
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
jne 0x45f15e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_failed_w_err_0x_08lx_n
call fcn.0045acc0
add esp, 8
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e980b
mov esp, ebp
pop ebp
ret
push esi
push 0x10024
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x45f183
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenService_failed_w_err_0x_08lx_n
jmp 0x45f22b
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x45f20c
push edi
push str.Stopping__s.
call fcn.0045acc0
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x45f1ef
nop dword [eax]
mov eax, dword [ebp - 0x1c]
cmp eax, 3
jne 0x45f1f2
push 0x6b00c8
call fcn.0045acc0
add esp, 4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x45f1c0
mov eax, dword [ebp - 0x1c]
push edi
cmp eax, 1
jne 0x45f1ff
push 0x6b00cc
jmp 0x45f204
push str._n_s_failed_to_stop._n
call fcn.0045acc0
add esp, 8
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x45f225
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x6b0120
jmp 0x45f22b
push edi
push str._s_is_removed._n
call fcn.0045acc0
add esp, 8
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test esi, esi
je 0x45f245
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.005e980b
mov esp, ebp
pop ebp
ret