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

Disassembly:
sub esp, 0x41c
mov eax, dword [0x6d6dfc]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
push ebp
lea eax, [esp + 0x14]
mov ebx, ecx
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.00569940
add esp, 0xc
test al, al
je 0x408d5f
mov edx, dword [esp + 0x10]
cmp edx, dword [esi + 0x10e]
je 0x408e45
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
push 0x6a96dc
push esi
call fcn.005b3a90
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x408da0
push esi
lea eax, [esp + 0x1c]
push str.Cant_replace_file__s_nPlease_delete_this_file_manually
push eax
call fcn.00401ae0
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov eax, edi
call fcn.004080a0
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.0040dd40
push eax
mov ecx, ebx
call fcn.0040dd70
push eax
push esi
lea ecx, [edi + 0x4e0]
call fcn.005771c0
mov ecx, dword [esi + 0x106]
cmp ecx, dword [esp + 8]
je 0x408deb
push 0
push 0x19b
push str..Updater.cpp
push str.fe__size__out_size
call fcn.00568ee0
add esp, 0x10
lea ebx, [edi + 0x20dd4]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push ebp
push 1
push edx
push eax
call fcn.005b44fe
push ebp
call fcn.005b3350
add esp, 0x14
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push str.Infestation.exe
push esi
call fcn.005b683c
add esp, 8
test eax, eax
jne 0x408e38
mov byte [edi + 0x2162c], 1
call fcn.004090e0
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0056abb0
add esp, 4
mov ecx, dword [esp + 0x41c]
pop ebp
pop ebx
xor ecx, esp
call fcn.005b2ec7
add esp, 0x41c
ret
Function at 0x408f30
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x6025c0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d6dfc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
push 4
xor esi, esi
mov dword [esp + 0x18], ebx
call fcn.0056ab90
add esp, 4
cmp eax, esi
je 0x408f77
lea ecx, [esp + 0x18]
mov dword [eax], ecx
jmp 0x408f79
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 1
call fcn.0040b760
mov edx, dword [edi + 0x5f8]
sub edx, dword [edi + 0x5f4]
sar edx, 2
test edx, edx
jbe 0x40900f
mov ebp, 0x100000
jmp 0x408fc0
mov eax, dword [edi + 0x5f8]
sub eax, dword [edi + 0x5f4]
sar eax, 2
cmp esi, eax
jb 0x408fd8
call fcn.005b40c6
mov ecx, dword [edi + 0x5f4]
mov eax, dword [ecx + esi*4]
test dword [eax + 0x116], ebp
jne 0x408ff5
push eax
lea edx, [esp + 0x1c]
push edx
call fcn.0040b870
inc ebx
mov eax, dword [edi + 0x5f8]
sub eax, dword [edi + 0x5f4]
inc esi
sar eax, 2
cmp esi, eax
jb 0x408fc0
mov dword [esp + 0x14], ebx
xor esi, esi
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x409088
xor ebp, ebp
lea ebx, [edi + 0x5e4]
cmp esi, eax
jb 0x40903d
call fcn.005b40c6
mov ecx, dword [esp + 0x24]
lea edi, [ecx + ebp]
push edi
mov ecx, ebx
call fcn.00578c80
test byte [edi + 0x116], 1
je 0x40905c
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add ebp, 0x128
cmp esi, eax
jb 0x40903d
mov ebx, dword [esp + 0x14]
xor esi, esi
push ebx
push str.removed__d_files_n
call fcn.00568bd0
mov eax, dword [esp + 0x2c]
add esp, 8
cmp eax, esi
je 0x4090a7
push eax
call fcn.0056abb0
add esp, 4
mov edx, dword [esp + 0x18]
push edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.0056abb0
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret

Function at 0x4090e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x61c
mov eax, dword [0x6d6dfc]
xor eax, esp
mov dword [esp + 0x614], eax
lea eax, [esp + 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push str.Infestation.exe
lea ecx, [esp + 0x10c]
push ecx
lea edx, [esp + 8]
push 0x6aa390
push edx
call fcn.00401ac0
push str.Infestation_Fantasy_By_NewGTX
lea eax, [esp + 0x224]
push str.Allow_network_traffic_for__s
push eax
call fcn.00401ae0
lea ecx, [esp + 0x22c]
add esp, 0x1c
push ecx
lea ecx, [esp + 4]
call fcn.00401710
mov ecx, dword [esp + 0x618]
add esp, 4
xor ecx, esp
call fcn.005b2ec7
add esp, 0x61c
ret
Function at 0x4095d0
Capabilities:
Delete file

Disassembly:
sub esp, 0x40c
mov eax, dword [0x6d6dfc]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push ebp
push esi
push str.Making_sure_extracted_files_exists_n
call fcn.00568bd0
add esp, 4
push 1
lea ebx, [edi + 0x4e0]
push 1
mov ecx, ebx
call fcn.00576d40
mov eax, dword [edi + 0x5f8]
sub eax, dword [edi + 0x5f4]
xor ebp, ebp
sar eax, 2
test eax, eax
jbe 0x4096be
mov edi, edi
mov ecx, dword [edi + 0x5f8]
sub ecx, dword [edi + 0x5f4]
sar ecx, 2
cmp ebp, ecx
jb 0x409638
call fcn.005b40c6
mov edx, dword [edi + 0x5f4]
mov esi, dword [edx + ebp*4]
test byte [esi + 0x116], 1
je 0x4096a6
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.00569940
add esp, 0xc
test al, al
je 0x409679
mov edx, dword [esp + 0x10]
cmp edx, dword [esi + 0x10e]
jne 0x409679
mov eax, dword [esp + 0xc]
cmp eax, dword [esi + 0x106]
je 0x4096a6
push esi
push str.restoring__s_n
call fcn.00568bd0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
push 0x6aa510
push esi
mov ecx, ebx
call fcn.00577c10
test al, al
je 0x4096ea
mov ecx, dword [edi + 0x5f8]
sub ecx, dword [edi + 0x5f4]
inc ebp
sar ecx, 2
cmp ebp, ecx
jb 0x409620
mov ecx, ebx
call fcn.00576ea0
push str.Making_sure_extracted_files_exists___finished_n
call fcn.00568bd0
mov ecx, dword [esp + 0x418]
add esp, 4
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005b2ec7
add esp, 0x40c
ret
push esi
lea edx, [esp + 0x18]
push str.Cant_extract_file__s_nPlease_delete_this_file_manually
push edx
call fcn.00401ae0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
mov eax, edi
call fcn.004080a0
int3
Function at 0x409c90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x602600
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6d6dfc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [esi + 0x20dec], 0
je 0x409ce7
push 0
push 0x34c
push str..Updater.cpp
push str.status___STATUS_Checking
call fcn.00568ee0
add esp, 0x10
push esi
call fcn.00408100
call fcn.004083c0
test al, al
je 0x409d11
mov ecx, esi
call fcn.00408430
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [esi + 0x20df5]
push 0x6a9a11
push eax
mov byte [esi + 0x98], 1
mov dword [esi + 0x20dec], 3
call fcn.00401ae0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 8
mov ebx, 5
cmp dword [esi + 0x20dec], ebx
jne 0x409efb
mov ecx, dword [esi + 0x2179c]
mov eax, dword [0x783360]
or eax, dword [0x783364]
mov dword [0x783350], ecx
mov edx, dword [esi + 0x217a0]
mov dword [0x783354], edx
je 0x409d9a
call fcn.00402c20
test al, al
je 0x409d9a
push 0
push 0
push 0x783350
push 0x402890
push 0
push 0
call fcn.005b3807
add esp, 0x18
mov dword [0x783518], eax
call fcn.00408790
call fcn.004088e0
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x5e4]
push ecx
push eax
push str.current_build_version_d__updater_data_version_d_n
call fcn.00568bd0
mov eax, dword [esi + 0x5e4]
add esp, 0xc
cmp eax, dword [esi + 0x1c]
jne 0x409dce
mov eax, esi
call fcn.00409bc0
mov ebx, esi
call fcn.00408b80
mov ecx, esi
call fcn.00409290
call fcn.00409b20
push str.Validating_game_data_n
call fcn.00568bd0
add esp, 4
lea edx, [esi + 0x20df5]
push str.Validating_game_data
push edx
call fcn.00401ae0
add esp, 8
lea eax, [esi + 0x21600]
push eax
lea ecx, [esi + 0x215f8]
push ecx
push 0
lea ecx, [esi + 0x4e0]
call fcn.0057a7d0
test al, al
jne 0x409e2d
push str.Game_data_is_damaged__please_restart_launcher_to_repair_damaged_files
mov eax, esi
call fcn.004080a0
push str.Validating_game_data___finished_n
call fcn.00568bd0
add esp, 4
mov eax, esi
call fcn.00409bc0
mov esi, dword [ebp - 0x14]
push esi
push str.Exception__EResult_d_n
call fcn.00568bd0
mov edi, dword [ebp + 8]
add esp, 8
cmp byte [edi + 0x211f5], 0
jne 0x409e77
push 0
push 0x388
push str..Updater.cpp
push str.updErr1__0_
call fcn.00568ee0
add esp, 0x10
mov dword [edi + 0x20df0], esi
mov eax, 0x409e83
ret
push 0x32
call edi
jmp 0x409d41

