joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423050
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e010
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
push 0x465008
mov dword [ebp - 0x1c], ecx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
cmp esi, ebx
mov dword [ebp - 0x18], esi
je 0x42312e
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push ebx
push esi
call edi
push esi
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
mov ebx, eax
push 0
push esi
mov dword [ebp + 8], ebx
call edi
mov eax, dword [ebp + 0x14]
add esp, 0x1c
cmp eax, 0xffffffff
je 0x4230ce
cmp ebx, eax
jle 0x4230ce
mov ebx, eax
mov dword [ebp + 8], ebx
lea edi, [ebx + 1]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
add esp, 4
test edx, edx
mov dword [ebp - 0x14], edx
je 0x423108
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
push 1
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x14]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
jmp 0x42312e
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2f], ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2b], ecx
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x27], ecx
mov dword [ebp - 0x23], ecx
mov word [ebp - 0x1f], cx
test eax, eax
mov byte [ebp - 0x1d], cl
je 0x4231c2
mov esi, dword [ebp - 0x1c]
push ebx
push eax
mov ecx, esi
call fcn.004224d0
lea edx, [ebp - 0x30]
mov ecx, esi
push edx
call fcn.00422580
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x423198
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
xor esi, esi
xor eax, eax
mov al, byte [ebp + esi - 0x30]
push eax
push 0x467140
push 3
push edi
call ebx
add esp, 0x10
inc esi
add edi, 4
cmp esi, 0x10
jl 0x42317b
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4231b6
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x28]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0044737a
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x423590
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2d10
call fcn.004473e0
mov eax, dword [esp + 0x2d14]
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
je 0x423723
mov esi, dword [esp + 0x2d20]
cmp esi, ebp
je 0x423723
push ebx
push edi
xor edi, edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edi
push edi
push str..PhysicalDrive_d
lea eax, [esp + 0x30]
push 0x200
push eax
call fcn.00415820
add esp, 0x10
lea ecx, [esp + 0x28]
push ebp
push ebp
push 3
push ebp
push 3
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x423706
xor edx, edx
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0x610]
mov dword [esp + 0x18], edx
push ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], edx
push eax
lea ecx, [esp + 0x618]
mov dword [esp + 0x28], edx
push 0x2710
push ecx
lea edx, [esp + 0x28]
push 0xc
push edx
push 0x2d1400
push ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4236f5
mov ecx, 0xfa
xor eax, eax
lea edi, [esp + 0x228]
lea edx, [esp + 0x610]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x628]
lea eax, [esp + 0x228]
push eax
push 1
push ecx
push edx
call fcn.0040a210
add esp, 0x10
xor eax, eax
cmp esi, 0x7fffffff
jbe 0x423697
mov eax, 0x80070057
cmp eax, ebp
jl 0x4236f5
mov edx, dword [esp + 0x2d28]
mov eax, dword [esp + 0x2d24]
mov edi, SysReAllocString
mov ecx, eax
sub edi, edx
lea edx, [esp + 0x228]
sub edx, ecx
lea ecx, [edi + esi]
test ecx, ecx
je 0x4236d1
mov cl, byte [edx + eax]
test cl, cl
je 0x4236d1
mov byte [eax], cl
inc eax
dec esi
jne 0x4236bb
jmp 0x4236d5
test esi, esi
jne 0x4236db
dec eax
mov ebp, 0x8007007a
mov esi, dword [esp + 0x2d28]
mov byte [eax], 0
mov eax, ebp
xor ebp, ebp
cmp eax, ebp
jne 0x4236f5
mov dword [esp + 0x10], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebp
jne 0x423714
mov edi, dword [esp + 0x14]
inc edi
cmp edi, 0x10
mov dword [esp + 0x14], edi
jl 0x4235c8
mov eax, dword [esp + 0x10]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x2d10
ret
pop esi
xor eax, eax
pop ebp
add esp, 0x2d10
ret
Function at 0x4238f0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x4f0
test eax, eax
push ebx
push esi
push edi
je 0x423af4
mov esi, dword [esp + 0x504]
test esi, esi
je 0x423af4
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
push 8
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423a84
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push 0
lea edx, [esp + 0xfc]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
mov dword [esp + 0x3c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x423a72
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push eax
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423a69
lea edx, [esp + 0x18]
lea eax, [esp + 0x2f4]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x30], 0x208
call ebx
test eax, eax
jne 0x423a5e
mov ecx, 0x19
lea edi, [esp + 0x88]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x88]
push 0x64
lea ecx, [esp + 0x2f8]
push eax
push ecx
call fcn.00423b00
add esp, 0xc
test eax, eax
je 0x423a5e
mov al, byte [esp + 0x24]
test al, al
je 0x423a27
lea edx, [esp + 0x24]
lea eax, [esp + 0x88]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x423a5e
lea edx, [esp + 0x88]
lea ecx, [esp + 0x24]
mov esi, 0x64
lea eax, [esp + 0x24]
sub edx, ecx
lea ecx, [esi + 0x7fffff9a]
test ecx, ecx
je 0x423a56
mov cl, byte [edx + eax]
test cl, cl
je 0x423a56
mov byte [eax], cl
inc eax
dec esi
jne 0x423a3d
jmp 0x423a5a
test esi, esi
jne 0x423a5b
dec eax
mov byte [eax], 0
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [esp + 0x10]
jmp 0x42394c
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x504]
mov al, byte [esp + 0x24]
test al, al
je 0x423af4
xor eax, eax
cmp esi, 0x7fffffff
jbe 0x423a9b
mov eax, 0x80070057
test eax, eax
jl 0x423ae1
mov edx, dword [esp + 0x504]
mov eax, dword [esp + 0x500]
mov edi, SysReAllocString
xor ebx, ebx
sub edi, edx
lea edx, [esp + 0x24]
sub edx, eax
lea ecx, [edi + esi]
test ecx, ecx
je 0x423ad2
mov cl, byte [edx + eax]
test cl, cl
je 0x423ad2
mov byte [eax], cl
inc eax
dec esi
jne 0x423abc
jmp 0x423ad6
test esi, esi
jne 0x423adc
dec eax
mov ebx, 0x8007007a
mov byte [eax], 0
mov eax, ebx
xor edx, edx
pop edi
test eax, eax
setge dl
pop esi
mov eax, edx
pop ebx
add esp, 0x4f0
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x4f0
ret
Function at 0x4240d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c4
mov al, byte [0x4d6e30]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0xd0], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd1]
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x68]
push ebx
push ecx
stosb byte es:[edi], al
call fcn.00401070
mov edx, dword [esp + 0x1e0]
add esp, 8
lea eax, [esp + 0xd0]
push edx
push 0x464f7c
push 0x104
push eax
call fcn.00423c50
lea edi, [esp + 0xe0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x78]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xe4]
push ecx
push edx
call fcn.004010d0
lea eax, [esp + 0x84]
push eax
call fcn.00401b10
lea ecx, [esp + 0x88]
push ecx
call fcn.00401b10
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x44], ecx
mov word [esp + 0x39], ax
mov ecx, 0xf
lea edi, [esp + 0x4d]
mov byte [esp + 0x3b], al
mov byte [esp + 0x4c], bl
mov edx, dword [esp + 0xe4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebp, dword [sym.imp.MSVCRT.dll_strncat]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xf0]
mov ecx, 0x10
stosb byte es:[edi], al
xor eax, eax
lea edi, [esp + 0x4c]
add esp, 0x24
mov dword [esp + 0x24], edx
mov byte [esp + 0x10], bl
xor esi, esi
rep stosd dword es:[edi], eax
xor edx, edx
xor ecx, ecx
mov dl, byte [esp + esi + 0x18]
lea eax, [esp + 0x10]
push edx
push str._02x
mov dword [esp + 0x18], ecx
push 8
push eax
mov dword [esp + 0x24], ecx
call fcn.00423c50
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, 0x40
sub edx, ecx
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jge 0x42421d
mov ecx, edx
jmp 0x42422b
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x2c]
push ecx
push edx
call ebp
add esp, 0xc
inc esi
cmp esi, 0x10
jl 0x4241cf
mov esi, dword [esp + 0x1dc]
cmp esi, ebx
je 0x424283
mov edx, dword [esp + 0x1e0]
xor eax, eax
mov ecx, edx
mov edi, esi
mov ebx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
dec edx
rep stosb byte es:[edi], al
lea eax, [esp + 0x28]
push eax
push 0x464f7c
push edx
push esi
call fcn.00423c50
push esi
call dword [sym.imp.MSVCRT.dll__strlwr]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c4
ret
Function at 0x4242c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x508
push ebx
mov ebx, dword [esp + 0x510]
push ebp
push esi
test ebx, ebx
push edi
je 0x424471
mov ebp, dword [esp + 0x520]
cmp ebp, 0x20
jb 0x424471
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x118]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x118]
push eax
push ecx
push edx
push 0x46725c
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0x400
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x424471
lea edi, [esp + 0x118]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x40
jne 0x424471
lea edx, [esp + 0x118]
lea ecx, [esp + 0x18]
mov esi, 0x80
lea eax, [esp + 0x18]
sub edx, ecx
lea ecx, [esi - 0x60]
test ecx, ecx
je 0x42437c
mov cl, byte [edx + eax]
test cl, cl
je 0x42437c
mov byte [eax], cl
inc eax
dec esi
jne 0x424366
jmp 0x424380
test esi, esi
jne 0x424381
dec eax
lea edx, [esp + 0x138]
lea ecx, [esp + 0x98]
mov byte [eax], 0
mov esi, 0x80
lea eax, [esp + 0x98]
sub edx, ecx
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x4243b9
mov cl, byte [edx + eax]
test cl, cl
je 0x4243b9
mov byte [eax], cl
inc eax
dec esi
jne 0x4243a0
jmp 0x4243bd
test esi, esi
jne 0x4243be
dec eax
mov byte [eax], 0
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x118]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x118]
push 0x400
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.004240d0
add esp, 0xc
lea ecx, [esp + 0x98]
lea edx, [esp + 0x118]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x424471
test ebp, ebp
je 0x424411
cmp ebp, 0x7fffffff
jbe 0x424416
mov eax, 0x80070057
test eax, eax
jl 0x42445d
mov eax, ebx
xor ebx, ebx
test ebp, ebp
mov edx, ebp
je 0x424452
mov ecx, dword [esp + 0x51c]
mov edi, SysReAllocString
lea esi, [esp + 0x18]
sub edi, ebp
sub esi, ecx
lea ecx, [edi + edx]
test ecx, ecx
je 0x42444e
mov cl, byte [esi + eax]
test cl, cl
je 0x42444e
mov byte [eax], cl
inc eax
dec edx
jne 0x424438
jmp 0x424452
test edx, edx
jne 0x424458
dec eax
mov ebx, 0x8007007a
mov byte [eax], 0
mov eax, ebx
xor edx, edx
pop edi
test eax, eax
sete dl
pop esi
pop ebp
mov eax, edx
pop ebx
add esp, 0x508
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x508
ret

