joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40df65
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ac
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov ecx, ebx
call fcn.0040da05
mov dword [0x4a2e38], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.GlobalGX__08x
lea ecx, [esp + 0x14]
call fcn.004113d1
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x40dfa6
mov eax, dword [eax + 4]
jmp 0x40dfa9
add eax, 4
push eax
xor edi, edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push 1
lea esi, [esp + 0x14]
call fcn.00404960
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.0040d97d
mov dword [esp], 0x190
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.004667e0
add esp, 0xc
lea eax, [esp + 0x28]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
push 3
call dword [sym.imp.libcurl32.dll_curl_global_init]
cmp dword [0x4a1e58], 2
pop ecx
mov byte [0x4a3070], 1
jne 0x40e0f4
mov eax, dword [0x4a1e60]
push str..orp
push dword [eax + 4]
call fcn.00411384
test eax, eax
jne 0x40e0cb
mov eax, dword [0x4a1e60]
push str..orp2
push dword [eax + 4]
call fcn.00411384
test eax, eax
jne 0x40e0cb
mov eax, dword [0x4a1e60]
push str..oml
push dword [eax + 4]
call fcn.00411384
test eax, eax
mov eax, dword [0x4a1e60]
je 0x40e06b
push dword [eax + 4]
call fcn.0040ddaa
jmp 0x40e0fa
mov eax, dword [eax + 4]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, edi
je 0x40e08b
push str._clearRules
push eax
call esi
test eax, eax
jne 0x40e08b
call fcn.0040dea4
jmp 0x40e0fb
mov eax, dword [0x4a1e60]
mov eax, dword [eax + 4]
cmp eax, edi
je 0x40e0ab
push str._fci
push eax
call esi
test eax, eax
jne 0x40e0ab
push ebx
call fcn.0040dcd0
jmp 0x40e0fa
mov eax, dword [0x4a1e60]
mov eax, dword [eax + 4]
cmp eax, edi
je 0x40e0fb
push str._hardwareCustom
push eax
call esi
test eax, eax
jne 0x40e0fb
push ebx
call fcn.0040dd3c
jmp 0x40e0fa
mov eax, dword [0x4a1e60]
push dword [eax + 4]
xor ecx, ecx
call fcn.0040397b
pop ecx
test eax, eax
je 0x40e0fb
push 0x40
push 0x48627c
push 0x486acc
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x40e0fb
push ebx
call fcn.0040dc63
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40e16f
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x480eca
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x49e0b0]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [0x49e0b0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.00410030
and dword [esp + 0x38], 0
cmp dword [esp + 0x20], 0
jne 0x40e1ea
mov byte [esp + 0xb], 0
push 0
push 1
lea ecx, [esp + 0x14]
call fcn.00404863
mov al, byte [esp + 0xb]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00464d54
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [esp + 0x10]
call fcn.004017b3
pop ecx
mov byte [esp + 0xb], al
jmp 0x40e1be
Function at 0x40e3cb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x480e9a
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x49e0b0]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x49e0b0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 7
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
je 0x40e41c
xor al, al
jmp 0x40e5e2
test byte [0x4a3af4], 1
jne 0x40e44c
or dword [0x4a3af4], 1
and dword [esp + 0x88], 0
call fcn.0040ecf7
push 0x481fa0
call fcn.0046575c
or dword [esp + 0x8c], 0xffffffff
pop ecx
push ebx
lea eax, [esp + 0x14]
push eax
call fcn.0040ee44
mov eax, dword [0x4a3b10]
mov dword [esp + 0x1c], eax
mov eax, dword [0x4a3af8]
lea edi, [esp + 0x18]
lea esi, [esp + 0x10]
mov dword [esp + 0x18], eax
call fcn.00412618
test al, al
je 0x40e5ca
xor esi, esi
push esi
push esi
lea eax, [esp + 0x2c]
call fcn.0041ebf1
mov dword [esp + 0x88], 3
push esi
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0xf
call fcn.00404b61
mov byte [esp + 0x88], 4
mov dword [esp + 0x10], esi
cmp dword [ebx + 0x14], esi
jbe 0x40e548
mov edi, dword [esp + 0x10]
mov eax, ebx
call fcn.0040ecb3
cmp byte [eax], 0x27
jne 0x40e4d4
mov byte [esp + 0x18], 0x22
jmp 0x40e4e1
mov eax, ebx
call fcn.0040ecb3
mov al, byte [eax]
mov byte [esp + 0x18], al
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x5c]
call fcn.00420831
mov esi, dword [eax]
mov edi, dword [eax + 4]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x5c]
call fcn.00420812
push dword [eax + 4]
push dword [eax]
push edi
push esi
call fcn.0040f1dd
add esp, 0x10
push dword [esp + 0x18]
mov edi, eax
push 1
lea esi, [esp + 0x64]
call fcn.0040f14b
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x48]
mov ecx, esi
call fcn.00420812
call fcn.0040f5ad
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx + 0x14]
jb 0x40e4bd
xor esi, esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x60]
call fcn.004017b3
pop ecx
test al, al
je 0x40e5c6
cmp byte [esp + 0x2c], 7
jne 0x40e5c6
sub esp, 0x18
mov eax, esp
mov dword [esp + 0x30], esp
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.0041dc8b
push ebx
mov byte [esp + 0xa4], 5
call fcn.0040ed58
mov edi, eax
mov byte [esp + 0xa0], 4
call fcn.0041dea7
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x24]
call fcn.0040e1fb
pop ecx
pop ecx
mov bl, al
push esi
push 1
lea ecx, [esp + 0x64]
call fcn.00404863
or dword [esp + 0x88], 0xffffffff
lea esi, [esp + 0x24]
call fcn.0041de24
mov al, bl
jmp 0x40e5e2
xor bl, bl
jmp 0x40e5a5
lea esi, [esp + 0x10]
call fcn.004212e4
add eax, 0x20
push eax
push dword [esp + 0x24]
call fcn.0040e1fb
pop ecx
pop ecx
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00464d54
mov esp, ebp
pop ebp
ret
Function at 0x40e635
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x42c
lea ebp, [esp - 4]
mov eax, dword [0x49e0b0]
xor eax, ebp
mov dword [ebp + 0x42c], eax
push 0x44
mov eax, 0x47ef41
call fcn.00466321
mov ebx, dword [ebp + 0x438]
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x14], 0xc8
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], esi
jbe 0x40e688
push 0x485f3c
mov esi, ebx
call fcn.00404522
mov eax, ebx
jmp 0x40e77a
xor eax, eax
push 0x40e
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push esi
push eax
call fcn.004667e0
add esp, 0xc
push 0x208
lea eax, [ebp + 0x1c]
push eax
mov ebx, 0x487c44
push ebx
call fcn.004103aa
lea eax, [ebp - 0x34]
push edi
push eax
call fcn.0040126f
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x40e6cb
mov eax, dword [eax + 4]
jmp 0x40e6ce
add eax, 4
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
lea eax, [ebp + 0x1c]
push eax
call edi
push esi
push 1
lea esi, [ebp - 0x34]
call fcn.00404960
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40e76c
lea eax, [ebp]
push 2
push eax
call fcn.0040e603
pop ecx
pop ecx
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebp + 0x14], esi
je 0x40e75c
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x40e717
lea eax, [ebp + 4]
push 0x208
push eax
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push ebx
lea eax, [ebp + 0x1c]
push eax
call edi
push dword [ebp - 0x10]
lea eax, [ebp - 0x50]
push eax
call fcn.0040126f
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x40e747
mov eax, dword [eax + 4]
jmp 0x40e74a
add eax, 4
push eax
lea eax, [ebp + 0x1c]
push eax
call edi
push esi
push 1
lea esi, [ebp - 0x50]
call fcn.00404960
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea esi, [ebp]
call fcn.00404960
mov esi, dword [ebp - 0x14]
lea eax, [ebp + 0x1c]
push eax
call fcn.00404522
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 + 0x42c]
xor ecx, ebp
call fcn.00464d54
add ebp, 0x430
leave
ret
Function at 0x40fc8e
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa94
mov eax, dword [0x49e0b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x1c]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa88], ecx
mov ecx, dword [ebp + 0x18]
push edi
mov dword [ebp - 0xa84], eax
mov dword [ebp - 0xa80], ecx
mov dword [ebp - 0xa8c], edx
test esi, esi
je 0x40feb3
test eax, eax
jne 0x40fcdf
test ecx, ecx
je 0x40feb3
movzx eax, word [esi + 2]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp ax, 0x3a
je 0x40fd35
cmp ax, 0x5c
je 0x40fd35
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x826]
push eax
call fcn.004667e0
add esp, 0xc
lea eax, [ebp - 0x828]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
lea eax, [ebp - 0x828]
push eax
call edi
lea esi, [ebp - 0x828]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40feb3
test al, 0x10
je 0x40feb3
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [ebp - 0x418]
push eax
call ebx
push 0x487ce4
lea eax, [ebp - 0x418]
push eax
call edi
lea eax, [ebp - 0xa78]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xa90], eax
cmp eax, 0xffffffff
je 0x40feb3
mov dword [ebp - 0xa7c], 1
push 0x486e00
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x40fe78
push 0x487ce8
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x40fe78
cmp dword [ebp - 0xa78], 0xffffffff
je 0x40fe78
push esi
lea eax, [ebp - 0x210]
push eax
call ebx
lea eax, [ebp - 0xa4c]
push eax
lea eax, [ebp - 0x210]
push eax
call edi
test byte [ebp - 0xa78], 0x10
je 0x40fe58
cmp dword [ebp - 0xa80], 0
je 0x40fe1c
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa80]
test eax, eax
je 0x40fe95
cmp dword [ebp + 0xc], 0
je 0x40fe78
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push dword [ebp - 0xa80]
push dword [ebp - 0xa88]
push dword [ebp - 0xa84]
push dword [ebp + 0xc]
push eax
call fcn.0040fc8e
push 2
pop ecx
cmp eax, ecx
jne 0x40fe78
mov dword [ebp - 0xa7c], ecx
jmp 0x40fe9f
cmp dword [ebp - 0xa84], 0
je 0x40fe78
push dword [ebp - 0xa88]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa84]
test eax, eax
je 0x40fe95
lea eax, [ebp - 0xa78]
push eax
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40fd98
jmp 0x40fe9f
mov dword [ebp - 0xa7c], 2
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0xa7c]
jmp 0x40feb5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00464d54
leave
ret 0x18
Function at 0x40fec6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x49e0b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
cmp edi, ebx
je 0x40ffc0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x40ffc0
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.004667e0
add esp, 0xc
lea esi, [ebp - 0x210]
mov ecx, edi
call fcn.004106e5
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40ff3d
shr eax, 4
not eax
and eax, 1
jmp 0x40ffc2
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea esi, [ebp - 0x418]
call fcn.0040ffd0
test eax, eax
je 0x40ffc0
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x10000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x40ffa2
mov dword [ebp - 0x41c], 1
cmp eax, 0xffffffff
jne 0x40ffa8
mov dword [ebp - 0x41c], ebx
lea eax, [ebp - 0x420]
call fcn.0040b917
xor eax, eax
cmp byte [ebp - 0x41c], bl
setne al
jmp 0x40ffc2
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00464d54
leave
ret
Function at 0x410467
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x410490
call fcn.0040fec6
test eax, eax
jne 0x410490
pop edi
pop esi
pop ebx
leave
ret
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xc], esi
cmp esi, ebx
je 0x4104b0
cmp esi, 0xffffffff
jne 0x4104c8
cmp dword [ebp - 8], ebx
jne 0x4104bc
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0xc]
call fcn.0040b917
mov eax, ebx
jmp 0x41048b
push ebx
lea eax, [ebp - 4]
push eax
push 2
push 0x48686c
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4104ed
cmp dword [ebp - 4], 2
jne 0x4104ed
xor ebx, ebx
inc ebx
jmp 0x4104bc
cmp dword [ebp - 8], ebx
jne 0x4104bc
or dword [ebp - 0xc], 0xffffffff
cmp esi, 0xffffffff
je 0x4104b5
cmp esi, ebx
je 0x4104b5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4104b5

