joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f870
Capabilities:
Read file on windows

Disassembly:
push ebx
push edi
mov edi, eax
xor ebx, ebx
cmp dword [edi + 0x10], ebx
jne 0x41f962
push ebp
push esi
push 0x1c
call fcn.0042cb6e
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x41f8ba
mov eax, 0x10000
push eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], ebx
mov byte [esi], bl
mov byte [esi + 0x18], 1
mov dword [esi + 8], eax
call fcn.0042d652
add esp, 4
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x41f8bc
mov byte [esi], 1
jmp 0x41f8bc
xor esi, esi
push 1
push 0x100000
call fcn.0043f707
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x41f911
call fcn.00434027
push eax
push 0x100000
push 1
push ebp
call fcn.0042efce
add esp, 0x10
cmp eax, ebx
jle 0x41f911
jmp 0x41f8f0
mov ecx, ebp
call fcn.0041f450
call fcn.00434027
push eax
push 0x100000
push 1
push ebp
call fcn.0042efce
add esp, 0x10
cmp eax, ebx
jg 0x41f8f0
cmp byte [esi], bl
je 0x41f91d
mov dword [edi + 0xc], ebx
mov dword [edi + 0x18], ebx
jmp 0x41f93c
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 4]
push eax
push ecx
mov byte [esi + 0x18], bl
call fcn.0042d865
mov dword [esi + 4], eax
mov dword [edi + 0xc], eax
mov edx, dword [esi + 0x14]
add esp, 8
mov dword [edi + 0x18], edx
cmp byte [esi + 0x18], bl
je 0x41f94d
mov eax, dword [esi + 4]
push eax
call fcn.0042d575
add esp, 4
push esi
call fcn.0042cabc
push ebp
call fcn.0042d575
add esp, 8
pop esi
mov byte [edi + 8], 1
pop ebp
call fcn.0041f7d0
pop edi
pop ebx
ret
Function at 0x42c642
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x467440], 0
push esi
jne 0x42c5b5
call fcn.0042c4db
test eax, eax
je 0x42c5f8
mov eax, dword [0x467440]
cmp eax, 1
jne 0x42c5d6
push 0xd
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
test eax, eax
je 0x42c5f8
pop esi
ret
push eax
call dword [0x467448]
test eax, eax
jne 0x42c640
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x42c5fc
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x467440]
call dword [0x467448]
mov edi, eax
test edi, edi
je 0x42c621
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
jmp 0x42c63d
mov edi, esi
add esi, 0xff0
push edi
push dword [0x467440]
call dword [0x467444]
add edi, 0x10
cmp edi, esi
jb 0x42c629
mov eax, edi
pop edi
pop esi
ret
jmp 0x42c5a2

Function at 0x42cac7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4650e0]
jne 0x42cad1
repz ret
jmp fcn.00430b2c

Function at 0x43cd8b
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.00430e72
and dword [ebp - 4], 0
cmp dword [0x46815c], 0
mov ebx, eax
jne 0x43ce3c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43ceed
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43ceed
push eax
call fcn.00430e00
mov dword [esp], 0x454050
push edi
mov dword [0x46815c], eax
call esi
push eax
call fcn.00430e00
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x468160], eax
call esi
push eax
call fcn.00430e00
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x468164], eax
call esi
push eax
call fcn.00430e00
pop ecx
mov dword [0x46816c], eax
test eax, eax
je 0x43ce3c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00430e00
pop ecx
mov dword [0x468168], eax
mov eax, dword [0x468168]
cmp eax, ebx
je 0x43ce94
cmp dword [0x46816c], ebx
je 0x43ce94
push eax
call fcn.00430e7b
push dword [0x46816c]
mov esi, eax
call fcn.00430e7b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43ce94
test edi, edi
je 0x43ce94
call esi
test eax, eax
je 0x43ce8b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43ce8b
test byte [ebp - 0xc], 1
jne 0x43ce94
or dword [ebp + 0x10], 0x200000
jmp 0x43cecd
mov eax, dword [0x468160]
cmp eax, ebx
je 0x43cecd
push eax
call fcn.00430e7b
pop ecx
test eax, eax
je 0x43cecd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43cecd
mov eax, dword [0x468164]
cmp eax, ebx
je 0x43cecd
push eax
call fcn.00430e7b
pop ecx
test eax, eax
je 0x43cecd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46815c]
call fcn.00430e7b
pop ecx
test eax, eax
je 0x43ceed
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43ceef
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x443677
Capabilities:
Read file via mapping