Function at 0x40abc0
Capabilities:
Create thread

Disassembly:
push esi
lea esi, [edi + 0x21638]
call fcn.004076b0
push 0
push 0
push edi
push 0x40a800
push 0
push 0
call fcn.005b3807
add esp, 0x18
mov dword [edi + 0x21630], eax
pop esi
ret
Function at 0x40ad30
Capabilities:
Create thread

Disassembly:
lea edx, [edi + 0x219b4]
mov eax, edx
push esi
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ad40
sub eax, esi
pop esi
cmp eax, 0x13
je 0x40ad77
mov eax, edx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ad54
sub eax, edx
cmp eax, 0x1d
je 0x40ad77
push 0
push str.Create_Account
push str.Please_enter_Serial_Key_in_following_format:_nXXXX_XXXX_XXXX_XXXX_or_XXXXX_XXXXX_XXXXX_XXXXX_XXXXX
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
ret
push 0
push 0
push edi
push 0x40abf0
push 0
push 0
call fcn.005b3807
add esp, 0x18
mov dword [edi + 0x21630], eax
ret

Function at 0x40b0a0
Capabilities:
Create thread

Disassembly:
lea eax, [edi + 0x217b0]
mov ecx, eax
push esi
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40b0b0
sub ecx, esi
pop esi
cmp ecx, 4
jae 0x40b0de
push 0
push str.Create_Account
push str.email_address_is_too_short
push 0
mov dword [edi + 0x217ac], 0
call dword [sym.imp.USER32.dll_MessageBoxA]
ret
call fcn.0040adb0
test eax, eax
jne 0x40b100
push eax
push str.Create_Account
push str.email_address_is_not_valid
push eax
mov dword [edi + 0x217ac], eax
call dword [sym.imp.USER32.dll_MessageBoxA]
ret
lea ecx, [edi + 0x218b0]
lea eax, [edi + 0x21830]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40b130
test dl, dl
je 0x40b12c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40b130
add eax, 2
add ecx, 2
test dl, dl
jne 0x40b110
xor eax, eax
jmp 0x40b135
sbb eax, eax
sbb eax, 0xffffffff
push 0
test eax, eax
je 0x40b158
push str.Create_Account
push str.Passwords_do_not_match
push 0
mov dword [edi + 0x217ac], 0
call dword [sym.imp.USER32.dll_MessageBoxA]
ret
push 0
push edi
push 0x40ada0
push 0
push 0
call fcn.005b3807
add esp, 0x18
mov dword [edi + 0x21630], eax
ret

Function at 0x40b2f0
Capabilities:
Create thread

