joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a240
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
imul edi, ebx, 0x4058
mov esi, ecx
mov dword [ebp + 8], 0
add edi, esi
cmp byte [edi + 0x2c], 0
je 0x41a301
push 0
lea eax, [ebp + 8]
push eax
push edi
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ecx, dword [edi + 0x4038]
sub ecx, 0
je 0x41a2dd
sub ecx, 1
jne 0x41a301
test eax, eax
je 0x41a2ac
mov eax, dword [ebp + 8]
test eax, eax
je 0x41a2ac
mov dword [edi + 0x30], eax
mov ecx, dword [esi + 0x80ec]
test ecx, ecx
je 0x41a301
mov edx, dword [ecx]
push 0
push eax
lea eax, [edi + 0x38]
push eax
push ebx
push esi
call dword [edx + 8]
jmp 0x41a301
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push ebx
mov ecx, esi
call fcn.00419d30
mov ecx, dword [esi + 0x80ec]
test ecx, ecx
je 0x41a363
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax + 4]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
test eax, eax
je 0x41a390
mov dword [edi + 0x4038], 1
mov ecx, dword [esi + 0x80ec]
test ecx, ecx
je 0x41a301
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax]
push 0x2000
lea eax, [edi + 0x38]
push 0
push eax
call fcn.005020d0
add esp, 0xc
lea eax, [edi + 0x30]
push edi
push eax
push 0x2000
lea eax, [edi + 0x38]
push eax
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41a333
xor al, al
jmp 0x41a342
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x41a36c
mov al, 1
mov byte [edi + 0x2c], al
test al, al
jne 0x41a363
mov ecx, dword [esi + 0x80ec]
test ecx, ecx
je 0x41a363
mov eax, dword [ecx]
lea edx, [edi + 0x38]
push 0
push dword [edi + 0x30]
push edx
push ebx
push esi
call dword [eax + 8]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push ebx
mov ecx, esi
call fcn.00419d30
mov ecx, dword [esi + 0x80ec]
test ecx, ecx
je 0x41a390
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax + 4]
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4