Disassembly:
push edi
push str.KZ_Config_Integration_
push 0x10000
xor edi, edi
push edi
push 0x8000004
push edi
push 0xffffffffffffffff
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
mov dword [esi], eax
cmp eax, edi
je 0x4436ae
push edi
push edi
push edi
push 6
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov dword [esi + 8], eax
mov eax, esi
pop edi
ret

Function at 0x4436b2
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1c8]
sub esp, 0x248
mov eax, dword [0x4650e0]
xor eax, ebp
mov dword [ebp + 0x1c4], eax
mov eax, dword [ebp + 0x1d0]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
push ebx
mov dword [ecx], edx
push dword [eax + 8]
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
push 0
push 0
lea ebx, [ebp - 0x44]
call fcn.0044d53a
pop ebx
test eax, eax
jne 0x443770
push 0x45a5f0
lea eax, [ebp - 0x44]
push 0x104
push eax
call fcn.0042f1df
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x443770
push 0x38
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.0042f410
and dword [ebp - 0x64], 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x70], eax
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x6c], str._KZsetup_integration
mov dword [ebp - 0x7c], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x443770
push 0xffffffffffffffff
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
inc eax
jmp 0x443772
xor eax, eax
mov ecx, dword [ebp + 0x1c4]
xor ecx, ebp
call fcn.0042cac7
add ebp, 0x1c8
leave
ret 4

Function at 0x443894
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push 0x11
pop esi
call fcn.00444750
xor edi, edi
push edi
lea ecx, [ebp - 4]
push ecx
push edi
push 0xf003f
push edi
push edi
push edi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x443951
mov esi, dword [0x46a7f0]
mov dword [ebp - 8], edi
cmp esi, dword [0x46a7f4]
jbe 0x4438de
call fcn.0042cf00
mov eax, dword [0x46a7e4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], esi
mov esi, dword [0x46a7f4]
cmp dword [0x46a7f0], esi
jbe 0x4438fc
call fcn.0042cf00
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x44390b
cmp eax, dword [0x46a7e4]
je 0x443910
call fcn.0042cf00
cmp dword [ebp - 0xc], esi
je 0x443948
lea esi, [ebp - 0x10]
call fcn.00405ab1
cmp dword [eax + 0x18], 8
jb 0x443928
mov eax, dword [eax + 4]
jmp 0x44392b
add eax, 4
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea esi, [ebp - 0x10]
call fcn.00405bd0
jmp 0x4438e9
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret
Function at 0x444451
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov ebp, eax
mov edi, str.LANGUAGES
cmp dword [esp + 0x14], ebx
jne 0x444481
movzx eax, word [0x46a620]
push edi
push eax
push ebp
call esi
test eax, eax
jne 0x4444a2
movzx eax, word [esp + 0x14]
push edi
push eax
push ebp
call esi
test eax, eax
jne 0x4444a2
movzx eax, word [0x46a620]
push edi
push eax
push ebp
call esi
xor eax, eax
jmp 0x444578
push eax
push ebp
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x4444b7
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
push 0x1a
pop ecx
mov eax, 0x46a32c
push 0xf
mov edi, eax
push str.VspLanguagePack
mov esi, ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0042efeb
add esp, 0xc
test eax, eax
jne 0x44449b
mov eax, dword [0x46a390]
mov dword [0x46a39c], eax
add ebx, 0x68
call fcn.00444378
xor edi, edi
cmp dword [0x46a390], edi
jbe 0x444570
mov eax, dword [ebx]
mov ecx, dword [0x46a394]
mov esi, edi
shl esi, 3
mov dword [esi + ecx], eax
mov eax, dword [ebx + 4]
mov ecx, dword [0x46a394]
mov dword [esi + ecx + 4], eax
mov eax, dword [0x46a394]
mov eax, dword [esi + eax]
add ebx, 8
inc eax
push eax
call fcn.0042d652
mov ecx, dword [0x46a394]
mov dword [esi + ecx + 4], eax
mov eax, dword [0x46a394]
add eax, esi
mov ecx, dword [eax]
inc ecx
push ecx
push 0
push dword [eax + 4]
call fcn.0042f410
mov eax, dword [0x46a394]
add eax, esi
push dword [eax]
push ebx
push dword [eax + 4]
call fcn.004305e0
mov eax, dword [0x46a394]
add ebx, dword [esi + eax]
add esp, 0x1c
mov edx, edi
call fcn.004443ff
inc edi
cmp edi, dword [0x46a390]
jb 0x4444f5
xor eax, eax
inc eax
mov byte [0x46a328], al
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x44457f
Capabilities:
Read file on windows

