joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408f08
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00408ebc
test al, al
jne 0x408f29
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x408f75
xor eax, eax
push ebp
push 0x408f65
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004033cc
push eax
call sub.kernel32.dll_DeleteFileA
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408f6c
lea eax, [ebp - 0xc]
call fcn.00408ef8
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40927c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x40936b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00406c90
mov edx, dword [ebp - 8]
mov ecx, 0x409384
xor eax, eax
call fcn.00409170
push 0
mov eax, dword [ebp - 4]
call fcn.004033cc
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x409339
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0xb7
je 0x40929c
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov al, 0x35
call fcn.00408d44
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00404c30
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00407220
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x14]
mov ecx, 2
mov al, 0x67
call fcn.00408d14
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, 0x4045fc
call fcn.0040582c
call fcn.00402e88
jmp 0x40929c
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004031e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409372
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00403170
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403170
ret

Function at 0x409394
Capabilities:
Shutdown system

Disassembly:
push ebx
push esi
add esp, 0xffffffec
mov esi, edx
mov ebx, eax
cmp dword [0x40b07c], 2
jne 0x409401
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x4093bc
xor eax, eax
jmp 0x40940e
lea eax, [esp + 8]
push eax
push 0x409414
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 4], 1
mov dword [esp + 0x10], 2
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x409401
xor eax, eax
jmp 0x40940e
push esi
push ebx
call sub.user32.dll_ExitWindowsEx
neg eax
sbb eax, eax
neg eax
add esp, 0x14
pop esi
pop ebx
ret

Function at 0x409428
Capabilities:
Check if file exists

Disassembly:
xor edx, edx
mov eax, 2
call fcn.00409394
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x1baf6879
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0xe1f2f1b
nop
nop
nop
nop
test eax, eax
nop
je 0x431084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x423a3f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4362ec]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004239d4
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00414b10
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x423a8e
cmp dword [ebp - 0x1c], 5
jb 0x423aa6
jmp 0x423aa2
cmp dword [ebp - 0x10], 1
jne 0x423aa6
cmp dword [ebp - 0x1c], 4
ja 0x423aa2
jne 0x423aa6
cmp dword [ebp - 0x18], 0
jbe 0x423aa6
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x42adfc
call fcn.00407108
test eax, eax
jge 0x423ac7
mov byte [0x439698], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004147c2
add ebp, 0x78
leave
ret

