joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453f30
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x453f63
push esi
call fcn.00458d60
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x453f5c
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x453fe9
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x453fd2
mov eax, dword [esi + 8]
test eax, eax
je 0x453f87
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x453fce
cmp eax, 2
je 0x453fd2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x453f7a
cmp eax, 3
je 0x453fad
cmp eax, 1
jne 0x453f7a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x453f7a
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x453f7a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00454020
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x454009
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.00454020
add esp, 4
pop esi
ret

Function at 0x484c00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x484c0b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x484d0e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0xae4078]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0xae4078]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0xae4078]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0xae4078]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0xae4078]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0xae4078]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0xae4078]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0xae4078]
xor eax, edx
inc ecx
dec edi
jne 0x484c26
pop edi
test esi, esi
je 0x484d30
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0xae4078]
xor eax, edx
inc ecx
dec esi
jne 0x484d12
pop esi
pop ebx
not eax
ret
Function at 0x4b65cf
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4b6607
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.004b4686
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004b465e
jmp 0x4b6613
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4b7cc6
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 0x4b7d08
call fcn.004bd779
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4b7d08
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b7cff
xor eax, eax
jmp 0x4b7d10
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b7d16
pop edi
pop esi
pop ebx
ret 4

Function at 0x4bdca9
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4bdcd7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4bdcf5
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004bdc0f
jmp 0x4bdcf5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4bdcf5
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004bdc0f
test edi, edi
mov eax, edi
jne 0x4bdcdf
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40aec7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427d20]
jne 0x40aed1
repz ret
jmp fcn.0040e52c

Function at 0x40cbe2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x427d20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040699f
and dword [ebp - 0x14], 0
cmp dword [0x429348], 0
mov dword [ebp - 0x18], eax
jne 0x40cc95
push 0x404510
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40cd3d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x404504
push ebx
call edi
test eax, eax
je 0x40cd3d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4044f4
push ebx
mov dword [0x429348], eax
call edi
push eax
call esi
push 0x4044e0
push ebx
mov dword [0x42934c], eax
call edi
push eax
call esi
push 0x4044c4
push ebx
mov dword [0x429350], eax
call edi
push eax
call esi
mov dword [0x429358], eax
test eax, eax
je 0x40cc95
push 0x4044ac
push ebx
call edi
push eax
call esi
mov dword [0x429354], eax
mov eax, dword [0x429354]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40ccee
cmp dword [0x429358], ecx
je 0x40ccee
push eax
call esi
push dword [0x429358]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40ccee
test ebx, ebx
je 0x40ccee
call edi
test eax, eax
je 0x40cce5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40cce5
test byte [ebp - 8], 1
jne 0x40ccee
or dword [ebp + 0x10], 0x200000
jmp 0x40cd21
mov eax, dword [0x42934c]
cmp eax, dword [ebp - 0x18]
je 0x40cd21
push eax
call esi
test eax, eax
je 0x40cd21
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40cd21
mov eax, dword [0x429350]
cmp eax, dword [ebp - 0x18]
je 0x40cd21
push eax
call esi
test eax, eax
je 0x40cd21
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x429348]
call esi
test eax, eax
je 0x40cd3d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40cd3f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040aec7
leave
ret
Function at 0x423870
Capabilities:
Delete directory
Get common file path
Read file on windows
Set console window title

