joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010ae0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, dword [0x10019090]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
jne 0x10010b0f
mov eax, 1
jmp 0x10010c2f
mov dword [ebp - 0x278], 0x22c
lea eax, [ebp - 0x278]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x10010b37
mov eax, 1
jmp 0x10010c2f
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x280], esp
mov edx, dword [ebp + 8]
push edx
call fcn.10001260
lea eax, [ebp - 0x40]
push eax
call fcn.10010630
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x20]
call fcn.10001380
push 0x10016d14
lea ecx, [ebp - 0x20]
call fcn.10001400
mov dword [ebp - 0x24], 0
lea edx, [ebp - 0x254]
push edx
lea ecx, [ebp - 0x40]
call fcn.100014f0
test eax, eax
je 0x10010b9a
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x20]
call fcn.100014f0
test eax, eax
jne 0x10010bee
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x270]
push ecx
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
je 0x10010bee
push 0
mov edx, dword [ebp - 0x27c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x1f40
mov eax, dword [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x24], 2
jmp 0x10010c06
lea ecx, [ebp - 0x278]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10010b74
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x284], ecx
lea ecx, [ebp - 0x20]
call fcn.100013c0
lea ecx, [ebp - 0x40]
call fcn.100013c0
mov eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10002efe
mov esp, ebp
pop ebp
ret 4

Function at 0x10010c40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
push 0x10016fa4
push 0x1001ae40
call fcn.10002760
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x100107a0
call fcn.10003941
add esp, 0xc
xor eax, eax
pop ebp
ret 4
Function at 0x401a8d
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x401b54
push esi
push 0xf01ff
push str.Start10
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x401b4c
push 0x419160
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x401b24
push str.Stopping_Stardock_Start10...
jmp 0x401ae6
cmp eax, 3
jne 0x401b0d
push 0x4156dc
call fcn.00402b29
mov dword [esp], 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x419160
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
mov eax, dword [0x419164]
jne 0x401adc
cmp eax, 1
jne 0x401b19
push str._nStart10_Service_was_stopped._n
jmp 0x401b1e
push str._nUnable_to_stop_Start10_Service_right_now._n
call fcn.00402b29
pop ecx
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x401b3a
push str.Stardock_Start10_Service_has_been_removed._n
call fcn.00402b29
pop ecx
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0xfa0
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop edi
ret

Function at 0x40c443
Capabilities:
Contain obfuscated stackstrings

