joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4089bb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
mov ecx, 0x56221c
call fcn.004f6dfd
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x408a1f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x408a1f
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x408a0f
cmp esi, ecx
jae 0x408a1f
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x4089fd
cmp esi, ecx
jae 0x408a1f
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
jmp 0x408a21
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4099a9
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ecx, 0x56239d
xor ebx, ebx
call fcn.004f6dfd
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ebx
push 0x40000001
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
jne 0x4099e0
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x409a2f
push esi
push dword [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.004096ee
pop ecx
pop ecx
lea ecx, [ebp - 8]
mov esi, dword [eax]
mov dword [eax], ebx
mov dword [ebp - 0xc], esi
call fcn.004097f0
lea eax, [ebp - 4]
push eax
push esi
push 0x40000001
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
jne 0x409a29
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0xc]
mov dword [esi], ebx
call fcn.004097f0
mov eax, esi
jmp 0x409a2e
mov eax, dword [ebp + 8]
mov dword [eax], esi
pop esi
pop ebx
leave
ret
Function at 0x409f6d
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x523067
call fcn.004f70e4
sub esp, 0x264
push ebx
mov ecx, 0x56239d
call fcn.004f6dfd
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push str.OpenWithProgids
push dword [ebp + 8]
lea eax, [ebp - 0x58]
mov dword [ebp - 4], ebx
push eax
call fcn.00409406
add esp, 0xc
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.004033dd
push 0x20019
push eax
push connect
lea ecx, [ebp - 0x1c]
call fcn.004059b5
test eax, eax
jne 0x40a0f7
push esi
push edi
lea ecx, [ebp - 0x28]
call fcn.00409797
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 2
push eax
mov edi, ebx
mov dword [ebp - 0x10], 0x200
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x40a04e
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040305d
cmp dword [ebp - 0x30], 0
mov byte [ebp - 4], 3
je 0x40a028
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004094cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], 0x200
inc edi
mov byte [ebp - 4], 2
call fcn.004033fb
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x270]
push eax
push edi
push esi
call ebx
test eax, eax
je 0x40a003
test esi, esi
je 0x40a064
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x1c]
push 0xf003f
push str.SoftwareMicrosoftWindowsCurrentVersionApplicationAssociationToasts
push reloc.WS2_32.dll_accept
call fcn.004059b5
test eax, eax
jne 0x40a0ed
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
jmp 0x40a0d8
push 0x52a210
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.00409406
push dword [ebp + 8]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004093df
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.004033fb
lea ecx, [ebp - 0x40]
call fcn.004033dd
push 0
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040a191
lea ecx, [ebp - 0x40]
call fcn.004033fb
add esi, 0x18
cmp esi, edi
jne 0x40a08b
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
lea ecx, [ebp - 0x1c]
call fcn.00404d94
lea ecx, [ebp - 0x28]
call fcn.0040aac8
pop edi
pop esi
lea ecx, [ebp - 0x58]
call fcn.004033fb
lea ecx, [ebp - 0x1c]
call fcn.00404d94
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40a300
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, 0x562388
call fcn.004f6dfd
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x40a31c
push 0xd
pop eax
jmp 0x40a34e
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x40a325
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x40b005
Capabilities:
Check http status code
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
mov edi, dword [ebp + 0x28]
mov ecx, 0x5624c1
call fcn.004f6dfd
push 0x1c
pop esi
push 0x104
lea eax, [ebp - 0x218]
mov byte [ebp + 0x2b], 0
push 0
push eax
call fcn.004fa2f0
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.004029d0
cmp dword [ebp + 0x24], 0
push dword [ebp + 0x20]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x218]
cmovne eax, dword [ebp + 0x24]
mov dword [ebp - 0x10], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40b06d
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
or ebx, 0xffffffff
test edi, edi
cmovg ebx, edi
xor eax, eax
test edi, edi
cmovg eax, edi
mov dword [ebp + 0x24], eax
cmp esi, 0x1c
je 0x40b08d
cmp esi, 6
jne 0x40b223
push 0x52add0
push dword [ebp + 0x20]
call fcn.005018a1
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x40b21f
push edi
call fcn.0040b23e
pop ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], edx
call fcn.00418750
mov esi, eax
test esi, esi
je 0x40b216
push dword [ebp - 0xc]
push 0x2712
push esi
call fcn.0041b850
push edi
push 0x2711
push esi
call fcn.0041b850
push 0x40af1a
push 0x4e2b
push esi
call fcn.0041b850
push 0
push 0x2b
push esi
call fcn.0041b850
push 5
push 0x44
push esi
call fcn.0041b850
push 1
push 0x34
push esi
call fcn.0041b850
add esp, 0x48
push 0x40add8
push 0x4e58
push esi
call fcn.0041b850
push dword [ebp - 0x10]
push 0x2749
push esi
call fcn.0041b850
push 0xa
push 0x4e
push esi
call fcn.0041b850
push dword [ebp + 0x24]
push 0xd
push esi
call fcn.0041b850
push 1
push 0x13
push esi
call fcn.0041b850
push 5
push 0x14
push esi
call fcn.0041b850
add esp, 0x48
lea eax, [ebp - 0x114]
push 0xff
push 0
push eax
call fcn.004fa2f0
push dword [ebp - 4]
lea eax, [ebp - 0x114]
push dword [ebp - 0x14]
push str._I64u_
push 0xff
push eax
call fcn.0040b51d
lea eax, [ebp - 0x114]
push eax
push 0x2717
push esi
call fcn.0041b850
push esi
call fcn.004187b0
add esp, 0x30
mov dword [ebp - 4], eax
test eax, eax
jne 0x40b1ae
mov byte [ebp + 0x2b], 1
jmp 0x40b1cb
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
cmp eax, 0x2a
je 0x40b216
cmp eax, 0x1c
jne 0x40b1cb
cmp ebx, 0xffffffff
jne 0x40b216
cmp ebx, 0xffffffff
je 0x40b1e0
mov eax, dword [ebp + 0x24]
dec ebx
dec eax
mov dword [ebp + 0x24], eax
test eax, eax
jle 0x40b216
test ebx, ebx
jle 0x40b216
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x200002
push esi
call fcn.00418730
cmp dword [ebp - 8], 0x190
push esi
sbb al, al
and byte [ebp + 0x2b], al
call fcn.00418710
push edi
call fcn.0050192f
mov esi, dword [ebp - 4]
add esp, 0x14
jmp 0x40b07f
push edi
call fcn.0050192f
pop ecx
jmp 0x40b223
mov byte [ebp + 0x2b], 0
lea ecx, [ebp + 8]
call fcn.00402a3c
mov ecx, dword [ebp + 0x20]
add ecx, 0xfffffff0
call fcn.00405e10
mov al, byte [ebp + 0x2b]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40be1d
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
mov eax, 0x5231c2
call fcn.004f70e4
sub esp, 0x264
push ebx
mov ecx, 0x5625b9
xor ebx, ebx
call fcn.004f6dfd
push 0x104
lea eax, [ebp - 0x16c]
push ebx
push eax
call fcn.004fa2f0
add esp, 0xc
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
push ebx
mov ebx, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
call ebx
cmp eax, 0x6f
je 0x40be7f
push 1
lea eax, [ebp - 0x16c]
push str.:3:_d
push eax
call fcn.0040b79a
add esp, 0xc
jmp 0x40c042
push edi
push dword [ebp - 0x10]
call fcn.0050250e
mov edi, eax
pop ecx
test edi, edi
jne 0x40beaa
push 1
lea eax, [ebp - 0x16c]
push str.:4:_d
push eax
call fcn.0040b79a
add esp, 0xc
jmp 0x40c041
push esi
lea eax, [ebp - 0x10]
mov esi, edi
push eax
push edi
call ebx
test eax, eax
je 0x40bed9
push 1
lea eax, [ebp - 0x16c]
push str.:5:_d
push eax
call fcn.0040b79a
push edi
call fcn.004fe560
add esp, 0x10
jmp 0x40c040
mov eax, dword [esi + 0x190]
cmp eax, 6
jb 0x40c02f
cmp eax, 8
ja 0x40c02f
lea ecx, [ebp - 0x50]
call fcn.0040b885
and dword [ebp - 4], 0
lea eax, [esi + 0x10c]
push eax
lea ecx, [ebp - 0x38]
call fcn.00403456
lea eax, [esi + 0x1b0]
cmp eax, str.0.0.0.0
je 0x40c01b
lea eax, [esi + 8]
test eax, eax
je 0x40c01b
cmp byte [eax], 0
je 0x40c01b
push eax
lea ecx, [ebp - 0x68]
call fcn.00402403
lea eax, [ebp - 0x68]
push eax
call fcn.0040c061
pop ecx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x20], eax
call fcn.00402a3c
mov eax, dword [esi + 0x1a0]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x190]
mov dword [ebp - 0x18], eax
cmp eax, 6
jne 0x40bfac
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x270]
push str._02X__02X__02X__02X__02X__02X
push eax
call fcn.0040b79a
add esp, 0x20
jmp 0x40c000
movzx eax, byte [esi + 0x19b]
push eax
movzx eax, byte [esi + 0x19a]
push eax
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x270]
push str._02X__02X__02X__02X__02X__02X__02X__02X
push eax
call fcn.0040b79a
add esp, 0x28
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x50]
call fcn.00403456
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x50]
push eax
call fcn.0040b5d9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00402a3c
lea ecx, [ebp - 0x50]
call fcn.00402a3c
mov esi, dword [esi]
test esi, esi
jne 0x40bed9
push edi
call fcn.004fe560
pop ecx
pop esi
pop edi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x16c]
push eax
call fcn.00402403
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40c061
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
push edi
mov ecx, 0x5625b9
call fcn.004f6dfd
lea eax, [ebp - 0xc]
xor edi, edi
push eax
push 0x20019
push edi
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.WS2_32.dll_bind
mov dword [ebp - 0xc], edi
or ebx, 0xffffffff
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40c1c3
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 8]
push eax
push edi
push edi
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ecx, dword [ebp - 8]
test eax, eax
push 0x64
pop edx
cmovne ecx, edx
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x40c1c3
and dword [ebp - 4], 0
lea eax, [ebp - 0x220]
push 0x104
push 0
push eax
call fcn.004fa2f0
xor eax, eax
mov ecx, 0x104
push ecx
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 0x10], ecx
call fcn.004fa2f0
push edi
push str._04u
lea eax, [ebp - 0x11c]
push 0x104
push eax
call fcn.0040b771
add esp, 0x28
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c1af
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.NetCfgInstanceId
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40c1aa
mov ecx, dword [ebp + 8]
call fcn.004029d0
lea ecx, [ebp - 0x220]
push ecx
push eax
call fcn.00502552
pop ecx
pop ecx
test eax, eax
jne 0x40c1aa
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x52ae64
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40c1bb
push dword [ebp - 4]
call esi
inc edi
cmp edi, dword [ebp - 8]
jb 0x40c0d7
jmp 0x40c1c3
push dword [ebp - 4]
mov ebx, dword [ebp - 0x18]
call esi
push dword [ebp - 0xc]
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x40c895
Capabilities:
Create thread