Disassembly:
cmp dword [esi + 0x21618], 0
je 0x40b312
push 0
push 0x5ce
push str..Updater.cpp
push str.mainThread___NULL
call fcn.00568ee0
add esp, 0x10
cmp dword [esi + 0x21630], 0
je 0x40b334
push 0
push 0x5cf
push str..Updater.cpp
push str.loginThread___NULL
call fcn.00568ee0
add esp, 0x10
push 0
push 0
push esi
push 0x409f10
push 0
push 0
call fcn.005b3807
push 0
push 0
push esi
push 0x40a7e0
push 0
push 0
mov dword [esi + 0x21618], eax
call fcn.005b3807
push 0
push 0
push esi
push 0x40a7f0
push 0
push 0
mov dword [esi + 0x21cc4], eax
call fcn.005b3807
add esp, 0x48
mov dword [esi + 0x21628], eax
ret
Function at 0x40b410
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push str.CUpdater::Stop___n
mov esi, eax
call fcn.00568bd0
xor ebx, ebx
add esp, 4
cmp byte [esi + 0x20df4], bl
jne 0x40b434
mov eax, dword [esi + 0x21620]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x766164
call edi
lea eax, [esi + 0x20dd4]
push eax
mov dword [esp + 0x14], eax
call edi
mov eax, dword [esi + 0x21618]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x40b477
push ebx
push eax
call edi
mov ecx, dword [esi + 0x21618]
push ecx
call ebp
mov dword [esi + 0x21618], ebx
mov eax, dword [esi + 0x21cc4]
cmp eax, ebx
je 0x40b494
push ebx
push eax
call edi
mov edx, dword [esi + 0x21cc4]
push edx
call ebp
mov dword [esi + 0x21cc4], ebx
mov eax, dword [esi + 0x21630]
cmp eax, ebx
je 0x40b4b1
push ebx
push eax
call edi
mov eax, dword [esi + 0x21630]
push eax
call ebp
mov dword [esi + 0x21630], ebx
mov eax, dword [esi + 0x21628]
cmp eax, ebx
je 0x40b4ce
push ebx
push eax
call edi
mov ecx, dword [esi + 0x21628]
push ecx
call ebp
mov dword [esi + 0x21628], ebx
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edx
call esi
push 0x766164
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x40d580
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
sub esp, 8
push esi
push edi
push 0x11
mov dword [esp + 0xc], 4
call fcn.005b47e7
mov edi, eax
push 0x288
mov dword [esp + 0x14], edi
call fcn.005b47e7
mov esi, eax
add esp, 8
test esi, esi
jne 0x40d5ba
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.005b48b1
add esp, 4
lea eax, [esp + 8]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x40d5ea
mov ecx, dword [esp + 8]
push ecx
call fcn.005b47e7
mov esi, eax
add esp, 4
test esi, esi
jne 0x40d5ea
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.005b48b1
add esp, 4
lea edx, [esp + 8]
push edx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x40d655
movzx eax, byte [esi + 0x199]
movzx ecx, byte [esi + 0x198]
movzx edx, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push ecx
movzx ecx, byte [esi + 0x195]
push edx
movzx edx, byte [esi + 0x194]
push eax
push ecx
push edx
lea eax, [esp + 0x24]
push str._02X:_02X:_02X:_02X:_02X:_02X
push eax
call fcn.00406670
push edi
add esi, 0x1b0
push esi
push str.Address:__s__mac:__s_n
call fcn.005b48b1
add esp, 0x2c
mov eax, edi
pop edi
pop esi
add esp, 8
ret
push esi
call fcn.005b4976
add esp, 4
pop edi
xor eax, eax
pop esi
add esp, 8
ret
Function at 0x40d670
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x601e1d
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push esi
mov eax, dword [0x6d6dfc]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareNewGTXInfestation_Fantasy
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40d6f3
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40d6c8
mov ecx, dword [esp + 0xc]
sub eax, edx
inc eax
push eax
push edi
push 1
push 0
push str.username
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.0040d8f0
push edi
call fcn.0040d890
lea eax, [esp + 0x10]
push eax
mov ebx, str.api_Login.aspx
call fcn.0040cc60
push edi
xor esi, esi
push str.username
lea ecx, [esp + 0x60]
mov dword [esp + 0xcc], esi
call fcn.0040e280
lea ecx, [edi + 0x80]
push ecx
push str.password
lea ecx, [esp + 0x60]
call fcn.0040e280
lea edx, [edi + 0x100]
push edx
push str.computerid
lea ecx, [esp + 0x60]
call fcn.0040e280
lea eax, [edi + 0x132]
push eax
push str.Identifier
lea ecx, [esp + 0x60]
call fcn.0040e280
call fcn.0040d580
push eax
push 0x6ab4f0
lea ecx, [esp + 0x60]
call fcn.0040e280
mov ecx, dword [esp + 0x98]
cmp ecx, esi
je 0x40d794
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esp + 0x98], esi
call fcn.00568890
fstp st(0)
lea ecx, [esp + 0x58]
push ecx
push 1
push 0x1bb
push str.147.50.253.97
lea ecx, [esp + 0x24]
call fcn.0040ebd0
mov ebx, eax
lea esi, [esp + 0x10]
mov dword [esp + 0x98], eax
call fcn.0040cf10
mov dword [esp + 0x9c], eax
test eax, eax
je 0x40d7ef
push eax
push str.Login_FAILED__code:__d_n
call fcn.00568bd0
add esp, 8
mov edx, esi
mov dword [edi + 0x170], 3
push edx
jmp 0x40d7ff
lea ecx, [esp + 0x10]
mov eax, edi
call fcn.0040d440
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0xc8], 0xffffffff
call fcn.0040cde0
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xbc
ret

