joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442eb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b783
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
push 0x5650d0
lea ecx, [ebp - 0x40]
call fcn.00419540
mov dword [ebp - 4], 0
push 0x5650d4
lea ecx, [ebp - 0x28]
call fcn.00419540
mov byte [ebp - 4], 1
call fcn.00419670
mov ecx, eax
call fcn.0046cb19
push eax
lea ecx, [ebp - 0x28]
call fcn.00419610
push str.CDRom.exe
lea ecx, [ebp - 0x28]
call fcn.00419650
lea ecx, [ebp - 0x28]
call fcn.0041a090
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x442f72
push 0x5650ec
lea ecx, [ebp - 0x40]
call fcn.00419610
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00419630
push 0x5650f0
lea ecx, [ebp - 0x40]
call fcn.00419650
push 0
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.0041a090
push eax
call fcn.0046fd03
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004195b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004195b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464e95
mov esp, ebp
pop ebp
ret

Function at 0x442fb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b7b3
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x424], ecx
lea ecx, [ebp - 0x448]
call fcn.0047f774
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x448]
call fcn.0047f7c9
test eax, eax
je 0x44302a
push str.Reg64.exe
call fcn.00419670
mov ecx, eax
call fcn.0046cbd7
push eax
push 0x56511c
lea eax, [ebp - 0x218]
push eax
call fcn.00434b60
add esp, 0x10
jmp 0x443050
push 0x565128
call fcn.00419670
mov ecx, eax
call fcn.0046cbd7
push eax
push 0x565138
lea ecx, [ebp - 0x218]
push ecx
call fcn.00434b60
add esp, 0x10
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4430ae
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0041a090
push eax
mov ecx, dword [ebp + 8]
call fcn.0041a090
push eax
push str.RegIOY
lea edx, [ebp - 0x218]
push edx
push str.__s___s___Path__s___Name__s___Time__d
lea eax, [ebp - 0x420]
push eax
call fcn.00434b60
add esp, 0x1c
push 0
push 0
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.0046fd03
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x448]
call fcn.0047f787
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464e95
mov esp, ebp
pop ebp
ret 0xc
Function at 0x443270
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b845
mov eax, dword fs:[0]
push eax
sub esp, 0x63c
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x644], ecx
xor eax, eax
mov word [ebp - 0x628], ax
push 0x206
push 0
lea ecx, [ebp - 0x626]
push ecx
call fcn.00485370
add esp, 0xc
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.00485370
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x420], cx
push 0x206
push 0
lea edx, [ebp - 0x41e]
push edx
call fcn.00485370
add esp, 0xc
lea eax, [ebp - 0x628]
push eax
push str.SvcPath
mov ecx, dword [ebp - 0x644]
call fcn.00443a00
lea ecx, [ebp - 0x218]
push ecx
push str.HostExe
mov ecx, dword [ebp - 0x644]
call fcn.00443a00
lea edx, [ebp - 0x420]
push edx
push str.SvcName
mov ecx, dword [ebp - 0x644]
call fcn.00443a00
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44335b
xor eax, eax
jmp 0x44342f
push 0x5653e4
lea ecx, [ebp - 0x640]
call fcn.00419540
mov dword [ebp - 4], 0
push 0x5653e8
lea ecx, [ebp - 0x640]
call fcn.00419650
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x640]
call fcn.00419650
push 0x5653ec
lea ecx, [ebp - 0x640]
call fcn.00419650
push str.UninstallService
lea ecx, [ebp - 0x640]
call fcn.00419650
push str.___servicename
lea ecx, [ebp - 0x640]
call fcn.00419650
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x640]
call fcn.00419650
push 0xea60
push 1
push 0
lea ecx, [ebp - 0x640]
call fcn.0041a090
push eax
call fcn.0046fd03
add esp, 0x10
mov ecx, dword [ebp - 0x644]
call fcn.00443b60
lea eax, [ebp - 0x628]
push eax
call fcn.0046fe96
add esp, 4
mov dword [ebp - 0x648], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x640]
call fcn.004195b0
mov eax, dword [ebp - 0x648]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464e95
mov esp, ebp
pop ebp
ret
Function at 0x443a00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
push 0x20119
push 0
push 0x565438
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x443a3d
jmp 0x443aa6
lea ecx, [ebp - 8]
push ecx
push 0x20119
push 0
push 0x56544c
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x443a62
jmp 0x443aa6
mov dword [ebp - 0x10], 0x208
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x443a96
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 0
je 0x443aa6
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8

Function at 0x443ab0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 8]
push eax
push 0xf013f
push 0
push 0x56546c
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x443adf
jmp 0x443b56
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0xf013f
push 0
push 0
push 0
push 0x565480
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x443b16
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x443b56
mov dword [ebp - 0x14], 0x104
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8

