joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d7b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4dc144
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x506380]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x34]
xor ebx, ebx
mov dword [esi + 0x20], ecx
lea ecx, [esp + 0x10]
mov dword [esi], vtable.t_bbLoad.0
mov dword [esi + 4], ebx
mov byte [esi + 0xc], 0xff
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], 0x4fd638
mov dword [esi + 0x2c], 0x4fd608
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], ebx
call fcn.00402c70
push eax
lea ecx, [esi + 0x48]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
call fcn.00402ca0
lea ecx, [esi + 0x54]
mov dword [esp + 0x24], ebx
call fcn.004c1360
lea ecx, [esi + 0x88]
call fcn.004c1360
push fcn.004c12b0
push fcn.004c1360
push 3
push 0x34
lea edi, [esi + 0xbc]
push edi
mov byte [esp + 0x38], 2
call fcn.004b75aa
lea ecx, [edi + 0x9c]
call fcn.004c1360
mov dword [edi + 0xe0], ebx
mov byte [edi + 0xe4], bl
mov byte [edi + 0xe5], bl
xor eax, eax
mov dword [edi + 0xd0], eax
mov dword [edi + 0xd4], eax
mov dword [edi + 0xd8], eax
mov dword [edi + 0xdc], eax
mov dword [esi + 0x1a4], ebx
mov dword [esi + 0x1a8], ebx
mov byte [esi + 0x1ac], bl
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x1b0], ebx
mov dword [esi + 0x1b4], ebx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 0xc
Function at 0x40dac0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 4]
sub esp, 0x1c
test eax, eax
jne 0x40dad1
or eax, 0xffffffff
add esp, 0x1c
ret
push edi
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x10000000
push eax
mov eax, dword [esi + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esi + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 4]
push 0
push 0x64
push 0x10d8
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
xor eax, eax
push eax
push eax
push eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call edi
test eax, eax
je 0x40db86
push ebx
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
push ebp
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageW]
mov edi, edi
cmp eax, 0xffffffff
je 0x40db84
lea edx, [esp + 0xc]
push edx
call ebx
lea eax, [esp + 0xc]
push eax
call ebp
push 0
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
call edi
test eax, eax
jne 0x40db60
pop ebp
pop ebx
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_CloseWindow]
mov dword [esi + 4], 0
xor eax, eax
pop edi
add esp, 0x1c
ret
Function at 0x40e920
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x78
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 4]
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
xor eax, eax
push esi
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
xor ebx, ebx
push edx
mov dword [esp + 0x28], ebx
call ebp
push 2
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_MonitorFromRect]
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x60]
push ecx
push eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x68], 0x28
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x40e9f9
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
jmp 0x40ea7a
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
call esi
push 1
mov edi, eax
call esi
xor ecx, ecx
xor edx, edx
push ebx
push str.Shell_TrayWnd
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x40ea6e
lea ecx, [esp + 0x40]
push ecx
push eax
call ebp
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_SubtractRect]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
cmp edx, eax
jle 0x40ea96
mov ecx, dword [esp + 0x2c]
mov esi, eax
sub eax, edx
add eax, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esp + 0x24]
jmp 0x40ead7
mov esi, dword [esp + 0x20]
cmp esi, edi
jge 0x40eaac
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
sub edx, esi
add edx, edi
jmp 0x40ead5
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
cmp edi, eax
jle 0x40eac5
lea ecx, [eax - 8]
mov eax, dword [esp + 0x24]
sub eax, edi
add eax, ecx
jmp 0x40ead3
mov ebx, dword [esp + 0x24]
cmp ebx, ecx
jge 0x40eaf2
mov eax, ecx
sub ecx, ebx
add ecx, edi
mov edi, esi
mov esi, edx
mov edx, dword [esp + 0x8c]
push 1
sub ecx, eax
push ecx
sub esi, edi
push esi
push eax
mov eax, dword [edx + 4]
push edi
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x78
ret 4
Function at 0x40f480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dc102
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x506380]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
mov dword [edi], vtable.IWndParent.0
call fcn.00402c70
xor ebp, ebp
push eax
lea ecx, [edi + 0x10]
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
mov dword [edi + 0xc], ebp
call fcn.00402ca0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], ebp
push eax
mov dword [edi], vtable.t_bbcNewsTitleBar.0
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebp
mov dword [edi + 0x24], ebp
mov edx, dword [0x516434]
push ecx
push edx
lea esi, [edi + 0x28]
mov eax, ebx
call fcn.0040fe70
push 0x2a
push 0x1e
mov byte [esp + 0x2c], 1
mov eax, dword [0x51642c]
push eax
push ebx
lea ecx, [edi + 0x40c]
push ecx
call fcn.00410520
push ebp
push 0x2a
mov byte [esp + 0x2c], 2
mov edx, dword [0x516430]
push edx
push ebx
lea eax, [edi + 0x618]
push eax
call fcn.00410520
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0xc
Function at 0x41a0cf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x506380]
jne 0x41a0d9
repz ret
jmp fcn.0041e509

