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

Disassembly:
push 4
mov eax, 0x51c150
call fcn.004fa4d4
mov esi, ecx
mov eax, dword [esi + 0x24]
and dword [ebp - 0x10], 0
cmp eax, 0xffffffff
jne 0x41d174
push 1
push 0x42
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.CCoreStreamFile::Write
call fcn.00401769
and dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.Stream_is_not_open_
call fcn.00401769
mov byte [ebp - 4], 1
mov eax, dword [esi]
push 1
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call dword [eax + 0x10]
xor eax, eax
jmp 0x41d1d6
push 0
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41d1c7
push 1
push 0x47
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.CCoreStreamFile::Write
call fcn.00401769
mov dword [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x5449c0
call fcn.00401769
mov byte [ebp - 4], 3
mov eax, dword [esi]
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call dword [eax + 0x18]
jmp 0x41d170
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41d1d3
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
xor eax, eax
inc eax
call fcn.004fa5ac
ret 0xc

Function at 0x41d8d5
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa0
mov eax, dword [0x597790]
xor eax, esp
mov dword [esp + 0x9c], eax
push 0x94
lea eax, [esp + 4]
push 0
push eax
call fcn.004f5f50
add esp, 0xc
lea eax, [esp]
push eax
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor eax, eax
cmp dword [esp + 0x10], 2
jne 0x41d96d
cmp dword [esp + 4], 6
jne 0x41d952
cmp dword [esp + 8], 1
jne 0x41d93c
call fcn.0041da1b
neg eax
sbb eax, eax
neg eax
add eax, 8
jmp 0x41d96d
cmp dword [esp + 8], eax
jne 0x41d96d
call fcn.0041da1b
neg eax
sbb eax, eax
neg eax
add eax, 6
jmp 0x41d96d
cmp dword [esp + 4], 5
jne 0x41d96d
cmp dword [esp + 8], 1
jne 0x41d964
push 5
jmp 0x41d96c
cmp dword [esp + 8], eax
jne 0x41d96d
push 4
pop eax
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004f4e9c
mov esp, ebp
pop ebp
ret
Function at 0x421510
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x52ba2f
call fcn.004fa4d4
mov esi, ecx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00404433
mov byte [ebp - 4], 2
xor ebx, ebx
cmp dword [ebp + 8], ebx
jne 0x421563
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401898
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00401898
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00401898
xor eax, eax
call fcn.004fa5ac
ret
push 0x53e9ff
lea ecx, [ebp + 0xc]
call fcn.004042ff
test eax, eax
jne 0x42159d
xor esi, esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401898
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00401898
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00401898
mov eax, esi
jmp 0x42155d
mov dword [ebp - 0x1c], esi
cmp esi, ebx
je 0x4215a9
call fcn.0041fa30
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
cmp eax, 0x80000001
jne 0x4215c0
push esi
call fcn.00421114
add esp, 4
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
push ebx
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x421619
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
push dword [ebp + 0x10]
mov dword [ebp - 0x18], ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10]
test eax, eax
jne 0x421613
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
cmp esi, ebx
je 0x42160b
call fcn.0040e2de
xor esi, esi
inc esi
jmp 0x421576
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
cmp esi, ebx
je 0x421574
call fcn.0040e2de
jmp 0x421574
Function at 0x42162f
Capabilities:
Query or enumerate registry value

Disassembly:
push 8
mov eax, 0x52b9f4
call fcn.004fa4d4
mov esi, ecx
mov dword [ebp - 4], 1
xor ebx, ebx
mov dword [ebp - 0x14], esi
cmp esi, ebx
je 0x421652
call fcn.0041fa30
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
mov dword [edi], ebx
cmp eax, ebx
jne 0x42168b
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x42166c
call fcn.0040e2de
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00401898
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00401898
xor eax, eax
call fcn.004fa5ac
ret
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 0xc], ebx
je 0x42165f
cmp eax, 0x80000001
jne 0x4216a3
push esi
call fcn.00421114
add esp, 4
lea edx, [ebp - 0x10]
push edx
push 0x20019
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42165f
lea eax, [ebp + 8]
push eax
push edi
push ebx
push ebx
push dword [ebp + 0x10]
mov dword [ebp + 8], 4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10]
test eax, eax
je 0x42170d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x4216ed
call fcn.0040e2de
xor esi, esi
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00401898
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00401898
mov eax, esi
jmp 0x421685
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x421720
call fcn.0040e2de
xor esi, esi
inc esi
jmp 0x4216ef
Function at 0x4217be
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x52b976
call fcn.004fa4d4
mov dword [ebp - 4], 1
mov edi, dword [ebp + 0x18]
xor ebx, ebx
mov dword [ebp - 0x1c], edi
cmp edi, ebx
je 0x4217e2
call fcn.0041fa30
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x14]
mov esi, 0x53e9ff
push esi
call fcn.00401732
cmp dword [ebp + 8], ebx
jne 0x421825
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x421806
call fcn.0040e2de
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00401898
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00401898
xor eax, eax
call fcn.004fa5ac
ret
push esi
lea ecx, [ebp + 0xc]
call fcn.004042ff
test eax, eax
je 0x4217f9
mov eax, dword [ebp + 8]
cmp eax, 0x80000001
jne 0x421845
push edi
call fcn.00421114
add esp, 4
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
push ebx
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4217f9
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 8]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0x10]
mov dword [ebp + 8], ebx
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x4218b2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x421892
call fcn.0040e2de
xor esi, esi
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00401898
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00401898
mov eax, esi
jmp 0x42181f
push 4
pop eax
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x18], eax
jne 0x4218f6
or dword [ebp + 0x18], 0xffffffff
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x18]
push eax
push ebx
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x421929
push dword [ebp + 0x18]
push 0x53e9fc
push dword [ebp + 0x14]
call fcn.00404420
add esp, 0xc
mov dword [ebp - 0x14], 1
jmp 0x421929
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
push edi
call fcn.00401673
lea ecx, [ebp + 8]
push ecx
push eax
push ebx
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x421926
mov ecx, dword [ebp + 0x14]
dec edi
push edi
call fcn.004043a7
mov dword [ebp - 0x14], 1
mov edi, dword [ebp + 0x18]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x42193f
call fcn.0040e2de
mov esi, dword [ebp - 0x14]
jmp 0x421894
Function at 0x421947
Capabilities:
Set registry value

Disassembly:
push 0xc
mov eax, 0x52b943
call fcn.004fa4d4
mov esi, ecx
mov dword [ebp - 4], 1
xor ebx, ebx
mov dword [ebp - 0x14], esi
cmp esi, ebx
je 0x42196a
call fcn.0041fa30
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x4219a1
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x421982
call fcn.0040e2de
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00401898
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00401898
xor eax, eax
call fcn.004fa5ac
ret
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 0xc], ebx
je 0x421975
cmp eax, 0x80000001
jne 0x4219b9
push esi
call fcn.00421114
add esp, 4
push ebx
lea edx, [ebp - 0x10]
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x421975
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x10]
test eax, eax
je 0x421a22
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x421a02
call fcn.0040e2de
xor esi, esi
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00401898
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00401898
mov eax, esi
jmp 0x42199b
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x421a35
call fcn.0040e2de
xor esi, esi
inc esi
jmp 0x421a04
Function at 0x421e1d
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x2c
mov eax, 0x52b7df
call fcn.004fa4d4
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x14], ebx
jne 0x421e39
xor eax, eax
jmp 0x421f52
mov eax, dword [esi + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
cmp eax, ebx
je 0x421e4b
call fcn.0041fa30
mov dword [ebp - 4], ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
push ebx
push dword [esi + 0x14]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov dword [esi + 0x1c], eax
cmp eax, ebx
jne 0x421f34
mov eax, dword [ebp - 0x20]
inc eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
call fcn.00404433
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.00401673
lea ecx, [ebp - 0x38]
push ecx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x18]
push ecx
push eax
push dword [ebp - 0x1c]
push dword [esi + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
mov dword [esi + 0x1c], eax
call fcn.004043a7
cmp dword [esi + 0x1c], ebx
jne 0x421f1d
push 0x543820
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004041d2
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040417b
add esp, 0xc
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x14]
call fcn.004044ef
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00401898
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00401898
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, edi
call fcn.004db92e
inc dword [ebp - 0x1c]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00401898
cmp dword [esi + 0x1c], ebx
je 0x421e76
xor eax, eax
cmp dword [esi + 0x1c], 0x103
sete al
mov esi, eax
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], ebx
je 0x421f50
call fcn.0040e2de
mov eax, esi
call fcn.004fa5ac
ret
Function at 0x4220b0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1c
mov eax, 0x52b74e
call fcn.004fa4d4
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x14], ebx
jne 0x4220de
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401898
xor eax, eax
call fcn.004fa5ac
ret 8
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x4220f0
call fcn.0041fa30
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x14], ebx
push dword [esi + 0x14]
mov dword [ebp - 0x10], ebx
call edi
mov dword [esi + 0x1c], eax
cmp eax, ebx
je 0x422138
mov byte [ebp - 4], bl
cmp dword [ebp - 0x1c], ebx
je 0x422126
call fcn.0040e2de
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401898
mov eax, esi
jmp 0x4220d6
cmp dword [ebp - 0x14], 4
jne 0x42217c
lea eax, [ebp - 0x18]
push eax
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov dword [ebp - 0x18], ebx
call fcn.0040184e
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00422259
cmp eax, ebx
je 0x4221b3
push dword [ebp - 0x18]
push 0x53e9fc
push dword [ebp + 0xc]
call fcn.00404420
add esp, 0xc
jmp 0x4221b3
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x20], eax
call fcn.0041557c
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 0x18]
push dword [esi + 0x14]
call edi
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x20]
dec eax
push eax
call fcn.004043a7
xor eax, eax
cmp dword [esi + 0x1c], ebx
sete al
mov esi, eax
mov byte [ebp - 4], bl
cmp dword [ebp - 0x1c], ebx
je 0x422128
call fcn.0040e2de
jmp 0x422128

Function at 0x42235b
Capabilities:
Set registry value

Disassembly:
push 4
mov eax, 0x52b69a
call fcn.004fa4d4
mov esi, ecx
mov dword [ebp - 4], 1
cmp dword [esi + 0x14], 0
je 0x4223f1
cmp dword [esi + 0x18], 0
je 0x4223f1
mov ebx, dword [esi + 4]
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x42238b
call fcn.0041fa30
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0xc]
mov edi, dword [ebp + 8]
inc eax
push eax
lea ecx, [ebp + 0xc]
call fcn.0040819e
push eax
push 1
push 0
push edi
push dword [esi + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0xffffffffffffffff
lea ecx, [ebp + 0xc]
mov dword [esi + 0x1c], eax
call fcn.004043a7
xor eax, eax
cmp dword [esi + 0x1c], eax
sete al
mov esi, eax
mov byte [ebp - 4], 1
test ebx, ebx
je 0x4223d5
call fcn.0040e2de
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401898
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401898
mov eax, esi
jmp 0x42240b
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401898
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401898
xor eax, eax
call fcn.004fa5ac
ret 8
Function at 0x4224f9
Capabilities:
Get system information on windows

Disassembly:
push 0x24
push 0
push esi
call fcn.004f5f50
add esp, 0xc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x422529
push str.GetNativeSystemInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
test eax, eax
je 0x42252a
call eax
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
ret
Function at 0x4229af
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x597790]
xor eax, ebp
mov dword [ebp + 0x88], eax
push str.unknown
mov ecx, esi
call fcn.00401732
lea eax, [ebp - 0x7c]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftDirectX
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x422a2b
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push str.Version
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x422a22
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call fcn.00401732
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x88]
xor ecx, ebp
call fcn.004f4e9c
add ebp, 0x8c
leave
ret
Function at 0x423190
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push 0x14c
mov eax, 0x51bf4a
call fcn.004fa53d
mov esi, str.unknown
push esi
mov edi, ecx
call fcn.00401732
lea ecx, [edi + 4]
push esi
mov dword [ebp - 0x130], ecx
call fcn.00401732
lea ecx, [edi + 8]
push esi
mov dword [ebp - 0x134], ecx
call fcn.00401732
lea ecx, [edi + 0xc]
push esi
mov dword [ebp - 0x124], ecx
call fcn.00401732
lea ecx, [edi + 0x10]
push esi
mov dword [ebp - 0x12c], ecx
call fcn.00401732
lea ebx, [edi + 0x14]
push esi
mov ecx, ebx
call fcn.00401732
lea esi, [ebp - 0x158]
call fcn.004224f9
push dword [ebp - 0x144]
push 0x53e9fc
push edi
call fcn.00404420
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call fcn.00423398
xor esi, esi
mov dword [ebp - 4], esi
push eax
mov ecx, ebx
call fcn.004044ef
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.00401898
lea eax, [ebp - 0x11c]
push eax
xor ebx, ebx
inc ebx
push ebx
push esi
push str.HardwareDescriptionSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x423392
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x120]
push eax
push esi
push esi
push str.MHz
push dword [ebp - 0x11c]
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x118], 4
call edi
test eax, eax
jne 0x4232d6
push esi
push dword [ebp - 0x120]
lea eax, [ebp - 0x128]
push eax
call fcn.004230b7
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x124]
push eax
call fcn.004044ef
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.00401898
mov ecx, dword [ebp - 0x124]
push 0x545fac
call fcn.004081cd
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push esi
push str.ProcessorNameString
push dword [ebp - 0x11c]
mov ebx, 0x100
mov dword [ebp - 0x118], ebx
call edi
test eax, eax
jne 0x423314
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x114]
push eax
call fcn.00401732
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push esi
push str.Identifier
push dword [ebp - 0x11c]
mov dword [ebp - 0x118], ebx
call edi
test eax, eax
jne 0x42334d
mov ecx, dword [ebp - 0x134]
lea eax, [ebp - 0x114]
push eax
call fcn.00401732
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push esi
push str.VendorIdentifier
push dword [ebp - 0x11c]
mov dword [ebp - 0x118], ebx
call edi
test eax, eax
jne 0x423386
mov ecx, dword [ebp - 0x12c]
lea eax, [ebp - 0x114]
push eax
call fcn.00401732
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004fa5c0
ret
Function at 0x42346c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x597790]
xor eax, ebp
mov dword [ebp + 0x88], eax
push str.unknown
mov ecx, esi
call fcn.00401732
lea eax, [ebp - 0x7c]
push eax
push 1
push 0
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4234e8
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push str.Version
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4234df
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call fcn.00401732
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x88]
xor ecx, ebp
call fcn.004f4e9c
add ebp, 0x8c
leave
ret
Function at 0x426211
Capabilities:
Get file size

