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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x102fb070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x10013f87
cmp byte [esi + 0x3d], 0
je 0x10013f87
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10013f40
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx]
cmp edx, vtable.std::codecvt_char__char__struct__Mbstatet_.0
jne 0x10013f99
lea edi, [ebp - 0x24]
xor eax, eax
mov dword [ebp - 0x28], edi
sub eax, 0
je 0x10013f52
sub eax, 1
je 0x10013f56
sub eax, 2
je 0x10013f87
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10053a94
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10013f70
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.100e34c3
add esp, 0x10
cmp edi, eax
jne 0x10013f40
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10053a94
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.10053a94
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
mov edi, dword [ebp - 0x28]
jmp 0x10013f31

Function at 0x10018fc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
jb 0x10018fce
mov ecx, dword [ecx]
test ecx, ecx
mov eax, 0x102de530
cmovne eax, ecx
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.10021c60

Function at 0x1001f020
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1025d360
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x102fb070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10053ab3
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.1003d779
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100246f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1025d360
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x102fb070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.10053ab3
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.1003d779
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002e510
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1025f6f3
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x102fb070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x28]
push eax
call fcn.10010ce0
mov ecx, eax
call fcn.10066127
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
cmp eax, 9
jb 0x1002e58e
cmp edx, 8
lea esi, [ebp - 0x28]
push 0x12
cmovae esi, dword [ebp - 0x28]
lea edi, [ecx + 9]
push str.About.exe
mov dword [ebp - 0x18], edi
lea eax, [esi + ecx*2]
push eax
call fcn.100ccba0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x1002e5ac
push 9
push str.About.exe
mov byte [ebp - 0x14c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x14c]
push 9
call fcn.10008770
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002e65d
call fcn.10063dd9
test al, al
je 0x1002e63e
mov eax, dword [0x1030bab4]
test eax, eax
je 0x1002e63e
cmp dword [eax + 4], 4
jl 0x1002e63e
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
push 0
cmovae edi, dword [ebp - 0x28]
lea ecx, [ebp - 0x148]
push 0
push 0x102ddbc0
push 0x30
push str.CSoftTaskControl::RunDaemon
push 4
call fcn.10025da0
mov esi, eax
test edi, edi
mov byte [ebp - 4], 1
mov ecx, 0x102de530
cmovne ecx, edi
push ecx
lea ecx, [esi + 0x30]
push ecx
call fcn.10021c60
mov ecx, dword [0x1030bab4]
add esp, 8
push esi
call fcn.10025f50
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0
call fcn.100221e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0xffffffffffffffff
push 0
push eax
push str.70414313
call fcn.100694e6
add esp, 0x14
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1002e693
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e689
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e6b0
push edx
push ecx
call fcn.10053aa5
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10053a94
mov esp, ebp
pop ebp
ret 4
call fcn.100d7e3e
int3
Function at 0x10036090
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102600f0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x102fb070]
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 ebx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.10010ce0
mov ecx, eax
call fcn.10066127
mov ecx, ebx
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100360e0
mov eax, dword [ebp - 0x14]
sub ecx, edx
mov edx, dword [ebp - 0x18]
sub eax, edx
sar ecx, 1
cmp ecx, eax
ja 0x10036125
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
lea eax, [ecx + ecx]
cmovae esi, dword [ebp - 0x28]
lea edi, [edx + ecx]
push eax
push ebx
mov dword [ebp - 0x18], edi
lea eax, [esi + edx*2]
push eax
call fcn.100ccba0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x10036137
push ecx
push ebx
mov byte [ebp - 0x54], 0
push dword [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10008770
cmp dword [ebp + 0xc], 0
lea eax, [ebp - 0x28]
jne 0x10036169
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100361b3
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1006ce7c
add esp, 4
jmp 0x100361b3
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100361b3
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1006a4a9
mov ecx, dword [ebp - 0x2c]
add esp, 8
test ecx, ecx
je 0x100361b3
mov edx, dword [ecx]
lea eax, [ebp - 0x50]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x100361e9
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100361df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036207
push edx
push ecx
call fcn.10053aa5
add esp, 8
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.10053a94
mov esp, ebp
pop ebp
ret 8
call fcn.100d7e3e
int3
Function at 0x1005f90b
Capabilities:
Create directory
Get common file path
Get startup folder

Disassembly:
push 0x224
mov eax, 0x1026284b
call fcn.10054407
mov edi, dword [ebp + 8]
xor esi, esi
xor eax, eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], esi
push esi
push eax
call fcn.100cd120
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0xb
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1005f9ba
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.100034a0
push 0x102ddc5c
lea ecx, [ebp - 0x230]
call fcn.10007ee0
push edi
lea ecx, [ebp - 0x230]
call fcn.10007ee0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.100f08d4
pop ecx
test eax, eax
je 0x1005f9b7
cmp eax, 0x11
jne 0x1005f9ba
xor esi, esi
inc esi
lea ecx, [ebp - 0x230]
call fcn.100042b0
mov eax, esi
call fcn.100543b1
ret 4

