joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405c40
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x5203bb
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x5c5c30]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c5c30]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
xor ebp, ebp
push ebp
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [esp + 0x18]
push eax
push ebp
push str.Progman
mov dword [esp + 0x2c], 0x22c
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea ecx, [esp + 0x20]
push ecx
push ebx
call sub.KERNEL32.dll_Process32FirstW
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call esi
cmp eax, dword [esp + 0x28]
je 0x405cd4
lea edx, [esp + 0x20]
push edx
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x405cb8
jmp 0x405d72
mov eax, dword [esp + 0x38]
push eax
lea esi, [esp + 0x18]
call fcn.004058f0
add esp, 4
mov dword [esp + 0x258], ebp
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x38]
je 0x405d23
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
call fcn.0040c900
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00405a00
add esp, 4
cmp eax, ebp
je 0x405d23
mov ebp, 1
mov dword [esp + 0x258], 0xffffffff
mov esi, dword [esp + 0x14]
add esi, 0xfffffff0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jne 0x405d5c
push str.nRefs___0
push 0
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_8VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004d4350
add esp, 0x14
cmp eax, 1
jne 0x405d5c
int3
or edx, 0xffffffff
lock xadd dword [edi], edx
dec edx
test edx, edx
jg 0x405d72
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.004d1610
add esp, 0x248
ret

Function at 0x407b60
Capabilities:
Download url
Get common file path
Receive data

Disassembly:
sub esp, 0x20c
mov eax, dword [0x5c5c30]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [0x5cafd8]
cmp dword [eax - 0xc], 0
push esi
mov esi, ecx
jg 0x407b9a
xor eax, eax
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004d1610
add esp, 0x20c
ret
push 0x2e
push str.http:__soft.68888898.com_wallerfile_bizhi2.cab
mov ecx, 0x5cb0b4
call fcn.0040c800
lea ecx, [esp + 4]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jbe 0x407b82
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea edx, [esp + 8]
push edx
push str._s_slient_wallerpaper_temp_d.cab
push esi
call fcn.0040db10
mov eax, dword [0x5cb0b4]
add esp, 0x10
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov esi, dword [esi]
mov ecx, dword [0x5cb0b4]
push 0
push 0
push esi
push ecx
push 0
call sub.urlmon.dll_URLDownloadToFileW
mov ecx, dword [esp + 0x20c]
neg eax
sbb eax, eax
pop esi
xor ecx, esp
add eax, 1
call fcn.004d1610
add esp, 0x20c
ret
Function at 0x40a030
Capabilities:
Delete file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x51fa48
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5c5c30]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 0x20], 0
mov esi, dword [esp + 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ebx, 0xffffffff
cmp eax, ebx
je 0x40a09e
test al, 0x10
je 0x40a097
push ecx
lea eax, [esi - 0x10]
mov dword [esp + 0x18], esp
mov edi, esp
push eax
call fcn.0040c900
mov ecx, dword [esp + 0x30]
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0040a100
jmp 0x40a09e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esi, 0xfffffff0
lea edi, [esi + 0xc]
mov dword [esp + 0x20], ebx
cmp dword [edi], 0
jne 0x40a0cb
push str.nRefs___0
push 0
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_8VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004d4350
add esp, 0x14
cmp eax, 1
jne 0x40a0cb
int3
lock xadd dword [edi], ebx
dec ebx
test ebx, ebx
jg 0x40a0de
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8
Function at 0x40a4c0
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file

Disassembly:
push ecx
push 0
push edi
call fcn.004d8ec0
add esp, 8
cmp eax, 0xffffffff
je 0x40a4d8
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp]
push eax
push 0x5a0be0
push 1
push 0
push 0x5509b0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40a561
mov eax, dword [esp]
mov edx, dword [esp + 8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a51d
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push 0
push esi
push eax
call edx
mov eax, dword [esp]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push 0x5a0c10
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x40a556
call dword [0x5c6fe4]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 1
push edi
push eax
call edx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
pop ecx
ret 4
Function at 0x40a8e0
Capabilities:
Delete service

Disassembly:
push 0xffffffffffffffff
push 0x520b68
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5c5c30]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov dword [esp + 0x1c], 0
mov ebx, dword [esp + 0x24]
push ecx
lea esi, [ebx - 0x10]
mov dword [esp + 0x14], esp
mov edi, esp
push esi
call fcn.0040c900
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0040a850
add esp, 4
test eax, eax
jne 0x40a990
lea edi, [esi + 0xc]
mov dword [esp + 0x1c], 0xffffffff
cmp dword [edi], eax
jne 0x40a960
push str.nRefs___0
push eax
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_8VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004d4350
add esp, 0x14
cmp eax, 1
jne 0x40a960
int3
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40a976
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
push ecx
mov dword [esp + 0x14], esp
mov edi, esp
push esi
call fcn.0040c900
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0040aa40
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x40a9d9
push 0x10020
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x40a9f9
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [esp + 0x24]
call fcn.0040ad40
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
call esi
push edi
call esi
test ebx, ebx
je 0x40a9d9
lea ecx, [esp + 0x24]
call fcn.0040ad40
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x40aa40
Capabilities:
Check for time delay via gettickcount
Query service status
Stop service

