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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bac38
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4fc5b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x4fe46c], 0
jne 0x412716
jmp 0x4127f5
cmp dword [0x4fa008], 0
jne 0x412724
jmp 0x4127f5
lea eax, [ebp - 0x34]
push eax
call fcn.0040d4f8
add esp, 4
lea ecx, [ebp - 0x34]
push ecx
call fcn.0040d4f3
add esp, 4
mov dword [ebp - 0x10], eax
mov dl, byte [0x4cfa1a]
mov byte [ebp - 0x30], dl
xor eax, eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
push 0x19
push 0
lea ecx, [ebp - 0x30]
push ecx
call fcn.00491e90
add esp, 0xc
push 0x18
mov edx, dword [ebp - 0x10]
push edx
call fcn.004942b1
add esp, 4
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00493060
add esp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.004703d0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.0040d521
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
push ecx
lea edx, [ebp - 0x30]
push edx
push str.__s___s_r_n
lea eax, [ebp - 0x3c]
push eax
call fcn.00471330
add esp, 0x10
mov dword [ebp - 0x40], 0
push 0
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004703e0
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040d521
push eax
mov edx, dword [0x4fe46c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00470660
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00492093
mov esp, ebp
pop ebp
ret

Function at 0x412810
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bac68
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4fc5b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x412912
push 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.004113a0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x4128a6
lea ecx, [ebp - 0x18]
call fcn.0040d521
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x18]
call fcn.0040d521
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x4fe46c], eax
jmp 0x4128c9
push 0
push 0x80
push 3
push 0
push 1
push 4
lea ecx, [ebp - 0x18]
call fcn.0040d521
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x4fe46c], eax
cmp dword [0x4fe46c], 0xffffffff
jne 0x4128e2
mov dword [ebp - 0x1c], 5
mov dword [ebp - 0x1c], 4
jmp 0x4128f3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00470660
jmp 0x412912
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00470660
jmp 0x41283c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x414e5d
Capabilities:
Read .ini file

Disassembly:
push 0x18
mov eax, 0x4bb064
call fcn.00492516
xor esi, esi
inc esi
cmp dword [ebp + 8], esi
jne 0x414f10
lea ecx, [ebp - 0x14]
call fcn.004703d0
xor esi, esi
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push 0x23
push esi
mov dword [ebp - 4], esi
call fcn.0040e1c2
add esp, 0x14
test eax, eax
jne 0x414e9f
lea ecx, [ebp - 0x14]
jmp 0x414f6c
push str.Real_setup_
lea ecx, [ebp - 0x14]
call fcn.00470ae0
cmp byte [ebp - 0xd], 0xff
lea eax, [ebp - 0x14]
jne 0x414eb8
mov eax, dword [ebp - 0x14]
push esi
push eax
call fcn.0040e4bb
pop ecx
pop ecx
push str.config.ini
lea ecx, [ebp - 0x14]
call fcn.00470ae0
lea ecx, [ebp - 0x14]
call fcn.00414dd2
cmp byte [ebp - 0xd], 0xff
lea eax, [ebp - 0x14]
jne 0x414ee2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
push eax
mov eax, 0x100
push eax
push eax
call fcn.004710f0
push eax
push esi
push dword [ebp + 0xc]
push str.Upgrade_Helper
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
mov esi, eax
call fcn.00471180
jmp 0x414e97
cmp dword [ebp + 8], 3
mov edi, SysReAllocString
jne 0x414f1c
dec edi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call fcn.0040db14
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00470f60
add esp, 0x14
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00470660
cmp byte [ebp - 0x15], 0xff
lea eax, [ebp - 0x1c]
jne 0x414f53
mov eax, dword [ebp - 0x1c]
xor esi, esi
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push eax
push edi
call fcn.0041085a
add esp, 0x18
mov esi, eax
lea ecx, [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
call fcn.00470660
mov eax, esi
call fcn.004925ee
ret
Function at 0x41939b
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x10], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x4228ab
Capabilities:
Create http request

