joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18017ea9
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0xf003f
xor ebx, ebx
mov edi, ecx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x18017edf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x18017f4e
movzx ebx, bx
or ebx, 0x80070000
jmp 0x18017f4e
lea ecx, [ebp - 4]
call fcn.18047f14
lea ecx, [ebp - 8]
call fcn.180182fe
push ebx
push ebx
push str.RPCSS
push ebx
push ebx
push edi
mov edi, dword [ebp - 8]
push 1
push 2
push 0x10
push 0xf01ff
push edi
push dword [ebp - 4]
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
test eax, eax
jne 0x18017f2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x18017f34
movzx ebx, bx
or ebx, 0x80070000
jmp 0x18017f34
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [edi - 0x10]
call fcn.18003476
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.18003476
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x18018817
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x1819f008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 0x10]
push edi
push eax
xor edi, edi
lea eax, [ebp - 0x204]
push edi
push dword [ebp + 0xc]
push 0xff
push 0x100
push eax
call fcn.180032ab
push dword [eax + 4]
push dword [eax]
call fcn.18133819
xor eax, eax
add esp, 0x20
mov word [ebp - 6], ax
lea eax, [ebp - 0x204]
mov dword [ebp - 0x208], eax
cmp dword [esi + 0x260], edi
jne 0x1801887d
push eax
call fcn.18135835
pop ecx
lea eax, [esi + 0x40]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x180188ac
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.18128eaf
leave
ret
Function at 0x18018add
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x181a1c20], 0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0x181a1c20
je 0x18018b15
push ecx
mov ecx, ebx
call fcn.1801238d
mov esi, eax
mov ecx, esi
call fcn.18012187
test esi, esi
js 0x18018b92
add ebx, 0x24
cmp dword [ebx], 0
jne 0x18018af4
xor ebx, ebx
mov esi, ebx
test esi, esi
js 0x18018bb3
jne 0x18018bb0
cmp byte [edi + 0x3c], 0
je 0x18018b9d
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x18018b96
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ebx
push edi
push 0x18018d1d
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x18018b67
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x18018b96
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x18018b89
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 0x34]
add eax, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18018ba5
xor ebx, ebx
jmp 0x18018b19
mov esi, 0x80004005
jmp 0x18018ba9
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x18018bb3
call fcn.18018c9b
jmp 0x18018bb3
mov byte [edi + 0x3c], bl
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x18018bbc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x181a1cb0], 0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0x181a1cb0
je 0x18018bf4
push ecx
mov ecx, ebx
call fcn.1801238d
mov esi, eax
mov ecx, esi
call fcn.18012187
test esi, esi
js 0x18018c71
add ebx, 0x24
cmp dword [ebx], 0
jne 0x18018bd3
xor ebx, ebx
mov esi, ebx
test esi, esi
js 0x18018c92
jne 0x18018c8f
cmp byte [edi + 0x3c], 0
je 0x18018c7c
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x18018c75
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ebx
push edi
push 0x18018d1d
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x18018c46
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x18018c75
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x18018c68
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 0x34]
add eax, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18018c84
xor ebx, ebx
jmp 0x18018bf8
mov esi, 0x80004005
jmp 0x18018c88
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x18018c92
call fcn.18018cdc
jmp 0x18018c92
mov byte [edi + 0x3c], bl
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x1801b26c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x1c]
and dword [esi + 0x1c], 0
test ecx, ecx
je 0x1801b280
mov eax, dword [ecx]
push 1
call dword [eax]
push 0
lea ecx, [esi + 0x18]
call fcn.1801c2c7
mov ecx, dword [0x181a47f8]
pop esi
mov ecx, dword [ecx]
jmp fcn.18014800

