joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18016262
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.1800cd37
test al, al
jne 0x1801627b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
call fcn.18016df8
test al, al
jne 0x18016274
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x180162a1
call fcn.1800d4b3
jmp 0x18016276
lea eax, [ebp - 4]
push eax
call fcn.1803fb2c
pop ecx
push 2
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
test edi, edi
jne 0x180162e0
call fcn.1800d4b3
mov edi, eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.18003e0a
push dword [ebp - 8]
call esi
mov eax, edi
jmp 0x18016276
lea eax, [ebp - 0xc]
push eax
push 3
push edi
mov dword [ebp - 0xc], 1
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x18016306
call fcn.1800d4b3
push edi
mov ebx, eax
call esi
mov edi, ebx
jmp 0x180162cc
push edi
call esi
xor edi, edi
jmp 0x180162cc

Function at 0x1801630d
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x18016336
call fcn.1800d4b3
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 8]
push eax
call fcn.1803fb2c
mov eax, dword [eax]
mov dword [esp], 0x10002
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.18003e0a
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test edi, edi
jne 0x18016379
call fcn.1800d4b3
mov edi, eax
push dword [ebp - 4]
call esi
mov eax, edi
jmp 0x18016331
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x1801639a
call fcn.1800d4b3
mov ebx, eax
cmp ebx, 0x80070430
je 0x1801639a
push edi
call esi
mov edi, ebx
jmp 0x18016370
push edi
call esi
xor edi, edi
jmp 0x18016370

Function at 0x180163a1
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov ebx, eax
push edi
push ebx
call fcn.18016ef2
pop ecx
test al, al
je 0x180163be
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x180163db
call fcn.1800d4b3
jmp 0x180163b9
lea eax, [ebp - 4]
push eax
call fcn.1803fb2c
mov dword [esp], 0xf01ff
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
test edi, edi
jne 0x1801641e
call fcn.1800d4b3
mov edi, eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.18003e0a
push dword [ebp - 8]
call esi
mov eax, edi
jmp 0x180163b9
lea eax, [ebp - 0xc]
push eax
push 1
push edi
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x18016440
call fcn.1800d4b3
push edi
mov ebx, eax
call esi
mov edi, ebx
jmp 0x1801640a
push edi
call esi
xor edi, edi
jmp 0x1801640a
Function at 0x18016868
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0xf003f
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x180168a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x1801689b
and eax, 0xffff
or eax, 0x80070000
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 4]
push eax
call fcn.1803fa99
pop ecx
lea eax, [ebp - 0xc]
call fcn.18017249
mov ebx, dword [ebp - 0xc]
push esi
push esi
push str.RPCSS
push esi
push esi
push dword [ebp + 8]
push 1
push 2
push 0x10
push 0xf01ff
push ebx
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp eax, esi
jne 0x18016915
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x180168f7
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
lea eax, [ebx - 0x10]
call fcn.18003e0a
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.18003e0a
push dword [ebp - 8]
call edi
mov eax, esi
jmp 0x1801689b
push eax
call edi
jmp 0x180168f9

Function at 0x1801691a
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
call fcn.180170fe
test al, al
je 0x18016935
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
call fcn.18015edc
mov esi, eax
push esi
call fcn.18011fd0
pop ecx
test al, al
je 0x1801694b
mov eax, esi
jmp 0x18016930
push 0xf003f
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, edi
jne 0x18016977
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x18016930
and eax, 0xffff
or eax, 0x80070000
jmp 0x18016930
lea eax, [ebp - 4]
push eax
call fcn.1803fa99
pop ecx
push 2
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
cmp ebx, edi
jne 0x180169c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x180169af
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.18003e0a
push dword [ebp - 8]
call esi
mov eax, edi
jmp 0x18016930
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp + 8]
push 1
push 2
push 0x10
push ebx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x180169f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x180169f6
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
push ebx
call esi
jmp 0x180169b1
Function at 0x18016c63
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0xf003f
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x18016c9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x18016c96
and eax, 0xffff
or eax, 0x80070000
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 4]
push eax
call fcn.1803fb2c
pop ecx
lea eax, [ebp - 0xc]
call fcn.1801740c
mov ebx, dword [ebp - 0xc]
push esi
push esi
push str.RPCSS
push esi
push esi
push dword [ebp + 8]
push 1
push 3
push 0x10
push 0xf01ff
push ebx
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp eax, esi
jne 0x18016d10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x18016cf2
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
lea eax, [ebx - 0x10]
call fcn.18003e0a
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.18003e0a
push dword [ebp - 8]
call edi
mov eax, esi
jmp 0x18016c96
push eax
call edi
jmp 0x18016cf4

