joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406a2e
Capabilities:
Get common file path
Write file on windows

Disassembly:
push 0x288
mov eax, 0x4867d4
call fcn.00458e5d
push 7
mov ebx, ecx
pop eax
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], edi
mov word [ebp - 0x234], cx
mov dword [ebp - 4], edi
mov dword [ebp - 0x258], eax
xor eax, eax
mov dword [ebp - 0x25c], edi
mov word [ebp - 0x26c], ax
mov byte [ebp - 4], 1
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push edi
push eax
call fcn.004504c0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x21c]
push eax
call fcn.00450a1d
pop ecx
lea ecx, [ebp - 0x21c]
lea esi, [ebp - 0x238]
call fcn.00401b92
push str.Result.txt
mov eax, esi
push eax
call fcn.00401817
lea eax, [ebp - 0x21c]
push eax
call fcn.00450a1d
pop ecx
lea ecx, [ebp - 0x21c]
lea esi, [ebp - 0x270]
call fcn.00401b92
push 0x49b660
mov eax, esi
push eax
call fcn.00401817
push 0xffffffffffffffff
push edi
mov eax, ebx
call fcn.00401aee
push str.OutputResultPath
lea eax, [ebp - 0x254]
call fcn.004017d2
push 0xffffffffffffffff
mov eax, esi
push edi
lea esi, [ebp - 0x254]
mov byte [ebp - 4], 2
call fcn.00401aee
mov ebx, 0x49c4d0
push ebx
mov eax, esi
push eax
call fcn.00401817
push 0x49c4d4
mov eax, esi
push eax
call fcn.00401817
push dword [ebp + 8]
lea ecx, [ebp - 0x294]
call fcn.004069c2
pop ecx
push 0xffffffffffffffff
push edi
mov byte [ebp - 4], 3
call fcn.00401aee
push edi
push 1
lea esi, [ebp - 0x294]
mov byte [ebp - 4], 2
call fcn.004019bb
push ebx
lea eax, [ebp - 0x254]
push eax
call fcn.00401817
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x406b91
lea eax, [ebp - 0x234]
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x406c05
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
lea eax, [ebp - 0x274]
push eax
push 2
lea eax, [ebp - 0x278]
push eax
push ebx
mov dword [ebp - 0x278], 0xfeff
call esi
cmp dword [ebp - 0x23c], 8
mov eax, dword [ebp - 0x250]
jae 0x406be7
lea eax, [ebp - 0x250]
push edi
lea ecx, [ebp - 0x274]
push ecx
mov ecx, dword [ebp - 0x240]
add ecx, ecx
push ecx
push eax
push ebx
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x406c44
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x406c1a
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed__lu_writing_Toolbox_result__S
push 0x550
call fcn.0041ef10
push eax
mov ebx, 0x800002
mov ecx, str..SupportWrapper.cpp
call fcn.0041f0d0
add esp, 0x14
push edi
push 1
lea esi, [ebp - 0x254]
call fcn.004019bb
push edi
push 1
lea esi, [ebp - 0x270]
call fcn.004019bb
push edi
push 1
lea esi, [ebp - 0x238]
call fcn.004019bb
call fcn.00458ee0
ret 4
Function at 0x406d1e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4aeda0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp esi, edi
jne 0x406d52
push str.RegisterStartProgram__:_invalid_wcsStartProgramPath
push 0x563
call fcn.0041ef10
mov ebx, 0x800002
jmp 0x406dfd
push esi
push str.RegisterStartProgram__:__s
push 0x569
push ecx
call fcn.0041ef10
pop ecx
push eax
mov ebx, 0x800040
mov ecx, str..SupportWrapper.cpp
call fcn.0041f0d0
add esp, 0x10
push edi
lea eax, [ebp - 0x24]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push str.SOFTWARETrendMicroHouseCall
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x406dee
push esi
lea eax, [ebp - 0x20]
call fcn.004017d2
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x406dae
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push edi
push str.ProgramPath
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push 1
lea esi, [ebp - 0x20]
call fcn.004019bb
cmp dword [ebp - 0x28], edi
jne 0x406dee
push str.Register_Start_Program_success:_HKLMSOFTWARETrendMicroHouseCallProgramPath
push 0x578
jmp 0x406df8
push str.Register_Start_Program_failed:_HKLMSOFTWARETrendMicroHouseCallProgramPath
push 0x57b
call fcn.0041ef10
push eax
mov ecx, str..SupportWrapper.cpp
call fcn.0041f0d0
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004504a7
leave
ret
Function at 0x407117
Capabilities:
Move file