Function at 0x426468
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041d1a2
and dword [ebp - 4], 0
cmp dword [0x517cdc], 0
mov ebx, eax
jne 0x426519
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4265ca
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4265ca
push eax
call fcn.0041d130
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x517cdc], eax
call esi
push eax
call fcn.0041d130
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x517ce0], eax
call esi
push eax
call fcn.0041d130
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x517ce4], eax
call esi
push eax
call fcn.0041d130
pop ecx
mov dword [0x517cec], eax
test eax, eax
je 0x426519
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041d130
pop ecx
mov dword [0x517ce8], eax
mov eax, dword [0x517ce8]
cmp eax, ebx
je 0x426571
cmp dword [0x517cec], ebx
je 0x426571
push eax
call fcn.0041d1ab
push dword [0x517cec]
mov esi, eax
call fcn.0041d1ab
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x426571
test edi, edi
je 0x426571
call esi
test eax, eax
je 0x426568
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x426568
test byte [ebp - 0xc], 1
jne 0x426571
or dword [ebp + 0x10], 0x200000
jmp 0x4265aa
mov eax, dword [0x517ce0]
cmp eax, ebx
je 0x4265aa
push eax
call fcn.0041d1ab
pop ecx
test eax, eax
je 0x4265aa
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4265aa
mov eax, dword [0x517ce4]
cmp eax, ebx
je 0x4265aa
push eax
call fcn.0041d1ab
pop ecx
test eax, eax
je 0x4265aa
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x517cdc]
call fcn.0041d1ab
pop ecx
test eax, eax
je 0x4265ca
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4265cc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42e2b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x517d14]
mov dword [ebp - 4], eax
jmp 0x42e2c9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x42e2e6
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x42e2c0
mov esp, ebp
pop ebp
ret
Function at 0x42e2f0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x517d20], eax
je 0x42e30e
mov eax, 0x10dd
jmp 0x42e3ef
mov eax, dword [0x517d30]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42e38c
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x17]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x42e36a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x42e36a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.0042e440
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.0041a0c4
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x42e316
mov dword [0x517d30], 0
call fcn.0042e400
mov ecx, dword [0x517d2c]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x42e3d9
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0041a0c4
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x42e3a4
mov dword [0x517d2c], 0
mov dword [0x517d20], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x42e890
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x517d24], 0
je 0x42e8a9
mov eax, dword [0x517d24]
jmp 0x42e949
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x42e8bb
xor eax, eax
jmp 0x42e949
push 8
call fcn.0041a2a9
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42e911
mov dword [ebp - 4], 8
cmp dword [ebp - 8], 0
je 0x42e8fa
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041a0c4
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [0x517d24], eax
mov dword [0x517d28], 0
mov eax, dword [ebp - 4]
jmp 0x42e949
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x42e92b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x42e8db
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [0x517d2c]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [0x517d2c], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x42fdc0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x506380]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0041de10
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
push str._temp_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0041ab6c
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041a0cf
mov esp, ebp
pop ebp
ret

