joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7858d968
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call sym.MSVCR90.dll__encoded_null
and dword [ebp - 4], 0
cmp dword [0x785bc204], 0
mov ebx, eax
jne 0x7858da19
push 0x78522e98
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x7858daca
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x78522e8c
push edi
call esi
test eax, eax
je 0x7858daca
push eax
call sym.MSVCR90.dll__encode_pointer
mov dword [esp], 0x78522e7c
push edi
mov dword [0x785bc204], eax
call esi
push eax
call sym.MSVCR90.dll__encode_pointer
mov dword [esp], 0x78522e68
push edi
mov dword [0x785bc208], eax
call esi
push eax
call sym.MSVCR90.dll__encode_pointer
mov dword [esp], 0x78522e4c
push edi
mov dword [0x785bc20c], eax
call esi
push eax
call sym.MSVCR90.dll__encode_pointer
pop ecx
mov dword [0x785bc214], eax
test eax, eax
je 0x7858da19
push 0x78522e34
push edi
call esi
push eax
call sym.MSVCR90.dll__encode_pointer
pop ecx
mov dword [0x785bc210], eax
mov eax, dword [0x785bc210]
cmp eax, ebx
je 0x7858da71
cmp dword [0x785bc214], ebx
je 0x7858da71
push eax
call sym.MSVCR90.dll__decode_pointer
push dword [0x785bc214]
mov esi, eax
call sym.MSVCR90.dll__decode_pointer
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x7858da71
test edi, edi
je 0x7858da71
call esi
test eax, eax
je 0x7858da68
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x7858da68
test byte [ebp - 0xc], 1
jne 0x7858da71
or dword [ebp + 0x10], 0x200000
jmp 0x7858daaa
mov eax, dword [0x785bc208]
cmp eax, ebx
je 0x7858daaa
push eax
call sym.MSVCR90.dll__decode_pointer
pop ecx
test eax, eax
je 0x7858daaa
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x7858daaa
mov eax, dword [0x785bc20c]
cmp eax, ebx
je 0x7858daaa
push eax
call sym.MSVCR90.dll__decode_pointer
pop ecx
test eax, eax
je 0x7858daaa
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x785bc204]
call sym.MSVCR90.dll__decode_pointer
pop ecx
test eax, eax
je 0x7858daca
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x7858dacc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x7858dbbe
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x785ba2a8]
jne 0x7858dbc8
repz ret
jmp sym.MSVCR90.dll___report_gsfailure
Function at 0x785974f8
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call sym.MSVCR90.dll__encoded_null
and dword [ebp - 4], 0
cmp dword [0x785bc600], 0
mov ebx, eax
jne 0x785975a9
push 0x7852476c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x7859765a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x78524760
push edi
call esi
test eax, eax
je 0x7859765a
push eax
call sym.MSVCR90.dll__encode_pointer
mov dword [esp], 0x78522e7c
push edi
mov dword [0x785bc600], eax
call esi
push eax
call sym.MSVCR90.dll__encode_pointer
mov dword [esp], 0x78522e68
push edi
mov dword [0x785bc604], eax
call esi
push eax
call sym.MSVCR90.dll__encode_pointer
mov dword [esp], 0x78524744
push edi
mov dword [0x785bc608], eax
call esi
push eax
call sym.MSVCR90.dll__encode_pointer
pop ecx
mov dword [0x785bc610], eax
test eax, eax
je 0x785975a9
push 0x78522e34
push edi
call esi
push eax
call sym.MSVCR90.dll__encode_pointer
pop ecx
mov dword [0x785bc60c], eax
mov eax, dword [0x785bc60c]
cmp eax, ebx
je 0x78597601
cmp dword [0x785bc610], ebx
je 0x78597601
push eax
call sym.MSVCR90.dll__decode_pointer
push dword [0x785bc610]
mov esi, eax
call sym.MSVCR90.dll__decode_pointer
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x78597601
test edi, edi
je 0x78597601
call esi
test eax, eax
je 0x785975f8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x785975f8
test byte [ebp - 0xc], 1
jne 0x78597601
or dword [ebp + 0x10], 0x200000
jmp 0x7859763a
mov eax, dword [0x785bc604]
cmp eax, ebx
je 0x7859763a
push eax
call sym.MSVCR90.dll__decode_pointer
pop ecx
test eax, eax
je 0x7859763a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x7859763a
mov eax, dword [0x785bc608]
cmp eax, ebx
je 0x7859763a
push eax
call sym.MSVCR90.dll__decode_pointer
pop ecx
test eax, eax
je 0x7859763a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x785bc600]
call sym.MSVCR90.dll__decode_pointer
pop ecx
test eax, eax
je 0x7859765a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x7859765c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401a20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x401a47
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov esi, esp
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x401a93
mov eax, dword [ebp - 8]
jmp 0x401af0
cmp dword [ebp - 0x10], 1
je 0x401aa6
cmp dword [ebp - 0x10], 2
je 0x401aa6
mov eax, 0xd
jmp 0x401af0
cmp dword [ebp + 0xc], 0
je 0x401ae4
cmp dword [ebp - 0x1c], 0
je 0x401adc
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x401ad3
mov edx, dword [ebp - 0x1c]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x401ada
mov eax, 0xd
jmp 0x401af0
jmp 0x401ae4
mov edx, dword [ebp + 0xc]
mov word [edx], 0
mov eax, dword [ebp - 0x1c]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x401b14]
call fcn.004c39f9
pop eax
pop edx
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.004c39d6
mov esp, ebp
pop ebp
ret 0xc
Function at 0x402da0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7ec0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
push edi
push ecx
lea edi, [ebp - 0x50]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4f3280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0xac], 0
lea ecx, [ebp - 0x38]
call fcn.00403420
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x74
push edx
mov eax, dword [ebp + 8]
add eax, 0x58
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.00402330
add esp, 0x14
test eax, eax
jne 0x402e62
mov ecx, dword [ebp + 8]
add ecx, 0x20
call fcn.004035c0
push eax
push str.CheckExeExist_GetRegString_fail_name_s
mov esi, 0x4f8948
call fcn.0048a930
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004034c0
mov eax, dword [ebp - 0x4c]
jmp 0x402f4d
lea ecx, [ebp - 0x38]
call fcn.004035c0
push eax
lea ecx, [ebp - 0x44]
call fcn.00402fc0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
add ecx, 0x90
call fcn.00403400
test eax, eax
je 0x402ece
lea ecx, [ebp - 0x44]
call fcn.004031c0
mov esi, esp
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
cmp esi, esp
call fcn.004c39d6
push 0xffffffffffffffff
lea ecx, [ebp - 0x44]
call fcn.00403250
lea ecx, [ebp - 0x44]
push ecx
call fcn.004022c0
add esp, 4
mov ecx, dword [ebp + 8]
add ecx, 0x90
call fcn.004035c0
push eax
lea ecx, [ebp - 0x44]
call fcn.004030b0
lea ecx, [ebp - 0x44]
call fcn.004636c0
mov esi, esp
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp esi, esp
call fcn.004c39d6
test eax, eax
je 0x402efe
mov dword [ebp - 0x18], 1
mov edx, dword [ebp + 8]
mov dword [edx + 0xac], 1
lea ecx, [ebp - 0x44]
call fcn.004636c0
push eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x20
call fcn.004035c0
push eax
push str.CheckExeExist_strPath_nmae_s_Exist_d_strPath_s
mov esi, 0x4f8948
call fcn.0048a930
add esp, 0x10
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00403050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004034c0
mov eax, dword [ebp - 0x50]
push edx
mov ecx, ebp
push eax
lea edx, [0x402f88]
call fcn.004c39f9
pop eax
pop edx
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.004a1723
add esp, 0x50
cmp ebp, esp
call fcn.004c39d6
mov esp, ebp
pop ebp
ret 4
Function at 0x406b20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
push ecx
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x20], 4
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x406b5d
jmp 0x406ba6
mov esi, esp
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x406b93
cmp dword [ebp - 0x14], 4
je 0x406b97
jmp 0x406ba6
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x2c]
mov dword [ecx], edx
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x406bcc]
call fcn.004c39f9
pop eax
pop edx
pop edi
pop esi
add esp, 0x30
cmp ebp, esp
call fcn.004c39d6
mov esp, ebp
pop ebp
ret 8

