joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b8d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472ed8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x10], ecx
mov ecx, dword [edx]
cmp ecx, edx
je 0x46ba92
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [ecx + 0x10], esi
je 0x46b95a
cmp byte [ecx + 0x15], bl
jne 0x46b944
mov eax, dword [ecx + 8]
cmp byte [eax + 0x15], bl
jne 0x46b92b
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x15], bl
jne 0x46b944
lea ecx, [ecx]
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x15], bl
je 0x46b920
jmp 0x46b944
mov eax, dword [ecx + 4]
cmp byte [eax + 0x15], bl
jne 0x46b942
cmp ecx, dword [eax + 8]
jne 0x46b942
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x15], bl
je 0x46b933
mov ecx, eax
cmp ecx, edx
jne 0x46b902
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ecx + 0xc]
cmp esi, 0xffffffff
je 0x46ba90
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], vtable.PBUIWebInterface::WEB_MSG_RESP.0
call fcn.00441cc0
xor eax, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
xor ecx, ecx
or ecx, 1
or ecx, 2
mov dword [ebp - 4], 1
or ecx, 8
mov dword [ebp - 0x70], 0x11
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x30], ecx
cmp eax, ebx
jne 0x46ba02
push 0x14
call fcn.00411e4b
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
cmp esi, ebx
je 0x46b9f9
mov byte [ebp - 4], 3
lea ecx, [esi + 4]
mov dword [esi], vtable.PBUIWebInterface::WEB_MSG_RESP_play_video.0
call fcn.00441cc0
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov eax, esi
jmp 0x46b9fb
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp + 0xc]
or dword [eax + 0x10], 1
lea edx, [ebp - 0x2c]
mov dword [eax + 8], ecx
push edx
lea ecx, [ebp - 0x78]
call fcn.0040eab0
mov eax, dword [ebp - 0x2c]
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jae 0x46ba28
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
push ebx
lea ecx, [ebp + 8]
push ecx
push edx
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
push ecx
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x18], esi
jb 0x46ba53
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0041149f
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x78], vtable.PBUIWebInterface::WEB_MSG_RESP.0
lea esi, [ebp - 0x78]
mov dword [ebp - 4], 5
call fcn.0040c4c0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.00442070
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0041eee0
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x46bf20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, eax
mov eax, dword [esi + 0x6c]
mov edx, dword [eax + 4]
push edi
lea edi, [esi + 0x6c]
mov ecx, edi
call edx
test al, al
jne 0x46bf5e
push ebx
push 0x258
push 0x320
add esi, 0x54
push 0
xor ecx, ecx
xor eax, eax
call fcn.00469db0
mov dword [esi + 0x48], 0
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
test al, al
je 0x46bf75
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
push ebx
mov ecx, edi
call edx
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x206]
push ecx
mov word [ebp - 0x208], ax
call fcn.00412ae0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x208]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.funshion.ini
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x208]
push edx
push 0
push str.show_web_log
push str.participation
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x46bfec
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
mov ecx, edi
call edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x46c200
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472ff7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esi + 4], vtable.WebBrowserEngineListener.0
mov dword [esi], vtable.FunshionWebApp.0
mov dword [esi + 4], vtable.FunshionWebApp.1.0
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x30], ebx
mov byte [esi + 0x20], bl
mov byte [ebp - 4], 1
push 0x18
mov dword [esi + 0x44], ebx
call fcn.00411e4b
add esp, 4
cmp eax, ebx
je 0x46c2c8
mov dword [esi + 0x40], eax
mov dword [eax], eax
mov eax, dword [esi + 0x40]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x40]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x40]
mov byte [ecx + 0x14], 1
mov edx, dword [esi + 0x40]
mov byte [edx + 0x15], 1
lea eax, [esi + 0x54]
mov byte [ebp - 4], 2
push eax
mov dword [esi + 0x4c], ebx
call fcn.0046a7e0
mov byte [esi + 0xa0], 1
cmp dword [0x48a7b4], ebx
jne 0x46c2b4
mov dword [0x48a7b4], esi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp + 0xc], ebx
call fcn.00411758
push 0x485118
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], vtable.std::bad_alloc.0
call fcn.00412f3e
int3
Function at 0x46db60
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x473304
push eax
mov dword fs:[0], esp
sub esp, 0x650
push ebx
mov ebx, ecx
mov edx, dword [ebx + 0x3c]
mov ecx, dword [edx]
cmp ecx, edx
je 0x46dd3e
push esi
mov esi, dword [ebp + 8]
cmp dword [ecx + 0x10], esi
je 0x46dbed
cmp byte [ecx + 0x15], 0
jne 0x46dbd7
mov eax, dword [ecx + 8]
cmp byte [eax + 0x15], 0
jne 0x46dbbc
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x15], 0
jne 0x46dbd7
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x15], 0
je 0x46dbb0
jmp 0x46dbd7
mov eax, dword [ecx + 4]
cmp byte [eax + 0x15], 0
jne 0x46dbd5
cmp ecx, dword [eax + 8]
jne 0x46dbd5
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x15], 0
je 0x46dbc5
mov ecx, eax
cmp ecx, edx
jne 0x46db92
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ecx + 0xc]
cmp esi, 0xffffffff
je 0x46dd3d
push edi
push 0
push 0x28
lea eax, [ebp - 0x454]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x47ced4
lea ecx, [ebp - 0x454]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, esi
dec eax
je 0x46dcb6
dec eax
jne 0x46dd3c
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x24a]
push eax
mov word [ebp - 0x24c], dx
call fcn.00412ae0
add esp, 0xc
lea ecx, [ebp - 0x454]
push ecx
push 0x104
lea edx, [ebp - 0x24c]
push edx
push str.http:__game.funshion.com_door.php_sourceclient_tab
push str.GameBtnUrl
push str.ClientURL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edi, [ebp - 0x24c]
lea esi, [ebp - 0x28]
call fcn.00403530
mov esi, 0x10
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], esi
jb 0x46dc96
mov eax, dword [eax]
push eax
lea edx, [ebx - 4]
mov ecx, 2
call fcn.0046da90
cmp dword [ebp - 0x14], esi
jb 0x46dd3c
mov eax, dword [ebp - 0x28]
push eax
jmp 0x46dd34
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x65a]
push edx
mov word [ebp - 0x65c], cx
call fcn.00412ae0
add esp, 0xc
lea eax, [ebp - 0x454]
push eax
push 0x104
lea ecx, [ebp - 0x65c]
push ecx
push str.http:__fs.fun.tv_publish_first_ver5cv
push str.HomeURL
push str.ClientURL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edi, [ebp - 0x65c]
lea esi, [ebp - 0x44]
call fcn.00403530
mov esi, 0x10
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], esi
jb 0x46dd1d
mov eax, dword [eax]
push eax
lea edx, [ebx - 4]
mov ecx, 1
call fcn.0046da90
cmp dword [ebp - 0x30], esi
jb 0x46dd3c
mov edx, dword [ebp - 0x44]
push edx
call fcn.0041149f
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x46e000
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x473328
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp esi, ebx
je 0x46e02b
lea edi, [esi + 4]
jmp 0x46e02d
xor edi, edi
call fcn.004032b0
push 1
push 2
push 0x15
mov dword [eax + 0x10], edi
call dword [sym.imp.urlmon.dll_CoInternetSetFeatureEnabled]
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
push 0x2c
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.00412ae0
mov ecx, dword [esi + 8]
add esp, 0xc
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x58], 0x30
mov dword [ebp - 0x50], 0x46df40
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x30], str.FunshionWebMessageWindow
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov eax, dword [esi + 8]
push ebx
push eax
push ebx
push 0xfffffffffffffffd
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.FunshionWebMessageWindow
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0x4c], eax
cmp eax, ebx
je 0x46e0f6
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
xor edx, edx
mov ecx, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], dx
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x46e0b7
sub ecx, edi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x28]
call fcn.00402220
push 1
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], ebx
call fcn.00401e80
mov edi, eax
cmp edi, 0xffffffff
jne 0x46e10b
cmp dword [ebp - 0x14], 8
jb 0x46e0f6
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0041149f
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp + 8], 1
jle 0x46e12f
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
push 0x47cc6c
push eax
call fcn.00411634
add esp, 8
test eax, eax
jne 0x46e12f
mov byte [esi + 0xa0], al
push edi
xor ecx, ecx
lea eax, [ebp - 0x44]
lea edx, [ebp - 0x28]
call fcn.00401a80
cmp dword [eax + 0x14], 8
jb 0x46e145
mov eax, dword [eax]
push eax
call fcn.00411dd9
add esp, 4
cmp dword [ebp - 0x30], 8
mov ebx, eax
jb 0x46e162
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0041149f
add esp, 4
push 0xffffffffffffffff
lea ecx, [edi + 1]
lea eax, [ebp - 0x44]
lea edx, [ebp - 0x28]
call fcn.00401a80
cmp dword [eax + 0x14], 8
jb 0x46e17a
mov eax, dword [eax]
push eax
call fcn.00411dd9
add esp, 4
cmp dword [ebp - 0x30], 8
mov edi, eax
jb 0x46e197
mov edx, dword [ebp - 0x44]
push edx
call fcn.0041149f
add esp, 4
push 0
mov dword [esi + 0x1c], esi
push 0
add esi, 0xc
push esi
push 0x404400
push 0
push 0
mov dword [esi + 4], ebx
mov dword [esi + 8], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [ebp - 0x14], 8
mov dword [esi + 0xc], eax
mov dword [esi], 1
mov bl, 1
jb 0x46e1d4
mov eax, dword [ebp - 0x28]
push eax
call fcn.0041149f
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x404a21
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42bdd0
push 0x429612
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x64], 1
lea ecx, [ebp - 0x20]
push ecx
push 0
mov edx, dword [ebp - 0x24]
push edx
push 0x40518e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x60], eax
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x60], 0
jne 0x404aa2
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x64], 0
push 0
push 0
push 0
push 0xe0000104
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
call fcn.00404ab7
jmp 0x404acb
push 0
push 0
push 0x12d8
mov edx, dword [ebp - 0x24]
mov ecx, dword [edx + 0x14]
call dword [sym.imp.SEMSFC.dll_public:_struct_HWND______thiscall_SFCWin::GetHWND_void_]
push eax
call dword [sym.imp.SQLUNIRL.dll__PostMessage_16]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x431072
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x503014eb
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x431060
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4310d2
nop
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3f096344
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x409e8b
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x4295a0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x409fdc
cmp dword [ebp - 0xc], 1
jne 0x409f14
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 8], 0
je 0x409f0a
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x409fdc
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 2
jne 0x409fdc
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x409f89
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x409f73
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
jmp 0x409f87
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [edx], eax
jmp 0x409fdc
jmp 0x409fd2
cmp dword [ebp - 8], 2
jne 0x409fd2
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x18], ecx
push 4
lea edx, [ebp - 0x18]
push edx
push 4
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x409fca
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
jmp 0x409fdc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x409fe2
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SYSTEMCurrentControlSetServicesVxdTKIT
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40a056
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40a04c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40a056
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8
Function at 0x40a05c
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SYSTEMCurrentControlSetServicesTouchkitCalDafualt
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40a1ad
cmp dword [ebp - 0xc], 1
jne 0x40a0e5
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 8], 0
je 0x40a0db
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40a1ad
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 2
jne 0x40a1ad
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40a15a
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40a144
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
jmp 0x40a158
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [edx], eax
jmp 0x40a1ad
jmp 0x40a1a3
cmp dword [ebp - 8], 2
jne 0x40a1a3
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x18], ecx
push 4
lea edx, [ebp - 0x18]
push edx
push 4
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40a19b
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
jmp 0x40a1ad
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x410203
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f074
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x68], 0
jne 0x4102c3
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
push 0x104
push 0x104
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
push str.winhlp32.exe
lea ecx, [ebp - 0x14]
call fcn.0041df36
lea ecx, [ebp - 0x14]
call fcn.00401c10
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4102aa
push 0x6a
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4102aa
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_CopyIcon]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x68], eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4102d1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
lea eax, [ebp - 8]
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x410338
mov dword [ebp - 0x110], 0x104
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret