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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4e7d04]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x424], ecx
mov ecx, dword [ebp - 0x424]
add ecx, 8
call fcn.00402e80
movzx eax, al
test eax, eax
je 0x46beab
push 0x104
push 0x104
mov ecx, dword [ebp - 0x424]
add ecx, 8
call fcn.00402e30
push eax
mov ecx, dword [ebp - 0x424]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x424]
push eax
mov ecx, dword [edx + 0x14]
call ecx
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x424]
add ecx, 8
call fcn.004039b0
mov ecx, dword [ebp - 0x424]
add ecx, 4
call fcn.00402e80
movzx edx, al
test edx, edx
je 0x46bf51
push 0x208
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.00482260
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x4c67f0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x104
push 0x104
mov ecx, dword [ebp - 0x424]
add ecx, 4
call fcn.00402e30
push eax
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp - 0x424]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x424]
push ecx
mov edx, dword [eax + 4]
call edx
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x424]
add ecx, 4
call fcn.004039b0
mov ecx, dword [ebp - 0x424]
add ecx, 0x10
call fcn.00402e80
movzx eax, al
test eax, eax
je 0x46bfc1
mov dword [ebp - 0x218], 0x104
mov dword [ebp - 0x214], 1
lea ecx, [ebp - 0x218]
push ecx
push 0x104
mov ecx, dword [ebp - 0x424]
add ecx, 0x10
call fcn.00402e30
push eax
lea edx, [ebp - 0x214]
push edx
push 0x4c680c
push 0x4c6814
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x424]
add ecx, 0x10
call fcn.004039b0
mov ecx, dword [ebp - 0x424]
add ecx, 0x14
call fcn.00402e80
movzx eax, al
test eax, eax
je 0x46c044
push 0x208
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.00482260
add esp, 0xc
push 0x104
lea edx, [ebp - 0x420]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x104
push 0x104
mov ecx, dword [ebp - 0x424]
add ecx, 0x14
call fcn.00402e30
push eax
lea eax, [ebp - 0x420]
push eax
mov ecx, dword [ebp - 0x424]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x424]
push eax
mov ecx, dword [edx + 4]
call ecx
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x424]
add ecx, 0x14
call fcn.004039b0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004820d9
mov esp, ebp
pop ebp
ret

Function at 0x46c2b0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x46c2e3
mov ecx, dword [ebp - 4]
and ecx, 2
jne 0x46c2dc
mov edx, dword [ebp - 4]
and edx, 1
jne 0x46c2dc
mov eax, dword [ebp - 4]
and eax, 4
je 0x46c2e3
mov eax, 1
jmp 0x46c2f1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [edx + 0xc]
call ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x46c3d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4014
call fcn.00484d50
mov eax, dword [0x4e7d04]
xor eax, ebp
mov dword [ebp - 8], eax
mov ax, word [0x4c69c8]
mov word [ebp - 0x4008], ax
push 0x3ffe
push 0
lea ecx, [ebp - 0x4006]
push ecx
call fcn.00482260
add esp, 0xc
mov dword [ebp - 0x400c], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x46c427
cmp dword [ebp + 0x10], 0
jne 0x46c42e
xor eax, eax
jmp 0x46c52c
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x400c], eax
cmp dword [ebp - 0x400c], 0
je 0x46c456
cmp dword [ebp - 0x400c], 0x3fff
jbe 0x46c45d
xor eax, eax
jmp 0x46c52c
lea ecx, [ebp - 0x4008]
push ecx
mov edx, dword [ebp - 0x400c]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x46c52a
lea ecx, [ebp - 0x4014]
push ecx
lea edx, [ebp - 0x4010]
push edx
push 0x4c69cc
lea eax, [ebp - 0x4008]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x46c52a
mov ecx, dword [ebp + 0x14]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
call fcn.00482260
add esp, 0xc
mov eax, dword [ebp - 0x4010]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x4010]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x4010]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x4010]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push 0x4c69d0
mov eax, dword [ebp + 0x14]
sub eax, 1
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00488fd3
add esp, 0x1c
mov eax, 1
jmp 0x46c52c
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004820d9
mov esp, ebp
pop ebp
ret 0x10

