joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432fb0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x104
call fcn.0044bf70
push ebx
push esi
push edi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x432ff9
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x432ff9
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
push 0x492c10
call fcn.0044face
add esp, 0xc
lea esp, [ebp - 0x110]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
push edx
push eax
lea ecx, [ebp - 0x104]
push 0xff
push ecx
call fcn.0044f41c
add esp, 0x10
mov byte [ebp - 5], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4330fb
call dword [sym.imp.USER32.dll_GetDesktopWindow]
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
mov ebx, eax
test ebx, ebx
je 0x4330b6
lea edx, [ebp - 4]
push edx
push 0
push 0
push 2
push ebx
call dword [sym.imp.USER32.dll_GetUserObjectInformationW]
test eax, eax
jne 0x4330b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4330b6
mov eax, dword [ebp - 4]
cmp eax, 0x200
ja 0x4330b6
lea esi, [eax + 1]
and esi, 0xfffffffe
mov dword [ebp - 4], esi
lea eax, [esi + 2]
add eax, 3
and al, 0xfc
call fcn.0044bf70
lea eax, [ebp - 4]
mov edi, esp
push eax
push esi
push edi
push 2
push ebx
call dword [sym.imp.USER32.dll_GetUserObjectInformationW]
test eax, eax
je 0x4330b6
mov ecx, dword [ebp - 4]
push str.Service_0x
push edi
lea eax, [ecx + 1]
and al, 0xfe
mov dword [ebp - 4], eax
shr eax, 1
mov word [edi + eax*2], 0
call fcn.0044aa20
add esp, 8
test eax, eax
je 0x4330fb
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push 0
push 1
push 0
push 0
push 0
lea edx, [ebp - 0x104]
push 1
push esi
mov dword [ebp - 4], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea esp, [ebp - 0x110]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
lea ecx, [ebp - 0x104]
push str.OpenSSL:_FATAL
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea esp, [ebp - 0x110]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x448dba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x492e64]
jne 0x448dc4
repz ret
jmp fcn.00450c0f
Function at 0x4500b7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x4500f4
cmp dword [ebp + 0x14], edi
je 0x4500f4
cmp ecx, edi
jne 0x4500fb
call fcn.0044c4dc
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.00450beb
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x45010f
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x450130
cmp ebx, 0xffffffff
je 0x45011f
push ebx
push edi
push ecx
call fcn.0044a680
add esp, 0xc
cmp esi, edi
je 0x4500dc
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x4500dc
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x45014c
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x450153
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x450244
test word [esi + 0xc], 0x10c
je 0x4501a7
mov eax, dword [esi + 4]
test eax, eax
je 0x4501a7
jl 0x4502a5
cmp ebx, eax
mov edi, ebx
jb 0x450178
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x45024c
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0045b92f
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x45023c
cmp ebx, dword [ebp - 0xc]
jb 0x450214
cmp dword [ebp - 0xc], 0
je 0x4501d1
mov ecx, bind
xor edx, edx
cmp ebx, ecx
jbe 0x4501c6
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x4501cd
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x4501dc
mov eax, bind
cmp ebx, eax
ja 0x4501dc
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x450278
push eax
push dword [ebp - 8]
push esi
call fcn.0045369d
pop ecx
push eax
call fcn.0045b832
add esp, 0xc
test eax, eax
je 0x4502b7
cmp eax, 0xffffffff
je 0x4502a5
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x45023c
push esi
call fcn.0045a6c7
cmp eax, 0xffffffff
pop ecx
je 0x4502a9
cmp dword [ebp - 4], 0
je 0x450278
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x45015b
mov eax, dword [ebp + 0x14]
jmp 0x4500f6
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x450263
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0044a680
add esp, 0xc
call fcn.0044c4dc
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x4500ec
cmp dword [ebp + 0xc], 0xffffffff
je 0x45028e
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0044a680
add esp, 0xc
call fcn.0044c4dc
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x4500ec
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x4500f6
or dword [esi + 0xc], 0x10
jmp 0x4502a9
Function at 0x453769
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x493258]
je 0x453784
inc edi
cmp edi, 0x17
jb 0x453775
cmp edi, 0x17
jae 0x453904
push ebp
push 3
call fcn.0045c392
cmp eax, 1
pop ecx
je 0x4538d0
push 3
call fcn.0045c392
test eax, eax
pop ecx
jne 0x4537b8
cmp dword [0x492e60], 1
je 0x4538d0
cmp ebx, 0xfc
je 0x453903
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x497880
push ebp
call fcn.0044af58
add esp, 0xc
test eax, eax
je 0x4537ee
push esi
push esi
push esi
push esi
push esi
call fcn.00450aef
add esp, 0x14
push 0x104
mov esi, 0x497899
push esi
push 0
mov byte [0x49799d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x453832
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0044af58
add esp, 0xc
test eax, eax
je 0x453832
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00450aef
add esp, 0x14
push esi
call fcn.0044aa80
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x453877
push esi
call fcn.0044aa80
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x497b94
push 0x484c4c
sub ecx, eax
push ecx
push eax
call fcn.0044b30b
add esp, 0x14
test eax, eax
je 0x453877
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00450aef
add esp, 0x14
jmp 0x453879
xor esi, esi
push 0x484c48
push ebx
push ebp
call fcn.00448d0f
add esp, 0xc
test eax, eax
je 0x453899
push esi
push esi
push esi
push esi
push esi
call fcn.00450aef
add esp, 0x14
push dword [edi*8 + 0x49325c]
push ebx
push ebp
call fcn.00448d0f
add esp, 0xc
test eax, eax
je 0x4538bb
push esi
push esi
push esi
push esi
push esi
call fcn.00450aef
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0045c1d5
add esp, 0xc
jmp 0x453903
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x453903
cmp ebp, 0xffffffff
je 0x453903
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x49325c]
push dword [esi]
call fcn.0044aa80
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x45c1d5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0045116c
xor ebx, ebx
cmp dword [0x497ee8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x45c2ab
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x45c38b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x485a94
push edi
call esi
cmp eax, ebx
je 0x45c38b
push eax
call fcn.004510fe
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x497ee8], eax
call esi
push eax
call fcn.004510fe
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x497eec], eax
call esi
push eax
call fcn.004510fe
mov dword [0x497ef0], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0044b066
test eax, eax
pop ecx
pop ecx
je 0x45c279
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00450aef
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x45c2ab
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004510fe
cmp eax, ebx
pop ecx
mov dword [0x497ef8], eax
je 0x45c2ab
push 0x485a3c
push edi
call esi
push eax
call fcn.004510fe
pop ecx
mov dword [0x497ef4], eax
mov eax, dword [0x497ef4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x45c330
cmp dword [0x497ef8], ecx
je 0x45c330
push eax
call fcn.00451175
push dword [0x497ef8]
mov esi, eax
call fcn.00451175
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x45c330
cmp edi, ebx
je 0x45c330
call esi
cmp eax, ebx
je 0x45c2fd
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45c2fd
test byte [ebp - 0x18], 1
jne 0x45c330
lea eax, [ebp - 0x10]
push eax
call fcn.0044b09d
test eax, eax
pop ecx
je 0x45c318
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00450aef
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x45c327
or dword [ebp + 0x10], 0x200000
jmp 0x45c36b
or dword [ebp + 0x10], 0x40000
jmp 0x45c36b
mov eax, dword [0x497eec]
cmp eax, dword [ebp - 8]
je 0x45c36b
push eax
call fcn.00451175
cmp eax, ebx
pop ecx
je 0x45c36b
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x45c36b
mov eax, dword [0x497ef0]
cmp eax, dword [ebp - 8]
je 0x45c36b
push eax
call fcn.00451175
cmp eax, ebx
pop ecx
je 0x45c36b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x497ee8]
call fcn.00451175
cmp eax, ebx
pop ecx
je 0x45c38b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45c38d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x461d20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x492e64]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.00401f10
add esp, 8
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x461da5
push str.Status
lea edx, [ebp - 0x410]
push edx
call fcn.00401f10
add esp, 8
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
lea ecx, [ebp - 0x410]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448dba
mov esp, ebp
pop ebp
ret