Function at 0x41066b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x49e0b0]
xor eax, ebp
mov dword [ebp + 0x84], eax
push 0x103
lea eax, [ebp - 0x7f]
push 0
push eax
mov byte [ebp - 0x80], 0
call fcn.004667e0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x80]
push eax
call fcn.004105d4
mov eax, 0x179b06cc
xor ecx, ecx
push esi
movzx edx, byte [ebp + ecx - 0x80]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x4a05f0]
inc ecx
cmp ecx, 0x24
jl 0x4106b3
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
not eax
pop esi
call fcn.00464d54
add ebp, 0x88
leave
ret

Function at 0x41093c
Capabilities:
Write clipboard data

Disassembly:
push ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ebx, eax
test ebx, ebx
je 0x41099c
test edi, edi
je 0x41099c
push esi
push edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x41099b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x410994
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x410994
inc ebx
jmp 0x41099b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, ebx
pop ebx
ret
Function at 0x410d67
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x49e0b0]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.00410e5f
push esi
test eax, eax
je 0x410df4
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004667e0
add esp, 0xc
push dword [ebp + 8]
mov dword [esp + 0xc], 0x428
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x410deb
cmp esi, 0xffffffff
je 0x410deb
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x410de7
push edi
lea eax, [esp + 0xc]
push eax
call fcn.00410e5f
test eax, eax
je 0x410deb
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x410dcd
lea eax, [esp + 4]
call fcn.0040b917
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.00464d54
mov esp, ebp
pop ebp
ret 4