Function at 0x18016d15
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
call fcn.180172c1
test al, al
je 0x18016d30
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
call fcn.18016192
mov esi, eax
push esi
call fcn.18011fd0
pop ecx
test al, al
je 0x18016d46
mov eax, esi
jmp 0x18016d2b
push 0xf003f
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, edi
jne 0x18016d72
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x18016d2b
and eax, 0xffff
or eax, 0x80070000
jmp 0x18016d2b
lea eax, [ebp - 4]
push eax
call fcn.1803fb2c
pop ecx
push 2
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
cmp ebx, edi
jne 0x18016dc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x18016daa
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.18003e0a
push dword [ebp - 8]
call esi
mov eax, edi
jmp 0x18016d2b
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp + 8]
push 1
push 3
push 0x10
push ebx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x18016df3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x18016df1
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
push ebx
call esi
jmp 0x18016dac
Function at 0x18017756
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x180af1d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x204]
push 0xff
push 0x100
push eax
mov esi, ecx
call fcn.180769b5
xor eax, eax
mov word [ebp - 6], ax
xor edi, edi
add esp, 0x14
lea eax, [ebp - 0x204]
mov dword [ebp - 0x208], eax
cmp dword [esi + 0x260], edi
jne 0x180177b0
push eax
call fcn.18079b98
pop ecx
add esi, 0x40
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
cmp esi, edi
je 0x180177df
push edi
lea eax, [ebp - 0x208]
push eax
push edi
push 1
push edi
push edi
push edi
push 4
push esi
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.18075e75
leave
ret

Function at 0x18017b6d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
cmp eax, esi
jne 0x18017b89
xor eax, eax
jmp 0x18017bb2
push ebx
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x18017bb5
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, esi
jne 0x18017baf
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop esi
leave
ret

Function at 0x18018337
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x180b6094], 0
jne 0x18018367
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x18018360
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x180b6098], eax
mov byte [0x180b6094], 1
mov eax, dword [0x180b6098]
test eax, eax
je 0x1801837f
push 0
push dword [esi + 4]
push dword [esp + 0xc]
push dword [esi]
call eax
jmp 0x1801838b
push dword [esp + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
ret 4
Function at 0x1801838e
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x180af1d0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 4]
push ecx
push dword [edi]
mov dword [ebp - 0x21c], ecx
xor esi, esi
or eax, 0x2001f
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
call fcn.180182f9
mov ebx, eax
cmp ebx, esi
je 0x180183f7
lea esi, [ebp - 0x214]
call fcn.18018470
mov eax, ebx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18075e75
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x18018415
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.1801838e
cmp eax, esi
jne 0x1801845c
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x100
call ebx
test eax, eax
je 0x180183ff
lea esi, [ebp - 0x214]
call fcn.18018470
push dword [ebp - 0x21c]
mov esi, edi
call fcn.18018337
lea esi, [ebp - 0x214]
mov edi, eax
call fcn.18018470
mov eax, edi
jmp 0x180183e6