Function at 0x43b651
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x43b3c1
add ebx, 0x212d5ce5
and ebx, ebx
call fcn.0043b699
inc ebx
or edx, ebx
xor dword [edi], eax
sub edx, 0x2c2e851d
sub edx, edx
dec edx
inc edi
push ebx
pop edx
dec edx
mov edx, ebx
cmp edi, ecx
jne fcn.0043b651
add ebx, 0x8ef3f7a6
add ebx, 0x5970e72e
dec edx
ret
Function at 0x407020
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push ebx
sub esp, 0x124
mov ebx, dword [esp + 0x130]
call sub.msvcrt.dll__errno
mov dword [eax], 0
test ebx, ebx
je 0x407227
cmp byte [ebx], 0
je 0x4071f3
mov dword [esp], ebx
call sub.KERNEL32.dll_GetFileAttributesA
sub esp, 4
cmp eax, 0xffffffff
je 0x407218
test al, 0x10
je 0x4071f3
mov dword [esp + 4], ebx
mov eax, 0x104
lea esi, [esp + 0x10]
mov dword [esp + 8], eax
mov dword [esp], esi
call sub.msvcrt.dll__fullpath
mov ecx, esi
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [ecx]
add ecx, 4
lea edx, [ebx - 0x1010101]
not ebx
and edx, ebx
mov eax, edx
and eax, 0x80808080
je 0x407090
and edx, 0x8080
jne 0x4070b6
shr eax, 0x10
add ecx, 2
add al, al
sbb ecx, 3
sub ecx, esi
lea edx, [ecx + 0x233]
mov dword [esp], edx
call sub.msvcrt.dll_malloc
test eax, eax
mov ebx, eax
je 0x407209
mov dword [esp + 4], esi
lea esi, [eax + 0x22c]
mov dword [esp], esi
call sub.ntdll.dll_strcpy
cmp byte [ebx + 0x22c], 0
je 0x407190
mov ecx, esi
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
mov eax, edx
and eax, 0x80808080
je 0x407100
and edx, 0x8080
jne 0x407126
shr eax, 0x10
add ecx, 2
add al, al
sbb ecx, 3
sub ecx, esi
cmp byte [ebx + ecx + 0x22b], 0x2f
je 0x407190
mov ecx, esi
lea esi, [esi]
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
mov eax, edx
and eax, 0x80808080
je 0x407140
and edx, 0x8080
jne 0x407166
shr eax, 0x10
add ecx, 2
add al, al
sbb ecx, 3
sub ecx, esi
cmp byte [ebx + ecx + 0x22b], 0x5c
je 0x407190
mov dword [esp], esi
call sub.ntdll.dll_strlen
mov word [eax + esi], 0x5c
lea esi, [esi]
lea edi, [edi]
mov dword [esp], esi
call sub.ntdll.dll_strlen
mov word [eax + esi], 0x2a
mov eax, 0xffffffff
xor edx, edx
mov dword [ebx + 0x224], eax
xor ecx, ecx
xor esi, esi
mov dword [ebx + 0x228], edx
xor eax, eax
mov edx, 0x104
mov dword [ebx + 0x118], ecx
xor ecx, ecx
mov word [ebx + 0x11c], si
lea esi, [ebx + 0x120]
mov word [ebx + 0x11e], ax
mov dword [esp], esi
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
call sub.ntdll.dll_memset
add esp, 0x124
mov eax, ebx
pop ebx
pop esi
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0x14
xor eax, eax
add esp, 0x124
pop ebx
pop esi
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0xc
xor eax, eax
jmp 0x407200
call sub.msvcrt.dll__errno
mov dword [eax], 2
xor eax, eax
jmp 0x407200
call sub.msvcrt.dll__errno
mov dword [eax], 0xe
xor eax, eax
jmp 0x407200

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x431030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x41803c71
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0xfa2335b
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401700
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
jne 0x401719
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
jne 0x40172d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40174e
cmp esi, eax
jae 0x401727
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401740
cmp esi, eax
jae 0x401727
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4026e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x411a95
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], ebx
lea edi, [esi + 0xc]
mov dword [esi], 0x4132ec
mov dword [edi], ebx
lea ecx, [esi + 0x14]
mov byte [esp + 0x28], 2
call fcn.00405010
lea eax, [esp + 0x30]
cmp edi, eax
mov byte [esp + 0x28], 3
mov dword [esi], 0x4132ec
je 0x402758
mov ecx, dword [edi]
cmp ecx, ebx
je 0x402744
call fcn.00401ae0
mov dword [edi], ebx
mov eax, dword [esp + 0x30]
cmp eax, ebx
mov dword [edi], eax
je 0x402758
add eax, 8
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
push 0x10
mov byte [esi + 0x10], 0
mov dword [esi + 8], ebx
call fcn.00409809
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
cmp edi, ebx
mov ebp, dword [esp + 0x34]
mov byte [esp + 0x28], 4
je 0x4027b6
test ebp, ebp
push esi
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], ebp
je 0x402794
lea ecx, [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.00402610
mov ebx, 1
push eax
mov ecx, edi
mov byte [esp + 0x30], 5
mov dword [esp + 0x18], ebx
call fcn.00405540
test bl, 1
je 0x4027c8
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4027c8
call fcn.00401ae0
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4027d5
call fcn.00401ae0
test ebp, ebp
je 0x4027e0
mov ecx, ebp
call fcn.00401ae0
mov ecx, dword [esp + 0x20]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 8
Function at 0x404400
Capabilities:
Download url
Receive data

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 0
push 0
push eax
push ecx
push edx
push 0
call sub.urlmon.dll_URLDownloadToCacheFileA
neg eax
sbb al, al
inc al
ret

Function at 0x404430
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ecx
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
push 1
push str.MSIE6
call dword [sym.imp.WININET.dll_InternetOpenA]
push ebx
push SysReAllocStringLen
push ebx
mov edi, eax
mov eax, dword [esp + 0x20]
push ebx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
cmp esi, ebx
je 0x404482
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push ecx
push edx
push eax
push esi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x404482
mov bl, 1
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebx
pop ecx
ret

Function at 0x4044a0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ecx
push ebx
lea eax, [esp + 4]
push eax
push 0x26
push 0
xor bl, bl
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4044c9
mov ecx, dword [esp + 4]
push 0x417b40
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov bl, 1
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test bl, bl
pop ebx
jne 0x404511
mov eax, dword [0x413404]
mov ecx, dword [0x413408]
mov edx, dword [0x41340c]
mov dword [0x417b40], eax
mov eax, dword [0x413410]
mov dword [0x417b44], ecx
mov cl, byte [0x413414]
mov dword [0x417b48], edx
mov dword [0x417b4c], eax
mov byte [0x417b50], cl
mov eax, 0x417b40
pop ecx
ret

Function at 0x404550
Capabilities:
Delete directory
Delete file

Disassembly:
sub esp, 0x108
mov eax, dword [0x4160ac]
xor eax, dword [esp + 0x108]
push esi
mov esi, dword [esp + 0x110]
push 0x104
mov dword [esp + 0x10c], eax
lea eax, [esp + 8]
push esi
push eax
call fcn.0040a540
mov cl, byte [esp + 0x10]
add esp, 0xc
test cl, cl
lea eax, [esp + 4]
je 0x40459f
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x404590
test cl, cl
je 0x40459f
mov byte [eax], 0
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
mov ecx, dword [esp + 0x108]
xor ecx, dword [esp + 0x10c]
pop esi
add esp, 0x108
jmp fcn.0040a099

Function at 0x4045d0
Capabilities:
Check if file exists
Create directory

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4045e8
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
jg 0x404603
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
ret
Function at 0x404610
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0x4133f4
push 5
push 0
push 0x413470
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4046a8
mov ecx, dword [esp]
push esi
mov esi, dword [ecx]
mov ecx, dword [esp + 0xc]
push 0x416750
push 0x416750
push 0x416750
push 0x416750
call fcn.00401b60
mov edx, dword [esp + 0x14]
push eax
push edx
call dword [esi + 0x2c]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push 0
push eax
mov esi, eax
call dword [ecx + 0x110]
test eax, eax
jge 0x40467c
push 0x4133f4
push esi
push eax
call fcn.0040fb50
mov eax, dword [esp + 4]
mov edx, dword [eax]
push 1
push eax
mov esi, eax
call dword [edx + 0xa4]
test eax, eax
jge 0x40469d
push 0x4133e4
push esi
push eax
call fcn.0040fb50
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop esi
pop ecx
ret

Function at 0x404dc0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push 0
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
ret 0x18

Function at 0x404df0
Capabilities:
Delete registry key
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x404e14
mov eax, dword [esp + 8]
mov ecx, dword [ecx]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xor ecx, ecx
test eax, eax
sete cl
pop esi
mov eax, ecx
ret 8
mov eax, esi
push edi
lea edi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404e20
mov edx, dword [esp + 0xc]
sub eax, edi
inc eax
push eax
mov eax, dword [ecx]
push esi
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ecx, ecx
test eax, eax
sete cl
pop edi
pop esi
mov eax, ecx
ret 8

Function at 0x404e50
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 8]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
mov dword [esp + 0x18], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
pop ecx
ret 0xc

