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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, ecx
push edi
mov dword [ebp - 8], eax
call fcn.1801acaa
test al, al
je 0x1801a72f
xor eax, eax
jmp 0x1801a7dc
call fcn.18019ed4
mov esi, eax
mov ecx, esi
call fcn.18014beb
test esi, esi
jns 0x1801a748
mov eax, esi
jmp 0x1801a7dc
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x1801a774
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x1801a7da
movzx ebx, bx
or ebx, 0x80070000
jmp 0x1801a7da
lea ecx, [ebp - 4]
call fcn.1804c158
push 2
push dword [ebp - 4]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x1801a7a8
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 8]
push 1
push 2
push 0x10
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x1801a7bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x1801a7bd
movzx ebx, bx
or ebx, 0x80070000
test esi, esi
je 0x1801a7c8
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.180046a5
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1801a7e1
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 0x1801a817
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x1801a886
movzx ebx, bx
or ebx, 0x80070000
jmp 0x1801a886
lea ecx, [ebp - 4]
call fcn.1804c158
lea ecx, [ebp - 8]
call fcn.1801ac3a
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 0x1801a865
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x1801a86c
movzx ebx, bx
or ebx, 0x80070000
jmp 0x1801a86c
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [edi - 0x10]
call fcn.180046a5
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.180046a5
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x1801b153
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x181cd008]
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.180044da
push dword [eax + 4]
push dword [eax]
call fcn.18151a7c
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 0x1801b1b9
push eax
call fcn.18153b1a
pop ecx
lea eax, [esi + 0x40]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x1801b1e8
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.181450cb
leave
ret

Function at 0x1801b419
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x181ced30], 0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0x181ced30
je 0x1801b451
push ecx
mov ecx, ebx
call fcn.18014df1
mov esi, eax
mov ecx, esi
call fcn.18014beb
test esi, esi
js 0x1801b4ce
add ebx, 0x24
cmp dword [ebx], 0
jne 0x1801b430
xor ebx, ebx
mov esi, ebx
test esi, esi
js 0x1801b4ef
jne 0x1801b4ec
cmp byte [edi + 0x3c], 0
je 0x1801b4d9
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x1801b4d2
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ebx
push edi
push 0x1801b659
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x1801b4a3
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1801b4d2
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x1801b4c5
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 0x1801b4e1
xor ebx, ebx
jmp 0x1801b455
mov esi, 0x80004005
jmp 0x1801b4e5
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x1801b4ef
call fcn.1801b5d7
jmp 0x1801b4ef
mov byte [edi + 0x3c], bl
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x1801b4f8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x181cedf0], 0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0x181cedf0
je 0x1801b530
push ecx
mov ecx, ebx
call fcn.18014df1
mov esi, eax
mov ecx, esi
call fcn.18014beb
test esi, esi
js 0x1801b5ad
add ebx, 0x24
cmp dword [ebx], 0
jne 0x1801b50f
xor ebx, ebx
mov esi, ebx
test esi, esi
js 0x1801b5ce
jne 0x1801b5cb
cmp byte [edi + 0x3c], 0
je 0x1801b5b8
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x1801b5b1
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ebx
push edi
push 0x1801b659
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x1801b582
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1801b5b1
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x1801b5a4
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 0x1801b5c0
xor ebx, ebx
jmp 0x1801b534
mov esi, 0x80004005
jmp 0x1801b5c4
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x1801b5ce
call fcn.1801b618
jmp 0x1801b5ce
mov byte [edi + 0x3c], bl
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x1801e053
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 0x1801e067
mov eax, dword [ecx]
push 1
call dword [eax]
push 0
lea ecx, [esi + 0x18]
call fcn.1801f08b
mov ecx, dword [0x181d3d68]
pop esi
mov ecx, dword [ecx]
jmp fcn.18017250
Function at 0x180220a5
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.180a445b
test eax, eax
je 0x180221bf
cmp dword [ebp - 4], edi
je 0x180221bf
push esi
lea ecx, [ebp - 0xc]
call fcn.1800e790
push dword [ebp - 0xc]
lea ecx, [ebp - 8]
call fcn.18006dd4
push str.GoogleUpdateComRegisterShell64.exe
lea ecx, [ebp - 8]
call fcn.18009dcd
mov esi, dword [ebp - 8]
test eax, eax
jne 0x1802210b
call fcn.18013db1
mov ebx, eax
jmp 0x180221a7
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18022120
mov ebx, 0x80070002
jmp 0x180221a7
call fcn.18004041
push eax
lea ecx, [ebp - 8]
call fcn.1800710c
mov eax, 0x18180c4c
mov ecx, eax
test bl, bl
jne 0x1802213e
mov ecx, str._unregister
test bh, bh
jne 0x18022147
mov eax, str._user
push ecx
push eax
lea eax, [ebp - 8]
push 0x181abd5c
push eax
call fcn.1800f26f
add esp, 0xc
lea ecx, [ebp - 0x38]
push esi
call fcn.1800f574
push edi
push edi
mov edi, dword [ebp - 8]
lea ecx, [ebp - 0x38]
push edi
call fcn.1800f6e8
mov ebx, eax
test ebx, ebx
js 0x18022197
push 0x7530
lea ecx, [ebp - 0x38]
call fcn.1800f7cc
movzx ebx, al
neg ebx
sbb ebx, ebx
and ebx, 0x7ff8fa4c
add ebx, 0x800705b4
lea ecx, [ebp - 0x38]
call fcn.1800f68f
lea ecx, [edi - 0x10]
call fcn.180046a5
lea ecx, [esi - 0x10]
call fcn.180046a5
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.180046a5
mov eax, ebx
pop esi
jmp 0x180221c1
xor eax, eax
pop edi
pop ebx
leave
ret