Disassembly:
push 0
mov eax, 0x518d3f
call fcn.004fa4d4
xor edi, edi
mov dword [ebp - 4], edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, edi
jne 0x426255
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401898
mov eax, edi
call fcn.004fa5ac
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x426241
Function at 0x428dfb
Capabilities:
Create http request

Disassembly:
push 0xc
mov eax, 0x526d0b
call fcn.004fa4d4
xor edi, edi
cmp dword [esi + 0x24], edi
jne 0x428ef7
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.wininet:_opening_wininet...
call fcn.00401769
mov dword [ebp - 4], edi
or ebx, 0xffffffff
push 8
mov dword [ebp - 4], ebx
call fcn.0041485d
push 0x10000000
push edi
push edi
push edi
push str.Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_5.1_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 0x24], eax
cmp eax, edi
jne 0x428e9f
inc edi
push edi
push 0x23e
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.CCoreWininet::Open
call fcn.00401769
mov dword [ebp - 4], edi
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.wininet:_InternetOpen_failed_
call fcn.00401769
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.inetopen
call fcn.00401769
mov byte [ebp - 4], 3
mov eax, dword [esi]
mov dword [ebp - 4], ebx
mov ecx, esi
call dword [eax + 0x1c]
xor eax, eax
jmp 0x428f3f
push 0x42a31e
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallback]
cmp eax, ebx
jne 0x428ef7
push 1
push 0x245
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.CCoreWininet::Open
call fcn.00401769
mov dword [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.wininet:_InternetSetStatusCallback_failed_
call fcn.00401769
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.inetcallback
call fcn.00401769
mov byte [ebp - 4], 6
jmp 0x428e8e
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
lea ebx, [esi + 0x58]
push ebx
push 2
push dword [esi + 0x24]
call edi
push 4
push ebx
push 6
push dword [esi + 0x24]
call edi
push 4
push ebx
push 5
push dword [esi + 0x24]
call edi
push 4
push ebx
push 6
push dword [esi + 0x24]
call edi
push 4
push ebx
push 7
push dword [esi + 0x24]
call edi
push 4
push ebx
push 8
push dword [esi + 0x24]
call edi
xor eax, eax
inc eax
call fcn.004fa5ac
ret
Function at 0x428f45
Capabilities:
Connect to http server

Disassembly:
push 0x10
mov eax, 0x52108e
call fcn.004fa4d4
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x28], ebx
je 0x428f9d
mov eax, esi
call fcn.0042a4a1
push dword [esi + 0x28]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x428f7d
push 0x7d0
mov eax, esi
call fcn.0042a487
mov dword [esi + 0x28], ebx
cmp ebx, ebx
je 0x428f9d
xor ebx, ebx
inc ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401898
mov eax, ebx
call fcn.004fa5ac
ret 4
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
lea ecx, [ebp + 8]
push ecx
push str.wininet:_connecting_to
push eax
call fcn.00404236
add esp, 0xc
mov byte [ebp - 4], 1
push 8
mov byte [ebp - 4], bl
call fcn.0041485d
neg edi
sbb edi, edi
and edi, 0x16b
add edi, 0x50
mov eax, esi
movzx edi, di
call fcn.0042a4a1
push esi
push ebx
push 3
mov eax, 0x53e9ff
push eax
push eax
push edi
push dword [ebp + 8]
push dword [esi + 0x24]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 0x28], eax
cmp eax, ebx
jne 0x428f84
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x42905f
push 1
push 0x28e
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.CCoreWininet::Connect
call fcn.00401769
mov byte [ebp - 4], 2
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
lea ecx, [ebp + 8]
push ecx
push str.wininet:_InternetConnect_failed__Server
push eax
call fcn.00404236
mov byte [ebp - 4], 3
add esp, 8
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.inetconnect
call fcn.00401769
mov byte [ebp - 4], 4
mov eax, dword [esi]
mov byte [ebp - 4], bl
mov ecx, esi
call dword [eax + 0x1c]
jmp 0x428f87
push 0xffffffffffffffff
mov eax, esi
call fcn.0042a487
jmp 0x428f84