Function at 0x18018496
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x180184a4
push 0xd
pop eax
jmp 0x180184d7
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x180184ab
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x1801a028
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call fcn.18019fb1
cmp eax, ebx
jl 0x1801a103
push ebx
push ebx
push str.GOOGLE_UPDATE_NO_CRASH_HANDLER
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x1801a101
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
je 0x1801a07b
cmp eax, ebx
jle 0x1801a075
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jl 0x1801a101
mov eax, dword [0x180b5858]
cmp eax, ebx
je 0x1801a093
push eax
mov esi, eax
call fcn.18044757
push esi
call fcn.18075e6a
pop ecx
call fcn.1805251d
call fcn.18052da3
movzx esi, al
neg esi
sbb esi, esi
push 0xcc
and esi, 2
call fcn.18076ac4
mov edi, eax
pop ecx
cmp edi, ebx
je 0x1801a0e0
push dword [0x180b5bc8]
lea eax, [ebp - 0x20]
call fcn.1801b9c7
push esi
lea eax, [ebp - 0x20]
push eax
mov eax, edi
mov dword [ebp - 4], 1
call fcn.18044509
mov dword [0x180b5858], eax
jmp 0x1801a0e6
mov dword [0x180b5858], ebx
test byte [ebp - 4], 1
je 0x1801a0f7
push ebx
push 1
lea esi, [ebp - 0x20]
call fcn.1801bd25
mov dword [0x180b584c], 0x1801b0d5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1801a419
Capabilities:
Create process on windows
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
push edi
push 8
pop eax
lea edi, [ebp - 0x48]
call fcn.18055439
mov al, byte [ebp + 8]
mov byte [ebp - 0x44], al
mov eax, dword [ebp + 0xc]
lea edi, [ebp - 0x34]
call fcn.180038eb
mov al, byte [0x180b581b]
mov byte [ebp - 0x43], al
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, 0x180b5bc4
call fcn.180557da
push 0x1809e49c
push str.GOOGLE_UPDATE_NO_CRASH_HANDLER
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
je 0x1801a4cd
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x8c]
push ebx
push eax
mov dword [ebp - 0x90], 0x44
call fcn.180769e0
xor eax, eax
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x90]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea esi, [ebp - 4]
call fcn.1800942b
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1801a4cd
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.18003e0a
lea esi, [ebp - 0x48]
call fcn.180554c3
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1801a4e5
Capabilities:
Create process on windows
Create process suspended
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
xor ebx, ebx
mov dword [ebp - 0x10], esi
cmp esi, ebx
jne 0x1801a509
call fcn.1800d4b3
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [0x180b4188]
mov ecx, 0x180b4188
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
push str.GOOGLE_UPDATE_NO_CRASH_HANDLER
lea eax, [ebp - 8]
push eax
call fcn.18002bb4
push 0x1809f018
lea eax, [ebp - 8]
push eax
call fcn.18002bb4
xor edi, edi
jmp 0x1801a549
push esi
call fcn.180764d5
inc eax
pop ecx
add edi, eax
lea esi, [esi + eax*2]
cmp word [esi], bx
jne 0x1801a53c
mov eax, dword [ebp - 8]
mov esi, dword [eax - 0xc]
inc edi
inc esi
xor ecx, ecx
push 2
pop edx
lea eax, [esi + edi]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.18076cd3
add esi, esi
push esi
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
push eax
call fcn.18076170
lea eax, [edi + edi]
push eax
mov eax, dword [ebp - 0xc]
push dword [ebp - 0x10]
add esi, eax
push esi
call fcn.18076170
add esp, 0x1c
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0x40
lea eax, [ebp - 0x68]
push ebx
push eax
mov dword [ebp - 0x6c], 0x44
call fcn.180769e0
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push dword [ebp - 0xc]
push 0x400
push ebx
push ebx
push ebx
call fcn.1800942b
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1801a605
call fcn.1800d4b3
mov ebx, eax
push dword [ebp - 0xc]
call fcn.18075e84
mov eax, dword [ebp - 8]
pop ecx
add eax, 0xfffffff0
call fcn.18003e0a
mov eax, ebx
jmp 0x1801a504
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
jmp 0x1801a5ea