Disassembly:
sub esp, 0x20
push esi
push edi
push 0x20000000
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
mov dword [esp + 8], edi
jne 0x40aaaa
mov esi, dword [esp + 0x2c]
add esi, 0xfffffff0
cmp dword [esi + 0xc], eax
lea edi, [esi + 0xc]
jne 0x40aa8a
push str.nRefs___0
push eax
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_8VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004d4350
add esp, 0x14
cmp eax, 1
jne 0x40aa8a
int3
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40aaa0
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
pop edi
xor eax, eax
pop esi
add esp, 0x20
ret 4
mov ecx, dword [esp + 0x2c]
push 0x34
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x40aad8
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [esp + 0x2c]
call fcn.0040ad40
pop edi
xor eax, eax
pop esi
add esp, 0x20
ret 4
lea edx, [esp + 0xc]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x40ab07
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
lea ecx, [esp + 0x2c]
call fcn.0040ad40
pop edi
xor eax, eax
pop esi
add esp, 0x20
ret 4
cmp dword [esp + 0x10], 4
push ebx
push ebp
jne 0x40aba5
lea eax, [esp + 0x14]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x40ab47
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
lea ecx, [esp + 0x34]
call fcn.0040ad40
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x20
ret 4
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
lea ecx, [esp + 0x14]
push ecx
push esi
mov edi, eax
xor ebp, ebp
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp eax, 1
jne 0x40aba1
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x18], 1
je 0x40abc9
call ebx
sub eax, edi
add ebp, eax
cmp ebp, 0x4e20
ja 0x40abd9
call ebx
push 1
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp eax, 1
je 0x40ab64
mov edi, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
lea ecx, [esp + 0x34]
call fcn.0040ad40
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x20
ret 4
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x40abaf
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
mov edx, dword [esp + 0x10]
push edx
call esi
lea ecx, [esp + 0x34]
call fcn.0040ad40
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x20
ret 4
Function at 0x40fe40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x520026
mov eax, dword fs:[0]
push eax
sub esp, 0x200
push ebx
push esi
push edi
mov eax, dword [0x5c5c30]
xor eax, esp
push eax
lea eax, [esp + 0x210]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
cmp ebx, 0x464
jne 0x40feda
cmp dword [edi + 0xa98], 3
je 0x40fecd
lea esi, [esp + 0x14]
call fcn.00410b30
mov ecx, esi
mov dword [esp + 0x218], 0
call fcn.004538d0
cmp eax, 1
jne 0x40feb4
mov eax, dword [edi]
mov edx, dword [eax + 0x158]
mov ecx, edi
call edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x218], 0xffffffff
call fcn.00410cc0
jmp 0x40fff4
mov eax, dword [edi]
mov edx, dword [eax + 0x158]
jmp 0x40fff2
cmp ebx, 0x465
jne 0x40feef
mov eax, dword [edi]
mov edx, dword [eax + 0x164]
jmp 0x40fff2
cmp ebx, 0x466
jne 0x40fff4
mov esi, 1
cmp dword [ebp + 0xc], esi
jne 0x40ffea
cmp dword [0x5cb0bc], 0
je 0x40ff7c
lea ecx, [esp + 0x10]
call fcn.0040ac00
mov dword [esp + 0x218], esi
mov eax, dword [0x5cafd8]
push str.Wallpaper.exe
push eax
lea ecx, [esp + 0x18]
push 0x5a8258
push ecx
call fcn.0040db10
mov edx, dword [esp + 0x20]
add esp, 0x10
push 5
push 0
push str._setup
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [edi]
mov edx, dword [eax + 0x158]
mov ecx, edi
call edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x218], 0xffffffff
call fcn.0040ad40
jmp 0x40fff4
lea ebx, [edi + 0x314]
mov ecx, ebx
mov dword [edi + 0xa98], 3
call fcn.00433240
test eax, eax
je 0x40ffa0
push 0
mov ecx, ebx
call fcn.00450e60
call fcn.0041aa40
xor eax, eax
mov dword [edi + 0x168], esi
mov dword [edi + 0x1c4], esi
push eax
mov dword [edi + 0x180], esi
mov dword [edi + 0x170], eax
push eax
mov dword [edi + 0x1dc], esi
mov dword [edi + 0x1cc], eax
push 0x465
mov ecx, edi
mov dword [edi + 0x118], esi
mov dword [edi + 0xa64], esi
call fcn.00433360
mov ebx, dword [ebp + 8]
jmp 0x40fff4
mov eax, dword [edi]
mov edx, dword [eax + 0x15c]
call edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push ebx
mov ecx, edi
call fcn.00443430
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x411de0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e190
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5c5c30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
xor edi, edi
push 0x40
mov word [esi + 0xaa], di
mov byte [esi + 0xa8], 1
mov word [esi + 0x324], di
mov dword [ebp - 4], edi
call fcn.004263b0
add esp, 4
mov dword [esi + 0x94], eax
jmp 0x411e68
mov eax, dword [esi + 0x94]
mov dword [esi + 0x90], eax
mov dword [esi + 0x2b8], edi
mov dword [esi + 0x2bc], edi
mov dword [esi + 0x98], 0x67452301
mov dword [esi + 0x9c], 0xefcdab89
mov dword [esi + 0xa0], 0x98badcfe
mov dword [esi + 0xa4], 0x10325476
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x412ae0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x520937
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5c5c30]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0x5acb5c
mov dword [edi + 8], 0x5acb64
mov dword [edi + 0x5c], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 0xc]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.00413ae0
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
call fcn.00414210
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x5cb180]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x414210
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x51e3fb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5c5c30]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0050bfa0
push 0x1c
push str.C:Program_Files__x86_Microsoft_Visual_Studio_8VCinclude_streambuf
mov dword [esp + 0x24], 0
call fcn.0050ab30
push eax
push 4
call fcn.0050aa40
mov edi, eax
add esp, 0x10
test edi, edi
je 0x41429d
call fcn.0050b420
mov dword [edi], eax
call fcn.0050b220
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0050abe0
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x414292
add eax, 1
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0050ac20
jmp 0x41429f
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x414ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x520b68
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5c5c30]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], 0
mov eax, dword [esi + 0xc]
cmp dword [eax - 0xc], 0
jg 0x414cec
push 0x9e
push str...XXUILib_FILES_src_otherRegistry.cpp
call fcn.0045b590
test eax, eax
je 0x414cec
int3
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
lea ecx, [esp + 0xc]
push ecx
push 1
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov dword [esi], eax
je 0x414d57
mov dword [esp + 0x1c], 0xffffffff
mov esi, dword [esp + 0x24]
add esi, 0xfffffff0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jne 0x414d3f
push str.nRefs___0
push 0
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_8VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004d4350
add esp, 0x14
cmp eax, 1
jne 0x414d3f
int3
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x414db4
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x414db4
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0xc]
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x28], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0xc]
push ecx
mov dword [esi], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi], 0
lea ecx, [esp + 0x24]
jne 0x414daf
mov esi, dword [esp + 0x10]
call fcn.0040ad40
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4
call fcn.0040ad40
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4
Function at 0x414dd0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x51ff70
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5c5c30]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
mov eax, dword [0x5c5c30]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], 0
mov eax, 1
mov dword [esp + 0x230], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x1c], 0xff
cmp dword [eax - 0xc], 0
jg 0x414e4d
push 0x195
push str...XXUILib_FILES_src_otherRegistry.cpp
call fcn.0045b590
test eax, eax
je 0x414e4d
int3
mov ebp, dword [esp + 0x238]
push ecx
lea ecx, [ebp - 0x10]
mov dword [esp + 0x24], esp
mov ebx, esp
push ecx
call fcn.0040c900
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [ebx], eax
call fcn.00414ca0
cmp eax, 1
mov dword [esp + 0x18], eax
je 0x414e9e
cmp eax, 2
je 0x414e9e
mov edx, dword [esp + 0x23c]
add edx, 0xfffffff0
push edx
call fcn.0040c900
add esp, 4
add eax, 0x10
mov dword [edi], eax
jmp 0x414f1e
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov dword [esi], eax
je 0x414ed8
mov eax, dword [esp + 0x23c]
add eax, 0xfffffff0
push eax
call fcn.0040c900
add esp, 4
add eax, 0x10
mov dword [edi], eax
jmp 0x414f1e
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [esi], eax
je 0x414eff
xor esi, esi
jmp 0x414f03
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x414ebe
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.0040ac70
lea ecx, [esp + 0x238]
call fcn.0040ad40
lea ecx, [esp + 0x23c]
call fcn.0040ad40
mov eax, edi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004d1610
add esp, 0x224
ret 8
Function at 0x414f70
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x51e3c8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5c5c30]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, edx
mov dword [esp + 0x28], 0
mov eax, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc]
cmp dword [eax - 0xc], 0
jg 0x414fcc
push 0x1b3
push str...XXUILib_FILES_src_otherRegistry.cpp
call fcn.0045b590
test eax, eax
je 0x414fcc
int3
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x414ff8
mov dword [esp + 0x28], 0xffffffff
mov esi, dword [esp + 0x30]
jmp 0x415038
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x415021
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
add esi, 0xfffffff0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jne 0x415062
push str.nRefs___0
push 0
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_8VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004d4350
add esp, 0x14
cmp eax, 1
jne 0x415062
int3
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x415078
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 4

Function at 0x4151a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x324
mov eax, dword [0x5c5c30]
xor eax, esp
mov dword [esp + 0x320], eax
mov eax, dword [esp + 0x328]
mov eax, dword [eax]
push edi
push eax
push 0x190
lea eax, [esp + 0xc]
push eax
push 0x5a8204
push str.name
push 0x5aa4d8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, eax
lea eax, [esp + 4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4151e7
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0040c800
mov ecx, dword [esp + 0x324]
mov eax, edi
pop edi
xor ecx, esp
call fcn.004d1610
add esp, 0x324
ret 4