Disassembly:
xor eax, eax
cmp dword [0x4fe668], eax
je 0x4228b6
ret
push eax
push eax
push eax
push eax
push str.StubInstaller
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [0x4fe668], eax
neg eax
sbb eax, eax
and eax, 0x7fff555f
add eax, 0x8000aaa1
ret
Function at 0x422945
Capabilities:
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4fc5b0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x70
mov eax, 0x4bc646
call fcn.00492516
mov edi, dword [ebp + 0x80c]
push edi
lea eax, [ebp - 0x1c]
push str.GetURLStatus__:_strURL_
push eax
call fcn.00470fb0
push 0x4d16f4
push eax
lea eax, [ebp - 0x28]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00470f60
push eax
mov byte [ebp - 4], 1
call fcn.004126e0
add esp, 0x1c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00470660
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00470660
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
lea eax, [ebp - 0x14]
push eax
push 2
push ebx
mov dword [ebp - 0x14], 0x7530
call esi
push 4
lea eax, [ebp - 0x14]
push eax
push 6
push ebx
call esi
push 4
lea eax, [ebp - 0x14]
push eax
push 5
push ebx
call esi
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.00491e90
lea eax, [ebp]
mov dword [ebp - 0x6c], eax
mov eax, 0x400
add esp, 0xc
cmp byte [edi + 7], 0xff
lea ecx, [ebp + 0x400]
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
jne 0x422a1a
mov edi, dword [edi]
lea eax, [ebp - 0x7c]
push eax
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push ebx
push ebx
push ebx
push ebx
push str.StubInstaller
mov dword [ebp - 0x10], ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x422b12
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x422b0d
push ebx
push ebx
lea ecx, [ebp - 0x30]
push ecx
push ebx
push ebx
lea ecx, [ebp + 0x400]
push ecx
push str.HEAD
push eax
mov dword [ebp - 0x30], 0x4d16e8
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
cmp esi, ebx
je 0x422b08
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x422b05
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x20000013
push esi
mov dword [ebp - 0x20], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
push dword [ebp - 0x10]
lea eax, [ebp - 0x40]
push eax
call fcn.004362ed
push eax
lea eax, [ebp - 0x38]
push str.dwStatus_
push eax
mov dword [ebp - 4], 2
call fcn.00470fb0
push eax
mov byte [ebp - 4], 3
call fcn.004126e0
add esp, 0x18
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00470660
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00470660
push esi
call edi
push dword [ebp - 0x18]
call edi
push dword [ebp - 0x24]
call edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.00492093
add ebp, 0x804
leave
ret
Function at 0x423b81
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
sub esp, 0x204
lea ebp, [esp - 4]
mov eax, dword [0x4fc5b0]
xor eax, ebp
mov dword [ebp + 0x204], eax
push 0x18
mov eax, 0x4bc8cc
call fcn.00492516
mov esi, dword [ebp + 0x210]
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 8]
test eax, eax
js 0x423d4c
push 0x103
lea eax, [ebp + 0x101]
push 0
push eax
mov byte [ebp + 0x100], 0
call fcn.00491e90
lea eax, [ebp + 0x100]
push esi
push eax
call fcn.00492970
mov esi, 0x4d18e8
lea eax, [ebp + 0x100]
push esi
push eax
call fcn.00491770
add esp, 0x1c
test eax, eax
je 0x423c0c
lea eax, [ebp + 0x100]
push esi
push eax
call fcn.00491770
pop ecx
pop ecx
mov byte [eax], 0
lea eax, [ebp + 0x100]
push eax
lea ebx, [edi + 8]
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.00470f60
add esp, 0xc
and dword [ebp - 4], 0
lea esi, [edi + 0x10]
push eax
mov ecx, esi
call fcn.00470710
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00470660
lea ecx, [edi + 0x18]
call fcn.0040d4fd
test al, al
jne 0x423cfd
and dword [ebp - 0x10], 0
push 0xff
mov byte [ebp], al
lea eax, [ebp + 1]
push 0
push eax
call fcn.00491e90
add esp, 0xc
lea eax, [edi + 0x18]
cmp byte [eax + 7], 0xff
jne 0x423c73
mov eax, dword [eax]
push dword [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
call fcn.0049343b
inc dword [ebp - 0x10]
lea eax, [ebp]
push eax
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.00470f60
add esp, 0x18
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00470710
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00470660
cmp byte [esi + 7], 0xff
mov eax, esi
jne 0x423cb9
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x423cfd
lea eax, [ebp + 0x100]
push eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.00470f60
add esp, 0xc
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.00470710
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00470660
cmp dword [ebp - 0x10], 0x64
jl 0x423c68
cmp byte [esi + 7], 0xff
mov eax, esi
jne 0x423d07
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [esi + 7], 0xff
mov eax, esi
jne 0x423d18
mov eax, dword [esi]
xor ecx, ecx
push ecx
push 0x80
push 2
push ecx
push ecx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x423d4a
push esi
mov ecx, 0x4fe670
call fcn.00470710
mov eax, 0x80004005
jmp 0x423d4c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x204]
xor ecx, ebp
call fcn.00492093
add ebp, 0x208
leave
ret 4

