joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4473f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 0x10], edi
mov edx, dword [ebx + 0x13c]
test edx, edx
mov ecx, edx
mov eax, dword [ebx + 0x38]
mov edi, dword [ebx + 0x40]
jne 0x447415
mov ecx, 0x20000
sub edi, eax
cmp edi, ecx
ja 0x447443
push 0
lea edx, [ebp - 8]
push edx
push edi
push eax
push dword [ebx + 0xe4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xffffffff
test eax, eax
je 0x4474b8
mov ecx, 1
jmp 0x4474b8
test edx, edx
mov ecx, edi
mov dword [ebp - 0x18], edi
mov edi, eax
jne 0x447453
mov edx, 0x20000
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], esi
mov esi, ecx
push 0
lea edx, [ebp - 8]
push edx
push dword [ebp - 4]
push edi
push dword [ebx + 0xe4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x447482
mov edi, dword [ebp - 0x18]
mov ecx, 0xffffffff
mov esi, dword [ebp - 0x14]
jmp 0x4474b8
mov edx, dword [ebx + 0x13c]
test edx, edx
mov eax, dword [ebp - 8]
jne 0x447494
mov edx, 0x20000
sub esi, eax
add edi, eax
cmp esi, edx
jae 0x4474a5
mov dword [ebp - 4], esi
test esi, esi
jne 0x4474a9
jmp 0x4474ad
test esi, esi
je 0x4474ad
test eax, eax
ja 0x44745b
mov edi, dword [ebp - 0x18]
mov ecx, 1
mov esi, dword [ebp - 0x14]
mov edx, dword [ebx + 0x38]
mov eax, dword [ebx + 0xf8]
mov dword [ebx + 0x40], edx
add edx, eax
xor eax, eax
mov dword [ebx + 0xa8], eax
mov dword [ebx + 0xac], eax
mov eax, edi
mov dword [ebx + 0x44], edx
cdq
mov eax, dword [ebx + 0xc0]
add edi, eax
mov dword [ebx + 0xc0], edi
adc edx, dword [ebx + 0xc4]
and byte [ebx + 0x16d], 0xfb
mov dword [ebx + 0xc4], edx
cmp ecx, 0xffffffff
mov dword [ebx + 0xb8], edi
mov dword [ebx + 0xbc], edx
je 0x447518
xor eax, eax
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0xe8], eax
mov eax, 0x26
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x48dc50
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4f9010]
jne 0x48dc5a
repz ret
jmp fcn.0049fdc0
Function at 0x102ea72
Capabilities:
Parse pe header

Disassembly:
push 0x28
push 0x10030e0
call fcn.0102efdc
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x102eaad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x102eaad
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x102eac5
cmp eax, 0x20b
je 0x102eab2
mov dword [ebp - 0x1c], edi
jmp 0x102ead9
cmp dword [ecx + 0x84], 0xe
jbe 0x102eaad
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x102ead3
cmp dword [ecx + 0x74], 0xe
jbe 0x102eaad
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1036d0c], 0xffffffff
or dword [0x1036d10], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1036d04]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1036d00]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1036d08], eax
call fcn.0102efd4
cmp dword [0x1036a50], edi
jne 0x102eb34
push fcn.0102efd4
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0102efbd
push 0x1033020
push 0x103301c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1036cfc]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1036cf8]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x34], eax
push 0x1033018
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01004087
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x102ebab
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x102ebe0
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0102f017
ret