Disassembly:
movsd dword es:[edi], dword [esi]
jbe 0x40c4b4
sub bh, bh
mov ch, 0x68
stc
invalid
add dword [eax], eax
add byte [ebp - 0x3337b], cl
call dword [eax + 0x6a]
add bh, bh
xchg ebp, eax
enter 0xfffffffffffffffa, 0xffffffffffffffff
call fcn.0040b611
push ds
je 0x40c504
cmp byte [eax - 0x22f5b], al
inc dword [eax]
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.0040b5ef
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
test dword [ebp + 0x36fffffc], esp
Function at 0x40d38c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [eax - 0x18]
out dx, eax
loope 0x40d391
invalid
inc dword [ebx - 0x1116f33c]
add dword [eax], eax
add byte [ebx - 0x6fb43], al
inc dword [edi + ecx]
test dword [ebp - 0x80000000], ebx
movsd dword es:[edi], dword [esi]
inc esp
clc
invalid
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x438cad
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x438a14
mov edx, 0xcb02b942
or edx, esi
add esi, edx
call fcn.00438cf0
and edx, esi
or edx, edx
sub edx, 0xe6566089
xor dword [eax], ecx
dec esi
add esi, 0xe18a586
inc edx
inc eax
sub edx, 0x97794e1b
or edx, edx
or edx, esi
cmp eax, edi
jne fcn.00438cad
sub esi, edx
ret
Function at 0x4fa90c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov esi, dword [esi]
jmp 0x4fa09c
mov esi, dword [esi]
jmp 0x4fa3cf
mov esi, dword [esi]
jmp 0x4fa5e2
mov esi, dword [esi]
jmp 0x4fa560
add dword [esp + 0xa8], esi
jmp 0x4fa695
add esi, dword [esp + 0x1c]
jmp 0x4fa6a2
inc dword [esp + 0x30]
jmp 0x4fa269
mov dword [esp + 0x30], 0
jmp 0x4f9bdf
add dword [esp + 0xa8], eax
jmp 0x4fa818
add esi, dword [esp + 0x1c]
jmp 0x4fa68a
mov eax, 2
jmp 0x4fa0d4
add esi, dword [esp + 0x1c]
jmp 0x4fa527
add dword [esp + 0xa8], 0x78
jmp 0x4f9ed4
mov esi, dword [esi]
jmp 0x4fa11f
mov esi, dword [esi]
jmp 0x4f9d6a
add esi, dword [esp + 0xa8]
jmp 0x4f9aaf
mov dword [esp + 0x3c], 0
jmp 0x4f9e72
mul esi
jmp 0x4f99ff
mov esi, dword [esi]
jmp 0x4f98c0
cmp eax, dword [esp + 0x2c]
jmp 0x4f9eb9
cmp byte [esi], 0
jmp 0x4fa74b
mov dword [esp + 0x1c], 0
jmp 0x4f9ea3
mov esi, dword [esp + 0xa8]
jmp 0x4fa009
mov dword [esp + 0xa8], 0
jmp 0x4f9f88
jne 0x4f9962
jmp 0x4fa553
mov esi, dword [esp + 0x1c]
jmp 0x4f9ae7
sub dword [esp + 0xa8], 8
jmp 0x4fa4a7
xor al, byte [esi]
jmp 0x4fa50b
mov dword [esp + 0x3c], esi
jmp 0x4f9962
mov esi, 0x30
jmp 0x4fa070
mov dword [esp + 0x2c], esi
jmp 0x4f9f7e
mov esi, dword [esi]
jmp 0x4fa1ef
mov esi, dword fs:[esi]
jmp 0x4fa172
pop esi
jmp 0x4f9d8f
add esi, 0x18
jmp 0x4fa17a
mov esi, dword [esp + 0x30]
jmp 0x4fa222
mov esi, dword [esi]
jmp 0x4f9a30
mov esi, dword [esp + 0x1c]
jmp 0x4f994a
mov dword [esp + 0xa8], esi
jmp 0x4fa113
ret
mov esi, dword [esi]
jmp 0x4f9a4c
add esi, 0xc
jmp 0x4f98d3
mov esi, dword [esi]
jmp 0x4fa3e3
mov esi, dword [esp + 0xa8]
jmp 0x4fa16b
add esi, dword [esp + 0x1c]
jmp 0x4f9f72
mul esi
jmp 0x4fa5a0
add dword [esp + 0x3c], 4
jmp 0x4fa609
mov esi, dword [esi]
jmp 0x4f9956
add esi, 0xc
jmp 0x4f9ad0
mov dword [esp + 0xa8], esi
jmp 0x4fa7da
mov dword [esp + 0x1c], esi
jmp 0x4fa461
add esi, dword [esp + 0x30]
jmp 0x4fa4c7
mov esi, dword [esp + 0x1c]
jmp 0x4fa4e1
movzx esi, word [esi]
jmp 0x4f9cca
mov esi, dword [esp + 0xa8]
jmp 0x4f98f0
mov eax, 4
jmp 0x4fa46d
add esi, 0x3c
jmp 0x4f992c
rol eax, 8
jmp 0x4fa6ae
mov dword [esp + 0x3c], esi
jmp 0x4f9a3c
add dword [esp + 0xa8], 4
jmp 0x4fa1e3
mov dword [esp + 0xa8], esi
jmp 0x4f9a74
mov dword [esp + 0x30], eax
jmp 0x4f9f48
add esi, dword [esp + 0x1c]
jmp 0x4fa3d7
mov esi, dword [esp + 0x3c]
jmp 0x4fa385
add esp, 0xc0
jmp 0x4fa15a
add dword [esp + 0xa8], 0x20
jmp 0x4f9e8d
push esi
jmp 0x4fa715
inc esi
jmp 0x4f9e2a
xor eax, eax
jmp 0x4f9f65
jne 0x4f9f65
jmp 0x4fa082
mov esi, dword [esp + 0x3c]
jmp 0x4fa455
mov esi, dword [esp + 0xa8]
jmp 0x4fa0fa
sub esp, 0xc0
jmp 0x4f99a2
Function at 0x4061a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4061b5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4061f4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4061f0
lea ebx, [ebx]
cmp esi, edx
jae 0x4061f4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x4061e0
cmp esi, edx
jb 0x4061f9
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x4078a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0041dea6
Function at 0x4101d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457cd6
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x478990]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x12c]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x12c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41029d
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
cmp dword [ebp - 0x128], 6
mov esi, esp
jb 0x410266
mov dword [ebp - 0x134], esp
push eax
call fcn.00406100
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00406100
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 1
call fcn.00410360
jmp 0x41029a
mov dword [ebp - 0x130], esp
push eax
call fcn.00406100
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00406100
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 1
call fcn.0041af70
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4102c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4102e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043e7dc
mov esp, ebp
pop ebp
ret