Function at 0x4249f0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xc8
push edi
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0xd0]
lea ecx, [esp + 4]
push eax
push 0x63
push ecx
push 0x4d6e34
push 0x4672f4
push str.Main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 4]
push edx
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
xor ecx, ecx
cmp eax, 0x100
sete cl
mov eax, ecx
pop edi
add esp, 0xc8
ret 4
Function at 0x425f90
Capabilities:
Check os version

Disassembly:
mov eax, dword [0x467324]
sub esp, 0x114
cmp eax, 0xffffffff
push esi
jne 0x42617e
push edi
mov ecx, 0x44
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 8], 0x114
mov dword [0x467324], 0xfffffc18
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
pop edi
je 0x426179
cmp dword [esp + 0x14], 2
jne 0x426179
mov eax, dword [esp + 8]
cmp eax, 5
jne 0x4260a6
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x42600b
mov eax, 1
pop esi
mov dword [0x467324], eax
add esp, 0x114
ret
cmp eax, 1
jne 0x42608b
mov esi, dword [sym.imp.MSVCRT.dll__wcsnicmp]
lea ecx, [esp + 0x18]
push 0x7f
push ecx
push str.Service_Pack_1
call esi
add esp, 0xc
test eax, eax
jne 0x42603d
mov eax, 3
pop esi
mov dword [0x467324], eax
add esp, 0x114
ret
lea edx, [esp + 0x18]
push 0x7f
push edx
push str.Service_Pack_2
call esi
add esp, 0xc
test eax, eax
jne 0x426064
mov eax, 4
pop esi
mov dword [0x467324], eax
add esp, 0x114
ret
lea eax, [esp + 0x18]
push 0x7f
push eax
push 0x46732c
call esi
add esp, 0xc
neg eax
sbb eax, eax
pop esi
and al, 0xfd
add eax, 5
mov dword [0x467324], eax
add esp, 0x114
ret
cmp eax, 2
jne 0x426179
mov eax, 6
pop esi
mov dword [0x467324], eax
add esp, 0x114
ret
cmp eax, 6
jne 0x426137
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x426109
mov esi, dword [sym.imp.MSVCRT.dll__wcsnicmp]
lea ecx, [esp + 0x18]
push 0x7f
push ecx
push str.Service_Pack_1
call esi
add esp, 0xc
test eax, eax
jne 0x4260e4
mov eax, 8
pop esi
mov dword [0x467324], eax
add esp, 0x114
ret
lea edx, [esp + 0x18]
push 0x7f
push edx
push str.Service_Pack_2
call esi
add esp, 0xc
neg eax
sbb eax, eax
pop esi
add eax, 8
mov dword [0x467324], eax
add esp, 0x114
ret
cmp eax, 1
jne 0x426120
mov eax, 9
pop esi
mov dword [0x467324], eax
add esp, 0x114
ret
cmp eax, 2
jne 0x426165
mov eax, 0xa
pop esi
mov dword [0x467324], eax
add esp, 0x114
ret
cmp eax, 7
jne 0x42614e
mov eax, 9
pop esi
mov dword [0x467324], eax
add esp, 0x114
ret
cmp eax, 8
jne 0x426165
mov eax, 0xa
pop esi
mov dword [0x467324], eax
add esp, 0x114
ret
jbe 0x426179
mov eax, 0x3e8
pop esi
mov dword [0x467324], eax
add esp, 0x114
ret
mov eax, dword [0x467324]
pop esi
add esp, 0x114
ret
Function at 0x4264b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebp
push esi
mov esi, dword [sym.imp.MSVCRT.dll_malloc]
push edi
xor ebp, ebp
push 0x214
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
call esi
mov edi, eax
add esp, 4
cmp edi, ebp
mov dword [esp + 0xc], edi
jne 0x4264e6
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 8
ret
mov ecx, 0x85
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
push edi
mov dword [ecx + 0x208], eax
call ebx
add esp, 4
cmp eax, 0x103
jbe 0x42651c
mov eax, 0x103
jmp 0x426522
push edi
call ebx
add esp, 4
mov edx, dword [esp + 0x10]
push eax
push edi
push edx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp dword [eax + 0x208], 2
jne 0x42655f
push 0x4675a0
push edi
call dword [sym.imp.MSVCRT.dll__wfopen]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
add esp, 8
mov ebx, eax
mov dword [ecx], edx
jmp 0x426619
push 0x465008
push edi
call dword [sym.imp.MSVCRT.dll__wfopen]
mov ebx, eax
add esp, 8
cmp ebx, ebp
jne 0x42657e
mov dword [esp + 0x14], 1
jmp 0x4265ee
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push ebp
push ebx
call edi
push ebx
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push ebx
mov ebp, eax
call edi
add esp, 0x1c
test ebp, ebp
jle 0x42660f
lea edi, [ebp + 2]
push edi
call esi
mov esi, eax
add esp, 4
test esi, esi
je 0x4265ee
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
push 1
push ebp
push esi
rep stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.00426190
mov edi, eax
push esi
mov dword [esp + 0x30], edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 0x1c
test edi, edi
je 0x42660f
mov eax, dword [esp + 0x10]
test eax, eax
je 0x426619
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.00426640
add esp, 8
mov dword [esp + 0x10], 0
jmp 0x426619
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov dword [edx], eax
test ebx, ebx
je 0x426627
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, dword [esp + 0x14]
pop ebx
pop edi
pop esi
pop ebp
add esp, 8
ret
Function at 0x426e70
Capabilities:
Get file attributes
Set file attributes
Write file on windows

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
test esi, esi
jne 0x426e87
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
test bl, 1
mov dword [esp + 0x10], ebx
je 0x426ea2
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x4675e4
push esi
call dword [sym.imp.MSVCRT.dll__wfopen]
mov edi, eax
add esp, 8
test edi, edi
jne 0x426eca
pop edi
pop esi
pop ebx
add esp, 8
ret
push ebp
push edi
push 1
lea eax, [esp + 0x18]
push 2
push eax
mov dword [esp + 0x20], 0xfeff
call dword [sym.imp.MSVCRT.dll_fwrite]
mov ebp, dword [esi + 0x20c]
add esp, 0x10
test ebp, ebp
je 0x426f30
mov ebx, dword [sym.imp.MSVCRT.dll_fwprintf]
mov ecx, dword [ebp]
push ecx
push str._r_n_s_r_n
push edi
call ebx
mov esi, dword [ebp + 0xc]
add esp, 0xc
test esi, esi
je 0x426f21
mov edx, dword [esi]
push edx
push str._s_r_n
push edi
call ebx
mov esi, dword [esi + 4]
add esp, 0xc
test esi, esi
jne 0x426f0c
mov ebp, dword [ebp + 8]
test ebp, ebp
jne 0x426ef6
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret

Function at 0x427330
Capabilities:
Check if file exists

Disassembly:
push ecx
lea eax, [esp]
push esi
mov esi, ecx
push eax
call fcn.00411770
mov ecx, dword [eax]
add esp, 4
push ecx
push str._s360sedata_seup_ins.dat
push 0x104
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [esp + 0x14]
mov ecx, dword [0x463294]
add esp, 0x10
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x427387
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x427387
mov eax, dword [esp + 4]
add eax, 0xfffffff4
push eax
call fcn.0044737a
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42739b
push esi
call fcn.0040f210
add esp, 4
pop esi
pop ecx
ret
Function at 0x4283e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
lea eax, [esp]
mov dword [esp], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x10]
cmp eax, 1
mov eax, dword [esp + 4]
jne 0x428417
cmp eax, 4
jne 0x428417
mov eax, 1
add esp, 0x114
ret
cmp eax, 5
jne 0x428452
mov eax, dword [esp + 8]
test eax, eax
jne 0x428430
mov eax, 2
add esp, 0x114
ret
cmp eax, 1
jne 0x428441
mov eax, 3
add esp, 0x114
ret
cmp eax, 2
jne 0x428475
mov eax, 4
add esp, 0x114
ret
cmp eax, 6
jne 0x428475
mov eax, dword [esp + 8]
test eax, eax
jne 0x42846b
mov eax, 5
add esp, 0x114
ret
cmp eax, 1
mov eax, 6
je 0x42847a
mov eax, 9
add esp, 0x114
ret