Function at 0x40d830
Capabilities:
Set registry value

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareNewGTXInfestation_Fantasy
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40d889
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40d860
mov ecx, dword [esp]
sub eax, edx
inc eax
push eax
push esi
push 1
push 0
push str.username
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret
Function at 0x40d890
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemMultifunctionAdapter0DiskController0DiskPeripheral0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d8e6
mov edx, dword [esp + 0xc]
lea ecx, [esp + 4]
push ecx
add edx, 0x132
push edx
push eax
push eax
mov eax, dword [esp + 0x10]
push str.Identifier
push eax
mov dword [esp + 0x1c], 0x32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add esp, 8
ret 4

Function at 0x40d8f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, eax
lea eax, [esp + 4]
push eax
push 0xf003f
push 0
push str.SoftwareNewGTXInfestation_Fantasy
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40d924
mov ecx, esi
call fcn.0040d960
mov al, 1
pop esi
add esp, 8
ret
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
add esi, 0x100
push esi
push 0
push 0
push str.hardwareid
push edx
mov dword [esp + 0x20], 0x32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
add esp, 8
ret

Function at 0x40d960
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1d4
mov eax, dword [0x6d6dfc]
xor eax, esp
mov dword [esp + 0x1d0], eax
push esi
push 0
lea eax, [esp + 8]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareNewGTXInfestation_Fantasy
push SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40da10
push 0x1c8
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.005b6890
add esp, 0xc
lea eax, [esp + 8]
call fcn.004021e0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
add esi, 0x100
push str.0x_I64x
mov edx, esi
call fcn.0040db50
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40d9e5
mov ecx, dword [esp + 4]
sub eax, edx
inc eax
push eax
push esi
push 1
push 0
push str.hardwareid
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1d4]
pop esi
xor ecx, esp
call fcn.005b2ec7
mov esp, ebp
pop ebp
ret
Function at 0x42e020
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f3c67
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x6d6dfc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x134]
call fcn.00424cb0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
call fcn.00424cb0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x134]
call fcn.00426e40
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x1bc]
call fcn.00426e40
push 0x5c
push 0x2f
lea ecx, [ebp - 0x134]
call fcn.00427770
push 0x5c
push 0x2f
lea ecx, [ebp - 0x1bc]
call fcn.00427770
mov byte [ebp - 0x1bd], 0
lea ecx, [ebp - 0xac]
call fcn.0045a7b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.0045a830
movzx edx, al
test edx, edx
je 0x42e0fe
lea ecx, [ebp - 0x1bc]
call fcn.004260c0
push eax
lea ecx, [ebp - 0x134]
call fcn.004260c0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
setne al
mov byte [ebp - 0x1bd], al
jmp 0x42e1dc
lea ecx, [ebp - 0x134]
call fcn.00424e40
test eax, eax
jg 0x42e120
lea ecx, [ebp - 0x1bc]
call fcn.00424e40
test eax, eax
jle 0x42e1b3
lea ecx, [ebp - 0x24c]
call fcn.00424cb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d4]
call fcn.00424cb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.0042e250
add esp, 8
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x1bc]
push ecx
call fcn.0042e250
add esp, 8
lea ecx, [ebp - 0x2d4]
call fcn.00425750
push eax
lea ecx, [ebp - 0x24c]
call fcn.00425750
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dl
mov byte [ebp - 0x1bd], dl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d4]
call fcn.00424dc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24c]
call fcn.00424dc0
jmp 0x42e1dc
lea ecx, [ebp - 0x1bc]
call fcn.00425750
push eax
lea ecx, [ebp - 0x134]
call fcn.00425750
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
mov byte [ebp - 0x1bd], al
movzx ecx, byte [ebp - 0x1bd]
test ecx, ecx
jne 0x42e1f5
cmp dword [ebp + 0x10], 0
je 0x42e1f5
mov ecx, dword [ebp + 0x10]
call fcn.00442310
mov dl, byte [ebp - 0x1bd]
mov byte [ebp - 0x2d5], dl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xac]
call fcn.0045a810
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
call fcn.00424dc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00424dc0
mov al, byte [ebp - 0x2d5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b2ec7
mov esp, ebp
pop ebp
ret