Function at 0x4106f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x458200
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x478990]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [0x478990]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea ecx, [esp + 0x27]
call fcn.0041a360
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.00407b40
sub esp, 0x18
lea eax, [esp + 0x24]
mov ecx, esp
mov byte [esp + 0x50], 1
push eax
mov dword [esp + 0x2c], 1
call fcn.00410640
lea ecx, [esp + 0x3f]
call fcn.0041bb30
lea ecx, [esp + 0xc]
call fcn.004105c0
lea ecx, [esp + 0x27]
mov dword [esp + 0x38], 0xffffffff
call fcn.00405e80
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0043e7dc
mov esp, ebp
pop ebp
ret
Function at 0x411f40
Capabilities:
Create thread
Print debug messages

Disassembly:
push esi
mov esi, ecx
push 0
cmp dword [esi + 8], 0
jne 0x411fe3
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x10], eax
lea eax, [esi + 0xc]
push eax
push 0
push esi
push 0x412090
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x3e8
push dword [esi + 0x10]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x411f97
push str.Error_starting_SplashThread_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
push eax
push 0
push esi
push 0x412750
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x3e8
push dword [esi + 0x1c]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x411ff0
push str.Error_starting_WndThread_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop esi
ret
push 2
push 6
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
pop esi
ret