Function at 0x102f5be
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x80
push 3
push 0
push 7
push 0xc0000000
push 0x10030ec
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x102f5ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x102f5fb
mov eax, dword [ebp + 8]
and dword [eax], 0
xor eax, eax
inc eax
jmp 0x102f60e
xor eax, eax
jmp 0x102f60e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
xor eax, eax
inc eax
mov dword [ecx], eax
pop ebp
ret 4
Function at 0x404890
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x4c], ecx
cmp dword [ebp + 8], 0
jne 0x4048a4
jmp 0x4049a6
mov eax, dword [ebp - 0x4c]
cmp dword [eax], 0
jne 0x4048e1
push 0
push 0x20
push 4
push 0
push 3
push 0xc0000000
mov ecx, dword [ebp - 0x4c]
add ecx, 4
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp - 0x4c]
mov dword [edx], eax
mov eax, dword [ebp - 0x4c]
xor ecx, ecx
cmp dword [eax], 0
setne cl
test ecx, ecx
jne 0x4048e1
jmp 0x4049a6
mov dword [ebp - 8], 0
push 0
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x404908
cmp dword [ebp - 8], 0x2000000
jbe 0x40490d
jmp 0x4049a6
mov dword [ebp - 0x10], 0
push 2
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 0x4c]
call fcn.00404800
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
add edx, 1
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x50]
mov cl, byte [eax]
mov byte [ebp - 0x55], cl
add dword [ebp - 0x50], 1
cmp byte [ebp - 0x55], 0
jne 0x404946
mov edx, dword [ebp - 0x50]
sub edx, dword [ebp - 0x54]
mov dword [ebp - 0x5c], edx
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dx, word [0x408d30]
mov word [ebp - 0xc], dx
mov al, byte [0x408d32]
mov byte [ebp - 0xa], al
push 0
lea ecx, [ebp - 4]
push ecx
push 2
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esp, ebp
pop ebp
ret 4

Function at 0x404b30
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40b020]
jne 0x404b3a
repz ret
jmp fcn.00404f5d

Function at 0x405f90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x405fe3
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR80.dll_fwrite]
add esp, 0x10
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
push 2
push 1
push 0x408d30
call dword [sym.imp.MSVCR80.dll_fwrite]
add esp, 0x10
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.MSVCR80.dll_fflush]
add esp, 4
mov esp, ebp
pop ebp
ret 8
Function at 0x404180
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov edi, eax
push 0
call fcn.004040b0
mov eax, dword [edi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
call esi
test eax, eax
je 0x4041f9
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsDialogMessageW]
lea ebx, [ebx]
cmp byte [edi + 0xc], 0
jne 0x4041f8
mov eax, dword [edi + 4]
lea edx, [ebp - 0x1c]
push edx
push eax
call ebx
test eax, eax
jne 0x4041e8
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call esi
test eax, eax
jne 0x4041c0
pop ebx
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, 0x456d68
call fcn.004140f0
mov edx, dword [0x4575a8]
mov eax, dword [edx + 4]
push eax
mov ecx, 0x4575a4
call fcn.00414630
mov eax, dword [0x4575a8]
mov dword [eax + 4], eax
mov eax, dword [0x4575a8]
mov dword [eax], eax
mov eax, dword [0x4575a8]
mov dword [eax + 8], eax
mov dword [0x4575ac], 0
mov eax, dword [edi + 0x10]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x404250
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44319b
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x4543e4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x81c], 7
mov dword [ebp - 0x820], ebx
mov word [ebp - 0x830], cx
mov dword [ebp - 4], ebx
mov edx, dword [eax + 4]
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push edx
call edi
mov esi, eax
cmp esi, ebx
je 0x40430f
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
lea esp, [esp]
push 0x400
lea eax, [ebp - 0x814]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x830]
push ecx
lea edx, [ebp - 0x814]
push edx
mov ecx, 0x456d68
call fcn.00413f90
cmp dword [ebp - 0x81c], 8
mov eax, dword [ebp - 0x830]
jae 0x404300
lea eax, [ebp - 0x830]
push eax
push esi
call ebx
push 2
push esi
call edi
mov esi, eax
test esi, esi
jne 0x4042c0
cmp dword [ebp - 0x81c], 8
jb 0x404327
mov eax, dword [ebp - 0x830]
push eax
call fcn.0042e4d8
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042e4c9
mov esp, ebp
pop ebp
ret 4
Function at 0x404550
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov eax, dword [esi + 0x64]
push ebx
push edi
test eax, eax
je 0x40456b
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0x64], 0
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 4]
mov edi, dword [edx + ecx*4]
push eax
mov dword [esi + 0x64], edi
call fcn.004040b0
mov ecx, dword [esi + 0x64]
mov edx, dword [ecx + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esi + 0x64]
mov edx, dword [ecx + 4]
push 0x3f7
push 0xfffffffffffffff4
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ebx, dword [esi + 4]
lea edi, [esi + 0x24]
call fcn.004157d0
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
push eax
push str.Showing_dialog:__s
push 0x455a48
mov ecx, 0x448218
call fcn.00407c30
add esp, 0xc
pop edi
pop ebx
pop ecx
ret
Function at 0x406890
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x4543e4]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, ebx
sub eax, 0x110
push edi
mov esi, ecx
je 0x4069fc
dec eax
je 0x4068dc
sub eax, 0x27
jne 0x4068f8
push eax
call dword [sym.imp.GDI32.dll_GetStockObject]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0042e4c9
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_EndDialog]
movzx ecx, word [ebp + 0xc]
mov dword [esi + 0x10], ecx
mov byte [esi + 0xc], 1
jmp 0x4069e0
cmp ebx, 0x110
ja 0x4069d4
je 0x406944
mov eax, ebx
sub eax, 2
je 0x406934
dec eax
je 0x406985
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push ebx
mov ecx, esi
call fcn.00404420
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0042e4c9
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x38]
test eax, eax
je 0x406910
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x406910
mov eax, dword [0x456d48]
call fcn.0040a020
test al, al
je 0x406985
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, dword [esi + 4]
push eax
push 0
push edx
push 0x1e
push 0x5a
push 0
push 0
push 0x90000000
push str.Exit
push str.Button
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0x38], eax
cmp dword [esi + 0x38], 0
je 0x406910
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x1c]
push eax
push ecx
call edi
mov eax, dword [esi + 0x38]
lea edx, [esp + 0xc]
push edx
push eax
call edi
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push 0x15
push 0
push 0
lea eax, [ecx + edx - 0xe]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x38]
push eax
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x406910
cmp ebx, 0x111
jne 0x406910
mov eax, dword [esi + 0x38]
test eax, eax
je 0x406910
cmp dword [ebp + 0x10], eax
jne 0x406910
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00406130
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0042e4c9
mov esp, ebp
pop ebp
ret 0xc