Disassembly:
mov eax, 0x5232ae
call fcn.004f70e4
push ecx
push ebx
push esi
mov ebx, ecx
mov ecx, 0x562825
push edi
xor edi, edi
call fcn.004f6dfd
push 8
call fcn.004f6e52
mov esi, eax
pop ecx
test esi, esi
je 0x40c8ce
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esi], edx
mov dword [esi + 4], ecx
jmp 0x40c8d0
mov esi, edi
lea ecx, [ebp + 8]
mov dword [ebp + 8], edi
call fcn.0040cc5c
mov dword [ebp + 8], edi
mov dword [ebp - 0x10], esi
lea ecx, [ebp + 8]
mov dword [ebp - 4], edi
call fcn.0040cc5c
xor eax, eax
lea edi, [ebx + 4]
push edi
push eax
push esi
push 0x40c7e9
push eax
push eax
call fcn.00503b60
add esp, 0x18
mov dword [ebx], eax
test eax, eax
je 0x40c91a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
and dword [edi], 0
push 6
call fcn.004f872d
int3
Function at 0x40c925
Capabilities:
Create thread

Disassembly:
mov eax, 0x5232ae
call fcn.004f70e4
push ecx
push ebx
push esi
mov ebx, ecx
mov ecx, 0x562825
push edi
xor edi, edi
call fcn.004f6dfd
push 8
call fcn.004f6e52
mov esi, eax
pop ecx
test esi, esi
je 0x40c95e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esi], edx
mov dword [esi + 4], ecx
jmp 0x40c960
mov esi, edi
lea ecx, [ebp + 8]
mov dword [ebp + 8], edi
call fcn.0040cc5c
mov dword [ebp + 8], edi
mov dword [ebp - 0x10], esi
lea ecx, [ebp + 8]
mov dword [ebp - 4], edi
call fcn.0040cc5c
xor eax, eax
lea edi, [ebx + 4]
push edi
push eax
push esi
push 0x40c83f
push eax
push eax
call fcn.00503b60
add esp, 0x18
mov dword [ebx], eax
test eax, eax
je 0x40c9aa
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
and dword [edi], 0
push 6
call fcn.004f872d
int3