Function at 0x406c10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x406c42
jmp 0x406c79
mov esi, esp
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x406c72
jmp 0x406c79
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop esi
add esp, 0xc
cmp ebp, esp
call fcn.004c39d6
mov esp, ebp
pop ebp
ret 8
Function at 0x406c90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x406ccf
cmp dword [ebp + 0x10], 0
jne 0x406cd4
mov eax, dword [ebp - 8]
jmp 0x406d3c
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov esi, esp
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x406d1c
mov eax, dword [ebp - 8]
jmp 0x406d3c
cmp dword [ebp - 0x14], 1
je 0x406d2d
cmp dword [ebp - 0x14], 2
je 0x406d2d
mov eax, dword [ebp - 8]
jmp 0x406d3c
mov ecx, dword [ebp - 0x20]
shr ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x406d60]
call fcn.004c39f9
pop eax
pop edx
pop esi
add esp, 0x24
cmp ebp, esp
call fcn.004c39d6
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40a780
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x40a78f
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp esi, esp
call fcn.004c39d6
pop esi
add esp, 4
cmp ebp, esp
call fcn.004c39d6
mov esp, ebp
pop ebp
ret 4

Function at 0x40a7c0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x40a7cf
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp esi, esp
call fcn.004c39d6
pop esi
add esp, 4
cmp ebp, esp
call fcn.004c39d6
mov esp, ebp
pop ebp
ret 4