Function at 0x1801aabd
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, eax
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x1801aad5
mov eax, 0x80070057
pop esi
leave
ret
mov eax, dword [0x180b4188]
push ebx
mov ecx, 0x180b4188
call dword [eax + 0xc]
push dword [esi]
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push str._s_last.dmp
push eax
call fcn.1800dbe8
lea eax, [ebp - 4]
push eax
mov eax, 0x180b5bc8
lea ebx, [ebp - 8]
call fcn.1800a585
mov eax, dword [ebp - 8]
add esp, 0x10
cmp dword [eax - 0xc], 0
pop ebx
jne 0x1801ab33
mov esi, 0x80040709
add eax, 0xfffffff0
call fcn.18003e0a
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.18003e0a
mov eax, esi
jmp 0x1801aad2
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1801ab4a
xor eax, eax
jmp 0x1801ab4f
call fcn.1800d4b3
mov esi, eax
mov eax, dword [ebp - 8]
jmp 0x1801ab1c
Function at 0x1801ab56
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x180af1d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x14
pop ecx
mov esi, str.____________________________________.dmp
lea edi, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea esi, [ebp - 0x98]
call fcn.18027454
mov ecx, dword [0x180b5bc8]
mov eax, esi
push eax
lea ebx, [ebp - 0x60]
call fcn.1800adc5
xor ebx, ebx
cmp eax, ebx
pop ecx
jge 0x1801abc8
mov ebx, eax
lea esi, [ebp - 0x98]
call fcn.1800a888
push dword [ebp - 0x98]
call fcn.18075e6a
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.18075e75
leave
ret
call fcn.18009ae8
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x8c]
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x64], ebx
test eax, 0xfffffffc
je 0x1801aba0
xor eax, eax
mov dword [ebp - 0x6c], ebx
lea edi, [ebp - 0x68]
stosd dword es:[edi], eax
mov edi, dword [ebp - 0x64]
lea esi, [ebp - 0x98]
call fcn.18009442
mov eax, dword [eax]
push ebx
lea ecx, [ebp - 0x6c]
push ecx
push eax
call fcn.1800b6eb
add esp, 0xc
test eax, eax
jl 0x1801ac83
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
xor eax, eax
or eax, edx
mov edx, dword [ebp - 0x80]
xor esi, esi
or ecx, esi
sub edx, eax
mov eax, dword [ebp - 0x7c]
sbb eax, ecx
mov dword [ebp - 0x74], eax
and dword [ebp - 0x74], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x9c], eax
fild qword [ebp - 0xa0]
mov dword [ebp - 0x78], ebx
fild qword [ebp - 0x78]
push ecx
push ecx
fchs
faddp st(1)
fstp qword [esp]
call fcn.18079c81
fcomp qword [0x180a9fd0]
pop ecx
pop ecx
fnstsw ax
test ah, 1
jne 0x1801ac83
lea esi, [ebp - 0x98]
call fcn.18009442
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x8c]
inc dword [ebp - 0x64]
sar eax, 2
cmp dword [ebp - 0x64], eax
jne 0x1801abe9
jmp 0x1801aba0
Function at 0x1801b128
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
mov esi, 0x180b5bc8
mov dword [ebp - 0xc], edi
call fcn.18003bc8
call fcn.1805251d
cmp byte [0x180b581b], 0
je 0x1801b15b
xor ebx, ebx
lea eax, [ebp - 0xc]
inc ebx
call fcn.180527bc
jmp 0x1801b166
push 2
pop ebx
lea eax, [ebp - 8]
call fcn.1805277f
mov eax, dword [eax]
sub eax, 0x10
call fcn.1800392c
mov esi, eax
add esi, 0x10
mov dword [ebp - 4], esi
test bl, 2
je 0x1801b18b
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
and ebx, 0xfffffffd
call fcn.18003e0a
test bl, 1
je 0x1801b19b
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.18003e0a
cmp byte [0x180b581b], 0
je 0x1801b1c1
cmp dword [esi - 0xc], edi
je 0x1801b1c6
lea eax, [ebp - 4]
push eax
call fcn.1801b20f
mov esi, dword [ebp - 4]
pop ecx
test eax, eax
jge 0x1801b1c1
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [esi - 0xc], edi
jne 0x1801b1e4
lea eax, [ebp - 0xc]
call fcn.18007597
lea edi, [ebp - 4]
call fcn.180038eb
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.18003e0a
mov esi, dword [ebp - 4]
cmp dword [esi - 0xc], 0
jne 0x1801b1fe
mov edi, 0x8004fffc
lea eax, [esi - 0x10]
call fcn.18003e0a
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 4]
mov edi, 0x180b5bc8
call fcn.180038eb
xor edi, edi
jmp 0x1801b1ef

Function at 0x1801e9e1
Capabilities:
Create thread

Disassembly:
push ecx
push esi
xor esi, esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
cmp eax, esi
jne 0x1801e9fa
xor eax, eax
jmp 0x1801ea21
push ebx
lea eax, [esp + 8]
push eax
push esi
push edi
push 0x1801fe81
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, esi
jne 0x1801ea1e
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop esi
pop ecx
ret

Function at 0x180214c1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x180af1d0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x21c], eax
xor ebx, ebx
xor eax, eax
push 0x206
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push ebx
mov edi, 0x1809c768
push eax
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
call fcn.180769e0
add esp, 0xc
push 0x20008
lea esi, [ebp - 0x22c]
call fcn.18007863
lea eax, [ebp - 0x214]
push eax
push ebx
push dword [ebp - 0x228]
push 0x1c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, ebx
jge 0x1802156c
mov esi, eax
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x22c], edi
call fcn.18006940
mov ecx, dword [ebp - 8]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.18075e75
leave
ret
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x218]
call fcn.18003b7f
push dword [ebp - 0x21c]
lea ebx, [ebp - 0x218]
call fcn.18004037
mov esi, eax
mov eax, dword [ebp - 0x218]
pop ecx
add eax, 0xfffffff0
call fcn.18003e0a
jmp 0x1802154a