Disassembly:
mov eax, 0x1464
call fcn.0040e6f0
cmp dword [0x7ae3b8], 0x37
jne 0x423962
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0x4046a8
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FreeUserPhysicalPages]
push 0
lea edx, [esp + 0x868]
push edx
push 0x4046e0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea eax, [esp + 0xc68]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 4]
push ecx
push 0
lea edx, [esp + 0x14]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
push 0x404714
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
lea eax, [esp + 8]
push eax
push 0x404720
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push 0x404790
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push 0
lea ecx, [esp + 0x68]
push ecx
push 0
push 0x4047d8
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
lea edx, [esp + 0x464]
push edx
push 0
push 0x404774
push 0x40478c
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0
push 0
push 0
push 0
push 0x404838
push 0x40486c
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov eax, dword [0x7ae3bc]
mov dword [esp], eax
mov eax, 0x5d1
add dword [esp], eax
mov ecx, dword [esp]
mov dl, byte [ecx + esi]
mov eax, dword [0x42e41c]
mov byte [eax + esi], dl
add esp, 0x1464
ret
Function at 0x423b20
Capabilities:
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7ae3b8]
sub esp, 0x1d4
push ebx
push ebp
push esi
mov esi, dword [0x42e41c]
shr eax, 3
push edi
test eax, eax
je 0x423cd5
mov dword [esp + 0x38], 0x9e3779b9
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
jmp 0x423b56
mov esi, dword [esp + 0x1c]
cmp dword [0x7ae3b8], 0x1c
jne 0x423b73
lea eax, [esp + 0x3c]
push eax
push 0
lea ecx, [esp + 0x4c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
mov edx, dword [0x428310]
mov ecx, dword [0x428314]
mov eax, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0x2c], edx
mov edx, dword [0x428318]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x42831c]
mov dword [esp + 0x14], eax
mov ebx, 0xc6ef3720
mov dword [esp + 0x28], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], 0x20
jmp 0x423bb7
mov eax, dword [esp + 0x14]
mov edx, eax
mov ecx, eax
shr edx, 5
add edx, dword [esp + 0x34]
shl ecx, 4
add ecx, dword [esp + 0x28]
add eax, ebx
xor edx, ecx
xor edx, eax
sub edi, edx
mov ecx, edi
shl ecx, 4
mov dword [0x7ad33c], 0
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
cmp dword [0x7ae3b8], 0x1be
lea ebp, [ebx + edi]
jne 0x423c0c
lea edx, [esp + 0x40]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov esi, edi
shr esi, 5
add esi, dword [esp + 0x30]
cmp dword [0x7ae3b8], 0x979
mov dword [0x7ad340], 0xff6b3619
mov dword [0x7ad344], 0xffffffff
jne 0x423c45
lea eax, [esp + 0xa0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor esi, ebp
xor dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
sub dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
sub ebx, dword [esp + 0x18]
dec dword [esp + 0x20]
jne 0x423bb3
cmp dword [0x7ae3b8], 0x8d4
jne 0x423c88
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], edi
cmp dword [0x7ae3b8], 0x17
jne 0x423cc4
push 0
push 0
push 0
push 0x404568
push 0x4045e0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea eax, [esp + 0xa0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
add esi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], esi
jne 0x423b52
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1d4
ret
Function at 0x4010c0
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7f4
push esi
push edi
push 0x1ea
lea eax, [ebp - 0x1ea]
push 0
push eax
mov word [ebp - 0x1ec], 0
call fcn.004036f0
add esp, 0xc
lea ecx, [ebp - 0x1ec]
push ecx
push 0xf6
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4011b2
lea edx, [ebp - 0x1ec]
push 0
push edx
call fcn.004036dc
add esp, 8
test eax, eax
jne 0x4011b2
lea eax, [ebp - 0x7f4]
push eax
push 0
push 0x4142bc
lea ecx, [ebp - 0x1ec]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x40117b
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x100
lea edx, [ebp - 0x5ec]
push edx
mov esi, eax
push 0x6a
push esi
call edi
push 0x100
lea eax, [ebp - 0x3ec]
push eax
push 0x69
push esi
call edi
lea ecx, [ebp - 0x3ec]
lea edx, [ebp - 0x5ec]
jmp 0x4011f0
lea eax, [ebp - 0x7f4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x7f4]
push ecx
call fcn.00402be0
add esp, 4
push 0
call fcn.00402a80
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
neg eax
sbb eax, eax
pop edi
add eax, 1
pop esi
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x100
lea edx, [ebp - 0x3ec]
push edx
mov esi, eax
push 0x68
push esi
call edi
push 0x100
lea eax, [ebp - 0x5ec]
push eax
push 0x69
push esi
call edi
lea ecx, [ebp - 0x5ec]
lea edx, [ebp - 0x3ec]
push 0x10
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4013e0
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x600
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
movzx eax, word [esi]
cmp ax, 0x22
jne 0x40141e
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
je 0x401419
cmp ax, 0x22
je 0x401440
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x401407
pop esi
mov esp, ebp
pop ebp
ret
test ax, ax
je 0x401419
cmp ax, 0x20
je 0x401440
cmp ax, 9
je 0x401440
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x401423
pop esi
mov esp, ebp
pop ebp
ret
cmp word [esi], 0
je 0x401419
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
je 0x401458
cmp ax, 0x20
je 0x401446
cmp ax, 9
je 0x401446
cmp word [esi], 0
je 0x401419
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x401470
push 0x200
lea eax, [ebp - 0x400]
push eax
push esi
call fcn.004012f0
add esp, 0xc
push str.__cleanup
lea ecx, [ebp - 0x400]
push ecx
mov esi, eax
call edi
test eax, eax
jne 0x4014a5
push 1
call fcn.00402990
jmp 0x401589
push str._invisible
lea edx, [ebp - 0x400]
push edx
call edi
test eax, eax
jne 0x4014c3
push 1
call fcn.004029f0
jmp 0x401589
push str.__localrundir
lea eax, [ebp - 0x400]
push eax
call edi
test eax, eax
jne 0x4014fd
push 0x200
lea ecx, [ebp - 0x400]
push ecx
push esi
call fcn.004012f0
lea edx, [ebp - 0x400]
push edx
mov esi, eax
call fcn.00402be0
add esp, 0x10
jmp 0x40158c
push str.__javadir
lea eax, [ebp - 0x400]
push eax
call edi
test eax, eax
jne 0x401534
push 0x200
lea ecx, [ebp - 0x400]
push ecx
push esi
call fcn.004012f0
lea edx, [ebp - 0x400]
push edx
mov esi, eax
call fcn.00402c70
add esp, 0x10
jmp 0x40158c
push str._debugjava
lea eax, [ebp - 0x400]
push eax
call edi
test eax, eax
jne 0x40154f
push 1
call fcn.00402bc0
jmp 0x401589
push str._version
lea ecx, [ebp - 0x400]
push ecx
call edi
test eax, eax
je 0x40159c
push str._bat
lea edx, [ebp - 0x400]
push edx
call edi
test eax, eax
jne 0x40157d
push 1
call fcn.004029d0
add esp, 4
lea eax, [ebp - 0x400]
push eax
call fcn.00402af0
add esp, 4
cmp word [esi], 0
jne 0x401470
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x100
lea ecx, [ebp - 0x600]
push ecx
push 0x6b
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
lea edx, [ebp - 0x600]
push 0
push edx
call fcn.00402cc0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
call fcn.00402bb0
push eax
call fcn.004039fa
int3
Function at 0x4015e0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a18
call fcn.00403a90
push esi
push edi
xor edi, edi
call fcn.00402a80
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 8]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4016ee
cmp dword [ebp - 4], edi
ja 0x401621
cmp dword [ebp - 8], 0x4900000
jbe 0x401629
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0xffe
lea eax, [ebp - 0x1a16]
push 0
push eax
mov word [ebp - 0x1a18], di
call fcn.004036f0
push 0x7fe
lea ecx, [ebp - 0xa16]
push 0
push ecx
mov word [ebp - 0xa18], di
call fcn.004036f0
add esp, 0x18
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x100
lea edx, [ebp - 0x218]
push edx
push 0x6c
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push esi
push 0x414420
lea eax, [ebp - 0xa18]
push 0x400
push eax
mov edi, 1
call fcn.00403230
add esp, 0x10
push 0x5c
push 0
lea ecx, [ebp - 0xa18]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
test eax, eax
je 0x4016b6
mov word [eax], 0
lea edx, [ebp - 0xa18]
push edx
push str.There_is_not_enough_space_in__s.__You_must_free_some_space_and_re_start_the_installer.
lea eax, [ebp - 0x1a18]
push 0x800
push eax
call fcn.00403230
add esp, 0x10
push 0x10
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x1a18]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4017a0
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x630
push ebx
push esi
push edi
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x42e]
push ebx
push eax
mov word [ebp - 0x430], bx
call fcn.004036f0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
call fcn.00402a80
push eax
push 0x414428
lea ecx, [ebp - 0x430]
push 0x104
push ecx
call fcn.00403230
add esp, 0x10
push 0x21
lea edx, [ebp - 0x430]
push edx
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
je 0x401851
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x100
lea eax, [ebp - 0x630]
push eax
push 0x7a
push edi
call esi
push 0x100
lea ecx, [ebp - 0x220]
push ecx
push 0x6e
push edi
call esi
push 0x40000
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x630]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
push 0x206
lea ecx, [ebp - 0x226]
push ebx
push ecx
mov word [ebp - 0x228], bx
call fcn.004036f0
call fcn.00402a00
mov edx, dword [ebp + 8]
mov esi, eax
push edx
neg esi
sbb esi, esi
push 0x414428
lea eax, [ebp - 0x228]
push 0x104
and esi, 0xffffff04
push eax
add esi, 0x100
call fcn.00403230
add esp, 0x1c
push 0x100
lea ecx, [ebp - 0x630]
push ecx
push 0x67
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
lea edx, [ebp - 0x228]
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x430]
lea ecx, [ebp - 0x630]
or esi, 0x210
push edx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x14], eax
mov word [ebp - 0x10], si
mov dword [ebp - 0xa], ebx
mov dword [ebp - 6], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp dword [ebp - 0xe], 1
jne 0x4018f8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401a30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1025c
call fcn.00403a90
push 0x206
lea eax, [ebp - 0x25a]
push 0
push eax
mov word [ebp - 0x25c], 0
call fcn.004036f0
call fcn.00402a30
push eax
push str._s_setup.exe
lea ecx, [ebp - 0x25c]
push 0x104
push ecx
call fcn.00403230
push 0x44
lea edx, [ebp - 0x54]
push 0
push edx
call fcn.004036f0
xor eax, eax
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
call fcn.00402a80
push eax
lea eax, [ebp - 0x25c]
push eax
push str._s___cleanup___localrundir__s
lea ecx, [ebp - 0x1025c]
push 0x8000
push ecx
call fcn.00403230
add esp, 0x3c
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x54]
push eax
call fcn.00402a80
push eax
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1025c]
push ecx
lea edx, [ebp - 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esp, ebp
pop ebp
ret
Function at 0x401af0
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20000
call fcn.00403a90
push 0xfffc
lea eax, [ebp - 0x1fffe]
push 0
push eax
mov word [ebp - 0x20000], 0
call fcn.004036f0
push 0xfffc
lea ecx, [ebp - 0xfffe]
push 0
push ecx
mov word [ebp - 0x10000], 0
call fcn.004036f0
add esp, 0x18
push 0x7fff
lea edx, [ebp - 0x20000]
push edx
push str.Path
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jle 0x401b95
lea eax, [ebp - 0x20000]
push eax
call fcn.00402b90
push eax
call fcn.00402a30
push eax
push str._s_bin_s__s
lea ecx, [ebp - 0x10000]
push 0x7fff
push ecx
call fcn.00403230
add esp, 0x18
lea eax, [ebp - 0x10000]
push eax
push str.Path
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esp, ebp
pop ebp
ret
call fcn.00402b90
push eax
call fcn.00402a30
push eax
push str._s_bin_s
lea edx, [ebp - 0x10000]
push 0x7fff
push edx
call fcn.00403230
add esp, 0x14
lea eax, [ebp - 0x10000]
push eax
push str.Path
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esp, ebp
pop ebp
ret
Function at 0x402a90
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 0x11c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x402ad9
cmp dword [ebp - 0x10c], 2
jb 0x402ad9
mov eax, dword [ebp - 0x118]
cmp eax, 5
jne 0x402ad7
cmp dword [ebp - 0x114], 1
jb 0x402ad9
xor eax, eax
mov esp, ebp
pop ebp
ret
ja 0x402ad1
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x402cc0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push esi
push edi
push 0x206
lea eax, [ebp - 0x212]
push 0
push eax
mov dword [ebp - 4], 0
mov word [ebp - 0x214], 0
call fcn.004036f0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x214]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x214]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
push esi
call fcn.004047a4
mov edi, eax
add esp, 4
test edi, edi
jne 0x402d48
push str.Error_allocating_memory._n
push 0x104
push 0x4194f0
call fcn.00403230
add esp, 0xc
pop edi
mov eax, 0x4194f0
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
push edi
push esi
push ecx
lea edx, [ebp - 0x214]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x402d90
lea eax, [ebp - 0x214]
push eax
push str.Error_getting_version_info_from__s._n
push 0x104
push 0x4194f0
call fcn.00403230
add esp, 0x10
push edi
call fcn.00403b3a
add esp, 4
pop edi
mov eax, 0x4194f0
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push 0x4149c8
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x402db5
lea eax, [ebp - 0x214]
push eax
push str.Error_getting_version_number_from__s._n
jmp 0x402d6a
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
push ecx
push edx
push str._d._d._d._d
push 0x104
push 0x4194f0
call fcn.00403230
add esp, 0x1c
push edi
call fcn.00403b3a
add esp, 4
pop edi
mov eax, 0x4194f0
pop esi
mov esp, ebp
pop ebp
ret