Function at 0x423d96
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
leave
ret 8
Function at 0x424fe6
Capabilities:
Delete file
Read .ini file

Disassembly:
push 0x18
mov eax, 0x4bcb3e
call fcn.00492516
xor ebx, ebx
push 0x4cfa1a
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.00470680
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
xor esi, esi
call fcn.0040d4fd
test al, al
jne 0x4250fe
lea ecx, [ebp + 8]
call fcn.004703e0
cmp byte [ebp + 0xf], 0xff
lea ecx, [ebp + 8]
jne 0x42502e
mov ecx, dword [ebp + 8]
mov al, byte [ecx + eax - 1]
cmp al, 0x5c
je 0x425040
push 0x5c
lea ecx, [ebp + 8]
call fcn.00470b60
push str.version.ini
lea ecx, [ebp + 8]
call fcn.00470ae0
cmp byte [ebp + 0xf], 0xff
lea eax, [ebp + 8]
jne 0x425059
mov eax, dword [ebp + 8]
push eax
mov eax, 0x100
push eax
push eax
lea ecx, [ebp - 0x24]
call fcn.004710f0
push eax
push ebx
push 0x4d1c7c
push str.Version
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
call fcn.00471180
lea ecx, [ebp - 0x24]
call fcn.0040d4fd
test al, al
jne 0x4250fe
cmp byte [ebp - 0x1d], 0xff
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x24]
jne 0x4250a9
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push str._d._d._d._d
push eax
call fcn.00492110
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
and esi, 0x7f
shl eax, 7
or esi, eax
movzx eax, byte [ebp - 0x18]
shl esi, 8
or esi, eax
mov eax, dword [ebp - 0x1c]
and eax, 0xfff
shl esi, 0xc
or esi, eax
add esp, 0x18
cmp byte [ebp + 0xf], 0xff
lea eax, [ebp + 8]
jne 0x4250f7
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp + 0x10]
cmp ecx, ebx
je 0x42510e
lea eax, [ebp - 0x24]
push eax
call fcn.00470710
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.00470660
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00470660
mov eax, esi
call fcn.004925ee
ret 0xc
Function at 0x4262c5
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x44
mov eax, 0x4bcdf4
call fcn.00492516
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
call fcn.004703d0
lea eax, [ebp - 0x14]
push eax
push 0x20019
push ebx
push str.SoftwareRealNetworksDLPdlpinstallcounts
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x426447
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x28]
call fcn.004703d0
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
push 0x100
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], 0x100
call fcn.004710f0
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
inc dword [ebp - 0x10]
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
call fcn.00471180
cmp dword [ebp - 0x18], ebx
jne 0x42642a
lea ecx, [ebp - 0x30]
call fcn.004703d0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push str.SoftwareRealNetworksDLPdlpinstallcounts_
push eax
mov byte [ebp - 4], 2
call fcn.00470fb0
add esp, 0xc
cmp byte [eax + 7], 0xff
mov byte [ebp - 4], 3
jne 0x426392
mov eax, dword [eax]
push ebx
push ebx
lea ecx, [ebp - 0x30]
push ecx
push str.Count
push eax
push esi
call fcn.0041085a
add esp, 0x18
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00470660
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x50]
push 0x4cfb0c
push eax
call fcn.00470fb0
push str.installcount
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 4
call fcn.00470f60
lea ecx, [ebp - 0x30]
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 5
call fcn.00470f10
add esp, 0x24
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 6
call fcn.00470bc0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00470660
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.00470660
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00470660
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00470660
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00470660
cmp dword [ebp - 0x18], ebx
je 0x426314
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
call fcn.004925ee
ret 4
Function at 0x4264f3
Capabilities:
Create process on windows