Function at 0x1005fdfe
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x224
mov eax, 0x1026284b
call fcn.10054407
mov edi, dword [ebp + 8]
xor esi, esi
xor eax, eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], esi
push esi
push eax
call fcn.100cd120
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0xb
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1005fea2
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.100034a0
push 0x102ddc5c
lea ecx, [ebp - 0x230]
call fcn.10007ee0
push edi
lea ecx, [ebp - 0x230]
call fcn.10007ee0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.1006d029
pop ecx
inc esi
lea ecx, [ebp - 0x230]
call fcn.100042b0
mov eax, esi
call fcn.100543b1
ret 4

Function at 0x1005ff5c
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x228
mov eax, 0x1026293e
call fcn.10054407
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor edi, edi
mov dword [ebp - 0x234], esi
push edi
push eax
call fcn.100cd120
xor eax, eax
mov dword [ebp - 0x220], edi
add esp, 0xc
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push edi
push 0x1a
lea eax, [ebp - 0x218]
mov dword [ebp - 4], edi
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.100034a0
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x10060007
dec eax
lea ecx, [ebp - 0x230]
push eax
call fcn.10060e21
cmp word [eax], 0x5c
je 0x1005fff7
push 0x102ddc5c
lea ecx, [ebp - 0x230]
call fcn.10007ee0
push str.MicrosoftInternet_ExplorerQuick_Launch
lea ecx, [ebp - 0x230]
call fcn.10007ee0
lea eax, [ebp - 0x230]
mov ecx, esi
push eax
call fcn.10022360
lea ecx, [ebp - 0x230]
call fcn.100042b0
mov eax, esi
call fcn.100543b1
ret 4
Function at 0x1006002a
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x258
mov eax, 0x1026297c
call fcn.10054407
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
xor ecx, ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x264], edi
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], cx
push eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], ebx
call fcn.100067f0
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push ebx
push eax
call fcn.100cd120
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push dword [ebp + 0x14]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x100600b2
push 0x102de6e0
mov ecx, edi
call fcn.100067f0
jmp 0x1006018a
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.100034a0
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x230]
dec eax
push eax
call fcn.10060e21
cmp word [eax], 0x5c
je 0x100600ed
push 0x102ddc5c
lea ecx, [ebp - 0x230]
call fcn.10007ee0
push esi
lea ecx, [ebp - 0x230]
call fcn.10007ee0
xor eax, eax
mov dword [ebp - 0x250], ebx
mov word [ebp - 0x260], ax
lea ecx, [ebp - 0x260]
mov eax, dword [ebp - 0x220]
sub eax, dword [ebp - 0x238]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x24c], 7
push eax
call fcn.10008190
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x260]
call fcn.10004af0
lea ecx, [ebp - 0x260]
mov esi, eax
call fcn.100042b0
test esi, esi
je 0x1006017c
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push dword [ebp - 0x238]
cmovae eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x230]
push eax
call fcn.100088e0
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.10022360
lea ecx, [ebp - 0x248]
call fcn.100042b0
lea ecx, [ebp - 0x230]
call fcn.100042b0
mov eax, edi
call fcn.100543b1
ret 0x10
Function at 0x10060976
Capabilities:
Check if file exists