Function at 0x407990
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwareIntelSetup_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4079ef
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push ebx
push ebx
push eax
push ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 1
pop ebx
sete al
mov esp, ebp
pop ebp
ret
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407a00
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4543e4]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov ecx, eax
push esi
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x407a20
sub ecx, esi
sar ecx, 1
push ecx
mov esi, 0x455a48
call fcn.00403f50
cmp dword [0x455a5c], 8
mov eax, dword [0x455a48]
jae 0x407a4a
mov eax, esi
push eax
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.0042e563
add esp, 0xc
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0
lea edx, [ebp - 0x214]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x448720
push 0x455a48
mov ecx, 0x448218
call fcn.00407c30
mov ecx, dword [ebp - 8]
add esp, 8
xor ecx, ebp
pop esi
call fcn.0042e4c9
mov esp, ebp
pop ebp
ret 4

Function at 0x407ab0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4543e4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push str.2.5.24
push str.Core_version:__s
push 0x455a48
mov ecx, 0x448218
call fcn.00407c30
mov edi, dword [0x456d48]
add esp, 0xc
push str.IIF_SETUPVERSION
add edi, 8
call fcn.00415ca0
push eax
push str.Setup_version:__s
push 0x455a48
mov ecx, 0x448218
call fcn.00407c30
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push str.Command_line:__s
push 0x455a48
mov ecx, 0x448218
call fcn.00407c30
add esp, 0xc
push 0x11c
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.00432fb0
add esp, 0xc
lea ecx, [ebp - 0x128]
push ecx
mov dword [ebp - 0x128], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea edx, [ebp - 0x12c]
push edx
mov dword [ebp - 0x12c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [ebp - 0x12c], 1
mov eax, str.64_bit
je 0x407b87
mov eax, str.32_bit
movzx ecx, byte [ebp - 0xe]
mov edx, dword [ebp - 0x120]
push eax
movzx eax, word [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x124]
push ecx
push edx
push eax
push str.OS_data:__d__d__d__d__s
push 0x455a48
mov ecx, 0x448218
call fcn.00407c30
add esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
push edx
push str.System_up_time:__d_sec
push 0x455a48
mov ecx, 0x448218
call fcn.00407c30
mov eax, dword [0x456d48]
add eax, 0x34
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x407bf1
mov eax, dword [eax]
push eax
call fcn.00407990
add esp, 4
test al, al
mov eax, 0x448844
jne 0x407c08
mov eax, 0x44884c
push eax
push str.Reboot_pending:__s
push 0x455a48
mov ecx, 0x448218
call fcn.00407c30
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
call fcn.0042e4c9
mov esp, ebp
pop ebp
ret
Function at 0x407c30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4543e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
push ebx
push esi
push edi
mov esi, ecx
jb 0x407c50
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x407d70
push 2
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x4a]
movzx edx, word [ebp - 0x4c]
movzx eax, word [ebp - 0x4e]
push esi
push ecx
movzx ecx, word [ebp - 0x50]
push edx
movzx edx, word [ebp - 0x52]
push eax
movzx eax, word [ebp - 0x56]
push ecx
movzx ecx, word [ebp - 0x58]
push edx
push eax
push ecx
lea edx, [ebp - 0x48]
push str._d:_02d:_02d__02d:_02d:_02d:_03d:__s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x48]
add esp, 0x28
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407cc7
sub eax, edx
push 0
sar eax, 1
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [eax + eax]
push edx
lea eax, [ebp - 0x48]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp + 0xc]
lea ecx, [ebp + 0x10]
push ecx
push edx
call fcn.0042f071
lea esi, [eax + 3]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042d749
mov ecx, dword [ebp + 0xc]
mov edi, eax
lea eax, [ebp + 0x10]
push eax
push ecx
push esi
push edi
call fcn.0042f1fc
push 0x4488cc
push esi
push edi
call fcn.0042f219
mov eax, edi
add esp, 0x28
lea edx, [eax + 2]
jmp 0x407d40
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407d40
sub eax, edx
push 0
sar eax, 1
lea edx, [ebp - 0x5c]
push edx
add eax, eax
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call fcn.0042e4d8
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042e4c9
mov esp, ebp
pop ebp
ret
Function at 0x407d90
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442937
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4543e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, 7
xor ebx, ebx
xor edx, edx
mov dword [edi + 0x14], ecx
mov dword [edi + 0x10], ebx
mov dword [ebp - 0x21c], edi
mov word [edi], dx
mov dword [ebp - 4], ebx
mov dword [edi + 0x30], ecx
mov dword [edi + 0x2c], ebx
mov word [edi + 0x1c], dx
lea esi, [edi + 0x38]
mov dword [esi + 0x14], ecx
xor ecx, ecx
mov dword [esi + 0x10], ebx
mov word [esi], cx
mov edx, dword [ebp + 0xc]
push edx
push eax
lea eax, [ebp - 0x218]
push str._S___d_
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x218]
add esp, 0x10
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407e20
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
call fcn.00403f50
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e4c9
mov esp, ebp
pop ebp
ret 8

