joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434a20
Capabilities:
Get geographical location

Disassembly:
mov eax, dword [0x45eaa8]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push edi
test eax, eax
jne 0x434a68
push 0
push 0
push 1
push 0
call esi
test eax, eax
je 0x434a48
mov eax, 2
jmp 0x434a63
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x434b48
mov eax, 1
mov dword [0x45eaa8], eax
cmp eax, 2
jne 0x434a88
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 1
jne 0x434b5a
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x434aa3
mov ecx, dword [0x45e838]
mov dword [esp + 0x24], ecx
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
push 0
push 0
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edi, eax
test edi, edi
jne 0x434ac2
pop edi
pop esi
pop ebp
pop ebx
ret
lea edx, [edi + edi]
push edx
call fcn.00423a60
mov esi, eax
add esp, 4
test esi, esi
jne 0x434ad9
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
push esi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x434b3f
mov eax, dword [esp + 0x20]
push 0
test eax, eax
push 0
jne 0x434b20
mov eax, dword [esp + 0x2c]
push 0
push 0
push 0xffffffffffffffff
push esi
push 0x220
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x434b3f
push esi
call fcn.004239f0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push 0xffffffffffffffff
push esi
push 0x220
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
jne 0x434b4f
push esi
call fcn.004239f0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call fcn.004239f0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x435440
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1004
call fcn.00427b10
push ebx
mov ebx, dword [esp + 0x100c]
push ebp
push esi
push edi
xor ebp, ebp
push 1
push ebp
push ebx
call fcn.0042d580
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
je 0x435580
push 2
push ebp
push ebx
call fcn.0042d580
add esp, 0xc
cmp eax, 0xffffffff
je 0x435580
mov ecx, dword [esp + 0x101c]
mov esi, ecx
sub esi, eax
test esi, esi
jle 0x435521
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x14]
push 0x8000
rep stosd dword es:[edi], eax
push ebx
call fcn.00435650
add esp, 8
mov edi, eax
cmp esi, 0x1000
mov eax, 0x1000
jge 0x4354c6
mov eax, esi
push eax
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.0042d2f0
add esp, 0xc
cmp eax, 0xffffffff
je 0x4354e2
sub esi, eax
test esi, esi
jle 0x4354fa
jmp 0x4354b7
call fcn.00427f80
cmp dword [eax], 5
jne 0x4354f7
call fcn.00427f70
mov dword [eax], 0xd
or ebp, 0xffffffff
push edi
push ebx
call fcn.00435650
mov edi, dword [esp + 0x18]
add esp, 8
push 0
push edi
push ebx
call fcn.0042d580
add esp, 0xc
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1004
ret
jge 0x435567
push 0
push ecx
push ebx
call fcn.0042d580
add esp, 0xc
push ebx
call fcn.00425c30
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ebp, eax
neg ebp
sbb ebp, ebp
neg ebp
dec ebp
cmp ebp, 0xffffffff
jne 0x435567
call fcn.00427f70
mov dword [eax], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.00427f80
mov dword [eax], esi
push 0
push edi
push ebx
call fcn.0042d580
add esp, 0xc
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1004
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1004
ret
Function at 0x4359c0
Capabilities:
Set environment variable

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x435b7e
push 0x3d
push edi
call fcn.00427a40
mov esi, eax
add esp, 8
test esi, esi
je 0x435b7e
cmp edi, esi
je 0x435b7e
mov dl, byte [esi + 1]
mov ecx, dword [0x45e648]
xor eax, eax
test dl, dl
sete al
mov ebp, eax
mov eax, dword [0x45e644]
cmp eax, ecx
jne 0x435a17
push eax
call fcn.00435c50
add esp, 4
mov dword [0x45e644], eax
test eax, eax
jne 0x435a92
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x435a3e
mov eax, dword [0x45e64c]
test eax, eax
je 0x435a3e
call fcn.004355d0
test eax, eax
je 0x435a8d
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
test ebp, ebp
je 0x435a4a
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 4
call fcn.00423a60
add esp, 4
mov dword [0x45e644], eax
test eax, eax
je 0x435b7e
mov dword [eax], 0
mov eax, dword [0x45e64c]
test eax, eax
jne 0x435a8d
push 4
call fcn.00423a60
add esp, 4
mov dword [0x45e64c], eax
test eax, eax
je 0x435b7e
mov dword [eax], 0
mov eax, dword [0x45e644]
mov ebx, eax
mov eax, esi
sub eax, edi
push eax
push edi
mov dword [esp + 0x18], eax
call fcn.00435bd0
mov esi, eax
add esp, 8
test esi, esi
jl 0x435b8f
cmp dword [ebx], 0
je 0x435b8f
test ebp, ebp
je 0x435b87
mov ecx, dword [ebx + esi*4]
lea edi, [ebx + esi*4]
push ecx
call fcn.004239f0
mov eax, dword [edi]
add esp, 4
test eax, eax
je 0x435ae9
mov eax, edi
mov edx, dword [eax + 4]
add eax, 4
mov dword [edi], edx
inc esi
mov ecx, dword [eax]
mov edi, eax
test ecx, ecx
jne 0x435ad8
lea eax, [esi*4]
push eax
push ebx
call fcn.00423b30
add esp, 8
test eax, eax
je 0x435b03
mov dword [0x45e644], eax
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x435b76
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
call fcn.00423a60
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x435b76
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [esp + 0x10]
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
neg ebp
rep movsb byte es:[edi], byte [esi]
sbb ebp, ebp
mov byte [ebx + eax], 0
lea eax, [ebx + eax + 1]
not ebp
and ebp, eax
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push ebx
call fcn.004239f0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret
mov dword [ebx + esi*4], edi
jmp 0x435b07
test ebp, ebp
jne 0x435b76
test esi, esi
jge 0x435b99
neg esi
lea ecx, [esi*4 + 8]
push ecx
push ebx
call fcn.00423b30
add esp, 8
test eax, eax
je 0x435b7e
mov dword [eax + esi*4], edi
mov dword [eax + esi*4 + 4], 0
mov dword [0x45e644], eax
jmp 0x435b07
Function at 0x438834
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x43886c
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0043c05f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0043c037
jmp 0x438878
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x90]
pop esi
ret 4
Function at 0x43a3d6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x43a418
call fcn.00445459
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x43a418
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x43a40f
xor eax, eax
jmp 0x43a420
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0043a426
pop edi
pop esi
pop ebx
ret 4