Disassembly:
push 0x4c
mov eax, 0x10262a45
call fcn.10054407
mov ebx, ecx
mov edi, dword [ebp + 8]
xor esi, esi
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], ecx
mov word [ebp - 0x58], ax
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10060ab3
push edi
lea ecx, [ebp - 0x28]
call fcn.100034a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x58]
call fcn.100034a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x5c
cmovae eax, dword [ebp - 0x28]
push 0xffffffffffffffff
push dword [ebp - 0x18]
push eax
call fcn.10008330
add esp, 0x10
mov dword [ebp - 0x30], esi
xor ecx, ecx
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], cx
lea ecx, [ebp - 0x40]
push eax
push esi
lea eax, [ebp - 0x28]
push eax
call fcn.10008190
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.10005380
lea ecx, [ebp - 0x40]
call fcn.100042b0
call fcn.1006ec3c
cmp eax, 1
jg 0x10060a8d
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.1005ff5c
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 2
call fcn.100088e0
push str..lnk
lea ecx, [ebp - 0x40]
call fcn.10007ee0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push esi
cmovae eax, dword [ebp - 0x40]
mov ecx, ebx
push esi
push esi
push 1
push esi
push esi
push eax
push edi
call fcn.1005f7fd
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.100042b0
jmp 0x10060ab3
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
push 0x1026dedc
cmovae ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.10060215
mov esi, eax
lea ecx, [ebp - 0x58]
call fcn.100042b0
lea ecx, [ebp - 0x28]
call fcn.100042b0
mov eax, esi
call fcn.100543b1
ret 4
Function at 0x10060cd6
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x4c
mov eax, 0x10262a45
call fcn.10054407
mov edi, ecx
mov ebx, dword [ebp + 8]
xor esi, esi
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], ecx
mov word [ebp - 0x58], ax
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10060e07
push ebx
lea ecx, [ebp - 0x28]
call fcn.100034a0
push 8
pop ebx
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x58]
call fcn.100034a0
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
push 0x5c
cmovae eax, dword [ebp - 0x28]
push 0xffffffffffffffff
push dword [ebp - 0x18]
push eax
call fcn.10008330
add esp, 0x10
mov dword [ebp - 0x30], esi
xor ecx, ecx
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], cx
lea ecx, [ebp - 0x40]
push eax
push esi
lea eax, [ebp - 0x28]
push eax
call fcn.10008190
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.10005380
lea ecx, [ebp - 0x40]
call fcn.100042b0
call fcn.1006ec3c
cmp eax, 1
jg 0x10060de3
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.1005ff5c
cmp dword [ebp - 0x44], ebx
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 2
call fcn.100088e0
push str..lnk
lea ecx, [ebp - 0x40]
call fcn.10007ee0
cmp dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.100042b0
jmp 0x10060e07
cmp dword [ebp - 0x44], ebx
lea ecx, [ebp - 0x58]
push 0x1026dee8
cmovae ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], ebx
push ecx
cmovae eax, dword [ebp - 0x28]
mov ecx, edi
push eax
call fcn.10060215
mov esi, eax
lea ecx, [ebp - 0x58]
call fcn.100042b0
lea ecx, [ebp - 0x28]
call fcn.100042b0
mov eax, esi
call fcn.100543b1
ret 4

Function at 0x10060fa0
Capabilities:
Check if file exists

Disassembly:
push 0x234
mov eax, 0x10262a75
call fcn.10054407
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
push 0x1a
push eax
push ebx
call fcn.1006170a
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x10060fd0
sub ecx, edx
sar ecx, 1
je 0x1006106b
push 0x102ddc5c
mov ebx, 0x104
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.100f0970
push edi
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.100f0970
push 0x102ddc5c
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.100f0970
add esp, 0x24
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1006105d
and dword [ebp - 0x21c], eax
and dword [ebp - 4], eax
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1006a4a9
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp - 0x240]
call fcn.100207f0
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.100034a0
call fcn.100543b1
ret 8
Function at 0x100611f2
Capabilities:
Check if file exists