Disassembly:
push 0x284
mov eax, 0x488810
call fcn.00458e5d
xor ebx, ebx
push 6
xor eax, eax
cmp dword [0x4b31e0], 8
mov dword [ebp - 0x258], ebx
pop ecx
lea edi, [ebp - 0x254]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x254], 3
jb 0x40715d
mov eax, dword [0x4b31cc]
mov dword [ebp - 0x250], eax
jmp 0x407167
mov dword [ebp - 0x250], 0x4b31cc
mov eax, 0x614
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
call fcn.004504c0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x274]
call fcn.004017d2
push eax
lea eax, [ebp - 0x290]
push str.cmd.exe__C_ping_1.1.1.1__n_1__w_100___Nul__Del__
push eax
mov dword [ebp - 4], ebx
call fcn.0040b3d6
add esp, 0xc
push 0x49bb1c
push eax
lea eax, [ebp - 0x238]
push eax
mov byte [ebp - 4], 1
call fcn.00401e38
add esp, 0xc
push ebx
push 1
lea esi, [ebp - 0x290]
call fcn.004019bb
push ebx
push 1
lea esi, [ebp - 0x274]
mov byte [ebp - 4], 4
call fcn.004019bb
cmp dword [ebp - 0x220], 8
mov ecx, dword [ebp - 0x234]
jae 0x407229
lea ecx, [ebp - 0x234]
xor edx, edx
call fcn.0042c830
push ebx
push 1
lea esi, [ebp - 0x238]
call fcn.004019bb
call fcn.00458ee0
ret
Function at 0x4086da
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4854c2
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4aeda0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x4aeda0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x40873d
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.004504a7
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
xor edi, edi
cmp ecx, edi
je 0x408765
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x408765
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esi], ecx
mov byte [eax], bl
mov eax, ebx
jmp 0x40871d
mov eax, dword [esi + 0x4c]
cmp eax, edi
jne 0x408771
or eax, 0xffffffff
jmp 0x40871d
cmp dword [esi + 0x3c], edi
jne 0x408785
push eax
push ebx
call fcn.004025eb
pop ecx
pop ecx
test al, al
je 0x40876c
jmp 0x408761
push edi
push 8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x18], bl
call fcn.00408e71
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x74], edi
call fcn.00408f31
mov ecx, eax
call fcn.0040a0f4
mov edi, dword [esp + 0x58]
mov ebx, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.00408f31
mov ecx, eax
call fcn.0040a0f4
lea edx, [esp + 0x18]
add edi, ebx
push edx
lea ebx, [esi + 0x44]
jmp 0x408895
cmp eax, 1
jg 0x4088bd
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x48]
call fcn.00408f31
mov ecx, eax
call fcn.0040a0f4
mov edi, dword [esp + 0x18]
sub edi, eax
je 0x40882a
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
call fcn.00408f31
mov ecx, eax
call fcn.0040a0f4
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004532c9
add esp, 0x10
cmp edi, eax
jne 0x4088d4
lea eax, [esp + 0x10]
mov byte [esi + 0x41], 1
cmp dword [esp + 0x1c], eax
jne 0x4088eb
test edi, edi
ja 0x408858
cmp dword [esp + 0x58], 0x20
jae 0x4088d4
push 0
push 8
lea ecx, [esp + 0x4c]
call fcn.00401832
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
call fcn.00408f31
mov ecx, eax
call fcn.0040a0f4
mov edi, dword [esp + 0x58]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.00408f31
mov ecx, eax
call fcn.0040a0f4
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
add edi, edx
mov ecx, dword [esi + 0x3c]
push edi
push eax
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x21]
push edx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
test eax, eax
jge 0x4087d8
jmp 0x4088d4
cmp eax, 3
jne 0x4088d4
push dword [esi + 0x4c]
push dword [esp + 0x14]
call fcn.004025eb
pop ecx
pop ecx
test al, al
jne 0x4088eb
or esi, 0xffffffff
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.0040230d
mov eax, esi
jmp 0x40871d
mov esi, dword [ebp + 8]
jmp 0x4088d7
Function at 0x4093ed
Capabilities:
Write file on windows