Function at 0x43aab7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x43aada
cmp dword [edi + 0x3c], 0
jne 0x43aada
movzx eax, word [edi + 0x40]
mov dword [edi + 0x3c], eax
call fcn.00445459
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0043ab19
pop edi
pop esi
pop ebx
ret 8
Function at 0x43ae6e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x44922c
call fcn.004278d0
push ecx
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x14], eax
call fcn.00445459
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x43aead
call fcn.00445459
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43aebb
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43aec9
or eax, 0xffffffff
jmp 0x43afb5
mov ecx, esi
call fcn.0043adea
mov edi, eax
mov dword [ebp - 0x20], edi
call fcn.00438368
push edi
call fcn.00437e0b
and dword [ebp - 0x1c], 0
test edi, edi
je 0x43af03
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43af03
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x1c], 1
and dword [ebp - 4], 0
push esi
call fcn.0043831c
push edi
call fcn.00437e0b
push ebx
push eax
push dword [ebp - 0x14]
mov ecx, esi
call fcn.0043ab67
xor ebx, ebx
cmp eax, ebx
je 0x43af7c
test byte [esi + 0x24], 0x10
je 0x43af47
push 4
mov ecx, esi
pop ebx
call fcn.0043b2f1
test ah, 1
je 0x43af3d
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.0043a4e0
xor ebx, ebx
cmp dword [esi + 0x1c], ebx
je 0x43af7c
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.0043b45a
jmp 0x43af7c
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], ebx
je 0x43af8e
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, ebx
je 0x43afa4
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x43afa4
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0043ae21
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x43cd61
Capabilities:
Clear file content

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi]
push dword [esp + 0xc]
call dword [eax + 0x30]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x43cd89
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043c592
pop esi
ret 4
Function at 0x43f935
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push edi
xor edi, edi
cmp dword [ebp + 8], edi
jne 0x43f952
cmp dword [0x45e54c], edi
jne 0x43faa4
cmp word [0x45e558], di
mov dword [0x45e54c], 1
jne 0x43f984
push str.MSH_SCROLL_LINES_MSG
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
xor ecx, ecx
cmp eax, edi
setne cl
inc ecx
mov dword [0x45e554], eax
mov word [0x45e558], cx
cmp word [0x45e558], 2
jne 0x43f9c0
push str.Magellan_MSWHEEL
push str.MouseZ
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, edi
je 0x43f9c0
mov ecx, dword [0x45e554]
cmp ecx, edi
je 0x43f9c0
push edi
push edi
push ecx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x45e550], eax
jmp 0x43faa9
push 0x94
lea eax, [ebp - 0x9c]
push edi
push eax
call fcn.004229d0
add esp, 0xc
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x94
mov dword [0x45e550], 3
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x43faa4
cmp dword [ebp - 0x8c], 1
je 0x43fa14
cmp dword [ebp - 0x8c], 2
jne 0x43faa4
cmp dword [ebp - 0x98], 4
jae 0x43fa83
lea eax, [ebp + 8]
push eax
push 1
push edi
push str.Control_PanelDesktop
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43faa4
lea eax, [ebp - 4]
mov dword [ebp - 4], pe_nt_image_headers32
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 8]
push eax
push edi
push str.WheelScrollLines
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43fa78
push 0xa
lea eax, [ebp - 0x11c]
push edi
push eax
call fcn.00422650
add esp, 0xc
mov dword [0x45e550], eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43faa4
cmp dword [ebp - 0x8c], 2
jne 0x43faa4
cmp dword [ebp - 0x98], 4
jb 0x43faa4
push edi
push 0x45e550
push edi
push 0x68
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [0x45e550]
pop edi
leave
ret