Function at 0x408090
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 1
push 0
push 0
push str.SoftwareIntelSetup_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4080e5
mov edx, dword [ebp + 8]
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push eax
mov eax, dword [ebp - 4]
push edx
push eax
mov dword [ebp - 8], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x408110
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443528
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4543e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], cx
mov dword [ebp - 4], eax
push 0xb
mov eax, str.GlobalIIF_
lea esi, [ebp - 0x2c]
call fcn.00403f50
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408165
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea ecx, [ebp - 0x2c]
call fcn.00402b10
mov eax, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x40818f
lea eax, [ebp - 0x2c]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebx], eax
test eax, eax
jne 0x4081aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4081d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xb7
jne 0x4081d4
mov edx, dword [ebx]
push 0x7d0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x652
cmp dword [ebp - 0x18], edi
jb 0x4081e5
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0042e4d8
add esp, 4
mov eax, esi
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.0042e4c9
mov esp, ebp
pop ebp
ret
Function at 0x4094e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4543e4]
xor eax, ebp
mov dword [ebp - 8], eax
push edi
mov edi, dword [ebp + 8]
push str.IIF_CACHELOC
lea edi, [edi + 8]
call fcn.00415ca0
push eax
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.0042e563
add esp, 0xc
push str.Prop.data
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.Deleting_private_properties_file
push 0x455a48
mov ecx, 0x448218
call fcn.00407c30
add esp, 8
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop edi
call fcn.0042e4c9
mov esp, ebp
pop ebp
ret 4