Function at 0x443b60
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 4]
push eax
push 0xf013f
push 0
push 0x5654a0
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x443b8f
jmp 0x443ba8
push str.FYunZipSvcHost
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x449180
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x134], ecx
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 0x120], 0x11c
push str.unknown_OperatingSystem.
mov ecx, dword [ebp + 8]
call fcn.00419610
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x449357
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x124], edx
cmp dword [ebp - 0x124], 4
je 0x449206
cmp dword [ebp - 0x124], 5
je 0x449280
cmp dword [ebp - 0x124], 6
je 0x4492eb
jmp 0x449357
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
je 0x44922f
cmp dword [ebp - 0x128], 0xa
je 0x44925f
cmp dword [ebp - 0x128], 0x5a
je 0x44926e
jmp 0x44927b
cmp dword [ebp - 0x110], 2
jne 0x449247
push str.Microsoft_Windows_NT_4.0
mov ecx, dword [ebp + 8]
call fcn.00419610
jmp 0x44925d
cmp dword [ebp - 0x110], 1
jne 0x44925d
push str.Microsoft_Windows_95
mov ecx, dword [ebp + 8]
call fcn.00419610
jmp 0x44927b
push str.Microsoft_Windows_98
mov ecx, dword [ebp + 8]
call fcn.00419610
jmp 0x44927b
push str.Microsoft_Windows_Me
mov ecx, dword [ebp + 8]
call fcn.00419610
jmp 0x449357
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x12c], ecx
cmp dword [ebp - 0x12c], 0
je 0x4492a9
cmp dword [ebp - 0x12c], 1
je 0x4492b8
cmp dword [ebp - 0x12c], 2
je 0x4492c7
jmp 0x4492e9
push str.Microsoft_Windows_2000
mov ecx, dword [ebp + 8]
call fcn.00419610
jmp 0x4492e9
push str.Microsoft_Windows_XP
mov ecx, dword [ebp + 8]
call fcn.00419610
jmp 0x4492e9
movzx edx, byte [ebp - 6]
cmp edx, 1
jne 0x4492e9
movzx eax, word [ebp - 0x158]
cmp eax, 9
jne 0x4492e9
push str.Microsoft_Windows_XP_Professional_x64_Edition
mov ecx, dword [ebp + 8]
call fcn.00419610
jmp 0x449357
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x130], ecx
cmp dword [ebp - 0x130], 0
je 0x44930b
cmp dword [ebp - 0x130], 1
je 0x449332
jmp 0x449357
movzx edx, byte [ebp - 6]
cmp edx, 1
jne 0x449323
push str.Microsoft_Windows_Vista
mov ecx, dword [ebp + 8]
call fcn.00419610
jmp 0x449330
push str.Microsoft_Windows_Server_2008
mov ecx, dword [ebp + 8]
call fcn.00419610
jmp 0x449357
movzx eax, byte [ebp - 6]
cmp eax, 1
jne 0x44934a
push str.Microsoft_Windows_7
mov ecx, dword [ebp + 8]
call fcn.00419610
jmp 0x449357
push str.Microsoft_Windows_Server_2008_R2
mov ecx, dword [ebp + 8]
call fcn.00419610
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464e95
mov esp, ebp
pop ebp
ret 4
Function at 0x44fe40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x5676b0
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44fe7d
jmp 0x44feeb
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x5676c4
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44feaa
jmp 0x44feeb
mov dword [ebp - 0x10], 0x104
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 4], 0
je 0x44fedb
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0
je 0x44feeb
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8
Function at 0x450430
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x567714
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x45046d
jmp 0x4504df
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x567728
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x45049a
jmp 0x4504df
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 0xc], 0
je 0x4504cf
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
je 0x4504df
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8
Function at 0x4504f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55cab5
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], ecx
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.00485370
add esp, 0xc
push 0x5676d4
push 0x5676e4
lea edx, [ebp - 0x218]
push edx
call fcn.00434b60
add esp, 0xc
lea ecx, [ebp - 0x260]
call fcn.0047f774
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.0047f7c9
test eax, eax
je 0x450668
lea eax, [ebp - 0x220]
push eax
push 0xf013f
push 0
push 0x5676ec
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x4505c2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.0047f787
jmp 0x45075c
push 0
lea ecx, [ebp - 0x22c]
push ecx
push 0
push 0xf013f
push 0
push 0
push 0
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x45061f
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.0047f787
jmp 0x45075c
mov dword [ebp - 0x234], 0x104
lea edx, [ebp - 0x234]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45074a
lea edx, [ebp - 0x228]
push edx
push 0xf003f
push 0
push 0x567700
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x4506ac
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.0047f787
jmp 0x45075c
push 0
lea eax, [ebp - 0x230]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x450706
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.0047f787
jmp 0x45075c
mov dword [ebp - 0x238], 0x104
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x230]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.0047f787
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464e95
mov esp, ebp
pop ebp
ret 8
Function at 0x450780
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55cae5
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5c24ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x4c]
call fcn.0047f774
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.0047f7c9
test eax, eax
je 0x450886
lea eax, [ebp - 0x14]
push eax
push 0xf013f
push 0
push 0x567738
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4507ff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0047f787
jmp 0x45094c
push 0
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0xf013f
push 0
push 0
push 0
push 0x56774c
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x450848
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0047f787
jmp 0x45094c
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45093d
lea edx, [ebp - 0x1c]
push edx
push 0xf003f
push 0
push 0x56775c
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4508be
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0047f787
jmp 0x45094c
push 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x567770
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x450904
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0047f787
jmp 0x45094c
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0047f787
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x450bf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55cb3e
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], ecx
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.00485370
add esp, 0xc
push 0x5677cc
push str._sService
lea edx, [ebp - 0x218]
push edx
call fcn.00434b60
add esp, 0xc
lea ecx, [ebp - 0x258]
call fcn.0047f774
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x258]
call fcn.0047f7c9
test eax, eax
je 0x450d59
lea eax, [ebp - 0x220]
push eax
push 0xf013f
push 0
push 0x5677f0
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x450cc2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.0047f787
jmp 0x450e3e
push 0
lea ecx, [ebp - 0x22c]
push ecx
push 0
push 0xf013f
push 0
push 0
push 0
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x450d1f
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.0047f787
jmp 0x450e3e
push 4
lea edx, [ebp + 0xc]
push edx
push 4
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x450e2c
lea ecx, [ebp - 0x228]
push ecx
push 0xf003f
push 0
push 0x567804
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x450d9d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.0047f787
jmp 0x450e3e
push 0
lea edx, [ebp - 0x230]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x228]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x450df7
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.0047f787
jmp 0x450e3e
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x230]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x228]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.0047f787
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464e95
mov esp, ebp
pop ebp
ret 8