Function at 0x461dc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2f418
call fcn.0044bf70
mov eax, dword [0x492e64]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.00401f10
add esp, 8
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 8]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x461efd
push str.AccountID
lea edx, [ebp - 0x2f218]
push edx
call fcn.00401f10
add esp, 8
mov eax, dword [ebp + 8]
push eax
call fcn.0044aa80
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 1
push ecx
mov edx, dword [ebp + 8]
push edx
push 3
push 0
lea eax, [ebp - 0x2f218]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x461e79
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 8
jmp 0x461f10
push str.AccountName
lea eax, [ebp - 0x2f218]
push eax
call fcn.00401f10
add esp, 8
push 0
push 0
push 0x2ee00
lea ecx, [ebp - 0x2f018]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp + 0xc]
push edx
push 0x400
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x2f018]
push eax
call fcn.0044aa80
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
lea edx, [ecx + ecx + 1]
push edx
lea eax, [ebp - 0x2f018]
push eax
push 3
push 0
lea ecx, [ebp - 0x2f218]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x461efb
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 8
jmp 0x461f10
jmp 0x461f04
mov eax, 8
jmp 0x461f10
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00448dba
mov esp, ebp
pop ebp
ret
Function at 0x461f20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x492e64]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.00401f10
add esp, 8
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4620d2
push str.PanelLanguage
lea edx, [ebp - 0x418]
push edx
call fcn.00401f10
add esp, 8
push 0x100
lea eax, [ebp - 0x620]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edx, [ebp - 0x620]
push edx
call fcn.00448e9e
add esp, 4
shl eax, 1
push eax
lea eax, [ebp - 0x620]
push eax
push 1
push 0
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x461ff0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 8
jmp 0x4620f1
push 0x80
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0044ad78
add esp, 8
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x41c], edx
mov dword [ebp - 0x624], 0
jmp 0x462028
mov eax, dword [ebp - 0x624]
add eax, 1
mov dword [ebp - 0x624], eax
mov ecx, dword [ebp - 0x624]
cmp ecx, dword [ebp + 0x10]
jge 0x46207b
mov edx, dword [ebp - 0x624]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, dword [ebp - 0x624]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.0044aa80
add esp, 4
add eax, 1
push eax
mov edx, dword [ebp - 0x41c]
push edx
call fcn.0044af58
add esp, 0xc
mov eax, dword [ebp - 0x41c]
add eax, 0x80
mov dword [ebp - 0x41c], eax
jmp 0x462019
push str.CustomMediaName
lea ecx, [ebp - 0x418]
push ecx
call fcn.00401f10
add esp, 8
mov edx, dword [ebp + 0x10]
shl edx, 7
push edx
mov eax, dword [ebp - 0x10]
push eax
push 3
push 0
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4620d0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0044a992
add esp, 4
mov eax, 8
jmp 0x4620f1
jmp 0x4620d9
mov eax, 8
jmp 0x4620f1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
push eax
call fcn.0044a992
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00448dba
mov esp, ebp
pop ebp
ret
Function at 0x462100
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x492e64]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.00401f10
add esp, 8
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x46219f
push str.ReturnVal
lea edx, [ebp - 0x410]
push edx
call fcn.00401f10
add esp, 8
push 0x148
mov eax, dword [ebp + 8]
push eax
push 3
push 0
lea ecx, [ebp - 0x410]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x46219d
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 8
jmp 0x4621b2
jmp 0x4621a6
mov eax, 8
jmp 0x4621b2
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448dba
mov esp, ebp
pop ebp
ret