Function at 0x40a8e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x40a8ef
mov esi, esp
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.004c39d6
pop esi
add esp, 4
cmp ebp, esp
call fcn.004c39d6
mov esp, ebp
pop ebp
ret 8
Function at 0x40a930
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x40a948
xor ecx, ecx
cmp dword [ebp + 0xc], 0
setne cl
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x40a968
push 0x80004005
call fcn.00401530
xor edx, edx
jne 0x40a94c
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.004c39d6
lea ecx, [eax + eax + 2]
mov esi, esp
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.004c39d6
pop esi
add esp, 8
cmp ebp, esp
call fcn.004c39d6
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40a9c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x40a9de
xor ecx, ecx
cmp dword [ebp + 0xc], 0
setne cl
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x40a9fe
push 0x80004005
call fcn.00401530
xor edx, edx
jne 0x40a9e2
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.004c39d6
add eax, 1
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
lea ecx, [eax + edx*2]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
lea ecx, [eax + edx*2]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x10], 1
jne 0x40aa0f
mov esi, esp
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 7
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.004c39d6
pop esi
add esp, 0x14
cmp ebp, esp
call fcn.004c39d6
mov esp, ebp
pop ebp
ret 8
Function at 0x40aa80
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push esi
push edi
push ecx
lea edi, [ebp - 0x248]
mov ecx, 0x92
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4f3280]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x10]
call fcn.0041dc10
push 0x2001f
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 0x10]
call fcn.00401970
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40aaf0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x240], eax
lea ecx, [ebp - 0x10]
call fcn.004018e0
mov eax, dword [ebp - 0x240]
jmp 0x40ab87
mov dword [ebp - 0x30], 0x100
mov esi, esp
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x238]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp esi, esp
call fcn.004c39d6
test eax, eax
jne 0x40ab5f
lea edx, [ebp - 0x238]
push edx
lea ecx, [ebp - 0x10]
call fcn.0040aa80
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40ab56
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x244], eax
lea ecx, [ebp - 0x10]
call fcn.004018e0
mov eax, dword [ebp - 0x244]
jmp 0x40ab87
mov dword [ebp - 0x30], 0x100
jmp 0x40aaf7
lea ecx, [ebp - 0x10]
call fcn.00401910
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 8]
call fcn.0040a780
mov dword [ebp - 0x248], eax
lea ecx, [ebp - 0x10]
call fcn.004018e0
mov eax, dword [ebp - 0x248]
push edx
mov ecx, ebp
push eax
lea edx, [0x40abb8]
call fcn.004c39f9
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1723
add esp, 0x248
cmp ebp, esp
call fcn.004c39d6
mov esp, ebp
pop ebp
ret 4
Function at 0x416d50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push esi
push edi
push ecx
lea edi, [ebp - 0x21c]
mov ecx, 0x87
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4f3280]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [eax], 0
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 8]
mov dword [edx + 8], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x10], 0
mov word [ebp - 0x214], 0
push 0x206
push 0
lea edx, [ebp - 0x212]
push edx
call fcn.004a1d00
add esp, 0xc
mov esi, esp
push 0x104
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp esi, esp
call fcn.004c39d6
mov esi, esp
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
cmp esi, esp
call fcn.004c39d6
mov esi, esp
push 0x4dfd78
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp esi, esp
call fcn.004c39d6
mov esi, esp
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x416e42
jmp 0x416ecf
mov ecx, dword [ebp - 8]
mov dword [ecx], 1
mov esi, esp
push str.OpenThemeData
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.004c39d6
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
mov esi, esp
push str.CloseThemeData
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.004c39d6
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], eax
mov esi, esp
push str.DrawThemeBackground
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.004c39d6
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], eax
mov esi, esp
push str.SetWindowTheme
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.004c39d6
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x416f00]
call fcn.004c39f9
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1723
add esp, 0x21c
cmp ebp, esp
call fcn.004c39d6
mov esp, ebp
pop ebp
ret