Function at 0x428860
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 4]
mov dword [esp], 0x50
push eax
push 1
push 0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [esp + 4]
lea ecx, [esp]
lea edx, [esp + 8]
push ecx
push edx
push 0
push 0
push str.MHz
push eax
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
add esp, 0xc
ret

Function at 0x4288c0
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x40
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, 0x14
call fcn.00447780
cmp eax, 0x100
pop edi
ja 0x428907
mov eax, 2
add esp, 0x40
ret
cmp eax, 0x200
ja 0x428917
mov eax, 5
add esp, 0x40
ret
cmp eax, 0x400
ja 0x428927
mov eax, 0xa
add esp, 0x40
ret
cmp eax, 0x800
ja 0x428937
mov eax, 0x14
add esp, 0x40
ret
mov ecx, 0xc00
cmp ecx, eax
sbb eax, eax
and eax, 0xa
add eax, 0x1e
add esp, 0x40
ret

Function at 0x428950
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
lea eax, [esp]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x428984
mov al, byte [esp]
test al, 2
je 0x42896e
xor eax, eax
pop ecx
ret
test al, 1
je 0x428979
mov eax, 1
pop ecx
ret
test al, 4
je 0x428984
mov eax, 2
pop ecx
ret
or eax, 0xffffffff
pop ecx
ret