Function at 0x41a720
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41a750
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41a75f
mov eax, dword [ecx]
push 0
push esi
call dword [eax + 0xc]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x41a770
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
imul ebx, edi, 0x4058
add ebx, esi
mov dword [ebp + 8], 0
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebx + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41a7a9
xor cl, cl
jmp 0x41a7b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x41a7ee
mov cl, 1
imul eax, edi, 0x4058
mov byte [ebx + 0x2d], cl
cmp byte [eax + esi + 0x2d], 0
jne 0x41a7e5
push dword [eax + esi + 0x24]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0x80ec]
test ecx, ecx
je 0x41a7e5
mov eax, dword [ecx]
push 0
push edi
push esi
call dword [eax + 0xc]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
push dword [ebx + 0x28]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push edi
mov ecx, esi
call fcn.00419d30
test al, al
jne 0x41a7e5
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x41c7b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d678
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x57e7c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
test edi, edi
je 0x41c7e8
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
push 0x38
mov dword [ebp - 4], 0
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
call fcn.004bf694
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
test esi, esi
je 0x41c838
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x10]
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj_class_std::function_void____cdecl___void___.0
mov dword [eax], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__V___Binder_U_Unforced_std__P8CPluginMgr__AEXXZPAV3__2___V_std__X__V_std__.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0x24], eax
jmp 0x41c83a
xor esi, esi
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
test esi, esi
je 0x41c84b
lock inc dword [esi + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x28]
inc eax
mov byte [ebp - 4], 2
cmp ecx, eax
ja 0x41c86d
push 1
lea ecx, [edi + 0x20]
call fcn.00419290
mov ecx, dword [edi + 0x28]
lea eax, [ecx - 1]
and dword [edi + 0x2c], eax
mov ecx, dword [edi + 0x30]
add ecx, dword [edi + 0x2c]
mov eax, dword [edi + 0x28]
dec eax
and ecx, eax
lea eax, [ecx*4]
mov ecx, dword [edi + 0x24]
mov dword [ebp + 8], eax
cmp dword [ecx + eax], 0
jne 0x41c8aa
push 0x28
call fcn.004bf694
mov ecx, dword [edi + 0x24]
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, edx
mov ecx, dword [edi + 0x24]
mov eax, dword [eax + ecx]
lea ecx, [esi + 0x10]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_7bf46d6d2cfed262ad4f012bdb85772d___void___.0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0x24], eax
inc dword [edi + 0x30]
cmp dword [edi + 0x18], 0
jne 0x41c8e9
lea eax, [edi + 0x1c]
push eax
push 0
push edi
push 0x41d9a0
push 0
push 0
call fcn.00509229
add esp, 0x18
mov dword [edi + 0x18], eax
mov byte [ebp + 0xb], 1
jmp 0x41c8ed
mov byte [ebp + 0xb], 0
test esi, esi
je 0x41c912
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x41c912
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x41c912
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41cf10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d761
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x57e7c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24c], esi
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0
je 0x41d102
call fcn.00436bb0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41d04d
push 0x43
push str.d:jenkins.jenkinsworkspace_tabx_tabxtraypluginmgrpluginmgr.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.0040c320
push 3
push 0x53a1dc
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c320
mov byte [ebp - 4], 1
call fcn.00436bb0
mov edi, eax
lea ecx, [ebp - 0x2e8]
push 0x31
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00407db0
mov esi, eax
push str._Load_plugin_item:
push esi
mov byte [ebp - 4], 2
call fcn.00408e40
mov ecx, dword [ebx]
mov edx, 0x539cd0
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.00406f20
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2e8]
call fcn.00409010
lea ecx, [ebp - 0x230]
call fcn.00408860
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
call fcn.00408860
mov esi, dword [ebp - 0x24c]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005020d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push dword [ebx]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d102
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x41d102
push dword [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41d102
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x250], 0
push ecx
push 1
call eax
mov ecx, eax
mov dword [ebp - 0x24c], ecx
test ecx, ecx
je 0x41d102
push dword [esi + 0xc]
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
lea eax, [ebp - 0x24c]
mov ecx, esi
push eax
call fcn.0041cb70
mov eax, 1
jmp 0x41d104
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bf660
mov esp, ebp
pop ebp
ret 4
Function at 0x41de20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d898
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x57e7c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp word [0x587a58], 0
jne 0x41df67
push 0x20219
push str.SOFTWARETabXExplorer
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.004106b0
mov edi, dword [ebp - 0x24]
test eax, eax
jne 0x41df5c
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push str.em_lds
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41df20
cmp dword [ebp - 0x18], 4
jne 0x41df20
cmp dword [ebp - 0x10], 1
mov edx, 0x3ff
mov ecx, 0x587a58
jne 0x41def5
mov esi, str.in_tabx
sub esi, ecx
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x41df4f
movzx eax, word [esi + ecx]
test ax, ax
je 0x41df4f
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41ded5
jmp 0x41df4f
mov esi, str.tabx
sub esi, 0x587a58
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x41df4f
movzx eax, word [esi + ecx]
test ax, ax
je 0x41df4f
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41df00
jmp 0x41df4f
mov ecx, 0x587a58
mov esi, str.tabx
mov edx, 0x3ff
sub esi, ecx
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x41df4f
movzx eax, word [esi + ecx]
test ax, ax
je 0x41df4f
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41df31
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edi, edi
je 0x41df67
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004067b0
mov ecx, eax
test ecx, ecx
je 0x41dfcf
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x587a58
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.004063a0
test al, al
jne 0x41dfbc
mov ecx, 0x587a58
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41dfa0
sub ecx, edx
sar ecx, 1
push ecx
push 0x587a58
mov ecx, esi
call fcn.0040ef20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00406380
int3
Function at 0x41dfe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d8e1
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x57e7c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp word [0x587158], 0
jne 0x41e22a
cmp word [0x5871d8], 0
jne 0x41e126
push 0x20219
push str.SOFTWARETabXExplorer
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x82c]
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x824], 0
call fcn.004106b0
mov edi, dword [ebp - 0x82c]
test eax, eax
jne 0x41e11b
lea eax, [ebp - 0x818]
mov dword [ebp - 0x818], 0x800
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x820]
push eax
push 0
push str.Setup_Path
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41e11b
mov eax, dword [ebp - 0x820]
cmp eax, 1
je 0x41e0b0
cmp eax, 2
jne 0x41e11b
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x41e0cd
test al, 1
jne 0x41e11b
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x41e0d6
jmp 0x41e11b
xor eax, eax
mov word [ebp - 0x810], ax
mov ecx, 0x5871d8
lea esi, [ebp - 0x810]
mov edx, 0x3ff
sub esi, ecx
nop dword [eax + eax]
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x41e10e
movzx eax, word [esi + ecx]
test ax, ax
je 0x41e10e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41e0f0
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edi, edi
je 0x41e126
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004067b0
mov ecx, eax
test ecx, ecx
je 0x41e24a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x814], eax
push 0x5871d8
lea ecx, [ebp - 0x814]
mov dword [ebp - 4], 0
call fcn.004063a0
test al, al
jne 0x41e186
mov ecx, 0x5871d8
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e166
sub ecx, edx
sar ecx, 1
push ecx
push 0x5871d8
lea ecx, [ebp - 0x814]
call fcn.0040ef20
push 0x11
push str.TabXExplorer.exe
lea ecx, [ebp - 0x814]
mov dword [ebp - 4], 1
call fcn.0041dd60
call fcn.004067b0
mov ecx, eax
test ecx, ecx
je 0x41e254
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x81c], eax
lea eax, [ebp - 0x81c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.0040e5f0
mov esi, dword [ebp - 0x81c]
add esp, 8
push 0x3f
push esi
push 0x587158
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e208
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x814]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x41e22a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 0x587158
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.004bf660
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00406380
push 0x80004005
call fcn.00406380
int3
Function at 0x41e690
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d9ab
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x57e7c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x828], ebx
cmp word [0x585158], 0
jne 0x41e7ca
push 0x20219
push str.SOFTWARETabXExplorer
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x824]
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
call fcn.004106b0
mov edi, dword [ebp - 0x824]
test eax, eax
jne 0x41e7bf
lea eax, [ebp - 0x814]
mov dword [ebp - 0x814], 0x800
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x818]
push eax
push 0
push 0x53ba08
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41e7bf
mov eax, dword [ebp - 0x818]
cmp eax, 1
je 0x41e75c
cmp eax, 2
jne 0x41e7bf
mov eax, dword [ebp - 0x814]
test eax, eax
je 0x41e779
test al, 1
jne 0x41e7bf
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x41e782
jmp 0x41e7bf
xor eax, eax
mov word [ebp - 0x810], ax
mov ecx, 0x585158
lea esi, [ebp - 0x810]
mov edx, 0x3ff
sub esi, ecx
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x41e7b2
movzx eax, word [esi + ecx]
test ax, ax
je 0x41e7b2
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41e794
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edi, edi
je 0x41e7ca
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x585158
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x41e81b
mov ecx, 0x585158
mov esi, str.noset
mov edx, 0x3ff
sub esi, ecx
nop word [eax + eax]
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x41e80e
movzx eax, word [esi + ecx]
test ax, ax
je 0x41e80e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41e7f0
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
call fcn.004067b0
mov ecx, eax
test ecx, ecx
je 0x41e88a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x585158
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.004063a0
test al, al
jne 0x41e86c
mov ecx, 0x585158
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e850
sub ecx, edx
sar ecx, 1
push ecx
push 0x585158
mov ecx, ebx
call fcn.0040ef20
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bf660
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00406380
int3