Disassembly:
push 0x3c
mov eax, 0x4bce17
call fcn.00492516
xor esi, esi
push 0x38
lea eax, [ebp - 0x44]
push esi
push eax
mov dword [ebp - 4], esi
call fcn.00491e90
mov eax, dword [ebp + 0xc]
shr eax, 0x18
add esp, 0xc
cmp al, 0xff
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x440
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], str.open
lea eax, [ebp + 8]
jne 0x42653b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x426562
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00470660
call fcn.004925ee
ret
Function at 0x426b57
Capabilities:
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xb8
mov eax, dword [0x4fc5b0]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push ebx
push esi
mov esi, dword [ebp + 0x78]
push edi
push 0x98
xor ebx, ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.00491e90
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 0x9c
call edi
test eax, eax
jne 0x426baa
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 0x94
call edi
mov eax, dword [ebp - 0x20]
dec eax
je 0x426bca
dec eax
jne 0x426c0c
cmp byte [esi + 7], 0xff
jne 0x426bbb
mov esi, dword [esi]
push ebx
push ebx
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
jmp 0x426c0c
cmp byte [esi + 7], 0xff
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x38], ebx
jne 0x426bde
mov esi, dword [esi]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov eax, dword [ebp - 0x38]
mul dword [ebp - 0x3c]
push ebx
push dword [ebp - 0x34]
push edx
push eax
call fcn.004933d0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 0x7c]
shl eax, 0x14
pop edi
cdq
pop esi
pop ebx
cmp edx, dword [ebp - 0x40]
ja 0x426c26
jb 0x426c22
cmp eax, dword [ebp - 0x44]
jae 0x426c26
xor eax, eax
jmp 0x426c2b
mov eax, 0x80004005
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
call fcn.00492093
add ebp, 0x70
leave
ret 8
Function at 0x426eb5
Capabilities:
Enumerate gui resources
Enumerate processes
Terminate process

Disassembly:
push ebp
sub esp, 0x2d8
lea ebp, [esp - 4]
mov eax, dword [0x4fc5b0]
xor eax, ebp
mov dword [ebp + 0x2d8], eax
push 0xc
mov eax, 0x4bceed
call fcn.00492516
mov dword [ebp - 0x10], ecx
push str.NOLOG_in_CloseBrowsers__
lea ecx, [ebp - 0x18]
call fcn.00470680
lea eax, [ebp - 0x18]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.004126e0
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x18]
call fcn.00470660
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
push edi
mov ebx, 0x426c3c
push ebx
mov dword [0x4fe720], edi
call esi
cmp dword [0x4fe720], edi
je 0x42706b
push str.NOLOG_prompting
lea ecx, [ebp - 0x18]
call fcn.00470680
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], 1
call fcn.004126e0
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x18]
call fcn.00470660
mov ecx, dword [ebp - 0x10]
add ecx, 0x130
push str.false
mov dword [ebp - 0x14], ecx
call fcn.004707b0
push dword [ebp - 0x10]
lea ecx, [ebp + 0x128]
call fcn.0041dc5d
push 1
push 0xb1
lea ecx, [ebp + 0x128]
mov dword [ebp - 4], 2
call fcn.0041f648
cmp eax, 3
jne 0x42705c
mov ecx, dword [ebp - 0x14]
push str.true
call fcn.004707b0
push edi
push 0x426cf8
call esi
push edi
push ebx
mov dword [0x4fe720], edi
call esi
cmp dword [0x4fe720], edi
je 0x426fc4
push edi
push 0x426dc4
call esi
push edi
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x42705c
push 0x124
lea eax, [ebp + 4]
push edi
push eax
call fcn.00491e90
add esp, 0xc
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
mov ebx, 0x128
mov dword [ebp], ebx
call sub.KERNEL32.dll_Process32First
jmp 0x427058
lea eax, [ebp + 0x24]
push eax
push str.ieuser.exe
call fcn.004928c4
pop ecx
pop ecx
test eax, eax
je 0x427028
lea eax, [ebp + 0x24]
push eax
push str.iexplore.exe
call fcn.004928c4
pop ecx
pop ecx
test eax, eax
jne 0x427049
push dword [ebp + 8]
push edi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, edi
je 0x427049
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
mov dword [ebp], ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x427000
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x128]
call fcn.0041f6a4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2d8]
xor ecx, ebp
call fcn.00492093
add ebp, 0x2dc
leave
ret
Function at 0x428688
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
sub esp, 0x9c
lea ebp, [esp - 4]
mov eax, dword [0x4fc5b0]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push 0x54
mov eax, 0x4bd1ca
call fcn.00492516
mov esi, ecx
xor edi, edi
cmp dword [esi + 0xbb8], edi
je 0x4286de
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
call fcn.00492093
add ebp, 0xa0
leave
ret
cmp dword [esi + 0x30], edi
je 0x4286b8
push 0x98
lea eax, [ebp + 4]
push edi
push eax
mov dword [ebp], edi
call fcn.00491e90
mov ebx, 0x9c
push ebx
lea eax, [ebp]
push edi
push eax
call fcn.00491e90
add esp, 0x18
lea eax, [ebp]
mov dword [ebp], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call ebx
test eax, eax
jne 0x428728
lea eax, [ebp]
push eax
mov dword [ebp], 0x94
call ebx
cmp dword [ebp + 4], 6
jb 0x4286b8
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.0041d461
push str.vista.exe
push eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 4], edi
call fcn.00470f60
add esp, 0xc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00470660
push 0x38
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.00491e90
add esp, 0xc
cmp byte [ebp - 0x15], 0xff
mov dword [ebp - 0x60], 0x3c
mov dword [ebp - 0x5c], 0x440
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], str.open
lea eax, [ebp - 0x1c]
jne 0x42878d
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x50], eax
xor ebx, ebx
lea eax, [ebp - 0x60]
inc ebx
push eax
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x4287c8
mov eax, dword [ebp - 0x28]
mov dword [esi + 0xbb8], eax
mov edi, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00470660
mov eax, edi
jmp 0x4286bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x14]
cmp eax, 0x4c7
jne 0x4287e8
push str.actionerrorvalueuac_cancel
call fcn.00470680
mov byte [ebp - 4], 3
jmp 0x4287f6
push str.actionerrorvaluehelper_invalid
call fcn.00470680
mov byte [ebp - 4], 4
mov eax, dword [esi]
push edi
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
call dword [eax + 0x10]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00470660
jmp 0x4287b5