Function at 0x428990
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x14]
add esp, 0x24
ret
Function at 0x429700
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x208
push esi
mov esi, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x214]
dec eax
cmp eax, 3
ja case.default.0x429731
jmp dword [eax*4 + 0x4297c8]
mov ecx, dword [esp + 0x218]
push ecx
push 0x467968
jmp 0x429786
mov eax, dword [esp + 0x218]
lea ecx, [esp + 8]
push eax
push 0x467964
push str._s__d
push ecx
jmp 0x429790
mov edx, dword [esp + 0x218]
lea eax, [esp + 8]
push edx
push 0x467960
push str._s__d
push eax
jmp 0x429790
mov ecx, dword [esp + 0x218]
push ecx
push str.nygb
lea edx, [esp + 0x10]
push str._s__d
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
add esi, 0x14
lea eax, [esp + 8]
push esi
push 0
push eax
push str.SCfg
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
add esp, 0x208
ret 8
pop edi
xor eax, eax
pop esi
add esp, 0x208
ret 8
Function at 0x429f90
Capabilities:
Delete file

Disassembly:
sub esp, 0x10
lea eax, [esp]
push eax
call fcn.00424850
mov ecx, eax
call fcn.00424cd0
mov eax, dword [eax + 4]
test eax, eax
jne 0x429fb0
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x429fdf
mov al, byte [ecx - 1]
test al, al
je 0x429fd3
cmp al, 0xff
je 0x429fd3
dec al
mov byte [ecx - 1], al
add esp, 0x10
ret
add ecx, 0xfffffffe
push ecx
call fcn.0044737a
add esp, 4
add esp, 0x10
ret