Function at 0x404e90
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
inc eax
ret 8

Function at 0x404ec0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0x10]
mov eax, 4
mov dword [esp + 4], eax
mov dword [esp], eax
lea eax, [esp]
push eax
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
add esp, 8
ret 8
Function at 0x406260
Capabilities:
Check internet connectivity via wininet

Disassembly:
push 0xffffffffffffffff
push 0x411f48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x4160ac]
xor eax, dword [esp + 0x28]
push esi
mov dword [esp + 0x1c], eax
mov dword [esp + 4], 0
push 0
mov dword [esp + 0x2c], 0
call fcn.0040a936
push eax
call fcn.0040a909
call fcn.0040a913
push str._ggc___Vag_eTcWU_TfgXe_Vb__ehac_aZ_eha2k
mov esi, eax
call fcn.004060b0
add esp, 0xc
push eax
lea ecx, [esp + 8]
call fcn.00402040
mov word [esp + 0xc], 0x16
mov dword [esp + 0x14], esi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 1
call fcn.004022a0
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 2
call fcn.00402190
mov ecx, dword [esp + 8]
test ecx, ecx
pop esi
je 0x406204
call fcn.00401ae0
mov dword [esp + 4], 0
lea ecx, [esp + 8]
push ecx
mov byte [esp + 0x28], 0
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x40621e
push eax
call fcn.0040fb40
lea edx, [esp]
push ebx
push edx
call fcn.00406100
mov ecx, dword [esp + 8]
add esp, 4
test ecx, ecx
mov bl, al
je 0x40623b
call fcn.00401ae0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1c]
xor ecx, dword [esp + 0x2c]
mov al, bl
pop ebx
add esp, 0x28
jmp fcn.0040a099
push ecx
push 0
lea eax, [esp + 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
cmp eax, 1
jne 0x40627b
add esp, 4
jmp 0x406160
xor al, al
pop ecx
ret

Function at 0x406490
Capabilities:
Initialize iwebbrowser2

Disassembly:
push esi
push edi
mov esi, ecx
lea edi, [esi + 4]
push edi
push 0x4133f4
push 5
push 0
push 0x413470
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x4064b5
pop edi
xor al, al
pop esi
ret
push 0x418c20
push 0x413480
mov dword [0x418c48], esi
mov eax, dword [edi]
push 0x418c1c
push eax
call fcn.00406330
pop edi
mov al, 1
pop esi
ret

Function at 0x406bc0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x411fa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x41ac08]
mov ecx, 0x41ac08
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp], eax
lea ecx, [esp]
push ecx
mov dword [esp + 0x10], 0
call fcn.00404730
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
add esp, 4
push 0
push eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
mov eax, dword [esp]
add eax, 0xfffffff0
mov dword [esp + 0xc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406c39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x406df0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x411ffe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov eax, dword [0x4160ac]
xor eax, dword [esp + 0x118]
push edi
mov dword [esp + 0x10c], eax
mov edi, dword [esp + 0x120]
push 0x100
lea eax, [esp + 0x10]
push eax
push edi
mov dword [esp + 0x124], 0
call fcn.00404400
add esp, 0xc
test al, al
je 0x406f10
mov edx, dword [0x41ac08]
push esi
mov ecx, 0x41ac08
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov eax, dword [0x41ac08]
mov ecx, 0x41ac08
mov byte [esp + 0x11c], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
lea ecx, [esp + 8]
push ecx
mov byte [esp + 0x120], 2
call fcn.00404730
mov edx, dword [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push str._UPGNEW__s
push eax
call fcn.00402a90
mov esi, dword [esp + 0x1c]
add esp, 0x10
push 1
push 0
push esi
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea eax, [esi - 0x10]
mov byte [esp + 0x11c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop esi
jg 0x406eea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 4]
add eax, 0xfffffff0
mov byte [esp + 0x118], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406f10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x118], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
jg 0x406f36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x108]
xor ecx, dword [esp + 0x118]
add esp, 0x118
jmp fcn.0040a099
Function at 0x408520
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x412238
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebp
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.00404c00
mov eax, dword [0x41ac08]
mov ecx, 0x41ac08
mov dword [esp + 0x2c], 0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov edx, dword [0x41ac08]
mov ecx, 0x41ac08
mov byte [esp + 0x2c], 1
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x34]
mov eax, dword [esi]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [esp + 0x14]
push str._s_s
push ecx
mov byte [esp + 0x3c], 2
call fcn.00402a90
mov edx, dword [esp + 0x48]
mov eax, dword [edx]
push 0x413364
push eax
push 0x413364
lea ecx, [esp + 0x2c]
push str._s_s_s__U
push ecx
call fcn.00402a90
mov ebp, dword [esp + 0x30]
add esp, 0x24
push ebp
lea ecx, [esp + 0x18]
call fcn.00404cf0
mov edi, dword [esp + 0x10]
push edi
push str.UninstallString
lea ecx, [esp + 0x1c]
call fcn.00404df0
mov esi, dword [esi]
push esi
push str.DisplayName
lea ecx, [esp + 0x1c]
call fcn.00404df0
lea eax, [edi - 0x10]
mov byte [esp + 0x2c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40860e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
jg 0x408630
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.00404c10
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret