joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d1d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
push 0
lea ecx, [esp + 0x14]
call fcn.0045bf99
mov dword [esp + 0x28], 0
mov edi, dword [0x4b9bac]
mov ecx, 0x4b9c84
mov dword [esp + 0xc], edi
call fcn.00401e90
mov ebx, dword [esp + 0x30]
mov esi, eax
mov eax, dword [ebx]
cmp esi, dword [eax + 0xc]
jae 0x4188d1
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
jne 0x4188d5
cmp byte [eax + 0x14], 0
je 0x4188d5
call fcn.0045c075
cmp esi, dword [eax + 0xc]
jae 0x4188db
mov edx, dword [eax + 8]
mov esi, dword [edx + esi*4]
jmp 0x4188d7
xor ecx, ecx
jmp 0x4188b9
mov esi, ecx
test esi, esi
jne 0x41892d
test edi, edi
je 0x4188e3
mov esi, edi
jmp 0x41892d
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.00415360
add esp, 8
cmp eax, 0xffffffff
jne 0x418913
push str.bad_cast
lea ecx, [esp + 0x18]
call fcn.0046f975
push 0x4a466c
lea ecx, [esp + 0x18]
push ecx
call fcn.004706b8
mov esi, dword [esp + 0xc]
mov ecx, esi
mov dword [0x4b9bac], esi
call fcn.00401f00
push esi
call fcn.0045c13a
add esp, 4
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0045bfc1
mov ecx, dword [esp + 0x20]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x418c70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d3b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x20]
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.004181f0
mov dword [esp + 0x18], 0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_base.0
mov byte [esp + 0x18], 1
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_std::out_of_range__.2.0
mov dword [esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_std::out_of_range__.1.0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_std::out_of_range__.0
test edi, edi
je 0x418cca
lea ebx, [edi + 0x28]
jmp 0x418ccc
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
mov edi, dword [ebx + 4]
test ecx, ecx
je 0x418cdd
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov dword [esi + 0x2c], edi
test edi, edi
je 0x418ced
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov eax, dword [ebx + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 0x10]
mov dword [esi + 0x38], edx
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x418d20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48c713
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x20]
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00418260
mov dword [esp + 0x18], 0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_base.0
mov byte [esp + 0x18], 1
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_Nvidia::Logging::RegistryException__.2.0
mov dword [esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_Nvidia::Logging::RegistryException__.1.0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_Nvidia::Logging::RegistryException__.0
test edi, edi
je 0x418d7a
lea ebx, [edi + 0x28]
jmp 0x418d7c
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
mov edi, dword [ebx + 4]
test ecx, ecx
je 0x418d8d
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov dword [esi + 0x2c], edi
test edi, edi
je 0x418d9d
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov eax, dword [ebx + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 0x10]
mov dword [esi + 0x38], edx
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x41c680
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48c673
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x20]
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0041b2b0
mov dword [esp + 0x18], 0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_base.0
mov byte [esp + 0x18], 1
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_day_of_month__.2.0
mov dword [esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_day_of_month__.1.0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_day_of_month__.0
test edi, edi
je 0x41c6da
lea ebx, [edi + 0x28]
jmp 0x41c6dc
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
mov edi, dword [ebx + 4]
test ecx, ecx
je 0x41c6ed
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov dword [esi + 0x2c], edi
test edi, edi
je 0x41c6fd
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov eax, dword [ebx + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 0x10]
mov dword [esi + 0x38], edx
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x41c7e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48dae3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x20]
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0041b470
mov dword [esp + 0x18], 0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_base.0
mov byte [esp + 0x18], 1
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year__.2.0
mov dword [esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year__.1.0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year__.0
test edi, edi
je 0x41c83a
lea ebx, [edi + 0x28]
jmp 0x41c83c
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
mov edi, dword [ebx + 4]
test ecx, ecx
je 0x41c84d
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov dword [esi + 0x2c], edi
test edi, edi
je 0x41c85d
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov eax, dword [ebx + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 0x10]
mov dword [esi + 0x38], edx
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x41c890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d783
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x20]
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0041b4e0
mov dword [esp + 0x18], 0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_base.0
mov byte [esp + 0x18], 1
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month__.2.0
mov dword [esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month__.1.0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month__.0
test edi, edi
je 0x41c8ea
lea ebx, [edi + 0x28]
jmp 0x41c8ec
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
mov edi, dword [ebx + 4]
test ecx, ecx
je 0x41c8fd
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov dword [esi + 0x2c], edi
test edi, edi
je 0x41c90d
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov eax, dword [ebx + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 0x10]
mov dword [esi + 0x38], edx
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x423dc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48e079
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov ecx, dword [esp + 0x40]
push esi
push 0x13
mov dword [esp + 8], 0
mov edx, dword [ecx]
mov esi, dword [esp + 0x44]
lea eax, [esp + 0xc]
push eax
push edx
push esi
call fcn.004210d0
add esp, 0x10
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], 1
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x426ee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48e4f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov ecx, dword [esp + 0x30]
push esi
push 0x14
mov dword [esp + 8], 0
mov edx, dword [ecx]
mov esi, dword [esp + 0x34]
lea eax, [esp + 0xc]
push eax
push edx
push esi
call fcn.004255a0
add esp, 0x10
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], 1
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x427d80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d1d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
push 0
lea ecx, [esp + 0x14]
call fcn.0045bf99
mov dword [esp + 0x28], 0
mov edi, dword [0x4b9bb0]
mov ecx, 0x4b9c88
mov dword [esp + 0xc], edi
call fcn.00401e90
mov ebx, dword [esp + 0x30]
mov esi, eax
mov eax, dword [ebx]
cmp esi, dword [eax + 0xc]
jae 0x427df1
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
jne 0x427df5
cmp byte [eax + 0x14], 0
je 0x427df5
call fcn.0045c075
cmp esi, dword [eax + 0xc]
jae 0x427dfb
mov edx, dword [eax + 8]
mov esi, dword [edx + esi*4]
jmp 0x427df7
xor ecx, ecx
jmp 0x427dd9
mov esi, ecx
test esi, esi
jne 0x427e4d
test edi, edi
je 0x427e03
mov esi, edi
jmp 0x427e4d
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.00427c50
add esp, 8
cmp eax, 0xffffffff
jne 0x427e33
push str.bad_cast
lea ecx, [esp + 0x18]
call fcn.0046f975
push 0x4a466c
lea ecx, [esp + 0x18]
push ecx
call fcn.004706b8
mov esi, dword [esp + 0xc]
mov ecx, esi
mov dword [0x4b9bb0], esi
call fcn.00401f00
push esi
call fcn.0045c13a
add esp, 4
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0045bfc1
mov ecx, dword [esp + 0x20]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x429000
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x18], 8
mov dword [esp], 4
jb 0x429019
mov eax, dword [eax + 4]
jmp 0x42901c
add eax, 4
lea edx, [esp]
push edx
lea edx, [esp + 8]
push edx
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov eax, dword [ecx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x429046
cmp dword [esp + 0xc], 4
je 0x429046
mov eax, 0x3bc6
push str.RegQueryValueEx
push eax
call fcn.00428ec0
mov eax, dword [esp + 0xc]
add esp, 0x10
ret 4
Function at 0x42a130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48e9e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 2
mov edi, dword [esi + 0x30]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x42a176
mov eax, dword [edi]
test eax, eax
je 0x42a16d
push eax
call ebp
push edi
call fcn.0046f1aa
add esp, 4
mov byte [esp + 0x18], 1
cmp dword [esi + 0x20], 8
jb 0x42a18d
mov eax, dword [esi + 0xc]
push eax
call fcn.0046f1aa
add esp, 4
xor eax, eax
mov dword [esi + 0x20], 7
mov dword [esi + 0x1c], 0
mov word [esi + 0xc], ax
mov byte [esp + 0x18], al
mov eax, dword [esi + 4]
or edi, 0xffffffff
cmp eax, edi
je 0x42a1b5
push eax
call ebp
mov dword [esi + 4], edi
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x10]
pop edi
mov dword [esi], vtable.Nvidia::Logging::ILogManager.0
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x42a350
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x48ea00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x74]
mov ebx, dword [edi + 0x14]
xor ebp, ebp
cmp dword [edi + 0x18], 8
lea eax, [edi + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x74], eax
jb 0x42a390
mov eax, dword [eax]
push ebp
push ebp
push ebp
push ebp
push ebx
push eax
push ebp
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x6c], 0
test esi, esi
jle 0x42a3f0
push esi
call fcn.0045bd2a
add esp, 4
push eax
lea ecx, [esp + 0x14]
call fcn.0042a0e0
cmp dword [edi + 0x18], 8
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x14], ebp
jb 0x42a3db
mov eax, dword [eax]
push 0
push 0
push esi
push ebp
push ebx
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [eax]
push esi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42a43a
cmp dword [esp + 0x18], esi
jne 0x42a43a
mov dword [esp + 0x6c], 0xffffffff
push ebp
call fcn.0046f7da
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 4
push 0x14
push str.Error_writing_to_log
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
call fcn.0040fa10
mov byte [esp + 0x6c], 1
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x40]
call fcn.00412d70
push 0x4a5cfc
lea eax, [esp + 0x40]
push eax
call fcn.004706b8
int3
Function at 0x42a490
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x48ea18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov ecx, dword [ecx]
push ebx
lea eax, [esp + 4]
push eax
xor ebx, ebx
push ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x42a506
push 0x17
push str.Cant_get_log_file_size
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.0040fa10
mov dword [esp + 0x58], ebx
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x2c]
call fcn.00412d70
push 0x4a5cfc
lea eax, [esp + 0x2c]
push eax
call fcn.004706b8
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret
Function at 0x42e8a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48f0d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x30], 0
mov ebx, dword [esi + 0x10]
mov ebp, dword [esi + 0xc]
mov edi, dword [esp + 0x38]
mov ecx, ebx
sub ecx, ebp
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jbe 0x42e91e
cmp ebp, ebx
jbe 0x42e8f2
call fcn.004706a8
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov ebp, dword [esi]
lea eax, [esp + 0x3c]
push eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub edi, ecx
push edi
push ebx
push ebp
mov ecx, esi
call fcn.0042dbb0
jmp 0x42e96e
jae 0x42e96e
cmp ebp, ebx
jbe 0x42e929
call fcn.004706a8
mov ebp, dword [esi + 0xc]
mov edx, dword [esi]
mov dword [esp + 0x18], edx
cmp ebp, dword [esi + 0x10]
jbe 0x42e93c
call fcn.004706a8
mov eax, dword [esi]
push edi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
call fcn.0040b9b0
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 4]
push ebx
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.00428210
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.004189c0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x68

Function at 0x42f140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48f1d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov edx, dword [esp + 0x30]
push esi
push edi
mov edi, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push eax
push edi
push 0
push ecx
push edx
mov dword [esp + 0x28], 0
call fcn.00408880
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x42f1d4
mov dword [esp + 0xc], VariantCopy
mov dword [esp + 0x10], 0xf003f
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], edi
call fcn.0042ed70
mov dword [esp + 0x1c], 0xffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4307a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d1d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
push 0
lea ecx, [esp + 0x14]
call fcn.0045bf99
mov dword [esp + 0x28], 0
mov edi, dword [0x4b9bd4]
mov ecx, 0x4b9c90
mov dword [esp + 0xc], edi
call fcn.00401e90
mov ebx, dword [esp + 0x30]
mov esi, eax
mov eax, dword [ebx]
cmp esi, dword [eax + 0xc]
jae 0x430811
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
jne 0x430815
cmp byte [eax + 0x14], 0
je 0x430815
call fcn.0045c075
cmp esi, dword [eax + 0xc]
jae 0x43081b
mov edx, dword [eax + 8]
mov esi, dword [edx + esi*4]
jmp 0x430817
xor ecx, ecx
jmp 0x4307f9
mov esi, ecx
test esi, esi
jne 0x43086d
test edi, edi
je 0x430823
mov esi, edi
jmp 0x43086d
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.00430600
add esp, 8
cmp eax, 0xffffffff
jne 0x430853
push str.bad_cast
lea ecx, [esp + 0x18]
call fcn.0046f975
push 0x4a466c
lea ecx, [esp + 0x18]
push ecx
call fcn.004706b8
mov esi, dword [esp + 0xc]
mov ecx, esi
mov dword [0x4b9bd4], esi
call fcn.00401f00
push esi
call fcn.0045c13a
add esp, 4
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0045bfc1
mov ecx, dword [esp + 0x20]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x431ba0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x48f466
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 1
call fcn.00431ae0
mov ecx, dword [esp + 0x24]
mov dword [esi], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 4], edx
push 0xffffffffffffffff
lea ecx, [esi + 0x10]
xor ebx, ebx
push ebx
lea eax, [esp + 0x30]
mov edi, 7
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.0040f6a0
mov byte [esp + 0x18], 2
push 0xffffffffffffffff
lea ecx, [esi + 0x2c]
push ebx
lea eax, [esp + 0x4c]
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.0040f6a0
mov byte [esp + 0x18], 3
mov ecx, dword [esp + 0x60]
mov dword [esi + 0x48], ecx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x40], 8
jb 0x431c47
mov edx, dword [esp + 0x2c]
push edx
call fcn.0046f1aa
add esp, 4
xor eax, eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], ax
mov dword [esp + 0x18], 0xffffffff
cmp dword [esp + 0x5c], 8
jb 0x431c72
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0046f1aa
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], edi
pop edi
xor edx, edx
mov eax, esi
mov dword [esp + 0x54], ebx
pop esi
mov word [esp + 0x40], dx
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x44
Function at 0x43db98
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48c0b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
mov dword [esp + 0x20], 0
sub esp, 0xc
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call fcn.004562e0
mov byte [esp + 0x2c], 1
mov byte [esp + 0x2c], 0
lea ecx, [esp + 0x14]
call fcn.0043dae0
mov byte [esp + 0x20], 2
mov ecx, dword [esp + 0x28]
mov edx, dword [esi]
mov edx, dword [edx + 4]
lea eax, [esp + 8]
push eax
push ecx
mov ecx, esi
call edx
mov byte [esp + 0x20], 0
mov eax, dword [esp + 0xc]
push eax
call fcn.0046f7da
mov dword [esp + 0x24], 0xffffffff
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0046f7da
mov ecx, dword [esp + 0x20]
add esp, 8
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret 0x14

Function at 0x43dc60
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x490697
push eax
mov dword fs:[0], esp
sub esp, 0x2a4
push ebx
push ebp
push esi
push edi
call fcn.00402850
push 3
call fcn.004028b0
push 0x28
mov dword [0x4b9cb8], eax
call fcn.004028b0
push 2
mov dword [0x4b9cb4], eax
call fcn.004028b0
push 5
mov dword [0x4b9cb0], eax
call fcn.004028b0
push 0x15
mov dword [0x4b9cac], eax
call fcn.004028b0
push 0x16
mov dword [0x4b9ca8], eax
call fcn.004028b0
push 0x17
mov dword [0x4b9ca4], eax
call fcn.004028b0
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
xor ebp, ebp
add esp, 0x1c
mov dword [0x4b9ca0], eax
mov dword [0x4b9c98], ebp
mov dword [0x4b9c9c], ebp
xor edi, edi
push ebp
push edi
lea eax, [esp + 0xb0]
push eax
push ebp
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43dddd
push edi
lea ecx, [esp + 0x2c]
push 0x497bcc
push ecx
call ebx
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.00456260
mov dword [esp + 0x2bc], ebp
lea ecx, [esp + 0x1c]
call fcn.00456260
mov dword [esp + 0x2bc], 2
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x14]
call fcn.00456860
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x20]
call fcn.00456860
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x4b9d74
call fcn.004083c0
xor esi, esi
mov edi, edi
cmp dword [esi + 0x4b44bc], edi
jne 0x43dda8
mov edx, dword [esi + 0x4b44c0]
push edx
lea ecx, [esp + 0x14]
call fcn.00456860
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x20]
call fcn.00456860
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x4b9d74
call fcn.004083c0
add esi, 8
cmp esi, 0x28
jb 0x43dd70
mov dword [esp + 0x2bc], 3
mov edx, dword [esp + 0x1c]
push edx
call fcn.0046f7da
mov dword [esp + 0x2c0], 0xffffffff
mov eax, dword [esp + 0x14]
push eax
call fcn.0046f7da
add esp, 8
inc edi
cmp edi, 0x40
jl 0x43dcf1
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov ecx, dword [esp + 0x2b4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2b0
ret