joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40eae0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1660
call fcn.0045db90
mov eax, dword [0x4920c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov edx, edi
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x40eb00
sub edx, esi
sar edx, 1
je 0x40ec4d
push edi
lea eax, [ebp - 0xa08]
push 0x500
push eax
call fcn.004513ee
lea ecx, [ebp - 0xa08]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40eb33
sub ecx, edx
sar ecx, 1
lea eax, [ecx - 1]
test eax, eax
jle 0x40eb79
cmp word [ebp + eax*2 - 0xa08], 0x5c
je 0x40eb60
dec eax
cmp word [ebp + eax*2 - 0xa08], 0x5c
jne 0x40eb54
add eax, eax
cmp eax, 0xa00
jae 0x40ec5d
xor ecx, ecx
mov word [ebp + eax - 0xa08], cx
jmp 0x40eb82
xor eax, eax
mov word [ebp - 0xa08], ax
lea eax, [ebp - 0x1658]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40ec4d
mov edi, dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test byte [ebp - 0x1658], 0x10
je 0x40ec34
cmp word [ebp - 0x162c], 0x2e
jne 0x40ebd4
mov ax, word [ebp - 0x162a]
test ax, ax
je 0x40ec34
cmp ax, 0x2e
jne 0x40ebd4
cmp word [ebp - 0x1628], 0
je 0x40ec34
lea ecx, [ebp - 0xa08]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ebe0
sub ecx, edx
sar ecx, 1
lea eax, [ebp - 0x162c]
push eax
je 0x40ec15
lea eax, [ebp - 0xa08]
push eax
lea eax, [ebp - 0x1408]
push 0x46c04c
push eax
call fcn.00409980
add esp, 0x10
jmp 0x40ec29
lea eax, [ebp - 0x1408]
push 0x500
push eax
call fcn.004513ee
add esp, 0xc
lea ecx, [ebp - 0x1408]
call fcn.0040e9a0
lea eax, [ebp - 0x1658]
push eax
push esi
call edi
test eax, eax
jne 0x40eba1
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044fdac
mov esp, ebp
pop ebp
ret
call fcn.0045119a
int3
Function at 0x40ec70
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x165c
call fcn.0045db90
mov eax, dword [0x4920c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov edx, esi
push edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x40ec91
sub edx, ecx
sar edx, 1
je 0x40edd2
push esi
lea eax, [ebp - 0xa08]
push 0x500
push eax
call fcn.004513ee
lea ecx, [ebp - 0xa08]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ecc4
sub ecx, edx
sar ecx, 1
lea eax, [ecx - 1]
test eax, eax
jle 0x40ed15
cmp word [ebp + eax*2 - 0xa08], 0x5c
je 0x40ecfc
jmp 0x40ecf0
dec eax
cmp word [ebp + eax*2 - 0xa08], 0x5c
jne 0x40ecf0
add eax, eax
cmp eax, 0xa00
jae 0x40ede3
xor ecx, ecx
mov word [ebp + eax - 0xa08], cx
jmp 0x40ed1e
xor eax, eax
mov word [ebp - 0xa08], ax
lea eax, [ebp - 0x1658]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40edd2
mov edi, dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
mov ebx, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test byte [ebp - 0x1658], 0x10
jne 0x40edb5
lea ecx, [ebp - 0xa08]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ed55
sub ecx, edx
sar ecx, 1
lea eax, [ebp - 0x162c]
push eax
je 0x40ed8a
lea eax, [ebp - 0xa08]
push eax
lea eax, [ebp - 0x1408]
push 0x46c04c
push eax
call fcn.00409980
add esp, 0x10
jmp 0x40ed9e
lea eax, [ebp - 0x1408]
push 0x500
push eax
call fcn.004513ee
add esp, 0xc
push 0x80
lea eax, [ebp - 0x1408]
push eax
call edi
lea eax, [ebp - 0x1408]
push eax
call ebx
lea eax, [ebp - 0x1658]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x40ed43
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044fdac
mov esp, ebp
pop ebp
ret
call fcn.0045119a
int3
Function at 0x40edf0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2064
call fcn.0045db90
mov eax, dword [0x4920c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
mov esi, ebx
push edi
mov dword [ebp - 0x2060], edx
lea edi, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x40ee17
sub esi, edi
sar esi, 1
je 0x40ef9c
push ebx
lea eax, [ebp - 0xa08]
push 0x500
push eax
call fcn.004513ee
lea ecx, [ebp - 0xa08]
add esp, 0xc
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ee50
sub ecx, edx
sar ecx, 1
lea eax, [ecx - 1]
test eax, eax
jle 0x40ee96
cmp word [ebp + eax*2 - 0xa08], 0x5c
je 0x40ee7d
dec eax
cmp word [ebp + eax*2 - 0xa08], 0x5c
jne 0x40ee71
add eax, eax
cmp eax, 0xa00
jae 0x40efad
xor ecx, ecx
mov word [ebp + eax - 0xa08], cx
jmp 0x40ee9f
xor eax, eax
mov word [ebp - 0xa08], ax
lea eax, [ebp - 0x2058]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40ef9c
mov edi, dword [sym.imp.KERNEL32.DLL_CopyFileW]
mov edi, edi
test byte [ebp - 0x2058], 0x10
jne 0x40ef7f
lea ecx, [ebp - 0xa08]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40eed6
sub ecx, edx
sar ecx, 1
lea eax, [ebp - 0x202c]
push eax
je 0x40ef0b
lea eax, [ebp - 0xa08]
push eax
lea eax, [ebp - 0x1408]
push 0x46c04c
push eax
call fcn.00409980
add esp, 0x10
jmp 0x40ef1f
lea eax, [ebp - 0x1408]
push 0x500
push eax
call fcn.004513ee
add esp, 0xc
mov ebx, dword [ebp - 0x2060]
mov ecx, ebx
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ef30
lea eax, [ebp - 0x202c]
sub ecx, edx
sar ecx, 1
push eax
lea eax, [ebp - 0x1e08]
je 0x40ef5f
push ebx
push 0x46c04c
push eax
call fcn.00409980
add esp, 0x10
jmp 0x40ef6d
push 0x500
push eax
call fcn.004513ee
add esp, 0xc
push 0
lea eax, [ebp - 0x1e08]
push eax
lea eax, [ebp - 0x1408]
push eax
call edi
lea eax, [ebp - 0x2058]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x40eec0
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044fdac
mov esp, ebp
pop ebp
ret
call fcn.0045119a
int3
Function at 0x40efc0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1664
call fcn.0045db90
mov eax, dword [0x4920c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x1660], edx
mov ebx, ecx
mov dword [esi + 0x10], 0
jb 0x40eff6
mov eax, dword [esi]
jmp 0x40eff8
mov eax, esi
push edx
xor ecx, ecx
push ebx
mov word [eax], cx
lea eax, [ebp - 0xa08]
push 0x46c04c
push eax
call fcn.00409980
add esp, 0x10
lea eax, [ebp - 0x1658]
push eax
lea eax, [ebp - 0xa08]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40f056
mov edi, edi
test byte [ebp - 0x1658], 0x10
je 0x40f133
lea eax, [ebp - 0x1658]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x40f030
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
push ebx
lea eax, [ebp - 0xa08]
push str._s.
push eax
call fcn.00409980
add esp, 0xc
lea eax, [ebp - 0x1658]
push eax
lea eax, [ebp - 0xa08]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov ecx, eax
mov dword [ebp - 0x165c], ecx
cmp ecx, 0xffffffff
je 0x40f122
mov edi, dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test byte [ebp - 0x1658], 0x10
je 0x40f102
cmp word [ebp - 0x162c], 0x2e
jne 0x40f0c5
mov ax, word [ebp - 0x162a]
test ax, ax
je 0x40f102
cmp ax, 0x2e
jne 0x40f0c5
cmp word [ebp - 0x1628], 0
je 0x40f102
lea eax, [ebp - 0x162c]
push eax
push ebx
lea eax, [ebp - 0x1408]
push 0x46c04c
push eax
call fcn.00409980
push dword [ebp + 0xc]
mov edx, dword [ebp - 0x1660]
push esi
lea ecx, [ebp - 0x1408]
call fcn.0040efc0
add esp, 0x18
cmp dword [esi + 0x10], 0
jne 0x40f116
mov ecx, dword [ebp - 0x165c]
lea eax, [ebp - 0x1658]
push eax
push ecx
call edi
mov ecx, dword [ebp - 0x165c]
test eax, eax
jne 0x40f096
push dword [ebp - 0x165c]
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044fdac
mov esp, ebp
pop ebp
ret
cmp word [ebx], 0
jne 0x40f13d
xor ecx, ecx
jmp 0x40f151
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f142
sub ecx, edx
sar ecx, 1
push ecx
push ebx
mov ecx, esi
call fcn.004023a0
cmp byte [ebp + 0xc], 0
jne 0x40f1b3
push 1
push 0x46b810
mov ecx, esi
call fcn.00409480
cmp word [ebp - 0x162c], 0
jne 0x40f18c
xor ecx, ecx
push ecx
lea eax, [ebp - 0x162c]
push eax
mov ecx, esi
call fcn.00409480
push edi
jmp 0x40f11c
lea ecx, [ebp - 0x162c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f195
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x162c]
push eax
mov ecx, esi
call fcn.00409480
push edi
jmp 0x40f11c
Function at 0x411700
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46282b
mov eax, dword fs:[0]
push eax
sub esp, 0x844
mov eax, dword [0x4920c0]
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 edi, edx
mov esi, ecx
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x82c]
push eax
push 0
push 0
push 0x11
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
js 0x4118a5
mov eax, dword [ebp - 0x82c]
xorps xmm0, xmm0
movq qword [ebp - 0x848], xmm0
mov dword [ebp - 0x848], eax
mov eax, dword [ebp + 0xc]
movq qword [ebp - 0x840], xmm0
movq qword [ebp - 0x838], xmm0
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x84c], edi
cmp eax, 4
ja case.default.0x4117c0
jmp dword [eax*4 + 0x4118e8]
mov dword [ebp - 0x840], str.Select_the_Image_for_Windows_installation_folder.
mov dword [ebp - 0x83c], 0x243
lea eax, [ebp - 0x84c]
push eax
mov dword [ebp - 0x838], 0x4116c0
mov dword [ebp - 0x834], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
push dword [ebp - 0x82c]
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edi, eax
call ebx
test edi, edi
je 0x4118a5
lea eax, [ebp - 0x810]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4118a2
cmp word [ebp - 0x810], 0
jne 0x411874
xor ecx, ecx
jmp 0x41188f
mov dword [ebp - 0x840], str.Select_the_TBIView_installation_folder.
jmp case.default.0x4117c0
mov dword [ebp - 0x840], str.Select_the_TeraByte_OS_Deployment_Tool_Suite_installation_folder.
jmp case.default.0x4117c0
mov dword [ebp - 0x840], str.Select_the_Windows_AIK_or_ADK_installation_folder.
jmp case.default.0x4117c0
mov dword [ebp - 0x840], str.Select_the_IFW_WinRE_WIM_backup_folder.
mov dword [ebp - 0x83c], 0x43
jmp 0x4117db
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411880
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.004023a0
push edi
call ebx
lea eax, [ebp - 0x828]
push eax
mov ecx, esi
call fcn.00408e50
cmp dword [ebp - 0x814], 8
jb 0x4118ca
push dword [ebp - 0x828]
call fcn.00450920
add esp, 4
mov eax, esi
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.0044fdac
mov esp, ebp
pop ebp
ret
Function at 0x429d50
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa64
mov eax, dword [0x4920c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ecx
lea eax, [ebp - 0x808]
push str._sReAgent.xml
push eax
call fcn.00409760
add esp, 0xc
lea eax, [ebp - 0x808]
push 0x80
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
lea eax, [ebp - 0xa58]
push eax
lea eax, [ebp - 0x808]
push eax
mov dword [ebp - 0xa60], 0
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp eax, 0xffffffff
je 0x429ece
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
push 0x47bba8
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0xa5c]
push eax
call fcn.004509bf
add esp, 0xc
test eax, eax
jne 0x429ece
mov esi, dword [ebp - 0xa5c]
test esi, esi
je 0x429ece
push 0x1800
call fcn.00451565
add esp, 4
mov ebx, eax
push esi
test ebx, ebx
je 0x429ec6
push 0x1800
push 1
push 0x1800
push ebx
call fcn.00450d65
mov esi, eax
add esp, 0x14
mov dword [ebp - 0xa60], esi
test esi, esi
jle 0x429e9c
push dword [ebp - 0xa5c]
call fcn.00450b7c
add esp, 4
test eax, eax
je 0x429e9c
lea eax, [esi - 0x14]
xor edi, edi
test eax, eax
jle 0x429e9c
mov esi, ebx
push 0xf
push str._OemTool_state
push esi
call fcn.00452052
add esp, 0xc
test eax, eax
je 0x429e67
mov eax, dword [ebp - 0xa60]
inc edi
add eax, 0xffffffec
inc esi
cmp edi, eax
jl 0x429e42
jmp 0x429e9c
cmp byte [esi + 0xf], 0x22
jne 0x429e77
cmp byte [esi + 0x11], 0x22
jne 0x429e77
mov byte [esi + 0x10], 0x30
push dword [ebp - 0xa5c]
call fcn.00450df6
add esp, 4
push dword [ebp - 0xa5c]
push dword [ebp - 0xa60]
push 1
push ebx
call fcn.00451fd4
add esp, 0x10
push ebx
call fcn.0045152d
add esp, 4
push dword [ebp - 0xa5c]
call fcn.004514b6
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044fdac
mov esp, ebp
pop ebp
ret
call fcn.004514b6
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.0044fdac
mov esp, ebp
pop ebp
ret
Function at 0x42cfe0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461ff9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4920c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.004020b0
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 0
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.004020b0
mov byte [ebp - 4], 1
movzx eax, byte [esi + 0x30]
mov byte [edi + 0x30], al
movzx eax, byte [esi + 0x31]
mov byte [edi + 0x31], al
movzx eax, byte [esi + 0x32]
mov byte [edi + 0x32], al
movzx eax, byte [esi + 0x33]
mov byte [edi + 0x33], al
movzx eax, byte [esi + 0x34]
mov byte [edi + 0x34], al
lea eax, [esi + 0x38]
push eax
lea ecx, [edi + 0x38]
call fcn.0044d1b0
lea eax, [esi + 0x44]
push eax
lea ecx, [edi + 0x44]
mov byte [ebp - 4], 2
call fcn.0044d1b0
lea eax, [esi + 0x50]
push eax
lea ecx, [edi + 0x50]
mov byte [ebp - 4], 3
call fcn.0044d1b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x42d0c0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2260
call fcn.0045db90
mov eax, dword [0x4920c0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov bl, byte [ebp + 0x10]
push esi
push edi
mov dword [ebp - 0x2260], eax
mov esi, ecx
mov edi, edx
mov eax, esi
test bl, bl
cmovne eax, edi
push eax
lea eax, [ebp - 0x200c]
push 0x800
push eax
call fcn.004513ee
add esp, 0xc
test bl, bl
cmovne edi, esi
push edi
lea eax, [ebp - 0x100c]
push 0x800
push eax
call fcn.004513ee
mov ebx, dword [ebp - 0x2260]
mov esi, dword [sym.imp.KERNEL32.DLL_CopyFileW]
add esp, 0xc
lea eax, [ebp - 0x200c]
push 0
push ebx
push eax
call esi
lea eax, [ebp - 0x225c]
push eax
push ebx
mov dword [ebp - 0x2260], 0
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp eax, 0xffffffff
je 0x42d16d
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044fdac
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0xc], 0
je 0x42d17f
push 0
push ebx
lea eax, [ebp - 0x100c]
push eax
call esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044fdac
mov esp, ebp
pop ebp
ret
Function at 0x439630
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x808
mov eax, dword [0x4920c0]
xor eax, esp
mov dword [esp + 0x804], eax
push ebx
push edi
mov edi, ecx
cmp edx, 0x111
jne case.0x4396e4.32777
movzx eax, word [ebp + 8]
cmp eax, 0x8005
jg 0x4396cf
je 0x4396b4
sub eax, 0x68
je 0x43969e
dec eax
jne case.0x4396e4.32777
push eax
push eax
push 0x10
push dword [0x494598]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
pop edi
pop ebx
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.0044fdac
mov esp, ebp
pop ebp
ret 8
push 0
push 0x420990
push edi
push 0x67
push dword [0x4959f8]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov eax, 1
pop edi
pop ebx
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.0044fdac
mov esp, ebp
pop ebp
ret 8
sub eax, 0x8006
cmp eax, 0xc
ja case.0x4396e4.32777
movzx eax, byte [eax + 0x43981c]
jmp dword [eax*4 + 0x439808]
push 0
push 0x443040
push edi
push 0x96
jmp 0x4396a8
push 0
push 0x449960
push edi
push 0x99
jmp 0x4396a8
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ebx, ax
push 0x11
shr ebx, 0xf
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
and bl, 1
je 0x43977b
test al, al
je 0x43977b
push 4
push str.Confirm_action...
push str.Open_program_settings_file_for_editing_
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x4396b4
push 0x495458
lea eax, [esp + 0xc]
push str.notepad.exe___s_
push eax
call fcn.00409760
add esp, 0xc
lea eax, [esp + 8]
push eax
push str.The_program_settings_file_is_open_for_editing._n_nExit_Notepad_to_continue.
mov ecx, edi
call fcn.00422db0
add esp, 8
call fcn.00412b60
jmp 0x439782
mov ecx, edi
call fcn.00416ab0
push 0
push 0
push 0x8002
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4396b4
mov ecx, 0x495048
call fcn.0040dd40
test al, al
je 0x4397d5
push 0x495048
lea eax, [esp + 0xc]
push str.notepad.exe___s_
push eax
call fcn.00409760
add esp, 0xc
lea eax, [esp + 8]
push eax
push str.The_log_file_is_open_for_viewing._n_nExit_Notepad_to_continue.
mov ecx, edi
call fcn.00422db0
add esp, 8
jmp 0x4396b4
push 0
push 0x4850bc
push str.The_log_file_does_not_exist._Enable_the__Create_log_file__option_in_Settings_to_use_it.
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4396b4
mov ecx, dword [esp + 0x80c]
pop edi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0044fdac
mov esp, ebp
pop ebp
ret 8
Function at 0x43ad10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1348
call fcn.0045db90
mov eax, dword [0x4920c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x495458
lea eax, [ebp - 0x1328]
push 0x400
push eax
mov edi, ecx
mov dword [ebp - 0x132c], 0
mov dword [ebp - 0x1344], 0
mov dword [ebp - 0x1340], 3
call fcn.004513ee
add esp, 0xc
lea eax, [ebp - 0x1328]
push eax
lea eax, [ebp - 0xb28]
push 0x400
push eax
call fcn.004513ee
add esp, 0xc
lea eax, [ebp - 0xb28]
push str._tmp
push 0x400
push eax
call fcn.00451274
add esp, 0xc
lea ecx, [ebp - 0x1348]
push 0
mov byte [ebp - 0x132e], 0
call fcn.00402ff0
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xc8
lea eax, [ebp - 0x328]
push eax
push 0x400
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x328]
call fcn.0040ddd0
push 0xc8
lea eax, [ebp - 0x198]
push eax
push 0x401
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x198]
call fcn.0040ddd0
cmp dword [0x49642c], 3
lea eax, [ebp - 0x328]
lea ecx, [ebp - 0x1348]
push eax
jne 0x43ae2f
push str.Name_V3
push str.License
call fcn.004033b0
lea eax, [ebp - 0x198]
push eax
push str.Key_V3
jmp 0x43ae4a
push str.Name
push str.License
call fcn.004033b0
lea eax, [ebp - 0x198]
push eax
push 0x4714f4
push str.License
lea ecx, [ebp - 0x1348]
call fcn.004033b0
push 0
push 0
push 0xf0
push 0x433
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
sete cl
test cl, cl
mov edx, 0x470dc8
mov eax, 0x470dc4
cmove eax, edx
push eax
push str.SkipLicense
mov byte [0x4930e0], cl
push 0x470a28
lea ecx, [ebp - 0x1348]
call fcn.004033b0
cmp byte [ebp - 0x132e], 0
je 0x43aebf
mov eax, dword [ebp - 0x132c]
test eax, eax
je 0x43aebf
push eax
call fcn.004514b6
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0044fdac
mov esp, ebp
pop ebp
ret
Function at 0x43d8e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x514
mov eax, dword [0x4920c0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x495cd0], 8
push ebx
push esi
mov esi, 0x495cbc
push edi
mov eax, esi
cmovae eax, dword [0x495cbc]
push eax
lea eax, [ebp - 0x4e0]
push str._smakedisk.exe
push eax
call fcn.00409780
add esp, 0xc
cmp dword [0x495cd0], 8
push 1
cmovae esi, dword [0x495cbc]
xor ecx, ecx
cmp byte [0x4930ea], cl
push esi
mov eax, str._nousblimit
cmove eax, ecx
push eax
lea eax, [ebp - 0x4e0]
push eax
push str.open
push dword [0x494598]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor esi, esi
cmp dword [0x496350], 3
mov ecx, 0x46c574
mov eax, 0x484c30
cmovne eax, ecx
cmp dword [0x495bd0], esi
push eax
mov ecx, 0x4777e0
mov eax, 0x4777ac
cmovne eax, ecx
push eax
lea eax, [ebp - 0xd0]
push str.MakeDisk____s_with_Image_for_Windows__s
push eax
call fcn.004097a0
mov ebx, dword [sym.imp.KERNEL32.DLL_Sleep]
add esp, 0x10
nop
push 0x19
call ebx
lea eax, [ebp - 0xd0]
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
inc esi
mov edi, eax
cmp esi, 0x50
jg 0x43d9c1
test edi, edi
je 0x43d9a0
jmp 0x43d9c9
test edi, edi
je 0x43da6e
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x500]
push eax
push dword [0x494598]
call esi
lea eax, [ebp - 0x4f0]
push eax
push edi
call esi
mov eax, dword [ebp - 0x4f8]
sub eax, dword [ebp - 0x500]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [ebp - 0x4f4]
sub eax, dword [ebp - 0x4fc]
sar esi, 1
add esi, dword [ebp - 0x500]
cdq
sub eax, edx
mov ebx, eax
lea eax, [ebp - 0x4f0]
push eax
lea eax, [ebp - 0x500]
push eax
lea eax, [ebp - 0x510]
sar ebx, 1
add ebx, dword [ebp - 0x4fc]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x43da6e
push 0x41
push eax
push eax
mov eax, dword [ebp - 0x4e4]
sub eax, dword [ebp - 0x4ec]
cdq
sub eax, edx
sar eax, 1
sub ebx, eax
mov eax, dword [ebp - 0x4e8]
sub eax, dword [ebp - 0x4f0]
push ebx
cdq
sub eax, edx
sar eax, 1
sub esi, eax
push esi
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044fdac
mov esp, ebp
pop ebp
ret
Function at 0x445a30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4920c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x4457c0
push 0
push 0x93
push dword [0x4959f8]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov esi, eax
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x445abe
push ebx
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
push edi
mov edi, dword [sym.imp.USER32.dll_IsDialogMessageW]
cmp eax, 0xffffffff
je 0x445abc
lea eax, [ebp - 0x20]
push eax
push esi
call edi
test eax, eax
jne 0x445aa8
lea eax, [ebp - 0x20]
push eax
call ebx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x445a88
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044fdac
mov esp, ebp
pop ebp
ret