Function at 0x41dd60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp esi, esp
call fcn.004c39d6
pop esi
add esp, 4
cmp ebp, esp
call fcn.004c39d6
mov esp, ebp
pop ebp
ret 8
Function at 0x429e00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c48d8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
push edi
push ecx
lea edi, [ebp - 0x50]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4f3280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
call fcn.0042bb40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0042cf10
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.0042f200
lea ecx, [ebp - 0x1c]
call fcn.004636c0
test eax, eax
je 0x429f95
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x1c]
call fcn.004636c0
mov dword [ebp - 0x50], eax
mov esi, esp
lea eax, [ebp - 0x28]
push eax
push 0x4cd85c
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
mov ecx, dword [eax]
call ecx
cmp esi, esp
call fcn.004c39d6
test eax, eax
jl 0x429f95
mov dword [ebp - 0x34], 0
mov esi, esp
lea edx, [ebp - 0x34]
push edx
push 0x4cd84c
push 0x4cd80c
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ecx + 0xc]
call eax
cmp esi, esp
call fcn.004c39d6
test eax, eax
jl 0x429f7e
mov dword [ebp - 0x40], 0
mov esi, esp
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [eax + 0xc]
call edx
cmp esi, esp
call fcn.004c39d6
test eax, eax
jl 0x429f67
mov esi, esp
push 0x4e0578
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0x48], 0
mov esi, esp
push 0
push str.Shell_DocObject_View
push 0
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x429f67
mov esi, esp
push 0
push str.Internet_Explorer_Server
push 0
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.USER32.dll_FindWindowExW]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [eax + 8]
call edx
cmp esi, esp
call fcn.004c39d6
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov esi, esp
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ecx + 8]
call eax
cmp esi, esp
call fcn.004c39d6
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00428820
mov eax, dword [ebp - 0x4c]
push edx
mov ecx, ebp
push eax
lea edx, [0x429fdc]
call fcn.004c39f9
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x50
cmp ebp, esp
call fcn.004c39d6
mov esp, ebp
pop ebp
ret