Function at 0x410f1b
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x410fc2
cmp dword [ebp + 0xc], ebx
je 0x410fc2
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x410fc1
lea eax, [esi + esi]
push edi
push eax
call fcn.00466673
mov edi, eax
pop ecx
cmp edi, ebx
je 0x410fc0
push esi
push ebx
push edi
call fcn.004667e0
add esp, 0xc
push edi
push esi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x410fb9
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x487d0c
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x410fb9
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
push 0x104
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
inc ebx
push edi
call fcn.0046673d
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8

Function at 0x411528
Capabilities:
Set registry value

Disassembly:
push ecx
mov eax, dword [0x49e0b0]
xor eax, esp
mov dword [esp], eax
push ebx
mov ebx, dword [esp + 0xc]
test esi, esi
je 0x411545
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x411547
xor eax, eax
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push ebx
push edi
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [esp + 4]
neg eax
sbb eax, eax
pop ebx
xor ecx, esp
inc eax
call fcn.00464d54
pop ecx
ret 4
Function at 0x4115b2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x49e0b0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x20
mov eax, 0x47e607
call fcn.00466321
mov eax, dword [ebp + 0x80c]
mov ebx, dword [ebp + 0x810]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x814]
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], ebx
mov word [esi + 4], ax
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x14], edi
cmp ebx, edi
je 0x4116c4
push 0x7fe
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.004667e0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], edi
push ebx
push dword [ebp - 0x20]
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x18], edi
call ebx
cmp dword [ebp - 0x18], 1
je 0x41165e
cmp dword [ebp - 0x18], 2
jne 0x4116c4
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x4116c4
cmp eax, 0x800
jbe 0x411692
add eax, 2
push eax
call fcn.00466673
mov ecx, dword [ebp - 0x10]
add ecx, 2
push ecx
push edi
push eax
mov dword [ebp - 0x14], eax
call fcn.004667e0
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
jmp 0x41169a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call ebx
mov ebx, dword [ebp - 0x14]
mov eax, ebx
cmp ebx, edi
jne 0x4116b2
lea eax, [ebp]
push eax
push esi
call fcn.00404939
cmp ebx, edi
je 0x4116c4
push ebx
call fcn.0046673d
pop ecx
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 + 0x800]
xor ecx, ebp
call fcn.00464d54
add ebp, 0x804
leave
ret
Function at 0x4116e9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47eeba
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.00470a40
mov eax, dword [0x49e0b0]
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 eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x2028], eax
mov dword [ebp - 0x202c], edi
call fcn.004046fa
xor ebx, ebx
inc ebx
lea esi, [ebp - 0x2024]
mov dword [ebp - 0x202c], ebx
call fcn.0040fa97
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2020], edi
je 0x4117fb
xor eax, eax
push 0x1ffe
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2012]
push edi
push eax
mov dword [ebp - 0x2018], edi
call fcn.004667e0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push edi
jmp 0x4117e5
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
push eax
lea esi, [ebp - 0x2048]
call fcn.00404522
mov eax, esi
mov byte [ebp - 4], 2
push eax
mov eax, dword [ebp - 0x2028]
call fcn.00412101
push edi
push 1
mov byte [ebp - 4], 1
call fcn.00404960
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push dword [ebp - 0x2018]
push dword [ebp - 0x2020]
mov dword [ebp - 0x201c], 0x1000
call ebx
test eax, eax
je 0x411797
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2020], edi
je 0x411819
push dword [ebp - 0x2020]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2028]
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.00464d54
leave
ret

Function at 0x411839
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push 1
push esi
push esi
push 0x486008
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
cmp edi, esi
jne 0x41188a
push 4
push dword [ebp + 8]
push 4
push esi
push str.ruleCleaned
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x411890
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x49e0b0]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push ebx
lea eax, [ebp - 0x80]
push eax
push 0x23
xor ebx, ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x4118fe
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.004667e0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4118fe
push dword [ebp + 0x198]
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
inc ebx
cmp dword [ebp - 0x80], 0
je 0x41190d
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp + 0x18c]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00464d54
add ebp, 0x190
leave
ret 4