Function at 0x41e8a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 4], 0x104
push eax
lea eax, [ebp - 8]
push eax
push str.em_lds
push str.SOFTWARETabXExplorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0xc], 1
sete al
mov esp, ebp
pop ebp
ret
Function at 0x422350
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52df8b
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x57e7c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005020d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x10
xor eax, eax
mov dword [ebp - 0x428], 0
push 0x53a6dc
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
call fcn.0040c410
mov dword [ebp - 4], 0
call fcn.0040ee20
test al, al
je 0x422404
push 0x12
push str.TabXExplorer64.exe
lea ecx, [ebp - 0x438]
call fcn.0040c410
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005020d0
add esp, 0xc
lea eax, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
cmovae eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x424]
test eax, eax
setne bl
cmp edx, 8
jb 0x422491
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422487
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4224ad
push edx
push ecx
call fcn.004bf3aa
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bf660
mov esp, ebp
pop ebp
ret
call fcn.005055a9
int3
Function at 0x4224c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52dfea
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x57e7c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00412b10
mov ecx, eax
call fcn.0040e130
test eax, eax
jne 0x422511
call fcn.00412b10
mov ecx, eax
call fcn.0040e150
push 1
call fcn.00412b10
mov ecx, eax
call fcn.0040e220
mov eax, dword [edi + 0x94]
test eax, eax
je 0x422552
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x422537
mov eax, dword [edi + 0x94]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [edi + 0x94]
mov dword [edi + 0x94], 0
test ecx, ecx
je 0x422552
mov eax, dword [ecx]
push 1
call dword [eax + 4]
push 0x3fc
call fcn.004bf694
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x422576
mov ecx, eax
call fcn.00420930
jmp 0x422578
xor eax, eax
mov ecx, dword [edi + 0x94]
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x94], eax
test ecx, ecx
je 0x42259c
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov eax, dword [edi + 0x94]
push dword [edi + 8]
mov ecx, eax
call fcn.00420e60
mov esi, dword [edi + 0x94]
push dword [ebp - 0x10]
lea eax, [esi + 0x20]
push eax
push 0x57e308
push 0x57e028
push 0x5888b0
call fcn.0041aea0
add esp, 0x14
movzx eax, ax
mov ecx, esi
push 0
push eax
push 0
push 0
push 0x56000000
push 0
push 0
push 0xfffffffffffffffd
call fcn.0041ba80
push 1
mov ecx, edi
call fcn.00425b00
push 0
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x10], esp
mov dword [eax], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8Tray__AEXXZPAV3__std__XPAX_std__.0
mov dword [eax + 8], 0x424580
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], edi
mov dword [eax + 0x24], eax
push 0x61a8
mov dword [ebp - 4], 1
call fcn.0041bce0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0041b8c0
push 0
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x10], esp
mov dword [eax], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8Tray__AEXXZPAV3__std__XPAX_std__.0
mov dword [eax + 8], 0x424420
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], edi
mov dword [eax + 0x24], eax
push 0x3e8
mov dword [ebp - 4], 2
call fcn.0041bce0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0041b8c0
push 0
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x10], esp
mov dword [eax], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8Tray__AEXXZPAV3__std__XPAX_std__.0
mov dword [eax + 8], 0x4245a0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], edi
mov dword [eax + 0x24], eax
push 0xea60
mov dword [ebp - 4], 3
call fcn.0041bce0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0041b8c0
push 0
lea ecx, [edi + 0x30]
call fcn.0041cbd0
lea ecx, [edi + 0x30]
call fcn.0041d690
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4