Function at 0x4621c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x492e64]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.00401f10
add esp, 8
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x46225c
push str.MemorySize
lea edx, [ebp - 0x410]
push edx
call fcn.00401f10
add esp, 8
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
lea ecx, [ebp - 0x410]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x46225a
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 8
jmp 0x46226f
jmp 0x462263
mov eax, 8
jmp 0x46226f
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448dba
mov esp, ebp
pop ebp
ret
Function at 0x462280
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x492e64]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.00401f10
add esp, 8
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x46231c
push str.Duplex
lea edx, [ebp - 0x410]
push edx
call fcn.00401f10
add esp, 8
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
lea ecx, [ebp - 0x410]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x46231a
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 8
jmp 0x46232f
jmp 0x462323
mov eax, 8
jmp 0x46232f
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448dba
mov esp, ebp
pop ebp
ret
Function at 0x462340
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x492e64]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.00401f10
add esp, 8
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 8]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x462525
push 0x4878f8
lea edx, [ebp - 0x418]
push edx
call fcn.00401f10
add esp, 8
cmp dword [ebp + 8], 5
jne 0x4623bd
mov dword [ebp - 4], 1
jmp 0x4623c4
mov dword [ebp - 4], 0
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4623f7
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 8
jmp 0x462538
push str.RDiskMode
lea ecx, [ebp - 0x418]
push ecx
call fcn.00401f10
add esp, 8
push 4
lea edx, [ebp + 8]
push edx
push 4
push 0
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x46243e
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 8
jmp 0x462538
push str.RDiskSize
lea eax, [ebp - 0x418]
push eax
call fcn.00401f10
add esp, 8
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
lea edx, [ebp - 0x418]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x462485
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 8
jmp 0x462538
push str.HDDSize
lea edx, [ebp - 0x418]
push edx
call fcn.00401f10
add esp, 8
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push 0
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4624c9
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 8
jmp 0x462538
push str.SDCard
lea ecx, [ebp - 0x418]
push ecx
call fcn.00401f10
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x4624ec
mov dword [ebp - 4], 1
jmp 0x4624f3
mov dword [ebp - 4], 0
push 4
lea edx, [ebp - 4]
push edx
push 4
push 0
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x462523
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 8
jmp 0x462538
jmp 0x46252c
mov eax, 8
jmp 0x462538
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00448dba
mov esp, ebp
pop ebp
ret
Function at 0x462550
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x610
mov eax, dword [0x492e64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x200
push 0
lea eax, [ebp - 0x610]
push eax
call fcn.0044a680
add esp, 0xc
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.00401f10
add esp, 8
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
lea edx, [ebp - 0x210]
push edx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x462679
push str.ModelName
lea eax, [ebp - 0x410]
push eax
call fcn.00401f10
add esp, 8
push 0x100
lea ecx, [ebp - 0x610]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x610]
push eax
call fcn.00448e9e
add esp, 4
shl eax, 1
push eax
lea ecx, [ebp - 0x610]
push ecx
push 1
push 0
lea edx, [ebp - 0x410]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x462633
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 8
jmp 0x46268c
push str.ModelNameIndex
lea edx, [ebp - 0x410]
push edx
call fcn.00401f10
add esp, 8
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
lea ecx, [ebp - 0x410]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x462677
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 8
jmp 0x46268c
jmp 0x462680
mov eax, 8
jmp 0x46268c
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448dba
mov esp, ebp
pop ebp
ret