Disassembly:
push 0x4c
mov eax, 0x485eea
call fcn.00458e5d
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x3c], edi
je 0x4094f9
cmp byte [esi + 0x41], 0
je 0x4094f9
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x409423
xor al, al
jmp 0x4094fb
push edi
push 8
lea ecx, [ebp - 0x30]
call fcn.00408e71
mov dword [ebp - 4], edi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x30]
call fcn.00408f31
mov ecx, eax
call fcn.0040a0f4
mov edi, dword [ebp - 0x1c]
mov ebx, eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
call fcn.00408f31
mov ecx, eax
call fcn.0040a0f4
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x34]
push eax
add edi, ebx
push edi
push dword [ebp - 0x38]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x409493
dec eax
je 0x409497
dec eax
dec eax
je 0x4094f5
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.0040230d
mov al, bl
jmp 0x4094fb
mov byte [esi + 0x41], 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x30]
call fcn.00408f31
mov ecx, eax
call fcn.0040a0f4
mov edi, dword [ebp - 0x34]
sub edi, eax
je 0x4094d7
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x30]
call fcn.00408f31
mov ecx, eax
call fcn.0040a0f4
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004532c9
add esp, 0x10
cmp edi, eax
jne 0x409481
cmp byte [esi + 0x41], 0
je 0x4094f5
test edi, edi
jne 0x409431
push edi
push 8
lea ecx, [ebp - 0x30]
call fcn.00401832
jmp 0x409431
mov bl, 1
jmp 0x409483
mov al, 1
call fcn.00458ee0
ret
Function at 0x40e7f0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40e852
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40e852
push esi
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop esi
leave
ret
Function at 0x413e55
Capabilities:
Write file on windows