Function at 0x431470
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dadd8
mov eax, dword fs:[0]
push eax
sub esp, 0x858
mov eax, dword [0x506380]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x85c], 0
xor eax, eax
mov word [ebp - 0x81c], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x81a]
push ecx
call fcn.0041de10
add esp, 0xc
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x81d], 0
lea edx, [ebp - 0x14]
push edx
push 0x20219
push 0
push 0x4e5d78
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43153b
lea eax, [ebp - 0x18]
push eax
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x4e5d6c
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43153b
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x81c]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
push 0x4e5df8
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43153b
mov byte [ebp - 0x81d], 1
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4e5e04
lea ecx, [ebp - 0x83c]
call fcn.004045e0
mov dword [ebp - 4], 1
movzx edx, byte [ebp - 0x81d]
test edx, edx
je 0x4315e5
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x83c]
call fcn.00404660
lea ecx, [ebp - 0x83c]
call fcn.00410da0
sub eax, 0xc
push eax
lea ecx, [ebp - 0x83c]
call fcn.00431b80
push 0x4e5e08
lea ecx, [ebp - 0x83c]
push ecx
lea edx, [ebp - 0x858]
push edx
call fcn.00436e80
add esp, 0xc
mov dword [ebp - 0x860], eax
mov eax, dword [ebp - 0x860]
mov dword [ebp - 0x864], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x864]
push ecx
lea ecx, [ebp - 0x83c]
call fcn.00431b60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x858]
call fcn.00403a20
lea edx, [ebp - 0x83c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404620
mov eax, dword [ebp - 0x85c]
or eax, 1
mov dword [ebp - 0x85c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x83c]
call fcn.00403a20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0041a0cf
mov esp, ebp
pop ebp
ret
Function at 0x431630
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dae35
mov eax, dword fs:[0]
push eax
sub esp, 0x858
mov eax, dword [0x506380]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x85c], 0
xor eax, eax
mov word [ebp - 0x81c], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x81a]
push ecx
call fcn.0041de10
add esp, 0xc
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x81d], 0
lea edx, [ebp - 0x14]
push edx
push 0x20219
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360se6.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4316fb
lea eax, [ebp - 0x18]
push eax
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x4e5eb0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4316fb
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x81c]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
push str.Path
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4316fb
mov byte [ebp - 0x81d], 1
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4e5ec8
lea ecx, [ebp - 0x83c]
call fcn.004045e0
mov dword [ebp - 4], 1
movzx edx, byte [ebp - 0x81d]
test edx, edx
je 0x4317a5
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x83c]
call fcn.00404660
lea ecx, [ebp - 0x83c]
call fcn.00410da0
sub eax, 0xc
push eax
lea ecx, [ebp - 0x83c]
call fcn.00431b80
push str.User_DataDefault
lea ecx, [ebp - 0x83c]
push ecx
lea edx, [ebp - 0x858]
push edx
call fcn.00436e80
add esp, 0xc
mov dword [ebp - 0x860], eax
mov eax, dword [ebp - 0x860]
mov dword [ebp - 0x864], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x864]
push ecx
lea ecx, [ebp - 0x83c]
call fcn.00431b60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x858]
call fcn.00403a20
lea edx, [ebp - 0x83c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404620
mov eax, dword [ebp - 0x85c]
or eax, 1
mov dword [ebp - 0x85c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x83c]
call fcn.00403a20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0041a0cf
mov esp, ebp
pop ebp
ret
Function at 0x442810
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x20], 0
je 0x44286e
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x20]
cdq
mov ecx, eax
add ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
adc esi, edx
sub ecx, 1
sbb esi, 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x20]
cdq
push edx
push eax
push esi
push ecx
call fcn.00421fd0
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x20]
cdq
push edx
push eax
push esi
push ecx
call fcn.00422ee0
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004426a0
add esp, 0xc
test eax, eax
je 0x4428a9
push 0x7e48
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
push ecx
push str.winTruncate1
push 0x60a
call fcn.00442410
add esp, 0x10
mov dword [ebp - 4], eax
jmp 0x4428e7
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4428e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x10], eax
push 0x7e4b
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
push eax
push str.winTruncate2
push 0x60a
call fcn.00442410
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x442950
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4429af
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4429af
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0x10], edx
push 0x7e9d
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
push ecx
push str.winFileSize
push 0x70a
call fcn.00442410
add esp, 0x10
jmp 0x4429ce
mov eax, dword [ebp - 4]
xor edx, edx
mov cl, 0x20
call fcn.004b7d70
mov ecx, dword [ebp - 0x10]
xor esi, esi
add eax, ecx
adc edx, esi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x443d80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x506380]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
cmp dword [0x519434], 0
je 0x443dc1
mov eax, dword [0x519434]
push eax
push 0x50fbc0
lea ecx, [ebp - 0x110]
push ecx
push 0xe6
call fcn.004416c0
add esp, 0x10
jmp 0x443ea4
mov edx, 1
test edx, edx
je 0x443e39
push 0x104
lea eax, [ebp - 0x320]
push eax
call fcn.0042fdc0
add esp, 8
lea ecx, [ebp - 0x320]
push ecx
call fcn.00442120
add esp, 4
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x324], 0
je 0x443e2d
mov edx, dword [ebp - 0x324]
push edx
push 0x50fbc4
lea eax, [ebp - 0x110]
push eax
push 0xe6
call fcn.004416c0
add esp, 0x10
mov ecx, dword [ebp - 0x324]
push ecx
call fcn.0041a6e9
add esp, 4
jmp 0x443e37
mov eax, 7
jmp 0x443fd5
jmp 0x443ea4
lea edx, [ebp - 0x430]
push edx
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x430]
push eax
call fcn.004420d0
add esp, 4
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0
je 0x443e9a
mov ecx, dword [ebp - 0x434]
push ecx
push 0x50fbc8
lea edx, [ebp - 0x110]
push edx
push 0xe6
call fcn.004416c0
add esp, 0x10
mov eax, dword [ebp - 0x434]
push eax
call fcn.0041a6e9
add esp, 4
jmp 0x443ea4
mov eax, 7
jmp 0x443fd5
lea ecx, [ebp - 0x110]
push ecx
call fcn.00441a00
add esp, 4
mov esi, eax
push str.etilqs_
call fcn.00441a00
add esp, 4
lea edx, [esi + eax + 0x11]
cmp edx, dword [ebp + 8]
jl 0x443ed5
mov eax, 1
jmp 0x443fd5
lea eax, [ebp - 0x110]
push eax
call fcn.00441a00
add esp, 4
mov dword [ebp - 0x114], eax
jmp 0x443efb
mov ecx, dword [ebp - 0x114]
sub ecx, 1
mov dword [ebp - 0x114], ecx
cmp dword [ebp - 0x114], 0
jbe 0x443f19
mov edx, dword [ebp - 0x114]
movsx eax, byte [ebp + edx - 0x111]
cmp eax, 0x5c
jne 0x443f19
jmp 0x443eec
mov ecx, dword [ebp - 0x114]
mov byte [ebp + ecx - 0x110], 0
lea edx, [ebp - 0x110]
push edx
push str._setilqs_
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
sub ecx, 0x11
push ecx
call fcn.004416c0
add esp, 0x10
mov edx, dword [ebp + 0xc]
push edx
call fcn.00441a00
add esp, 4
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x118]
push eax
push 0xf
call fcn.004417c0
add esp, 8
mov dword [ebp - 0x114], 0
jmp 0x443f96
mov ecx, dword [ebp - 0x114]
add ecx, 1
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp - 0x118]
add edx, 1
mov dword [ebp - 0x118], edx
cmp dword [ebp - 0x114], 0xf
jae 0x443fc7
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x118]
movzx eax, byte [eax]
xor edx, edx
mov ecx, 0x3e
div ecx
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x118]
mov cl, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [eax], cl
jmp 0x443f78
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x118]
mov byte [edx], 0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041a0cf
mov esp, ebp
pop ebp
ret