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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareCyberlinkCommonOLReg
push SysStringLen
mov esi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401212
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.DumpMsg
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp eax, dword [ebp - 8]
sbb eax, eax
neg eax
mov dword [0x440db4], eax
jmp 0x401217
mov eax, dword [0x440db4]
test eax, eax
je 0x401236
cmp dword [0x440db0], 0
jne 0x401236
push 0x20000
call fcn.0042b4b0
add esp, 4
mov dword [0x440db0], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401440
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x440db4], 0
je 0x40147c
mov eax, dword [0x440db0]
test eax, eax
je 0x40147c
lea ecx, [ebp + 0xc]
push ecx
push dword [ebp + 8]
push 0xffff
push 0x10000
push eax
call dword [sym.imp.MSVCR110.dll__vsnwprintf_s]
add esp, 0x14
push dword [0x440db0]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop ebp
ret

Function at 0x405530
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d22e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x440d84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x10]
mov dword [edi], 0
push eax
push 0
lea ecx, [edi + 4]
mov dword [ebp - 0x10], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.00409900
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
lea eax, [ebp - 0x10]
mov dword [edi + 0x20], 0
push eax
push 0
lea ecx, [edi + 0x24]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.00409900
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
mov byte [ebp - 4], 2
je 0x405658
test dl, 0x10
jne 0x405658
mov eax, 1
jmp 0x40565a
xor eax, eax
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
push dword [esi + 0x18]
call fcn.0040ea40
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x40d6e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
sub edx, edi
sar edx, 1
mov esi, 0x811c9dc5
mov ecx, 0
add edx, edx
je 0x40d711
lea ecx, [ecx]
movzx eax, byte [ecx + edi]
xor esi, eax
inc ecx
imul esi, esi, 0x1000193
cmp ecx, edx
jb 0x40d700
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x417220
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x440d84]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push esi
push 0x20
push 0
push 2
push 0
push 0xffffffffffffffff
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [edi + 0x32c], eax
test eax, eax
je 0x4172dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4172c5
push 0
push esi
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x41729b
push ebx
push esi
call dword [sym.imp.USER32.dll_GetLastActivePopup]
push esi
mov ebx, eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x417293
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop ebx
push dword [edi + 0x32c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x32c], 0
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042b9f8
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.0042b9f8
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetLastError_returns__x
lea eax, [ebp - 0x104]
push pe_nt_image_headers32
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
add esp, 0x10
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x420230
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f700
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x440d84]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x24], ebx
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x420276
xor eax, eax
jmp 0x4203db
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42026f
push 0xd
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x4202ae
push 0x43b6f8
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], 0xffffffff
call sub.MSVCR110.dll__CxxThrowException
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
mov dword [ebp - 0x28], edx
test edx, edx
jne 0x4202d3
push 0x43b6f8
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], 0xffffffff
call sub.MSVCR110.dll__CxxThrowException
mov ecx, edx
lea edx, [ecx + 2]
jmp 0x4202e0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4202e0
mov edi, dword [sym.imp.USER32.dll_GetFocus]
sub ecx, edx
sar ecx, 1
xor esi, esi
lea ebx, [ecx + 1]
lea ebx, [ebx]
cmp esi, 6
jge 0x42031c
call edi
push eax
call sub.mfc110u.dll_Ordinal_4825
mov ecx, dword [ebp - 0x24]
cmp eax, dword [ecx + esi*4 + 0x158]
je 0x42031c
inc esi
jmp 0x420300
mov edx, dword [ebp - 0x28]
xor ecx, ecx
test ebx, ebx
jle 0x420342
movzx eax, word [edx + ecx*2]
cmp eax, 0x20
je 0x42033d
cmp eax, 9
je 0x42033d
cmp eax, 0xa
je 0x42033d
cmp eax, 0xd
jne 0x420342
inc ecx
cmp ecx, ebx
jl 0x420325
lea edi, [edx + ecx*2]
cmp esi, 6
jge 0x4203c0
mov eax, edi
sub eax, edx
sar eax, 1
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
cmp eax, ebx
jg 0x4203c0
mov ecx, ebx
sub ecx, eax
mov eax, 5
cmp ecx, eax
cmovb eax, ecx
push eax
push edi
lea eax, [ebp - 0x20]
push 6
push eax
call dword [sym.imp.MSVCR110.dll_wcsncpy_s]
xor eax, eax
mov word [ebp - 0x16], ax
add esp, 0x10
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + esi*4 + 0x158]
call dword [sym.imp.CtrlFactory.dll_public:_void___thiscall_CGEdit::SetWindowTextW_wchar_t_const__]
add edi, 0xa
cmp word [edi], 0x2d
jne 0x4203a8
add edi, 2
mov edx, dword [ebp - 0x28]
inc esi
jmp 0x420345
mov esi, 1
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4203d3
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042b9f8
mov esp, ebp
pop ebp
ret
Function at 0x423480
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fcf5
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x440d84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
mov dword [ebp - 4], 0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x814]
push 0x432c58
mov dword [ebp - 0x81c], 0x400
call dword [sym.imp.mfc110u.dll_Ordinal_286]
push dword [ebp + 8]
mov edi, dword [sym.imp.mfc110u.dll_Ordinal_4754]
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths
lea eax, [ebp - 0x814]
push 0x434f30
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x820], 1
call edi
add esp, 0x10
lea ecx, [ebp - 0x814]
call dword [sym.imp.mfc110u.dll_Ordinal_8565]
lea eax, [ebp - 0x818]
push eax
push 1
push 0
push dword [ebp - 0x814]
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x423589
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x820]
push eax
push 0
push 0
push dword [ebp - 0x818]
call esi
push dword [ebp - 0x818]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4235ed
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str..exe
lea ecx, [ebp - 0x814]
call dword [sym.imp.mfc110u.dll_Ordinal_1683]
lea eax, [ebp - 0x818]
push eax
push 1
push 0
push dword [ebp - 0x814]
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423606
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x820]
push eax
push 0
push 0
push dword [ebp - 0x818]
call esi
push dword [ebp - 0x818]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x423606
lea eax, [ebp - 0x810]
push eax
push 0x43454c
push ebx
call edi
add esp, 0xc
mov esi, 1
jmp 0x423608
xor esi, esi
lea ecx, [ebp - 0x814]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b9f8
mov esp, ebp
pop ebp
ret 8
Function at 0x423640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fd35
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x440d84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
mov dword [ebp - 4], 0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x814]
push 0x432c58
mov dword [ebp - 0x81c], 0x400
call dword [sym.imp.mfc110u.dll_Ordinal_286]
push dword [ebp + 8]
mov edi, dword [sym.imp.mfc110u.dll_Ordinal_4754]
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths
lea eax, [ebp - 0x814]
push 0x434f30
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x820], 1
call edi
add esp, 0x10
lea ecx, [ebp - 0x814]
call dword [sym.imp.mfc110u.dll_Ordinal_8565]
lea eax, [ebp - 0x818]
push eax
push 1
push 0
push dword [ebp - 0x814]
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42374c
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x820]
push eax
push 0
push str.Path
push dword [ebp - 0x818]
call esi
push dword [ebp - 0x818]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4237b3
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str..exe
lea ecx, [ebp - 0x814]
call dword [sym.imp.mfc110u.dll_Ordinal_1683]
lea eax, [ebp - 0x818]
push eax
push 1
push 0
push dword [ebp - 0x814]
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4237cc
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x820]
push eax
push 0
push str.Path
push dword [ebp - 0x818]
call esi
push dword [ebp - 0x818]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4237cc
lea eax, [ebp - 0x810]
push eax
push 0x43454c
push ebx
call edi
add esp, 0xc
mov esi, 1
jmp 0x4237ce
xor esi, esi
lea ecx, [ebp - 0x814]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b9f8
mov esp, ebp
pop ebp
ret 8
Function at 0x425300
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430065
mov eax, dword fs:[0]
push eax
sub esp, 0x624
mov eax, dword [0x440d84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0xc]
push 0x432c58
lea ecx, [ebp - 0x62c]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc110u.dll_Ordinal_286]
lea eax, [ebp - 0x62c]
push eax
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.mfc110u.dll_Ordinal_280]
mov ecx, esi
call fcn.00423640
test eax, eax
jne 0x425384
push dword [ebp + 8]
push str._OLREG__GetSRFromUREG__:_cannot_get_the_install_path_of__s
call fcn.00401440
add esp, 8
xor esi, esi
jmp 0x42545d
movq xmm0, qword [str.ureg.ini]
mov ax, word [0x433c40]
push 0x1f6
mov word [ebp - 0x208], ax
movq qword [ebp - 0x218], xmm0
movq xmm0, qword [0x433c38]
lea eax, [ebp - 0x206]
push 0
push eax
movq qword [ebp - 0x210], xmm0
call sub.MSVCR110.dll_memset
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x62c]
lea eax, [ebp - 0x628]
push str._sOLRSubmission_s
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_swprintf_s]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0x38
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0x432c58
push str.SR_No
push str.Ureg_Info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x420]
push eax
mov ecx, edi
call dword [sym.imp.mfc110u.dll_Ordinal_1516]
mov esi, 1
lea ecx, [ebp - 0x62c]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b9f8
mov esp, ebp
pop ebp
ret 8
Function at 0x428ea0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0
mov esi, ecx
push esi
push 0x428ef0
push 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCR110.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x234], eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x429810
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x440d84]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov eax, 0x432c58
mov edx, ebx
mov dword [ebx + 0x208], 0
mov dword [ebx + 0x20c], 0
mov dword [ebx + 0x210], 0
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x429850
push esi
push edi
push 1
push 0x2e
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
push ebx
call esi
push ebx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push ebx
call esi
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x429884
mov ecx, 8
mov esi, 0x437f74
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [ebx + 0x208]
mov dword [ebx + 0x20c], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
mov dword [ebx + 0x214], 1
call sub.MSVCR110.dll_memset
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
push 3
push 2
push 0
push 0
mov dword [ebp - 0x11c], 6
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
push 2
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
pop edi
test eax, eax
pop esi
mov eax, ebx
je 0x42990f
mov dword [ebx + 0x214], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0042b9f8
mov esp, ebp
pop ebp
ret
Function at 0x429f90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x440d84]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x210], edx
add edx, 0x208
push esi
cmp eax, 0x80000000
jne 0x429fe1
mov esi, str.HKEY_CLASS_ROOT_
mov ecx, edx
sub ecx, esi
lea esp, [esp]
movzx eax, word [esi]
mov word [ecx + esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0x429fd0
jmp 0x42a05f
mov esi, edx
cmp eax, 0x80000001
jne 0x42a002
mov ecx, str.HKEY_CURRENT_USER_
sub esi, ecx
movzx eax, word [ecx]
mov word [esi + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x429ff1
jmp 0x42a05f
cmp eax, 0x80000002
jne 0x42a021
mov ecx, str.HKEY_LOCAL_MACHINE_
sub esi, ecx
movzx eax, word [ecx]
mov word [esi + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x42a010
jmp 0x42a05f
cmp eax, 0x80000003
jne 0x42a041
mov ecx, str.HKEY_USERS_
sub esi, ecx
nop
movzx eax, word [ecx]
mov word [esi + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x42a030
jmp 0x42a05f
mov ecx, str.HKEY_UNKNOWN_
sub esi, ecx
jmp 0x42a050
movzx eax, word [ecx]
mov word [esi + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x42a050
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x42a061
push edi
sub ebx, esi
lea edi, [edx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x42a072
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [ebp - 0x210]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [ebp - 0x20c]
mov ecx, ebx
sub esi, ebx
lea esp, [esp]
movzx eax, word [ecx]
mov word [esi + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x42a0a0
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42a0b1
lea edi, [ebp - 0x20c]
sub edx, esi
add edi, 0xfffffffe
jmp 0x42a0d0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x42a0d0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x20c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
test eax, eax
jne 0x42a113
pop esi
mov eax, 2
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042b9f8
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebx + 0x410], eax
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0042b9f8
mov esp, ebp
pop ebp
ret 0x14
Function at 0x42a660
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
cmp dword [edx + 0x214], 0
je 0x42a675
pop ebp
jmp dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [edx + 0x208]
mov edx, dword [edx + 0x20c]
sub edx, ecx
mov eax, 0x7d8c42b3
imul edx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 8]
cmp edx, eax
jb 0x42a6a4
mov eax, 6
pop ebp
ret 0x18
test edx, edx
je 0x42a6b2
mov eax, edx
imul eax, eax, 0x414
add ecx, eax
mov dword [ebp + 8], edx
pop ebp
jmp fcn.0042a230

Function at 0x42aa40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
cmp dword [edx + 0x214], 0
je 0x42aa5c
mov dword [ebp + 0x10], 0
pop ebp
jmp dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [edx + 0x208]
mov edx, dword [edx + 0x20c]
sub edx, ecx
mov eax, 0x7d8c42b3
imul edx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 8]
cmp edx, eax
jb 0x42aa8b
mov eax, 6
pop ebp
ret 0x18
test edx, edx
je 0x42aa99
mov eax, edx
imul eax, eax, 0x414
add ecx, eax
mov dword [ebp + 8], edx
pop ebp
jmp fcn.0042a6c0
Function at 0x10003370
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x10259988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
push ebp
push esi
push edi
lea eax, [ebx + 0x18]
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.1009ee90
mov ecx, dword [esp + 0x30]
mov esi, dword [ebx + 4]
xor edx, edx
mov dword [esp + 0x28], 0
mov edi, dword [ecx]
mov ecx, dword [ebx]
mov eax, edi
mov dword [esp + 0x10], edi
shr eax, 4
div esi
test ecx, ecx
mov ebp, edx
je 0x100033e3
mov eax, dword [ecx + ebp*4]
test eax, eax
je 0x100033df
cmp dword [eax + 8], edi
je 0x100033d7
mov eax, dword [eax]
test eax, eax
jne 0x100033ca
jmp 0x100033df
test eax, eax
jne 0x10003488
test ecx, ecx
jne 0x1000340e
lea edi, [esi*4]
push edi
call fcn.1024cbd1
mov edx, eax
mov ecx, edi
mov dword [ebx], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 4], esi
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x1000344e
mov eax, dword [ebx + 0x14]
push 0xfc
lea ecx, [ebx + 0x10]
push eax
push ecx
call fcn.1009dfe0
mov ecx, dword [ebx + 0x14]
mov edx, ecx
shl edx, 6
sub edx, ecx
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0xf4]
jl 0x1000344e
inc ecx
mov edx, dword [ebx + 0xc]
mov dword [eax], edx
mov dword [ebx + 0xc], eax
sub eax, 0xfc
dec ecx
jne 0x1000343e
mov edx, dword [ebx + 0xc]
mov ecx, 0x3c
mov eax, dword [edx]
lea edi, [edx + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 8]
inc eax
mov dword [ebx + 8], eax
xor eax, eax
mov dword [edx + 8], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov dword [edx + 4], ebp
mov dword [edx + 8], ecx
mov ecx, dword [ebx]
mov eax, edx
mov ecx, dword [ecx + ebp*4]
mov dword [edx], ecx
mov ecx, dword [ebx]
mov dword [ecx + ebp*4], edx
mov esi, dword [esp + 0x30]
lea edi, [eax + 0xc]
mov ecx, 0x3c
mov dword [esp + 0x28], 0xffffffff
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x14]
call fcn.1009eef0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4