Function at 0x18023534
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
call fcn.18021e91
mov ebx, eax
test ebx, ebx
je 0x18023564
cmp dword [ebx], 0
je 0x18023564
push ecx
mov ecx, ebx
call fcn.18014df1
mov esi, eax
test esi, esi
js 0x180235e1
add ebx, 0x24
jne 0x18023548
xor ebx, ebx
mov esi, ebx
test esi, esi
js 0x18023604
jne 0x18023601
cmp byte [edi + 0x3c], 0
je 0x180235ec
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x180235e5
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x180259c3
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x180235b6
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0x30], ebx
test ebx, ebx
je 0x180235e5
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x180235d8
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 0x180235f4
xor ebx, ebx
jmp 0x18023568
mov esi, 0x80004005
jmp 0x180235f8
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x18023604
mov ecx, edi
call fcn.18021fbd
jmp 0x18023604
mov byte [edi + 0x3c], bl
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x1802602e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x181cd008]
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, 0x181a7f74
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.18147be0
lea ecx, [ebp - 0x224]
mov dword [esp], 0x20008
call fcn.18007f2f
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 0x180260d5
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x214]
call fcn.18006dd4
mov edx, edi
lea ecx, [ebp - 0x214]
call fcn.18008504
mov ecx, dword [ebp - 0x214]
mov esi, eax
add ecx, 0xfffffff0
call fcn.180046a5
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x224], ebx
call fcn.18007f68
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181450cb
leave
ret
Function at 0x18026e07
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 0x18026e23
mov eax, 0x80070057
jmp 0x18026e8f
call fcn.18004041
push eax
lea ecx, [ebp + 0xc]
call fcn.1800710c
push dword [esi]
lea eax, [ebp + 0xc]
push str._s_last.dmp
push eax
call fcn.1800f26f
lea eax, [ebp + 0xc]
push eax
lea edx, [ebx + 4]
lea ecx, [ebp - 4]
call fcn.1800ee41
mov esi, dword [ebp - 4]
add esp, 0x10
cmp dword [esi - 0xc], edi
jne 0x18026e62
mov edi, 0x80040709
jmp 0x18026e7a
mov eax, dword [ebp + 8]
push edi
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x18026e7a
call fcn.18013db1
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.180046a5
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.180046a5
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x18026e96
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x181cd008]
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.1800a9ff
mov esi, eax
pop ecx
test esi, esi
js 0x18026fe4
call fcn.1800bdb2
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 0x18026fe2
sar edi, 2
and dword [ebp - 0x78], 0
and dword [ebp - 0x74], 0
mov esi, dword [eax + ebx*4]
mov ecx, esi
call fcn.180081b7
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 0x18026f44
call fcn.18013db1
jmp 0x18026f67
push eax
push eax
lea eax, [ebp - 0x78]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x18026f5d
call fcn.18013db1
mov dword [ebp - 0x64], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x64]
test eax, eax
js 0x18026fd6
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.18153ce2
fcomp qword [0x181c7230]
fnstsw ax
pop ecx
pop ecx
test ah, 1
jne 0x18026fd6
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 0x18026f01
xor esi, esi
lea ecx, [ebp - 0x70]
call fcn.1800b460
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181450cb
leave
ret
Function at 0x18032fe1
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 0x18033134
mov edx, 0x10000000
cmp eax, 0x7c
je 0x18033134
cmp eax, 0x29
jne 0x1803301a
cmp dword [esi + 0x10], 0
jne 0x18033134
test dword [esi + 0x50], edx
je 0x1803313a
cmp eax, 0x2e
jne 0x18033035
push 5
lea ecx, [esi + 0x24]
call fcn.1803320d
mov ecx, esi
call fcn.18032fb8
jmp 0x1803311e
cmp eax, 0x5c
jne 0x1803308a
mov ecx, esi
call fcn.18032fb8
test byte [esi + 0x50], 0x80
je 0x1803307e
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x18033066
push 4
lea ecx, [esi + 0x24]
call fcn.1803320d
mov ecx, esi
call fcn.18032fb8
jmp 0x18033125
cmp eax, 0x42
jne 0x1803307e
push 4
lea ecx, [esi + 0x24]
call fcn.1803320d
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x1803305a
mov ecx, esi
call fcn.1803407b
jmp 0x1803311e
cmp eax, 0x5b
jne 0x180330aa
mov ecx, esi
call fcn.18032fb8
mov ecx, esi
call fcn.1803402f
cmp dword [esi + 0x4c], 0x5d
je 0x18033029
push 4
jmp 0x1803313c
cmp eax, 0x28
jne 0x180330c7
mov ecx, esi
call fcn.18032fb8
mov ecx, esi
call fcn.18034154
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x1803313a
jmp 0x18033113
cmp eax, 0x5e
jne 0x180330d0
push 2
jmp 0x18033052
cmp eax, 0x24
jne 0x180330dc
push 3
jmp 0x18033052
cmp eax, 0x2a
je 0x18033130
cmp eax, 0x2b
je 0x18033130
cmp eax, 0x3f
je 0x18033130
cmp eax, 0x7b
je 0x18033130
cmp eax, 0x7d
jne 0x180330fa
test dword [esi + 0x50], edx
je 0x1803312c
cmp eax, 0x5d
jne 0x18033104
test dword [esi + 0x50], edx
je 0x180330a3
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1803431d
mov bl, 1
mov ecx, esi
call fcn.18032fb8
test bl, bl
je 0x18033125
mov ecx, esi
call fcn.18034243
mov cl, 1
jmp 0x18032fe8
push 6
jmp 0x1803313c
push 0xa
jmp 0x1803313c
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.1803241a
int3
Function at 0x1803a5c1
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x27c
mov eax, dword [0x181cd008]
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.18147be0
add esp, 0xc
lea ecx, [esp + 0x28]
mov edx, esi
push 0x181a7da4
call fcn.18006c3e
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.180046a5
cmp esi, 0xffffffff
jne 0x1803a661
call fcn.18013db1
mov edi, eax
mov ebx, edi
cmp esi, 0xffffffff
je 0x1803a64a
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.181450cb
mov esp, ebp
pop ebp
ret
mov edi, ebx
mov eax, dword [esp + 0x2c]
sub eax, ebx
je 0x1803a70b
sub eax, 1
je 0x1803a6ab
sub eax, 1
jne 0x1803a76b
cmp dword [esp + 0x30], 0x80
je 0x1803a692
test byte [esp + 0x30], 0x10
jne 0x1803a76b
push dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x34]
call fcn.1803a512
pop ecx
mov edi, eax
jmp 0x1803a76b
test byte [esp + 0x30], 0x10
je 0x1803a76b
lea ecx, [esp + 0x30]
call fcn.1803a4d5
test al, al
jne 0x1803a76b
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x1c]
call fcn.18006dd4
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.1800ee41
pop ecx
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.180046a5
push dword [esp + 0x14]
lea ecx, [esp + 0x20]
push 2
pop edx
call fcn.1803a5c1
pop ecx
mov ecx, dword [esp + 0x1c]
jmp 0x1803a761
test byte [esp + 0x30], 0x10
je 0x1803a76b
lea ecx, [esp + 0x30]
call fcn.1803a4d5
test al, al
jne 0x1803a76b
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x24]
call fcn.18006dd4
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
call fcn.1800ee41
pop ecx
mov ecx, dword [esp + 0x20]
lea ecx, [ecx - 0x10]
call fcn.180046a5
push dword [esp + 0x14]
xor edx, edx
lea ecx, [esp + 0x28]
inc edx
call fcn.1803a5c1
pop ecx
mov ecx, dword [esp + 0x24]
lea ecx, [ecx - 0x10]
mov edi, eax
call fcn.180046a5
test edi, edi
js 0x1803a63c
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1803a663
jmp 0x1803a63e
Function at 0x1803a9d1
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, 0x181ce998
push edi
mov dword [ebp - 0x10], ebx
call fcn.18016ee6
lea eax, [ebx + 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.1800eb8d
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.18007189
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 0x1803aa51
mov ecx, dword [esi + 4]
sub ecx, 0x10
call fcn.18007189
push 3
pop ebx
lea esi, [eax + 0x10]
cmp dword [esi - 0xc], edi
mov edi, dword [ebp + 8]
je 0x1803aa57
mov ecx, dword [edi + 8]
sub ecx, 0x10
call fcn.18007189
add eax, 0x10
xor ecx, ecx
push 7
pop ebx
cmp dword [eax - 0xc], ecx
je 0x1803aa5a
mov byte [ebp - 8], cl
jmp 0x1803aa5a
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 8]
test bl, 4
je 0x1803aa67
lea ecx, [eax - 0x10]
call fcn.180046a5
test bl, 2
je 0x1803aa74
lea ecx, [esi - 0x10]
call fcn.180046a5
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.180046a5
cmp byte [ebp - 8], 0
je 0x1803aa8c
mov ebx, 0x80070057
jmp 0x1803ab08
call fcn.18004041
push eax
lea ecx, [ebp + 8]
call fcn.1800710c
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
push edi
call fcn.1803afa7
mov esi, eax
test esi, esi
js 0x1803aafb
lea edx, [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.1800eee2
mov ecx, dword [eax]
call fcn.1800512e
mov ecx, dword [ebp - 0x10]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.180046a5
test esi, esi
js 0x1803aafb
mov ecx, dword [ebp + 0xc]
lea edx, [ebp + 8]
call fcn.1803a78c
mov esi, eax
test esi, esi
js 0x1803aafb
mov edx, dword [ebp + 0x10]
lea ecx, [ebp + 8]
call fcn.1803b0df
mov esi, eax
test esi, esi
jns 0x1803ab19
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.180046a5
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, 0x181ce9b8
call fcn.18016ee6
xor ebx, ebx
jmp 0x1803aafd
Function at 0x1803f7e1
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 0x1803f824
push str.GOOGLEUPDATEAPPLICATIONCOMMANDS
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x1803f824
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 4
jne 0x1803f852
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1803f83b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x1803f857
movzx edi, di
or edi, 0x80070000
jmp 0x1803f857
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x1803f84d
mov edi, 0x80070006
jmp 0x1803f857
cmp dword [eax], 1
je 0x1803f857
mov edi, 0x8000ffff
test esi, esi
je 0x1803f862
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x180402bd
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.18004041
push eax
mov ecx, ebx
call fcn.1800710c
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.18007189
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 0x1804031a
push dword [edi - 0xc]
lea ecx, [ebp + 8]
call fcn.180072fc
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, 0x18004aa6
je 0x18040375
cmp dword [ebp - 4], ebx
jl 0x18040375
push dword [esi]
mov ecx, dword [ebp - 0xc]
call fcn.18006e06
cmp dword [ebp - 4], ebx
jle 0x18040379
mov edi, dword [ebp - 0x10]
push dword [esi + ebx*4]
lea ecx, [ebp + 8]
call fcn.18006dd4
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.18009e88
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.180046a5
inc ebx
cmp ebx, dword [ebp - 4]
jl 0x18040349
mov edi, dword [ebp - 8]
jmp 0x18040379
test esi, esi
je 0x18040380
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [edi - 0x10]
call fcn.180046a5
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 4