Disassembly:
push 0xc7c
mov eax, 0x10262af6
call fcn.10054407
mov esi, ecx
mov dword [ebp - 0xc88], esi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc40]
mov ebx, dword [ebp + 0xc]
push 0x208
push 0
push eax
mov dword [ebp - 0xc84], edi
call fcn.100cd120
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.100cd120
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100cd120
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.100cd120
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100cd120
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.100cd120
xor ecx, ecx
mov dword [ebp - 0xc44], 7
xor eax, eax
mov dword [ebp - 0xc48], ecx
add esp, 0x48
mov word [ebp - 0xc58], ax
push ecx
push 0x1a
lea eax, [ebp - 0xc40]
mov dword [ebp - 4], ecx
push eax
push ecx
mov ecx, esi
call fcn.1006170a
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.100ee8e7
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.100d0066
add esp, 0x14
test eax, eax
jne 0x100612ee
mov ecx, esi
jmp 0x1006145d
xor ecx, ecx
mov esi, 0x104
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push esi
push eax
call fcn.100ee8e7
push str.Local
lea eax, [ebp - 0x830]
push esi
push eax
call fcn.100f0970
add esp, 0x18
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
xor esi, esi
inc ecx
test eax, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
cmovne esi, ecx
push 0x104
push eax
call fcn.100ee8e7
push str.LocalLow
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.100f0970
add esp, 0x18
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 1
xor ecx, ecx
test eax, eax
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xc84], ecx
push 0x104
push eax
call fcn.100ee8e7
push str.Roaming
lea eax, [ebp - 0xa38]
push 0x104
push eax
call fcn.100f0970
add esp, 0x18
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
test esi, esi
je 0x10061457
cmp dword [ebp - 0xc84], 0
je 0x10061457
test ecx, ecx
je 0x10061457
push ebx
lea eax, [ebp - 0x420]
push eax
push 0x1026e150
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.1005d7a2
add esp, 0x14
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10061443
and dword [ebp - 0xc5c], eax
inc eax
mov byte [ebp - 4], al
lea eax, [ebp - 0xc80]
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.1006a4a9
pop ecx
pop ecx
lea ecx, [ebp - 0xc80]
mov byte [ebp - 4], 0
call fcn.100207f0
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0xc58]
call fcn.100034a0
jmp 0x1006146a
mov ecx, dword [ebp - 0xc88]
push ebx
lea eax, [ebp - 0xc58]
push eax
call fcn.10060fa0
lea eax, [ebp - 0xc58]
mov ecx, edi
push eax
call fcn.10022360
lea ecx, [ebp - 0xc58]
call fcn.100042b0
mov eax, edi
call fcn.100543b1
ret 8
Function at 0x10061fd7
Capabilities:
Create process on windows

Disassembly:
push 0x18
mov eax, 0x10262c4a
call fcn.100543d3
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
call fcn.10006250
push eax
lea ecx, [ebp - 0x10]
call fcn.10005db0
mov byte [ebp - 4], 1
call fcn.10006250
push eax
lea ecx, [ebp - 0x18]
call fcn.10005db0
push 0x20119
push str.SOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.1006080a
mov edi, 0x1000
test eax, eax
jne 0x1006206d
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], edi
call fcn.100057b0
lea ecx, [ebp - 0x14]
push ecx
push eax
push str.InstallLocation
lea ecx, [ebp - 0x24]
call fcn.10060acd
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.10062206
test esi, esi
jne 0x1006206d
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], ebx
jne 0x100620b6
jmp 0x10062070
mov esi, dword [ebp - 0x10]
push 0x20119
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x24]
call fcn.1006080a
test eax, eax
jne 0x100620b6
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], edi
call fcn.100057b0
lea ecx, [ebp - 0x14]
push ecx
push eax
push str.InstallLocation
lea ecx, [ebp - 0x24]
call fcn.10060acd
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.10062206
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x100620c2
mov edi, dword [ebp - 0x18]
jmp 0x10062122
dec eax
lea ecx, [ebp - 0x10]
push eax
call fcn.10061eab
cmp ax, 0x5c
je 0x100620e4
push 1
push 0x102ddc5c
lea ecx, [ebp - 0x10]
call fcn.10061e1f
mov esi, dword [ebp - 0x10]
push 0x78
push 0x65
push 0x6d
push 0x6f
push 0x72
push 0x68
push 0x63
push esi
lea eax, [ebp - 0x18]
push str._s_c_c_c_c_c_c.e_ce
push eax
call fcn.1002de30
mov edi, dword [ebp - 0x18]
add esp, 0x28
push 5
push ebx
push dword [ebp + 8]
push edi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ebx, ebx
cmp eax, 0x20
setg bl
lea ecx, [edi - 0x10]
call fcn.10006320
lea ecx, [esi - 0x10]
call fcn.10006320
lea ecx, [ebp - 0x24]
call fcn.1005f6e1
mov eax, ebx
call fcn.1005439c
ret