Disassembly:
push 0x4c
mov eax, 0x485eea
call fcn.00458e5d
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x413f67
cmp byte [esi + 0x42], bl
je 0x413f67
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 4]
movzx eax, ax
cmp di, ax
jne 0x413e91
xor al, al
jmp 0x413f69
push ebx
push 8
lea ecx, [ebp - 0x30]
call fcn.00408e71
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x30]
call fcn.00408f31
mov ecx, eax
call fcn.0040a0f4
mov edi, dword [ebp - 0x1c]
mov ebx, eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
call fcn.00408f31
mov ecx, eax
call fcn.0040a0f4
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x34]
push eax
add edi, ebx
push edi
push dword [ebp - 0x38]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x413f01
dec eax
je 0x413f05
dec eax
dec eax
je 0x413f63
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.0040230d
mov al, bl
jmp 0x413f69
mov byte [esi + 0x42], 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x30]
call fcn.00408f31
mov ecx, eax
call fcn.0040a0f4
mov edi, dword [ebp - 0x34]
sub edi, eax
je 0x413f45
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x30]
call fcn.00408f31
mov ecx, eax
call fcn.0040a0f4
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004532c9
add esp, 0x10
cmp edi, eax
jne 0x413eef
cmp byte [esi + 0x42], 0
je 0x413f63
test edi, edi
jne 0x413e9f
push edi
push 8
lea ecx, [ebp - 0x30]
call fcn.00401832
jmp 0x413e9f
mov bl, 1
jmp 0x413ef1
mov al, 1
call fcn.00458ee0
ret
Function at 0x419634
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 8], 0
and dword [ebp - 4], 0
push ebx
push esi
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftwareTrendMicroHouseCall
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x419724
and dword [ebp - 0xc], eax
push 4
pop eax
push str.PluginExecuteReboot_Open_Housecall_key_success
push 0x138
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
call fcn.0041ef10
mov esi, str.d:irobot_1.62_src_supportwrapperWrpPluginImpl.h
push eax
mov ebx, 0x800020
mov ecx, esi
call fcn.0041f0d0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov ebx, 0x49f144
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4196f1
inc eax
cmp dword [ebp - 0xc], eax
jne 0x4196c1
mov dword [ebp - 8], eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x419719
and dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.PluginExecuteReboot:_delete_value_reboot_failed._GetLastError_lu
push 0x142
push ecx
call fcn.0041ef10
mov ebx, 0x800008
jmp 0x41970d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_query_reboot_value__GetLastError_lu
push 0x146
push ecx
call fcn.0041ef10
mov ebx, 0x800020
pop ecx
push eax
mov ecx, esi
call fcn.0041f0d0
add esp, 0x10
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x419748
push str.Open_registry_key_failed._SoftwareTrendMicroHouseCall
push 0x14d
call fcn.0041ef10
mov esi, str.d:irobot_1.62_src_supportwrapperWrpPluginImpl.h
push eax
mov ebx, 0x800008
mov ecx, esi
call fcn.0041f0d0
add esp, 0xc
cmp dword [ebp - 8], 0
je 0x419774
push str.Reboot_Needed__RebootWindows
push 0x151
call fcn.0041ef10
push eax
mov ebx, 0x800008
mov ecx, esi
call fcn.0041f0d0
add esp, 0xc
call fcn.0042d320
jmp 0x419793
push str.No_Reboot_Needed__RebootWindows
push 0x155
call fcn.0041ef10
push eax
mov ebx, 0x800008
mov ecx, esi
call fcn.0041f0d0
add esp, 0xc
mov eax, dword [ebp - 8]
pop esi
pop ebx
leave
ret
Function at 0x4197cf
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48592f
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4aeda0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x4aeda0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
push str.PluginCollect::Executable
push 0x193
mov dword [esp + 0x20], eax
call fcn.0041ef10
push eax
mov ebx, 0x800010
mov ecx, str.d:irobot_1.62_src_supportwrapperWrpPluginImpl.h
call fcn.0041f0d0
and dword [esp + 0x58], 0
xor eax, eax
add esp, 0xc
mov dword [esp + 0x50], 7
mov word [esp + 0x3c], ax
and dword [esp + 0x80], eax
mov eax, dword [edi]
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
call dword [eax + 4]
jmp 0x419919
push 0x2f
push dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
call fcn.0041e3bb
add esp, 0xc
lea ecx, [esp + 0x38]
push ecx
push eax
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x8c], 1
call fcn.0040b38b
add esp, 0xc
push 0
push 1
lea esi, [esp + 0x24]
mov byte [esp + 0x88], 3
call fcn.004019bb
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x4198be
lea eax, [esp + 0x58]
push eax
push str.PluginCollect::Executable
push str._s_Collect__S
push 0x19b
call fcn.0041ef10
push eax
mov ebx, 0x800040
mov ecx, str.d:irobot_1.62_src_supportwrapperWrpPluginImpl.h
call fcn.0041f0d0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
add esp, 0x14
push dword [esp + 0x10]
lea edx, [esp + 0x58]
push edx
call dword [eax + 4]
push 0
push 1
lea esi, [esp + 0x5c]
mov byte [esp + 0x88], 0
call fcn.004019bb
mov eax, dword [edi]
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
call dword [eax + 8]
test eax, eax
jne 0x41986c
push str.PluginCollect::Executable
push 0x1a1
call fcn.0041ef10
push eax
mov ebx, 0x800020
mov ecx, str.d:irobot_1.62_src_supportwrapperWrpPluginImpl.h
call fcn.0041f0d0
add esp, 0xc
push 0
push 1
lea esi, [esp + 0x40]
call fcn.004019bb
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004504a7
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41a68b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4872ee
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4aeda0]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x4aeda0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
push str.PluginCollect::FolderCollector
push 0x25d
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], eax
call fcn.0041ef10
push eax
mov ebx, 0x800010
mov ecx, str.d:irobot_1.62_src_supportwrapperWrpPluginImpl.h
call fcn.0041f0d0
and dword [esp + 0x5c], 0
xor eax, eax
add esp, 0xc
mov dword [esp + 0x54], 7
mov word [esp + 0x40], ax
and dword [esp + 0xa0], eax
mov eax, dword [esi]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call dword [eax + 4]
jmp 0x41a808
push 0x5c
push dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
call fcn.0041e3bb
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
push eax
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0xac], 1
call fcn.0040b38b
add esp, 0xc
push 0
push 1
lea esi, [esp + 0x28]
mov byte [esp + 0xa8], 3
call fcn.004019bb
push 0
lea edi, [esp + 0x78]
lea esi, [esp + 0x5c]
call fcn.004265b0
pop ecx
mov byte [esp + 0xa0], 4
cmp dword [esp + 0x70], 0x10
mov eax, dword [esp + 0x5c]
jae 0x41a79f
lea eax, [esp + 0x5c]
push eax
push str.PluginCollect::FolderCollector
push str._s_Collect__s
push 0x265
call fcn.0041ef10
push eax
mov ebx, 0x800040
mov ecx, str.d:irobot_1.62_src_supportwrapperWrpPluginImpl.h
call fcn.0041f0d0
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add esp, 0x14
push dword [esp + 0x14]
lea edx, [esp + 0x78]
push edx
call dword [eax + 4]
xor ebx, ebx
push ebx
push 1
lea ecx, [esp + 0x60]
call fcn.0040230d
push ebx
push 1
lea esi, [esp + 0x7c]
mov byte [esp + 0xa8], bl
call fcn.004019bb
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
lea edx, [esp + 0x3c]
push edx
call dword [eax + 8]
test eax, eax
jne 0x41a735
push eax
push 1
lea esi, [esp + 0x44]
call fcn.004019bb
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004504a7
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41c1cb
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push 0x1c
mov eax, 0x4858b9
call fcn.00458df4
mov ebx, ecx
xor edi, edi
lea esi, [ebx + 4]
cmp dword [ebx + 0x1c], edi
je 0x41c346
cmp dword [ebx + 0x18], 8
jb 0x41c1f1
mov eax, dword [esi]
jmp 0x41c1f3
mov eax, esi
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push edi
push 2
push edi
push edi
push edi
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x41c2d0
mov eax, dword [ebx + 0x3c]
push dword [ebx + 0x40]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x44]
sub esp, 0x1c
mov dword [ebp - 0x18], eax
lea eax, [ebx + 0x48]
mov esi, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.004017f2
sub esp, 0x1c
add ebx, 0x20
mov esi, esp
mov dword [ebp - 0x24], esp
push ebx
mov dword [ebp - 4], edi
call fcn.004017f2
push dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
call fcn.0041c397
cmp dword [ebp - 0x14], 0
mov edi, str.RestoreWer__
mov ebx, 0x800002
mov esi, str..WrpPlugin.cpp
jne 0x41c299
push 0x49fad4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x41c299
push edi
push str._s_Error_delete_value_DumpFolder
push 0x112
push ecx
call fcn.0041ef10
pop ecx
push eax
mov ecx, esi
call fcn.0041f0d0
add esp, 0x10
cmp dword [ebp - 0x18], 0
jne 0x41c303
push str.DumpType
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x41c303
push edi
push str._s_Error_delete_value_DumpType
push 0x11b
push ecx
call fcn.0041ef10
pop ecx
push eax
mov ecx, esi
call fcn.0041f0d0
add esp, 0x10
jmp 0x41c303
cmp dword [ebx + 0x18], 8
jb 0x41c2d8
mov esi, dword [esi]
push esi
mov edi, str.RestoreWer__
push edi
push str._s_Error_opening_key__S.
push 0x11f
call fcn.0041ef10
mov esi, str..WrpPlugin.cpp
push eax
mov ebx, 0x800002
mov ecx, esi
call fcn.0041f0d0
add esp, 0x14
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
test eax, eax
jne 0x41c328
push str._s_Success_closing_key.
push 0x124
push ecx
call fcn.0041ef10
mov ebx, 0x800040
jmp 0x41c338
push str._s_Error_closing_key.
push 0x126
push ecx
call fcn.0041ef10
pop ecx
push eax
mov ecx, esi
call fcn.0041f0d0
add esp, 0x10
jmp 0x41c391
cmp dword [ebx + 0x18], 8
jb 0x41c350
mov eax, dword [esi]
jmp 0x41c352
mov eax, esi
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebx + 0x18], 8
jb 0x41c366
mov esi, dword [esi]
xor ecx, ecx
cmp eax, edi
sete cl
push esi
push ecx
push str.RegDeleteKey_d:__S
push 0x12c
call fcn.0041ef10
push eax
mov ebx, 0x800040
mov ecx, str..WrpPlugin.cpp
call fcn.0041f0d0
add esp, 0x14
call fcn.00458ecc
ret