Function at 0x40d291
Capabilities:
Check if file exists
Create directory
Delete directory

Disassembly:
mov eax, 0x522c46
call fcn.004f70e4
sub esp, 0xc
mov ecx, 0x562835
push ebx
call fcn.004f6dfd
sub esp, 0x18
mov ecx, esp
push 0x52b9e4
call fcn.00402403
call fcn.00407b65
add esp, 0x18
test al, al
je 0x40d2cf
mov eax, dword [ebp + 8]
mov byte [eax], 0
jmp 0x40d36a
push 0x52b9e8
lea ecx, [ebp - 0x14]
call fcn.004041e9
xor ebx, ebx
lea ecx, [ebp - 0x10]
push str.D:Program_Filesgptchrometmp
mov dword [ebp - 4], ebx
call fcn.004041e9
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40d311
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
mov eax, dword [ebp + 8]
je 0x40d352
push dword [ebp - 0x14]
jmp 0x40d347
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40d333
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
mov eax, dword [ebp + 8]
setne cl
mov byte [eax], cl
jmp 0x40d354
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
mov eax, dword [ebp + 8]
je 0x40d352
push dword [ebp - 0x10]
mov byte [eax], 1
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x40d354
mov byte [eax], bl
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00405e10
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00405e10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x40d377
Capabilities:
Check if file exists
Delete file