Function at 0x1801f15a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push edi
xor edi, edi
mov bl, dl
mov bh, cl
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edx, [ebp - 4]
mov ecx, eax
call fcn.18092f5f
test eax, eax
je 0x1801f274
cmp dword [ebp - 4], edi
je 0x1801f274
push esi
lea ecx, [ebp - 0xc]
call fcn.1800d1bb
push dword [ebp - 0xc]
lea ecx, [ebp - 8]
call fcn.1800589b
push str.GoogleUpdateComRegisterShell64.exe
lea ecx, [ebp - 8]
call fcn.180086f7
mov esi, dword [ebp - 8]
test eax, eax
jne 0x1801f1c0
call fcn.18011478
mov ebx, eax
jmp 0x1801f25c
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1801f1d5
mov ebx, 0x80070002
jmp 0x1801f25c
call fcn.18002e11
push eax
lea ecx, [ebp - 8]
call fcn.18005bd3
mov eax, 0x18160a9c
mov ecx, eax
test bl, bl
jne 0x1801f1f3
mov ecx, str._unregister
test bh, bh
jne 0x1801f1fc
mov eax, str._user
push ecx
push eax
lea eax, [ebp - 8]
push 0x181801e8
push eax
call fcn.1800dc24
add esp, 0xc
lea ecx, [ebp - 0x38]
push esi
call fcn.1800df1f
push edi
push edi
mov edi, dword [ebp - 8]
lea ecx, [ebp - 0x38]
push edi
call fcn.1800e093
mov ebx, eax
test ebx, ebx
js 0x1801f24c
push 0x7530
lea ecx, [ebp - 0x38]
call fcn.1800e177
movzx ebx, al
neg ebx
sbb ebx, ebx
and ebx, 0x7ff8fa4c
add ebx, 0x800705b4
lea ecx, [ebp - 0x38]
call fcn.1800e03a
lea ecx, [edi - 0x10]
call fcn.18003476
lea ecx, [esi - 0x10]
call fcn.18003476
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18003476
mov eax, ebx
pop esi
jmp 0x1801f276
xor eax, eax
pop edi
pop ebx
leave
ret
Function at 0x1801fbbd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
call fcn.1801ef46
mov ebx, eax
test ebx, ebx
je 0x1801fbed
cmp dword [ebx], 0
je 0x1801fbed
push ecx
mov ecx, ebx
call fcn.1801238d
mov esi, eax
test esi, esi
js 0x1801fc6a
add ebx, 0x24
jne 0x1801fbd1
xor ebx, ebx
mov esi, ebx
test esi, esi
js 0x1801fc8d
jne 0x1801fc8a
cmp byte [edi + 0x3c], 0
je 0x1801fc75
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x1801fc6e
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x18021c13
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x1801fc3f
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0x30], ebx
test ebx, ebx
je 0x1801fc6e
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x1801fc61
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 0x34]
add eax, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1801fc7d
xor ebx, ebx
jmp 0x1801fbf1
mov esi, 0x80004005
jmp 0x1801fc81
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x1801fc8d
mov ecx, edi
call fcn.1801f072
jmp 0x1801fc8d
mov byte [edi + 0x3c], bl
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x18022238
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x1819f008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
lea eax, [ebp - 0x210]
push 0x208
push esi
mov ebx, 0x1817c904
mov dword [ebp - 0x220], esi
push eax
mov edi, ecx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], esi
call fcn.1812b9b0
lea ecx, [ebp - 0x224]
mov dword [esp], 0x20008
call fcn.1800d08e
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x220]
push 0x1c
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
js 0x180222df
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x214]
call fcn.1800589b
mov edx, edi
lea ecx, [ebp - 0x214]
call fcn.18006dde
mov ecx, dword [ebp - 0x214]
mov esi, eax
add ecx, 0xfffffff0
call fcn.18003476
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x224], ebx
call fcn.180069c9
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18128eaf
leave
ret
Function at 0x1802300f
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
xor edi, edi
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
jne 0x1802302b
mov eax, 0x80070057
jmp 0x18023097
call fcn.18002e11
push eax
lea ecx, [ebp + 0xc]
call fcn.18005bd3
push dword [esi]
lea eax, [ebp + 0xc]
push str._s_last.dmp
push eax
call fcn.1800dc24
lea eax, [ebp + 0xc]
push eax
lea edx, [ebx + 4]
lea ecx, [ebp - 4]
call fcn.1800d7d8
mov esi, dword [ebp - 4]
add esp, 0x10
cmp dword [esi - 0xc], edi
jne 0x1802306a
mov edi, 0x80040709
jmp 0x18023082
mov eax, dword [ebp + 8]
push edi
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x18023082
call fcn.18011478
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.18003476
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.18003476
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1802309e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x1819f008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, ecx
lea edi, [ebp - 0x60]
push 0x14
pop ecx
mov esi, str.____________________________________.dmp
lea edx, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x70]
xor ebx, ebx
push ecx
mov ecx, dword [eax + 4]
movsw word es:[edi], word [esi]
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
call fcn.18009507
mov esi, eax
pop ecx
test esi, esi
js 0x180231ec
call fcn.1800a8fe
mov edi, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x70]
sub edi, eax
mov dword [ebp - 0x80], edx
cmp edi, 4
jb 0x180231ea
sar edi, 2
and dword [ebp - 0x78], 0
and dword [ebp - 0x74], 0
mov esi, dword [eax + ebx*4]
mov ecx, esi
call fcn.180094ba
movzx eax, al
neg eax
push 0
sbb eax, eax
and eax, 0x2000000
push eax
push 3
push 0
push 1
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x64], eax
cmp esi, 0xffffffff
jne 0x1802314c
call fcn.18011478
jmp 0x1802316f
push eax
push eax
lea eax, [ebp - 0x78]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x18023165
call fcn.18011478
mov dword [ebp - 0x64], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x64]
test eax, eax
js 0x180231de
mov eax, dword [ebp - 0x7c]
xor ecx, ecx
or ecx, dword [ebp - 0x78]
sub eax, ecx
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
sbb ecx, dword [ebp - 0x74]
and dword [ebp - 0x90], 0
mov eax, ecx
and ecx, 0x7fffffff
and eax, 0x80000000
mov dword [ebp - 0x84], ecx
fild qword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
push ecx
push ecx
fild qword [ebp - 0x90]
fchs
faddp st(1)
fstp qword [esp]
call fcn.18135959
fcomp qword [0x18198e28]
fnstsw ax
pop ecx
pop ecx
test ah, 1
jne 0x180231de
mov eax, dword [ebp - 0x70]
push dword [eax + ebx*4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x70]
inc ebx
cmp ebx, edi
jne 0x18023109
xor esi, esi
lea ecx, [ebp - 0x70]
call fcn.18009f64
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18128eaf
leave
ret
Function at 0x1802ed62
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x1802eeb5
mov edx, 0x10000000
cmp eax, 0x7c
je 0x1802eeb5
cmp eax, 0x29
jne 0x1802ed9b
cmp dword [esi + 0x10], 0
jne 0x1802eeb5
test dword [esi + 0x50], edx
je 0x1802eebb
cmp eax, 0x2e
jne 0x1802edb6
push 5
lea ecx, [esi + 0x24]
call fcn.1802ef8e
mov ecx, esi
call fcn.1802ed39
jmp 0x1802ee9f
cmp eax, 0x5c
jne 0x1802ee0b
mov ecx, esi
call fcn.1802ed39
test byte [esi + 0x50], 0x80
je 0x1802edff
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x1802ede7
push 4
lea ecx, [esi + 0x24]
call fcn.1802ef8e
mov ecx, esi
call fcn.1802ed39
jmp 0x1802eea6
cmp eax, 0x42
jne 0x1802edff
push 4
lea ecx, [esi + 0x24]
call fcn.1802ef8e
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x1802eddb
mov ecx, esi
call fcn.1802fabc
jmp 0x1802ee9f
cmp eax, 0x5b
jne 0x1802ee2b
mov ecx, esi
call fcn.1802ed39
mov ecx, esi
call fcn.1802fa70
cmp dword [esi + 0x4c], 0x5d
je 0x1802edaa
push 4
jmp 0x1802eebd
cmp eax, 0x28
jne 0x1802ee48
mov ecx, esi
call fcn.1802ed39
mov ecx, esi
call fcn.1802fb95
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x1802eebb
jmp 0x1802ee94
cmp eax, 0x5e
jne 0x1802ee51
push 2
jmp 0x1802edd3
cmp eax, 0x24
jne 0x1802ee5d
push 3
jmp 0x1802edd3
cmp eax, 0x2a
je 0x1802eeb1
cmp eax, 0x2b
je 0x1802eeb1
cmp eax, 0x3f
je 0x1802eeb1
cmp eax, 0x7b
je 0x1802eeb1
cmp eax, 0x7d
jne 0x1802ee7b
test dword [esi + 0x50], edx
je 0x1802eead
cmp eax, 0x5d
jne 0x1802ee85
test dword [esi + 0x50], edx
je 0x1802ee24
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1802fd5e
mov bl, 1
mov ecx, esi
call fcn.1802ed39
test bl, bl
je 0x1802eea6
mov ecx, esi
call fcn.1802fc84
mov cl, 1
jmp 0x1802ed69
push 6
jmp 0x1802eebd
push 0xa
jmp 0x1802eebd
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.1802e25b
int3
Function at 0x18036118
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x27c
mov eax, dword [0x1819f008]
xor eax, esp
mov dword [esp + 0x278], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x250
mov dword [esp + 0x18], eax
xor ebx, ebx
lea eax, [esp + 0x34]
mov dword [esp + 0x30], edx
mov esi, ecx
push ebx
push eax
mov dword [esp + 0x1c], esi
call fcn.1812b9b0
add esp, 0xc
lea ecx, [esp + 0x28]
mov edx, esi
push 0x1817c73c
call fcn.180057dc
pop ecx
lea ecx, [esp + 0x30]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [esp + 0x28]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.18003476
cmp esi, 0xffffffff
jne 0x180361b8
call fcn.18011478
mov edi, eax
mov ebx, edi
cmp esi, 0xffffffff
je 0x180361a1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x284]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18128eaf
mov esp, ebp
pop ebp
ret
mov edi, ebx
mov eax, dword [esp + 0x2c]
sub eax, ebx
je 0x18036262
sub eax, 1
je 0x18036202
sub eax, 1
jne 0x180362c2
cmp dword [esp + 0x30], 0x80
je 0x180361e9
test byte [esp + 0x30], 0x10
jne 0x180362c2
push dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x34]
call fcn.18036069
pop ecx
mov edi, eax
jmp 0x180362c2
test byte [esp + 0x30], 0x10
je 0x180362c2
lea ecx, [esp + 0x30]
call fcn.1803602c
test al, al
jne 0x180362c2
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x1c]
call fcn.1800589b
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.1800d7d8
pop ecx
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.18003476
push dword [esp + 0x14]
lea ecx, [esp + 0x20]
push 2
pop edx
call fcn.18036118
pop ecx
mov ecx, dword [esp + 0x1c]
jmp 0x180362b8
test byte [esp + 0x30], 0x10
je 0x180362c2
lea ecx, [esp + 0x30]
call fcn.1803602c
test al, al
jne 0x180362c2
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x24]
call fcn.1800589b
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
call fcn.1800d7d8
pop ecx
mov ecx, dword [esp + 0x20]
lea ecx, [ecx - 0x10]
call fcn.18003476
push dword [esp + 0x14]
xor edx, edx
lea ecx, [esp + 0x28]
inc edx
call fcn.18036118
pop ecx
mov ecx, dword [esp + 0x24]
lea ecx, [ecx - 0x10]
mov edi, eax
call fcn.18003476
test edi, edi
js 0x18036193
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x180361ba
jmp 0x18036195
Function at 0x18036422
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 0xc], 0
push ebx
push esi
mov ebx, ecx
mov ecx, 0x181a1870
push edi
mov dword [ebp - 0x10], ebx
call fcn.1801445e
lea eax, [ebx + 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.1800d539
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.18005c50
add eax, 0x10
xor ecx, ecx
inc ecx
mov dword [ebp - 0xc], eax
xor edi, edi
mov dword [ebp - 8], ecx
mov ebx, ecx
cmp dword [eax - 0xc], edi
je 0x180364a2
mov ecx, dword [esi + 4]
sub ecx, 0x10
call fcn.18005c50
push 3
pop ebx
lea esi, [eax + 0x10]
cmp dword [esi - 0xc], edi
mov edi, dword [ebp + 8]
je 0x180364a8
mov ecx, dword [edi + 8]
sub ecx, 0x10
call fcn.18005c50
add eax, 0x10
xor ecx, ecx
push 7
pop ebx
cmp dword [eax - 0xc], ecx
je 0x180364ab
mov byte [ebp - 8], cl
jmp 0x180364ab
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 8]
test bl, 4
je 0x180364b8
lea ecx, [eax - 0x10]
call fcn.18003476
test bl, 2
je 0x180364c5
lea ecx, [esi - 0x10]
call fcn.18003476
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.18003476
cmp byte [ebp - 8], 0
je 0x180364e0
mov ebx, 0x80070057
jmp 0x18036560
call fcn.18002e11
push eax
lea ecx, [ebp + 8]
call fcn.18005bd3
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
push edi
call fcn.180369ff
mov esi, eax
test esi, esi
js 0x18036553
lea edx, [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.1800d879
mov ecx, dword [eax]
call fcn.180075a8
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.18003476
test esi, esi
js 0x18036553
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
mov ecx, dword [eax]
call fcn.18009648
mov esi, eax
pop ecx
test esi, esi
js 0x18036553
mov edx, dword [ebp + 0x10]
lea ecx, [ebp + 8]
call fcn.18036b37
mov esi, eax
test esi, esi
jns 0x18036571
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.18003476
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
call dword [edx + 8]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
mov ecx, 0x181a1890
call fcn.1801445e
xor ebx, ebx
jmp 0x18036555
Function at 0x1803b166
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
push 2
xor edi, edi
push edi
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x1803b1a9
push str.GOOGLEUPDATEAPPLICATIONCOMMANDS
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x1803b1a9
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 4
jne 0x1803b1d7
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1803b1c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x1803b1dc
movzx edi, di
or edi, 0x80070000
jmp 0x1803b1dc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x1803b1d2
mov edi, 0x80070006
jmp 0x1803b1dc
cmp dword [eax], 1
je 0x1803b1dc
mov edi, 0x8000ffff
test esi, esi
je 0x1803b1e7
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x1803bc3d
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0xc], ebx
call fcn.18002e11
push eax
mov ecx, ebx
call fcn.18005bd3
xor ecx, ecx
lea eax, [ebx + 4]
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.18005c50
xor ebx, ebx
inc ebx
lea edi, [eax + 0x10]
mov dword [ebp - 8], edi
mov dword [ebp + 8], edi
cmp dword [edi - 4], ebx
jle 0x1803bc9a
push dword [edi - 0xc]
lea ecx, [ebp + 8]
call fcn.18005d61
mov edi, dword [ebp + 8]
mov dword [ebp - 8], edi
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
neg eax
sbb eax, eax
and eax, 0x18003842
je 0x1803bcf5
cmp dword [ebp - 4], ebx
jl 0x1803bcf5
push dword [esi]
mov ecx, dword [ebp - 0xc]
call fcn.180058cd
cmp dword [ebp - 4], ebx
jle 0x1803bcf9
mov edi, dword [ebp - 0x10]
push dword [esi + ebx*4]
lea ecx, [ebp + 8]
call fcn.1800589b
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.180087da
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.18003476
inc ebx
cmp ebx, dword [ebp - 4]
jl 0x1803bcc9
mov edi, dword [ebp - 8]
jmp 0x1803bcf9
test esi, esi
je 0x1803bd00
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [edi - 0x10]
call fcn.18003476
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1803be53
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [edi + 0x24]
cmp eax, esi
je 0x1803be73
test eax, eax
je 0x1803be70
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x24], esi
mov eax, dword [edi + 0x28]
mov esi, dword [ebp + 0xc]
cmp eax, esi
je 0x1803be8b
test eax, eax
je 0x1803be88
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x28], esi
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 4]
test edx, edx
je 0x1803be9c
lock inc dword [edx + 4]
mov edx, dword [eax + 4]
mov ecx, dword [edi + 0x30]
mov eax, dword [eax]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], edx
test ecx, ecx
je 0x1803beb0
call fcn.1801a748
test edi, edi
je 0x1803beba
mov eax, dword [edi]
push edi
call dword [eax + 4]
xor ebx, ebx
push ebx
push ebx
push edi
push 0x1803c20b
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [edi + 0x34]
mov dword [ebp + 8], eax
cmp esi, eax
je 0x1803bee9
test esi, esi
je 0x1803bee4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
mov dword [edi + 0x34], eax
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x18003842
jne 0x1803befc
call fcn.18011478
mov ebx, eax
neg esi
sbb esi, esi
not esi
and esi, edi
je 0x1803bf0c
mov eax, dword [esi]
push esi
call dword [eax + 8]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc