joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d0f0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x44d11d
call fcn.00454d70
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x44d11d
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
je 0x44d14f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp + 8], eax
je 0x44d14f
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x44d14f
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x34c], 0
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.0044de50
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44d18a
push 1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x44d2d9
mov eax, dword [ebp - 8]
push eax
call fcn.00454d30
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0
jne 0x44d1ae
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.0043ae60
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x33c], 0
je 0x44d25d
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0x2001
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x10]
je 0x44d218
push 1
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x10]
je 0x44d23a
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.0043bcb0
and eax, 0x80000
je 0x44d25d
push 0
push 0
push 0xf
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.004410d0
mov ecx, dword [ebp - 0x18]
call fcn.0044e050
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x34c], 0
push 0x97
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.0040db70
cmp dword [ebp - 4], 0
je 0x44d2bc
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp + 8], 0
je 0x44d2bc
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [ebp - 0x18]
cmp eax, dword [ecx + 4]
jne 0x44d2bc
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [ebp - 0xc]
push eax
call fcn.00454d30
add esp, 4
mov ecx, dword [ebp - 0x18]
call fcn.0043eb70
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x350]
mov esp, ebp
pop ebp
ret 8
Function at 0x454e80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x454eaa
mov ecx, dword [ebp - 4]
and ecx, 0x10
jne 0x454eaa
mov dword [ebp - 8], 1
jmp 0x454eb1
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x456150
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x45617d
call fcn.00454d70
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x45617d
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
je 0x4561af
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp + 8], eax
je 0x4561af
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4561af
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x34c], 0
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00456700
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4561ea
push 1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x456339
mov eax, dword [ebp - 8]
push eax
call fcn.00454d30
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0
jne 0x45620e
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.0043ae60
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x33c], 0
je 0x4562bd
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0x2001
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x10]
je 0x456278
push 1
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x10]
je 0x45629a
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.0043bcb0
and eax, 0x80000
je 0x4562bd
push 0
push 0
push 0xf
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.004410d0
mov ecx, dword [ebp - 0x18]
call fcn.0044e050
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x34c], 0
push 0x97
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.0040db70
cmp dword [ebp - 4], 0
je 0x45631c
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp + 8], 0
je 0x45631c
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [ebp - 0x18]
cmp eax, dword [ecx + 4]
jne 0x45631c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [ebp - 0xc]
push eax
call fcn.00454d30
add esp, 4
mov ecx, dword [ebp - 0x18]
call fcn.0043eb70
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x350]
mov esp, ebp
pop ebp
ret 8
Function at 0x459ea0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.0040ee60
movzx eax, al
test eax, eax
jne 0x459ef1
mov ecx, dword [ebp - 0xc]
add ecx, 0x10
call fcn.0040ee60
movzx ecx, al
test ecx, ecx
jne 0x459ef1
mov ecx, dword [ebp - 0xc]
add ecx, 0x14
call fcn.0040ee60
movzx edx, al
test edx, edx
jne 0x459ef1
mov ecx, dword [ebp - 0xc]
add ecx, 0x18
call fcn.0040ee60
movzx eax, al
test eax, eax
je 0x459ef5
xor eax, eax
jmp 0x459f65
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.00493020
push eax
call fcn.0052488b
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x459f16
xor eax, eax
jmp 0x459f65
mov ecx, dword [ebp - 0xc]
add ecx, 0x10
call fcn.00493020
push eax
call fcn.0052488b
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x459f37
xor eax, eax
jmp 0x459f65
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0xc]
add ecx, 0x14
call fcn.00493020
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x459f60
xor eax, eax
jmp 0x459f65
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x45ada0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f8a68
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x676580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x10]
call fcn.004092b0
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x10]
call fcn.00493020
push eax
lea ecx, [ebp - 0x28]
call fcn.005d34d0
mov byte [ebp - 4], 1
push str._unknow_
lea ecx, [ebp - 0x2c]
call fcn.004092b0
mov byte [ebp - 4], 2
push 0x63cc38
lea ecx, [ebp - 0x28]
call fcn.005d2f90
movzx eax, al
test eax, eax
je 0x45ae30
push 0x63cc38
lea ecx, [ebp - 0x28]
call fcn.005d2f30
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040b1c0
mov ecx, dword [ebp - 0x2c]
push ecx
push str.from:_s
mov edx, dword [ebp - 0x34]
add edx, 0x164
push edx
call fcn.00403240
add esp, 0xc
mov eax, dword [ebp - 0x2c]
push eax
push str.from:_s
mov ecx, dword [ebp - 0x34]
add ecx, 0x188
push ecx
call fcn.00403240
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.005be630
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00403270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.005d3450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403270
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x466610
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x46663a
mov ecx, dword [ebp - 4]
and ecx, 0x10
je 0x46663a
mov dword [ebp - 8], 1
jmp 0x466641
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x46f060
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f1f11
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x676580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x220], ecx
mov eax, dword [ebp - 0x220]
cmp dword [eax + 4], 0
je 0x46f0a8
mov ecx, dword [ebp - 0x220]
mov eax, dword [ecx + 4]
jmp 0x46f21c
mov ecx, dword [ebp - 0x220]
add ecx, 0x60
call fcn.00493020
push eax
lea ecx, [ebp - 0x110]
call fcn.0046fc70
mov dword [ebp - 0x224], eax
mov edx, dword [ebp - 0x224]
mov dword [ebp - 0x228], edx
mov dword [ebp - 4], 0
push 0x63cfcc
mov eax, dword [ebp - 0x220]
add eax, 0x4c
push eax
mov ecx, dword [ebp - 0x228]
call fcn.00493020
push eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + 8]
push edx
call fcn.0046f230
add esp, 0x10
mov ecx, dword [ebp - 0x220]
mov dword [ecx + 4], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.0040e6c0
mov ecx, dword [ebp - 0x220]
add ecx, 0x64
call fcn.0040ee60
movzx edx, al
test edx, edx
jne 0x46f217
push 0x400000
lea eax, [ebp - 0x114]
push eax
call fcn.0057a250
add esp, 8
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x230], ecx
mov dword [ebp - 4], 1
push str.data_skin_skincfg.ini
mov edx, dword [ebp - 0x230]
push edx
lea eax, [ebp - 0x118]
push eax
call fcn.0040bb50
add esp, 0xc
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x238], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x220]
add ecx, 0x64
call fcn.00493020
push eax
lea ecx, [ebp - 0x21c]
call fcn.0046fc70
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x238]
call fcn.00493020
push eax
push 0xff
mov ecx, dword [ebp - 0x23c]
call fcn.00493020
push eax
push str.alpha
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 0x220]
mov dword [edx + 0x30], eax
lea ecx, [ebp - 0x21c]
call fcn.0040e6c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
call fcn.00403270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.00403270
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x470c90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x63c8c0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x470cd9
jmp 0x470d65
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x204
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 4]
push eax
push 0
push str.ProgramPath
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x470d19
cmp dword [ebp - 4], 1
jne 0x470d19
cmp dword [ebp - 0x18], 6
jae 0x470d1d
jmp 0x470d65
mov edx, dword [ebp + 8]
push edx
call fcn.00524b18
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + eax*2 - 2]
mov word [ebp - 0x1c], dx
movzx eax, word [ebp - 0x1c]
cmp eax, 0x5c
je 0x470d5e
movzx ecx, word [ebp - 0x1c]
cmp ecx, 0x2f
je 0x470d5e
push 0x63bf54
lea edx, [ebp + 8]
push edx
call fcn.00473e20
add esp, 8
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
je 0x470d75
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x470d80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x470dc9
jmp 0x470e55
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x204
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 4]
push eax
push 0
push str.ProgramPath
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x470e09
cmp dword [ebp - 4], 1
jne 0x470e09
cmp dword [ebp - 0x18], 6
jae 0x470e0d
jmp 0x470e55
mov edx, dword [ebp + 8]
push edx
call fcn.00524b18
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + eax*2 - 2]
mov word [ebp - 0x1c], dx
movzx eax, word [ebp - 0x1c]
cmp eax, 0x5c
je 0x470e4e
movzx ecx, word [ebp - 0x1c]
cmp ecx, 0x2f
je 0x470e4e
push 0x63bf54
lea edx, [ebp + 8]
push edx
call fcn.00473e20
add esp, 8
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
je 0x470e65
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x471490
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.SOFTWAREkbasesrv
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4714dc
jmp 0x47156d
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x204
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 4]
push eax
push 0
push str.ProgramPath
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x47151c
cmp dword [ebp - 4], 1
jne 0x47151c
cmp dword [ebp - 0x18], 6
jae 0x471520
jmp 0x47156d
mov edx, dword [ebp + 8]
push edx
call fcn.00524b18
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + eax*2 - 2]
mov word [ebp - 0x1c], dx
movzx eax, word [ebp - 0x1c]
cmp eax, 0x5c
je 0x471566
movzx ecx, word [ebp - 0x1c]
cmp ecx, 0x2f
je 0x471566
push 0x63bf54
push 0x204
mov edx, dword [ebp + 8]
push edx
call fcn.005278ab
add esp, 0xc
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
je 0x47157d
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x474610
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 4
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x47463a
jmp 0x47467a
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x474667
cmp dword [ebp - 4], 4
je 0x47466b
jmp 0x47467a
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8