Function at 0x440f45
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x7c], 0
je 0x440f89
push dword [ebp + 8]
call fcn.004465ef
mov esi, eax
test esi, esi
je 0x440fb4
lea eax, [ebp + 0x10]
push 4
push eax
push 4
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
jmp 0x440fb4
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push 0x457818
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x10]
push dword [esi + 0x90]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
leave
ret 0xc
Function at 0x44526e
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x449502
call fcn.004278d0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CNoTrackObject.0
xor eax, eax
push 0xa
lea ecx, [esi + 0x30]
mov dword [ebp - 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.004376e1
push 0xa
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
call fcn.004376e1
push 0xa
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 2
call fcn.00437386
mov ecx, dword [ebp - 0xc]
mov dword [esi], vtable.AFX_MODULE_THREAD_STATE.0
mov dword [esi + 0xc], 0x54
mov dword [esi + 0x28], 0x43bb8f
mov eax, esi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x445feb
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x44601b
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 8]
jl 0x4460a5
cmp dword [esp + 0x14], ebx
je 0x4460a5
cmp esi, ebx
jne 0x446041
push 0x10
call fcn.00445e08
cmp eax, ebx
je 0x446030
mov dword [eax], vtable.CThreadData.0
mov esi, eax
jmp 0x446032
xor esi, esi
push esi
lea ecx, [edi + 0x14]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.00445daa
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x446058
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x446068
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x446074
call fcn.00435dac
mov eax, dword [esi + 8]
mov ecx, eax
imul ecx, ecx, 0x3fffffff
add ecx, dword [edi + 0xc]
shl ecx, 2
push ecx
mov ecx, dword [esi + 0xc]
push ebx
lea eax, [ecx + eax*4]
push eax
call fcn.004229d0
mov eax, dword [edi + 0xc]
add esp, 0xc
mov dword [esi + 8], eax
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword [eax + edx*4], ecx
pop ebx
ret 8
Function at 0x401a50
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x41ea08]
push esi
push edi
push 0
push 0
push pe_nt_image_headers32
push 0x3f1
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
test eax, eax
je 0x401b29
mov ecx, dword [0x41ea08]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x3f2
push ecx
mov dword [0x41eb24], 0
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
mov edx, dword [0x41ea08]
push 0
push 0x3f3
push edx
call esi
push eax
call edi
mov eax, dword [0x41ea08]
push 0
push 0x401
push eax
call esi
push eax
call edi
mov ecx, dword [0x41ea08]
push 5
push 0x3f5
push ecx
call esi
push eax
call edi
mov edx, dword [0x41ea08]
push 0
push 0x3f2
push edx
call esi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
mov eax, dword [0x41ea08]
push 0
push 0x3f3
push eax
call esi
push eax
call edi
mov ecx, dword [0x41ea08]
push 0
push 0x401
push ecx
call esi
push eax
call edi
mov edx, dword [0x41ea08]
push 1
push 0x3f5
push edx
call esi
push eax
call edi
pop edi
pop esi
ret
mov eax, dword [0x41ea08]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push 0x3f2
push eax
mov dword [0x41eb24], 1
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
mov ecx, dword [0x41ea08]
push 5
push 0x3f3
push ecx
call esi
push eax
call edi
mov edx, dword [0x41ea08]
push 5
push 0x401
push edx
call esi
push eax
call edi
mov eax, dword [0x41ea08]
push 0
push 0x3f5
push eax
call esi
push eax
call edi
mov ecx, dword [0x41ea08]
push 1
push 0x3f2
push ecx
call esi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
mov edx, dword [0x41ea08]
push 1
push 0x3f3
push edx
call esi
push eax
call edi
mov eax, dword [0x41ea08]
push 1
push 0x401
push eax
call esi
push eax
call edi
mov ecx, dword [0x41ea08]
push 0
push 0x3f5
push ecx
call esi
push eax
call edi
pop edi
pop esi
ret
Function at 0x404d50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push esi
xor esi, esi
push eax
push 1
push esi
push str.SoftwareMijenixPowerDeskVersion3.0PDFind
push 0x80000001
mov dword [esp + 0x20], 3
mov dword [esp + 0x1c], 0x20
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404db6
mov edx, dword [esp + 0x14]
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push esi
push str.Columns
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x404dab
mov esi, 1
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0xc
ret