Function at 0x412000
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 1
je 0x41206a
mov eax, dword [esi]
push str.stop_spash_thread
mov edx, dword [eax]
push 0x468518
push 0xb
push eax
call dword [edx + 0x6c]
add esp, 0x10
push 0
push 0
push 0x12
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x3e8
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x412060
push 0x8ae
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 8]
call edi
push dword [esi + 0x10]
call edi
mov eax, dword [esi + 0x14]
mov dword [esi + 8], 0
test eax, eax
je 0x412087
push eax
call edi
push dword [esi + 0x1c]
call edi
mov dword [esi + 0x14], 0
pop edi
pop esi
ret
Function at 0x4159e0
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4549d0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x478990]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
xor edx, edx
cmp byte [ebp + 0x10], dl
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x1c], eax
mov eax, 8
cmovne eax, edx
push eax
push edx
push edx
lea eax, [ebp - 0x30]
push eax
movq qword [ebp - 0x30], xmm0
movq qword [ebp - 0x18], xmm0
push ecx
mov dword [ebp - 4], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x14], 0
call sub.MPR.dll_WNetAddConnection3W
mov edi, eax
or esi, 0xffffffff
test edi, edi
je 0x415ac8
call fcn.0041c8d4
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x415a85
push 0x80004005
call fcn.00406820
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
push edi
lea eax, [ebp - 0x34]
push str.Login_failure_d
push eax
mov byte [ebp - 4], 1
call fcn.00405f50
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
add esp, 0xc
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x415ac8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x415ae9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
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.0043e7dc
mov esp, ebp
pop ebp
ret
Function at 0x415b10
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454a10
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x478990]
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
push 0x45a89c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
mov bl, 1
mov dword [ebp - 0x2c], 0
call fcn.00406740
push dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push esi
push str.Check_free_bytes_lu_on_path_s
push dword [ebp - 0x2c]
mov byte [ebp - 4], bl
push 8
push 0x47d0b4
call fcn.00417de0
mov eax, dword [ebp + 8]
add esp, 0x18
cmp dword [eax - 0xc], 0
jne 0x415b9e
push str.Skip_test_with_true_due_empty_path
push dword [ebp - 0x2c]
push 8
push 0x47d0b4
call fcn.00417de0
add esp, 0x10
jmp 0x415c79
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x415c52
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push str.FreeBytesToCaller_I64u
push dword [ebp - 0x2c]
push 8
push 0x47d0b4
call fcn.00417de0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push str.TotalBytes_I64u
push dword [ebp - 0x2c]
push 8
push 0x47d0b4
call fcn.00417de0
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push str.FreeBytes_I64u
push dword [ebp - 0x2c]
push 8
push 0x47d0b4
call fcn.00417de0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
add esp, 0x48
test ecx, ecx
ja 0x415c38
jb 0x415c1a
cmp eax, esi
jae 0x415c38
push esi
push ecx
push eax
push 0x45a9c8
push dword [ebp - 0x2c]
push 8
push 0x47d0b4
call fcn.00417de0
add esp, 0x1c
xor bl, bl
jmp 0x415c52
push esi
push ecx
push eax
push str.FreeBytesToCaller_I64u___requested_bytes_lu
push dword [ebp - 0x2c]
push 8
push 0x47d0b4
call fcn.00417de0
add esp, 0x1c
mov ecx, str.false
mov eax, str.true
test bl, bl
cmove eax, ecx
push eax
push str.Test_returns_s
push dword [ebp - 0x2c]
push 8
push 0x47d0b4
call fcn.00417de0
add esp, 0x14
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
or esi, 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x415c9c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp + 8]
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x415cbd
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
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.0043e7dc
mov esp, ebp
pop ebp
ret
Function at 0x4162a0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x478990]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
cmp dword [eax - 0xc], 0
xorps xmm0, xmm0
push edi
movlpd qword [ebp - 0x24], xmm0
jne 0x4162d0
movlpd qword [ebp - 0xc], xmm0
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
jmp 0x4162f8
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4162ef
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
jmp 0x4162f5
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x10]
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416314
mov ecx, dword [edx]
push esi
mov esi, dword [ecx]
push edx
call dword [esi + 4]
pop esi
mov ecx, dword [ebp - 4]
mov edx, edi
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0043e7dc
mov esp, ebp
pop ebp
ret

Function at 0x416330
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x478990]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x120]
push eax
xor ebx, ebx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, 1
jne 0x4164ac
mov eax, dword [ebp - 0x11c]
cmp eax, 0xa
jne 0x416398
cmp dword [ebp - 0x118], ebx
jne 0x4164ac
cmp byte [ebp - 6], 1
sete bl
add ebx, 0x13
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e7dc
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x416431
mov eax, dword [ebp - 0x118]
cmp eax, 3
jne 0x4163c9
xor ebx, ebx
cmp byte [ebp - 6], 1
sete bl
add ebx, 0x10
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e7dc
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x4163eb
xor ebx, ebx
cmp byte [ebp - 6], 1
setne bl
add ebx, 0xd
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e7dc
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x41640c
xor ebx, ebx
cmp byte [ebp - 6], al
setne bl
add ebx, 0xa
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e7dc
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x4164ac
xor ebx, ebx
cmp byte [ebp - 6], 1
setne bl
add ebx, 7
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e7dc
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x4164ac
mov eax, dword [ebp - 0x118]
cmp eax, 2
jne 0x416487
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 5
test eax, eax
cmovne ebx, ecx
cmp dword [ebp - 0x11c], ecx
jne 0x4164ac
mov eax, dword [ebp - 0x118]
cmp eax, 2
jne 0x416487
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
mov ecx, 4
cmove ebx, ecx
cmp dword [ebp - 0x11c], 5
jne 0x4164ac
mov eax, dword [ebp - 0x118]
cmp eax, 1
jne 0x4164a2
mov ebx, 3
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e7dc
mov esp, ebp
pop ebp
ret
mov ecx, 1
test eax, eax
cmove ebx, ecx
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0043e7dc
mov esp, ebp
pop ebp
ret