joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59a630
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60fb70
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x278], ecx
mov dword [ebp - 0x270], 0
mov dword [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004eed50
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.004e3070
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.004ef350
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x250]
call fcn.004ef850
push eax
push 0x61f9bc
lea ecx, [ebp - 0x268]
push ecx
call fcn.004e37f0
add esp, 0xc
mov byte [ebp - 4], 3
lea edx, [ebp - 0x26c]
push edx
push 0x2001f
push 0
lea ecx, [ebp - 0x268]
call fcn.004ef850
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0
jne 0x59a792
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005c63d0
add esp, 0xc
mov dword [ebp - 0x21c], 1
lea edx, [ebp - 0x220]
push edx
push 0
lea eax, [ebp - 0x21c]
push eax
push 0
push 0x61fab0
mov ecx, dword [ebp - 0x26c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x59a785
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push 0
push 0x61fafc
mov edx, dword [ebp - 0x26c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x238]
call fcn.004ef4d0
mov ecx, dword [ebp - 0x26c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x238]
call fcn.004ef850
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004e2fe0
add esp, 8
mov eax, dword [ebp - 0x270]
or eax, 1
mov dword [ebp - 0x270], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x268]
call fcn.004ef480
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.004ef480
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x250]
call fcn.004ef480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004eeb60
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x59aa30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60fc21
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 0x69], 0
lea ecx, [ebp + 8]
call fcn.004eed50
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004e3070
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.004ef850
push eax
push 0x61ffcc
lea ecx, [ebp - 0x30]
push ecx
call fcn.004e37f0
add esp, 0xc
mov byte [ebp - 4], 2
lea edx, [ebp - 0x68]
push edx
push 0x2001f
push 0
lea ecx, [ebp - 0x30]
call fcn.004ef850
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jne 0x59ab7d
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x14], 1
lea eax, [ebp - 0x18]
push eax
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0x620098
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x59ab13
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push str.isScriptDebugger
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x64], 1
jne 0x59ab29
mov byte [ebp - 0x6a], 1
jmp 0x59ab2d
mov byte [ebp - 0x6a], 0
mov dl, byte [ebp - 0x6a]
mov byte [ebp - 0x69], dl
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp + 8]
call fcn.004eed50
push eax
push str._s_dwDebugger_lu
lea ecx, [ebp - 0x60]
push ecx
call fcn.004e3870
add esp, 0x10
mov byte [ebp - 4], 3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x78], esp
lea edx, [ebp - 0x60]
push edx
call fcn.004ee9d0
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x74]
call fcn.0059b450
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.004eeb60
mov al, byte [ebp - 0x69]
mov byte [ebp - 0x6b], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004ef480
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004ef480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004eeb60
mov al, byte [ebp - 0x6b]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret 0x18
Function at 0x59ac90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60fc69
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004ef350
mov byte [ebp - 4], 1
lea eax, [ebp - 0x80]
push eax
call fcn.004e71a0
add esp, 4
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004ef440
lea ecx, [ebp - 0x80]
call fcn.004ef480
mov dword [ebp - 0x40], 0x620588
lea edx, [ebp - 0x2c]
push edx
push 0x2001f
push 0
mov eax, dword [ebp - 0x40]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x59ad5e
lea ecx, [ebp - 0x28]
call fcn.004eed60
shl eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004ef850
push eax
push 1
push 0
lea ecx, [ebp + 8]
call fcn.004ef850
push eax
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x59adb3
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x40]
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x59adb3
lea ecx, [ebp - 0x28]
call fcn.004eed60
shl eax, 1
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x28]
call fcn.004ef850
push eax
push 1
push 0
lea ecx, [ebp + 8]
call fcn.004ef850
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 8]
push eax
push 0x620dc4
lea ecx, [ebp - 0x98]
call fcn.004ef370
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x50]
push edx
call fcn.004f4ba0
add esp, 8
mov byte [ebp - 0x2d], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.004ef480
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x59ae55
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x68], esp
lea edx, [ebp - 0x28]
push edx
call fcn.004ef320
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5c], esp
lea edx, [ebp + 8]
push edx
call fcn.004ef320
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x3c]
call fcn.00599be0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.write_value_successful.
call fcn.004eea50
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x3c]
call fcn.0059b450
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004ef480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004ef480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret 0x18
Function at 0x59ae90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0x620f88
lea eax, [ebp - 8]
push eax
push 0x2001f
push 0
mov ecx, dword [ebp - 0x14]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x59af0d
lea ecx, [ebp + 0x20]
call fcn.004eed60
shl eax, 1
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp + 0x20]
call fcn.004ef850
push eax
push 1
push 0
lea ecx, [ebp + 8]
call fcn.004ef850
push eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x59af62
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x59af62
lea ecx, [ebp + 0x20]
call fcn.004eed60
shl eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp + 0x20]
call fcn.004ef850
push eax
push 1
push 0
lea ecx, [ebp + 8]
call fcn.004ef850
push eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 8]
call fcn.004ef480
lea ecx, [ebp + 0x20]
call fcn.004ef480
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret 0x30
Function at 0x59b2b0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60fcd7
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004ef350
mov dword [ebp - 0x34], str.SoftwareMacromediaFlashHelper
lea eax, [ebp - 0x2c]
push eax
push 0x2001f
push 0
mov ecx, dword [ebp - 0x34]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x59b32a
lea ecx, [ebp + 8]
call fcn.004ef850
push eax
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x28]
call fcn.004ef480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004ef480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret 0x18