Function at 0x404dc0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x20
push ebx
xor ebx, ebx
cmp word [0x41d078], 0x9c54
je 0x404ddb
mov eax, 1
pop ebx
add esp, 0x20
ret
push esi
mov esi, dword [esp + 0x2c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x101d
push esi
call edi
push 0
push 1
push 0x101d
push esi
mov dword [esp + 0x1c], eax
call edi
push 0
push 2
push 0x101d
push esi
mov dword [esp + 0x20], eax
call edi
push 0
push 3
push 0x101d
push esi
mov dword [esp + 0x24], eax
call edi
push 0
push 4
push 0x101d
push esi
mov dword [esp + 0x28], eax
call edi
push 0
push 5
push 0x101d
push esi
mov dword [esp + 0x2c], eax
call edi
push 0
push 6
push 0x101d
push esi
mov dword [esp + 0x30], eax
call edi
push 0
push 7
push 0x101d
push esi
mov dword [esp + 0x34], eax
call edi
mov dword [esp + 0x28], eax
lea eax, [esp + 0x30]
push eax
push 2
push 0
push str.SoftwareMijenixPowerDeskVersion3.0PDFind
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop edi
pop esi
test eax, eax
jne 0x404eb4
mov edx, dword [esp + 0x28]
lea ecx, [esp + 4]
push 0x20
push ecx
push 3
push eax
push str.Columns
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x404ea9
mov ebx, 1
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
add esp, 0x20
ret
Function at 0x405880
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov eax, dword [0x422ba0]
mov ecx, dword [esp + 4]
sub esp, 0x264
mov edx, dword [esp + 0x26c]
or edx, 0x40000348
push esi
push 0
push eax
push 0x79
push ecx
push 0x14
push 0x14
push 0
push 0
push edx
push 0x41ea28
push str.SysListView32
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x4058cf
pop esi
add esp, 0x264
ret
push ebx
push edi
lea eax, [esp + 0xc]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push 0x4001
lea ecx, [esp + 0x114]
push 0x160
push ecx
lea edx, [esp + 0x18]
push 0
push edx
call ebx
mov edi, eax
push 0x4000
lea eax, [esp + 0x114]
push 0x160
push eax
lea ecx, [esp + 0x18]
push 0
push ecx
call ebx
test edi, edi
mov ebx, eax
je 0x405945
test ebx, ebx
je 0x405945
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0x1003
push esi
call edi
push ebx
push 0
push 0x1003
push esi
call edi
push esi
call fcn.00404ec0
add esp, 4
mov eax, esi
pop edi
pop ebx
pop esi
add esp, 0x264
ret
Function at 0x406d30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [0x41eaf4]
sub esp, 0x28
push ebp
push esi
or esi, 0xffffffff
or ebp, 0xffffffff
test eax, eax
je 0x406df3
push ebx
mov ebx, dword [esp + 0x38]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, ebx
mov ecx, dword [0x41eaf4]
neg eax
sbb eax, eax
and eax, 2
and eax, 0xffff
push eax
push esi
push 0x100c
push ecx
call edi
mov esi, eax
cmp esi, 0xffffffff
jle 0x406de2
mov eax, dword [0x41eaf4]
lea edx, [esp + 0x10]
push edx
push 0
push 0x1005
push eax
mov dword [esp + 0x20], 4
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 0
call edi
test eax, eax
je 0x406d54
mov eax, dword [esp + 0x30]
test eax, eax
je 0x406d54
mov eax, dword [eax]
test eax, eax
je 0x406d54
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x406ddb
mov ecx, dword [0x41eaf4]
push 0
push esi
push 0x1008
push ecx
call edi
test eax, eax
je 0x406d54
mov esi, ebp
jmp 0x406d54
mov ebp, esi
jmp 0x406d54
push 1
call fcn.0040b1c0
add esp, 4
call fcn.00409130
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x28
ret

Function at 0x407a60
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [0x41eb30]
test esi, esi
je 0x407a8d
mov edx, dword [esp + 0xc]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
mov eax, dword [esp + 0x1c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret

Function at 0x407a90
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [0x41eb30]
test eax, eax
jne 0x407a9c
pop ecx
ret
mov edx, dword [esp + 0xc]
lea ecx, [esp]
push ecx
lea ecx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
pop ecx
ret