Function at 0x46cb60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.0046cb40
test eax, eax
je 0x46cb77
xor eax, eax
jmp 0x46cbb5
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
jne 0x46cb84
xor eax, eax
jmp 0x46cbb5
mov ecx, dword [ebp - 4]
add ecx, 8
push ecx
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
push edx
push 0
push 0
call fcn.00488f23
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
call fcn.0046cb40
mov esp, ebp
pop ebp
ret
Function at 0x46fe60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x46fe77
mov eax, 1
jmp 0x46fecc
cmp dword [ebp + 8], 0
jne 0x46fe81
xor eax, eax
jmp 0x46fecc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46fe93
xor eax, eax
jmp 0x46fecc
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00404cb0
add esp, 8
test eax, eax
jne 0x46fea9
xor eax, eax
jmp 0x46fecc
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0xc
call fcn.004707d0
test eax, eax
je 0x46fec6
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x4707d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x47088d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x470803
xor eax, eax
jmp 0x4708bb
push str.HttpInit
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
push str.HttpUninit
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
push str.zlib_uncompress
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
push str.zlib_compress
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
push str.zlib_compressBound
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
je 0x47088d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
call ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x4708b1
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0
je 0x4708b1
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
je 0x4708b1
mov dword [ebp - 8], 1
jmp 0x4708b8
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x4732c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc9fb
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4e7d04]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00403ac0
mov dword [ebp - 4], 0
push str._net_netload.dll
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00402c80
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00402e20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x473351
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00404680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404680
mov eax, dword [ebp - 0x18]
jmp 0x47348c
push 0
lea ecx, [ebp - 0x10]
call fcn.00402e20
push eax
call fcn.004060a0
add esp, 8
test eax, eax
jne 0x473392
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00404680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404680
mov eax, dword [ebp - 0x1c]
jmp 0x47348c
lea ecx, [ebp - 0x10]
call fcn.00402e20
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov edx, dword [ebp - 0x28]
cmp dword [edx], 0
jne 0x4733d8
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00404680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404680
mov eax, dword [ebp - 0x20]
jmp 0x47348c
push str.InstallProvider
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x28]
mov dword [edx + 4], eax
push str.RemoveProvider
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x28]
mov dword [edx + 8], eax
push str.LdsIsInstall
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xc], eax
push str.LdsSetRegKey
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 0
je 0x473461
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 8], 0
je 0x473461
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0xc], 0
je 0x473461
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x10], 0
je 0x473461
mov dword [ebp - 0x2c], 1
jmp 0x473468
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00404680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404680
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4739f0
Capabilities:
Delete registry value
Persist via app paths registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bca8e
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4e7d04]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
push 0x4c74c0
push 0x4c74e8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push str.ShortCut
push 0x4c7580
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov eax, dword [ebp - 0x20]
cmp dword [eax + 4], 1
jl 0x473a6b
push 4
mov ecx, dword [ebp - 0x20]
add ecx, 4
push ecx
push 4
push str.AutoRun_Interval
push 0x4c7628
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edx, dword [ebp - 0x20]
cmp dword [edx + 8], 0
jne 0x473a98
mov dword [ebp - 0x14], 1
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push 0x4c76ac
push 0x4c76c0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00401530
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [edx + 0x24]
call ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x473b6a
call fcn.0040f180
mov ecx, eax
call fcn.0043fb00
push eax
lea ecx, [ebp - 0x18]
call fcn.004041c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0040ed50
push str.bird
lea ecx, [ebp - 0x18]
call fcn.00409190
test eax, eax
je 0x473b37
push str.bizhi_home
lea ecx, [ebp - 0x18]
call fcn.00409190
test eax, eax
je 0x473b37
push str.360safe
lea ecx, [ebp - 0x18]
call fcn.00409190
test eax, eax
je 0x473b37
push str.baidu
lea ecx, [ebp - 0x18]
call fcn.00409190
test eax, eax
je 0x473b37
push 0
push 0x4c7784
lea ecx, [ebp - 0x18]
call fcn.0040ed10
cmp eax, 0xffffffff
je 0x473b5b
mov dword [ebp - 0x1c], 1
push 4
lea edx, [ebp - 0x1c]
push edx
push 4
push str.select
push 0x4c77a8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00404680
mov ecx, dword [ebp - 0x20]
call fcn.00473e00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x473ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcae4
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4e7d04]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x22c], 0
call fcn.0040f180
mov ecx, eax
call fcn.0043fa50
push eax
lea ecx, [ebp - 0x14]
call fcn.004041c0
mov dword [ebp - 4], 0
call fcn.0040f180
mov ecx, eax
call fcn.0043fca0
push eax
lea ecx, [ebp - 0x10]
call fcn.004041c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00402e80
movzx eax, al
test eax, eax
je 0x473da5
push 0x4c784c
lea ecx, [ebp - 0x14]
push ecx
call fcn.00402d60
add esp, 8
movzx edx, al
test edx, edx
je 0x473da5
xor eax, eax
mov word [ebp - 0x224], ax
push 0x206
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.00482260
add esp, 0xc
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x228], 0x104
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x18]
push ecx
push str.VendorID
push str.SOFTWARELudashi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x473da5
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x10]
call fcn.00404490
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.004041c0
mov ecx, dword [ebp - 0x22c]
or ecx, 1
mov dword [ebp - 0x22c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00404680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404680
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004820d9
mov esp, ebp
pop ebp
ret 4
Function at 0x473e00
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcb2d
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x4e7d04]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x444], ecx
call fcn.0040f180
mov ecx, eax
call fcn.0043fb00
push eax
lea ecx, [ebp - 0x438]
call fcn.004041c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.0040ed50
push 0
push 0x4c7894
lea ecx, [ebp - 0x438]
call fcn.0040ed10
cmp eax, 0xffffffff
jne 0x473e89
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.00404680
jmp 0x474062
xor eax, eax
mov word [ebp - 0x42c], ax
push 0x206
push 0
lea ecx, [ebp - 0x42a]
push ecx
call fcn.00482260
add esp, 0xc
push 0x104
lea edx, [ebp - 0x42c]
push edx
call fcn.0046cce0
add esp, 8
push str.bizhi123456789
lea ecx, [ebp - 0x43c]
call fcn.00403ac0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x440]
call fcn.00403ac0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x43c]
push ecx
lea edx, [ebp - 0x440]
push edx
lea eax, [ebp - 0x430]
push eax
call fcn.00452f80
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x440]
call fcn.00404680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x43c]
call fcn.00404680
lea ecx, [ebp - 0x430]
call fcn.00402e80
movzx ecx, al
test ecx, ecx
je 0x473f55
lea ecx, [ebp - 0x430]
call fcn.00404680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.00404680
jmp 0x474062
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.00482260
add esp, 0xc
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x434], 0x104
lea ecx, [ebp - 0x434]
push ecx
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x220]
push eax
push 0x4c78c4
push 0x4c78d0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x473fd8
lea ecx, [ebp - 0x430]
call fcn.00404680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.00404680
jmp 0x474062
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x474008
lea ecx, [ebp - 0x430]
call fcn.00404680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.00404680
jmp 0x474062
push 0x4c7954
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x430]
call fcn.00402e20
push eax
push str.sysvalue
push str.general
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x430]
call fcn.00404680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.00404680
xor ecx, ecx
jne 0x473e31
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004820d9
mov esp, ebp
pop ebp
ret
Function at 0x478680
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
call fcn.00479210
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0x40]
call edx
cmp dword [ebp - 4], 1
jne 0x478800
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x80], 0
je 0x478800
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.00450aa0
mov ecx, dword [ebp - 0xc]
call fcn.00477b20
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0xf4]
call ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x478718
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 0x84]
call edx
test eax, eax
je 0x478800
mov dword [ebp - 4], 2
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
neg eax
sbb eax, eax
neg eax
je 0x478768
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x70], 0
jne 0x478768
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x70], 1
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x74], 0
push 1
push 0
push 0x3401
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.004197c0
jmp 0x47878e
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x70], 0
je 0x47878e
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x74], 0
jne 0x47878e
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x70], 0
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x74], 1
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
and edx, 0x8000
neg edx
sbb edx, edx
neg edx
je 0x4787da
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x78], 0
jne 0x4787da
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x78], 1
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x74], 0
push 1
push 1
push 0x3401
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.004197c0
jmp 0x478800
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x78], 0
je 0x478800
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x74], 0
jne 0x478800
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x78], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x74], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x479f50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4e7d04]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00482260
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea ecx, [ebp - 0x210]
push ecx
call fcn.00482238
add esp, 4
test eax, eax
jne 0x479fb9
push 0
push 0
push 0x465
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x210]
push eax
call fcn.00482238
add esp, 4
cmp eax, 2
jb 0x47a046
movzx ecx, word [ebp - 0x20e]
cmp ecx, 0x3a
jne 0x47a046
xor edx, edx
mov word [ebp - 0x218], dx
xor eax, eax
mov dword [ebp - 0x216], eax
mov word [ebp - 0x212], ax
mov cx, word [ebp - 0x210]
mov word [ebp - 0x218], cx
mov edx, 0x3a
mov word [ebp - 0x216], dx
mov eax, 0x5c
mov word [ebp - 0x214], ax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 3
je 0x47a046
push 0
push 0
push 0x465
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004820d9
mov esp, ebp
pop ebp
ret