Disassembly:
mov eax, 0x52350a
call fcn.004f70e4
sub esp, 0x1c
push esi
push edi
mov ecx, 0x562835
call fcn.004f6dfd
lea eax, [ebp - 0x24]
push eax
call fcn.0040854b
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
mov edi, str.GPT_Chrome.lnk
push edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00404829
add esp, 0x10
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 1
call esi
lea eax, [ebp - 0x20]
push eax
call fcn.004085d3
push edi
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00404829
add esp, 0x10
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00404652
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.00405e10
push dword [ebp - 0x1c]
call esi
lea eax, [ebp - 0x18]
push eax
call fcn.0040867a
push edi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404829
add esp, 0x10
push dword [ebp - 0x14]
mov byte [ebp - 4], 5
call esi
lea eax, [ebp - 0x28]
push eax
call fcn.0040f9df
pop ecx
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00404652
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.00405e10
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00404829
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.00404652
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.00405e10
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0x10]
push eax
call fcn.00406f31
pop ecx
push edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.00404a8e
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40d4a9
push dword [ebp - 0x10]
call esi
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00405e10
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00405e10
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00405e10
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00405e10
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00405e10
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00405e10
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40dc84
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x5235f6
call fcn.004f70e4
sub esp, 0x24c
mov ecx, 0x562835
call fcn.004f6dfd
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x40dcaf
mov al, 1
jmp 0x40dd98
push ebx
push esi
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x258]
push ebx
push eax
call fcn.004fa2f0
add esp, 0xc
lea eax, [ebp - 0x258]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x38
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x50], 0x3c
push ebx
push eax
call fcn.004fa2f0
add esp, 0xc
mov dword [ebp - 0x44], str.runas
lea eax, [ebp - 0x258]
mov dword [ebp - 0x34], 1
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x40], eax
call fcn.00404155
mov eax, dword [ebp + 8]
mov edx, str._upprivi__can_ins_d
mov ecx, str._upprivi
mov dword [ebp - 4], ebx
cmp byte [eax], bl
cmovne ecx, edx
push ecx
lea ecx, [ebp - 0x14]
call fcn.004061b6
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x3c], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40dd8c
push edi
mov edi, str.GPT_Chrome
lea ecx, [ebp - 0x10]
push edi
call fcn.004041e9
push 0x52ba7c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00404a8e
push 4
push edi
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
cmp eax, 6
jne 0x40dda4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00405e10
lea ecx, [esi - 0x10]
call fcn.00405e10
mov al, 1
jmp 0x40dd96
lea ecx, [esi - 0x10]
call fcn.00405e10
xor al, al
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
push ebx
call fcn.00502d7e
int3