Disassembly:
push ebx
push 0x45b044
push dword [esp + 0xc]
call fcn.0042e3c6
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x444666
cmp byte [0x46a328], 0
je 0x4445a8
call fcn.004442c6
push esi
push ebx
push 1
push 0x68
mov esi, 0x46a32c
push esi
call fcn.0042efce
push 0xf
push 0x45b04c
push esi
call fcn.0042efeb
add esp, 0x1c
test eax, eax
je 0x4445d4
xor eax, eax
jmp 0x444665
mov eax, dword [0x46a390]
push edi
mov dword [0x46a39c], eax
call fcn.00444378
xor edi, edi
cmp dword [0x46a390], edi
jbe 0x44465a
mov eax, dword [0x46a394]
push ebx
mov esi, edi
push 1
shl esi, 3
add eax, esi
push 8
push eax
call fcn.0042efce
mov eax, dword [0x46a394]
mov eax, dword [esi + eax]
inc eax
push eax
call fcn.0042d652
mov ecx, dword [0x46a394]
mov dword [esi + ecx + 4], eax
mov eax, dword [0x46a394]
add eax, esi
mov ecx, dword [eax]
inc ecx
push ecx
push 0
push dword [eax + 4]
call fcn.0042f410
mov eax, dword [0x46a394]
push ebx
add eax, esi
push 1
push dword [eax]
push dword [eax + 4]
call fcn.0042efce
add esp, 0x30
mov edx, edi
call fcn.004443ff
inc edi
cmp edi, dword [0x46a390]
jb 0x4445ee
push ebx
call fcn.0042e8da
pop ecx
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
ret 4
Function at 0x444fb5
Capabilities:
Check http status code
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
push str.VsyDownload_1.0
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x10], edi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, edi
je 0x445004
push edi
push 0x84000002
push edi
push edi
push dword [ebp + 8]
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp ebx, edi
jne 0x44500b
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x20000013
push ebx
call esi
test eax, eax
jne 0x44502c
mov dword [ebp - 0xc], edi
cmp dword [ebp - 0xc], 0xc8
je 0x44503a
push dword [ebp - 0x1c]
jmp 0x444ffe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push 0x20000005
push ebx
call esi
test eax, eax
jne 0x445055
mov dword [ebp - 4], edi
mov eax, dword [ebp - 4]
inc eax
push eax
call fcn.0042c877
mov ebx, eax
mov eax, dword [ebp - 4]
inc eax
push eax
push edi
push ebx
call fcn.0042f410
mov eax, dword [ebp + 0xc]
add esp, 0x10
cmp eax, edi
je 0x445079
mov dword [eax], ebx
xor esi, esi
push edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [ebp - 4]
sub eax, esi
mov ecx, 0x400
cmp eax, ecx
jb 0x445095
mov eax, ecx
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [esi + ebx]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetReadFile]
add esi, dword [ebp - 8]
cmp dword [ebp - 8], edi
ja 0x44507b
push dword [ebp - 0x18]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
cmp dword [ebp + 0xc], edi
jne 0x4450cb
push ebx
call fcn.0042d85a
pop ecx
xor eax, eax
inc eax
jmp 0x445006
Function at 0x44565d
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x4650e0]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x20
mov eax, 0x44f9b3
call fcn.0042fb3d
mov eax, dword [ebp + 0x218]
xor ebx, ebx
mov dword [ebp - 0x10], eax
cmp edi, ebx
je 0x44574d
cmp dword [edi + 0x4c], ebx
jne 0x44574d
cmp dword [edi + 0x14], ebx
je 0x44574d
xor eax, eax
push 0x208
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.0042f410
add esp, 0xc
lea eax, [ebp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
cmp dword [edi + 0x30], ebx
je 0x4456e2
cmp dword [edi + 0x34], 8
jb 0x4456dd
mov eax, dword [edi + 0x20]
jmp 0x4456f7
lea eax, [edi + 0x20]
jmp 0x4456f7
cmp dword [edi + 0x18], 8
jb 0x4456ed
mov eax, dword [edi + 4]
jmp 0x4456f0
lea eax, [edi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp]
push eax
lea esi, [ebp - 0x2c]
call fcn.0040217f
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x38]
mov dword [ebp - 4], ebx
call fcn.00402658
push ebx
push 1
call fcn.0040273f
mov esi, dword [ebp - 0x10]
push ebx
push ebx
lea eax, [esi + 0x100]
mov ecx, dword [eax]
push edi
push 0x445522
lea esi, [esi + ecx*4]
push 0xa
inc ecx
push ebx
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi], eax
xor eax, eax
inc eax
jmp 0x44574f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.0042cac7
add ebp, 0x210
leave
ret 4
Function at 0x445774
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 8
mov eax, 0x44f9e3
call fcn.0042fb3d
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call esi
mov dword [ebp - 0x14], eax
call esi
mov edi, 0x1388
jmp 0x4457a7
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp byte [0x46a2a3], 0
jne 0x4457ae
call esi
sub eax, dword [ebp - 0x14]
cmp eax, edi
jb 0x445794
mov al, byte [ebp + 8]
mov byte [ebx + 0x11c], al
mov al, byte [ebp + 0xc]
mov byte [ebx + 0x11d], al
push 0x45b738
lea eax, [ebp - 0x10]
push eax
call fcn.00401015
and dword [ebp - 4], 0
and dword [ebp + 8], 0
lea esi, [ebx + 0x104]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 2
test eax, eax
jbe 0x44589d
mov edi, dword [ebp + 8]
call fcn.00405a98
mov eax, dword [eax]
cmp dword [eax + 0xb0], 0
je 0x445888
cmp byte [ebx + 0x11d], 0
je 0x44581d
call fcn.00405a98
mov eax, dword [eax]
test byte [eax + 0xb4], 2
je 0x445888
cmp byte [ebx + 0x11c], 0
je 0x445839
mov edi, dword [ebp + 8]
call fcn.00405a98
mov eax, dword [eax]
test byte [eax + 0xb4], 1
je 0x445888
mov edi, dword [ebp + 8]
call fcn.00405a98
mov ecx, dword [eax]
test ecx, ecx
je 0x445850
call fcn.004453d7
test eax, eax
jne 0x445888
mov edi, dword [ebp + 8]
call fcn.00405a98
mov edi, dword [eax]
push ebx
call fcn.0044565d
mov edi, dword [ebp + 8]
call fcn.00405a98
mov eax, dword [eax]
push dword [eax + 0x8c]
lea eax, [ebp - 0x10]
push 0x45b73c
call fcn.004061c2
push dword [ebp - 0x10]
call fcn.00444a2b
add esp, 0xc
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
inc dword [ebp + 8]
sar eax, 2
cmp dword [ebp + 8], eax
jb 0x4457ed
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004015fa
xor eax, eax
call fcn.0042fc15
ret 8
Function at 0x446396
Capabilities:
Accept command line arguments
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x44fc70
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4650e0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
push 0x104
xor ebx, ebx
push ebx
push 0x46a628
call fcn.0042f410
push 4
call fcn.0042cb6e
add esp, 0x10
cmp eax, ebx
je 0x4463e3
mov dword [eax], 0x46a72c
jmp 0x4463e5
xor eax, eax
mov dword [0x46a72c], eax
mov dword [0x46a738], ebx
mov dword [0x46a73c], ebx
mov dword [0x46a740], ebx
mov byte [0x46a744], bl
mov byte [0x46a745], bl
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push 0x45b5c4
mov ebp, eax
call fcn.00444806
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x446432
mov eax, 0x45b5cc
mov ecx, eax
cmp ecx, 0x45b5e8
je 0x446432
mov esi, eax
push 0x80
push ebx
mov edi, 0x46a746
push edi
call fcn.0042f410
add esp, 0xc
cmp esi, ebx
je 0x446485
push edi
push str._id_s
push esi
call fcn.0042e261
push str._Update
mov eax, ebp
call fcn.00444806
test eax, eax
setne al
mov byte [0x46a745], al
push 0x45b624
mov eax, ebp
call fcn.00444806
add esp, 0x14
test eax, eax
setne al
mov byte [0x46a744], al
mov esi, dword [0x46a728]
inc dword [0x46a728]
push ebx
push ebx
push 0x46a2a4
push 0x4462a6
push 0xa
push ebx
lea esi, [esi*4 + 0x46a628]
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi], eax
mov eax, 0x46a628
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x4464c8
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x144
mov eax, dword [0x4650e0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push edi
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0xcc]
rep stosd dword es:[edi], eax
push 0x11c
xor edi, edi
lea eax, [ebp - 0xa8]
push edi
push eax
call fcn.0042f410
add esp, 0xc
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], 0x11c
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x4465b9
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp eax, edi
je 0x446547
lea ecx, [ebp - 0xcc]
push ecx
call eax
jmp 0x446554
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
xor eax, eax
cmp dword [ebp - 0x98], 2
jne 0x4465b9
cmp dword [ebp - 0xa4], 4
jbe 0x4465b9
cmp dword [ebp - 0xa4], 6
jne 0x44658a
cmp dword [ebp - 0xa0], edi
jne 0x44657d
push 4
jmp 0x4465ab
cmp dword [ebp - 0xa0], 1
jne 0x4465b9
push 5
jmp 0x4465ab
cmp dword [ebp - 0xa4], 5
jne 0x4465b9
cmp dword [ebp - 0xa0], 2
jne 0x4465a0
push 3
jmp 0x4465ab
cmp dword [ebp - 0xa0], 1
jne 0x4465ae
push 2
pop eax
jmp 0x4465b9
cmp dword [ebp - 0xa0], edi
jne 0x4465b9
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop edi
call fcn.0042cac7
add ebp, 0x78
leave
ret
Function at 0x446e0b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 1
xor edi, edi
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x446ea3
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
push edi
push edi
push edi
push 0x45bd2c
push dword [ebp - 4]
call esi
test eax, eax
jne 0x446e9a
inc dword [ebp - 8]
push dword [ebp - 8]
call fcn.0042c877
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x446e9a
lea eax, [ebp - 8]
push eax
push ebx
push edi
push edi
push str.ProgramW6432Dir
push dword [ebp - 4]
call esi
test eax, eax
je 0x446e87
inc edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.0042d85a
pop ecx
mov eax, edi
jmp 0x446ea6
push ebx
push 0x104
push dword [ebp + 8]
call fcn.0042d016
add esp, 0xc
jmp 0x446e73
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x446ef5
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4650e0]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
push 0x3e
push eax
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x4a]
push eax
call fcn.0042f410
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x4c]
push str._c:_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
xor ecx, ebp
call fcn.0042cac7
leave
ret
Function at 0x447054
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x4650e0]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x10
mov eax, 0x44ee1f
call fcn.0042fb3d
mov eax, dword [ebp + 0x41c]
xor ebx, ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp]
push ecx
mov esi, 0x104
push esi
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
cmp eax, ebx
jne 0x4470bd
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x4470b3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
jmp 0x447168
lea eax, [ebp - 0x10]
push eax
push 0x4524f0
push 1
push ebx
push 0x452520
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, ebx
jl 0x447155
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
cmp eax, ebx
je 0x4470f5
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x45cd54
push eax
call dword [ecx]
mov eax, dword [ebp - 0x10]
lea edx, [ebp]
push edx
mov byte [ebp - 4], 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov edi, eax
cmp edi, ebx
jl 0x447145
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0x45bc34
push eax
call dword [ecx + 0x1c]
mov edi, eax
cmp edi, ebx
jl 0x447145
push esi
push dword [ebp - 0x18]
lea eax, [ebp + 0x208]
push esi
push eax
call fcn.0042de44
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add esp, 0x10
push 1
lea edx, [ebp + 0x208]
push edx
push eax
call dword [ecx + 0x18]
mov edi, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x447155
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x447166
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0042cac7
add ebp, 0x414
leave
ret 4