Function at 0x59e4a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp + 8]
call fcn.004eed50
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004e3070
add esp, 8
mov dword [ebp - 0x2c], 0x620010
lea ecx, [ebp - 0x20]
push ecx
push 0x2001f
push 0
mov edx, dword [ebp - 0x2c]
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x59e557
xor eax, eax
mov word [ebp - 0x23c], ax
push 0x206
push 0
lea ecx, [ebp - 0x23a]
push ecx
call fcn.005c63d0
add esp, 0xc
mov dword [ebp - 0x34], 1
lea ecx, [ebp - 0x1c]
call fcn.004eed60
shl eax, 1
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004ef850
push eax
push 1
push 0
push 0x6200fc
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x59e5a8
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x59e5a8
lea ecx, [ebp - 0x1c]
call fcn.004eed60
shl eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004ef850
push eax
push 1
push 0
push 0x620254
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c]
call fcn.004ef480
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret 4
Function at 0x59f0a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610441
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], ecx
lea ecx, [ebp - 0x230]
call fcn.004ef350
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.004ef350
mov byte [ebp - 4], 1
push 0
push 0x23
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x59f11b
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x248]
call fcn.004ef4d0
push str._tencentQQPCMgrAdBlockuserconfig.dat
lea edx, [ebp - 0x248]
push edx
lea eax, [ebp - 0x26c]
push eax
call fcn.004f47b0
add esp, 0xc
mov dword [ebp - 0x250], eax
mov ecx, dword [ebp - 0x250]
push ecx
lea ecx, [ebp - 0x230]
call fcn.004ef440
lea ecx, [ebp - 0x26c]
call fcn.004ef480
lea ecx, [ebp - 0x230]
call fcn.004ef850
push eax
call fcn.004e6110
add esp, 4
test eax, eax
je 0x59f17a
mov byte [ebp - 0x249], 1
jmp 0x59f181
mov byte [ebp - 0x249], 0
mov dl, byte [ebp - 0x249]
mov byte [ebp - 0x24a], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.004ef480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004ef480
mov al, byte [ebp - 0x24a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret
Function at 0x59f630
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61054b
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x290], ecx
mov dword [ebp - 0x288], 0
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
lea ecx, [ebp - 0x280]
push ecx
call fcn.004e5510
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x280]
call fcn.004ef850
push eax
push 0x621748
lea edx, [ebp - 0x250]
push edx
call fcn.004e37f0
add esp, 0xc
mov byte [ebp - 4], 1
lea eax, [ebp - 0x284]
push eax
push 0x2001f
push 0
lea ecx, [ebp - 0x250]
call fcn.004ef850
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x28c], eax
push 0x621810
lea ecx, [ebp - 0x238]
call fcn.004ef370
mov byte [ebp - 4], 2
cmp dword [ebp + 0xc], 0
jne 0x59f702
push 0x62184c
lea ecx, [ebp - 0x238]
call fcn.004ef4d0
jmp 0x59f730
cmp dword [ebp + 0xc], 1
jne 0x59f71a
push 0x621874
lea ecx, [ebp - 0x238]
call fcn.004ef4d0
jmp 0x59f730
cmp dword [ebp + 0xc], 2
jne 0x59f730
push 0x62189c
lea ecx, [ebp - 0x238]
call fcn.004ef4d0
push 0x6218c0
lea ecx, [ebp - 0x268]
call fcn.004ef370
mov byte [ebp - 4], 3
cmp dword [ebp - 0x28c], 0
jne 0x59f802
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.005c63d0
add esp, 0xc
mov dword [ebp - 0x21c], 1
lea eax, [ebp - 0x220]
push eax
push 0
lea ecx, [ebp - 0x21c]
push ecx
push 0
lea ecx, [ebp - 0x238]
call fcn.004ef850
push eax
mov edx, dword [ebp - 0x284]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x59f7ed
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x21c]
push edx
push 0
lea ecx, [ebp - 0x238]
call fcn.004ef850
push eax
mov eax, dword [ebp - 0x284]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x268]
call fcn.004ef4d0
jmp 0x59f7f3
mov edx, dword [ebp + 0x10]
mov byte [edx], 1
mov eax, dword [ebp - 0x284]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x59f837
lea ecx, [ebp - 0x284]
push ecx
lea ecx, [ebp - 0x250]
call fcn.004ef850
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x59f837
mov edx, dword [ebp + 0x10]
mov byte [edx], 1
mov eax, dword [ebp - 0x284]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x268]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004ef3d0
mov edx, dword [ebp - 0x288]
or edx, 1
mov dword [ebp - 0x288], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x268]
call fcn.004ef480
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.004ef480
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x250]
call fcn.004ef480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x280]
call fcn.004ef480
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret 0xc
Function at 0x59f8c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610593
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], ecx
lea eax, [ebp - 0x70]
push eax
call fcn.004e5510
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.004ef850
push eax
push str._sSoftwareMicrosoftWindowsCurrentVersionminiconfig
lea ecx, [ebp - 0x58]
push ecx
call fcn.004e37f0
add esp, 0xc
mov byte [ebp - 4], 1
lea edx, [ebp - 0x74]
push edx
push 0x2001f
push 0
lea ecx, [ebp - 0x58]
call fcn.004ef850
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x7c], eax
push 0x6219cc
lea ecx, [ebp - 0x40]
call fcn.004ef370
mov byte [ebp - 4], 2
cmp dword [ebp + 8], 0
jne 0x59f96a
push str.fp_open_mini_time
lea ecx, [ebp - 0x40]
call fcn.004ef4d0
jmp 0x59f992
cmp dword [ebp + 8], 1
jne 0x59f97f
push str.fp_open_tip_time
lea ecx, [ebp - 0x40]
call fcn.004ef4d0
jmp 0x59f992
cmp dword [ebp + 8], 2
jne 0x59f992
push str.fp_open_emb_time
lea ecx, [ebp - 0x40]
call fcn.004ef4d0
push 0x621ad4
lea ecx, [ebp - 0x28]
call fcn.004ef370
mov byte [ebp - 4], 3
cmp dword [ebp - 0x7c], 0
jne 0x59fa1b
xor eax, eax
mov word [ebp - 0x28c], ax
push 0x206
push 0
lea ecx, [ebp - 0x28a]
push ecx
call fcn.005c63d0
add esp, 0xc
mov dword [ebp - 0x80], 1
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x28]
call fcn.004ef4b0
lea ecx, [ebp - 0x28]
call fcn.004eed60
shl eax, 1
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x28]
call fcn.004ef850
push eax
push 1
push 0
lea ecx, [ebp - 0x40]
call fcn.004ef850
push eax
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x59fa81
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x58]
call fcn.004ef850
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x59fa81
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004ef4b0
lea ecx, [ebp - 0x28]
call fcn.004eed60
shl eax, 1
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
push edx
lea ecx, [ebp - 0x28]
call fcn.004ef850
push eax
push 1
push 0
lea ecx, [ebp - 0x40]
call fcn.004ef850
push eax
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004ef480
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004ef480
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.004ef480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.004ef480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret 8
Function at 0x5a6c80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610fe5
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x380
call fcn.00578dc0
movzx eax, al
test eax, eax
je 0x5a6cc5
jmp 0x5a6dab
lea ecx, [ebp - 0x30]
push ecx
call fcn.004e5980
add esp, 4
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x38]
add edx, 0x380
mov dword [ebp - 0x34], edx
push 4
lea ecx, [ebp - 0x14]
call fcn.00578440
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.005c14a0
push 4
lea ecx, [ebp - 0x18]
call fcn.00578440
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.00578e20
jmp 0x5a6d1a
lea ecx, [ebp - 0x14]
call fcn.005b6db0
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.005b6bc0
movzx eax, al
test eax, eax
je 0x5a6d9c
lea ecx, [ebp - 0x14]
call fcn.005c0a50
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x18
call fcn.004eed50
push eax
lea ecx, [ebp - 0x78]
push ecx
call fcn.004e3070
add esp, 8
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x60]
push edx
call fcn.00589570
add esp, 0xc
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
call fcn.004ef850
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x60]
call fcn.004ef480
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.004ef480
jmp 0x5a6d12
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004ef480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret
Function at 0x5b9f00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x5b9f41
xor al, al
jmp 0x5b9fe4
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x5b9f6d
xor al, al
jmp 0x5b9fe4
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.005c5d80
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.00536790
add esp, 8
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret 0xc