Function at 0x478830
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0xffffffff
jne 0x478845
xor eax, eax
jmp 0x478869
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x479540
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xc], 0
je 0x479557
jmp 0x4796b6
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 0
jne 0x479576
jmp 0x4795c9
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx], 0
jne 0x479593
jmp 0x4795c9
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0x479d40
push 0
push 0
call fcn.005277fd
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 8], 0
je 0x4795c5
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xc], 1
xor ecx, ecx
jne 0x479557
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0xc], 0
je 0x479629
cmp dword [0x67e1c8], 0
je 0x479622
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.sync_report_init_success.
push 0x630cbc
push 0x630cc0
push 0x630c44
call fcn.00447600
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447700
jmp 0x4796b6
cmp dword [0x67e1c8], 0
je 0x479679
mov dword [ebp - 8], 0
lea ecx, [ebp - 8]
push ecx
push 0x630dec
push 0x630de8
push 0x630d70
push 0x630d6c
call fcn.00447600
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447700
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 0
je 0x479699
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x4796b6
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
mov esp, ebp
pop ebp
ret
Function at 0x47d6e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x47d6e9
xor ecx, ecx
jne 0x47d6e9
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x47d70d
push 0x80004005
call fcn.00402eb0
xor eax, eax
jne 0x47d6f1
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x47d71e
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x47d9e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x676580]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x228], ecx
lea ecx, [ebp - 0x10]
call fcn.00493e50
push 0x2001f
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 0x10]
call fcn.0040b0b0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x47da40
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x10]
call fcn.0040b050
mov eax, dword [ebp - 0x21c]
jmp 0x47dad1
mov dword [ebp - 4], pe_nt_image_headers32
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x218]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x47daa6
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x10]
call fcn.0047d9e0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x47da9d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x10]
call fcn.0040b050
mov eax, dword [ebp - 0x220]
jmp 0x47dad1
mov dword [ebp - 4], pe_nt_image_headers32
jmp 0x47da47
lea ecx, [ebp - 0x10]
call fcn.0040b070
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x228]
call fcn.0047db60
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x10]
call fcn.0040b050
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.005236f2
mov esp, ebp
pop ebp
ret 4
Function at 0x48a3a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
jne 0x48a3b1
xor eax, eax
jmp 0x48a3e1
mov eax, dword [ebp + 0xc]
add eax, 0x1004
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x1000
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
add eax, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x48a710
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x48a739
jmp 0x48a7ca
lea ecx, [ebp - 0xc]
push ecx
push 0
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 8], 1
je 0x48a768
cmp dword [ebp - 8], 2
je 0x48a768
jmp 0x48a7ca
mov ecx, dword [ebp + 0xc]
call fcn.0040b2e0
mov eax, dword [ebp - 0xc]
shr eax, 1
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00402f40
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x48a7c0
mov ecx, dword [ebp - 0xc]
shr ecx, 1
mov edx, dword [ebp - 4]
mov word [edx + ecx*2], 0
mov dword [ebp - 0x10], 1
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.0043d440
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8