Function at 0x40def4
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x52365a
call fcn.004f70e4
sub esp, 0x18
push ebx
mov ebx, ecx
mov ecx, 0x562835
push edi
call fcn.004f6dfd
push 0x52b0f8
lea ecx, [ebp - 0x24]
call fcn.00402403
xor edi, edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.004029d0
push eax
mov eax, dword [ebx + 4]
push edi
push 0x469
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 4]
push edi
push 1
push 0x46a
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
call fcn.0040830b
mov dword [esp], str.SPChrome_FrameWin_
call fcn.00406562
mov dword [esp], 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.GptBrowser.exe
call fcn.00407bbb
pop ecx
mov eax, dword [ebx + 4]
add eax, 4
push eax
call fcn.0040657f
mov eax, dword [ebx + 4]
pop ecx
push dword [eax + 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40df9b
inc edi
cmp edi, 0x14
jl 0x40df78
lea ecx, [ebp - 0x24]
call fcn.00402a3c
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40ece1
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x5238e3
call fcn.004f70e4
sub esp, 0xa8
push esi
mov esi, ecx
mov ecx, 0x562835
call fcn.004f6dfd
lea eax, [ebp - 0x10]
push eax
call fcn.004075bd
and dword [ebp - 4], 0
mov dword [esp], str.SPChromeUser_Data
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404829
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.00405e10
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40ed45
lea eax, [ebp - 0x14]
push eax
call fcn.0040657f
pop ecx
lea eax, [ebp - 0xb4]
push eax
call fcn.0040c1cf
pop ecx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 3
call fcn.00414f80
push str.constant.json
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00404194
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004047c7
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 7
lea ecx, [ecx - 0x10]
call fcn.00405e10
push 0
lea ecx, [ebp - 0x34]
call fcn.00413682
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 8
push eax
mov ecx, esi
call fcn.0040ddab
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [esi + 0x3c]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.0041361d
push str.NAME
mov esi, str.INSINFO
mov byte [ebp - 4], 0xa
push esi
lea ecx, [ebp - 0x34]
call fcn.0041397d
mov ecx, eax
call fcn.0041397d
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00413894
sub esp, 0x18
lea eax, [ebp - 0x7c]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.0041361d
push str.DATE
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
call fcn.0041397d
mov ecx, eax
call fcn.0041397d
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00413894
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x9c]
call fcn.004165a3
push 1
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.90SbYonwCwlsnoW7
call fcn.00402403
sub esp, 0x18
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x64]
mov ecx, esp
push eax
call fcn.004042d0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0xc
push eax
call fcn.004027c2
add esp, 0x38
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0xe
push eax
push ecx
mov ecx, esp
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x10], ecx
call fcn.0040406a
call fcn.004084b1
pop ecx
pop ecx
lea ecx, [ebp - 0x4c]
call fcn.00402a3c
lea ecx, [ebp - 0x64]
call fcn.00402a3c
lea ecx, [ebp - 0x7c]
call fcn.00402a3c
lea ecx, [ebp - 0x34]
call fcn.00413831
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00405e10
lea ecx, [ebp - 0x9c]
call fcn.0040ccd1
lea ecx, [ebp - 0xb4]
call fcn.00402a3c
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00405e10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
leave
ret