joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46770c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x467723
add esp, 0xfffffff0
call fcn.00404a18
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422d3c
mov eax, dword [0x4f15ec]
cmp word [eax + 2], 0
jne 0x46774b
mov eax, dword [0x4f15ec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00469264
mov eax, dword [0x4f1730]
cmp word [eax + 2], 0
jne 0x467765
mov eax, dword [0x4f1730]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00469470
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419284]
call fcn.004046c4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419284]
call fcn.004046c4
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x419284]
call fcn.004046c4
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x428978]
call fcn.00430568
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x46791c
mov eax, dword [0x4f1450]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0043093c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x469b40
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4f1450]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040f828
test eax, eax
je 0x46786c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040aed0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040f85c
test eax, eax
je 0x467880
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00405874
mov byte [ebx + 0xd4], 0
push ebx
push 0x468dac
call fcn.00423eb8
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4f11f4]
cmp byte [eax], 0
jne 0x4678d1
mov eax, ebx
call fcn.00467a60
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00469d1c
mov eax, ebx
call fcn.0046a87c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x467911
call fcn.00404a70
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467ce0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4f55b8]
cmp dword [eax + 0x30], 0
je 0x467d8a
cmp dword [ebx + 0x94], 0
jne 0x467d84
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x467c70
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x467d84
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x467d4a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x467d84
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041b980
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x467d59
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x468aa4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x468ad9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004056e4
jmp 0x468ae6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405648
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x469f00
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x469f6e
mov eax, esi
call fcn.004540e4
test al, al
je 0x469f6e
mov eax, dword [ebx + 0x84]
call fcn.00453d44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x469f6e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x469f62
push 0
mov eax, dword [ebx + 0x84]
call fcn.00453d44
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044c164
jmp 0x469f6e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00469d3c
pop esi
pop ebx
ret
Function at 0x46ae74
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x4087d0]
call fcn.00406148
xor eax, eax
push ebp
push 0x46b015
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ec9a4], 0
jne 0x46aecf
mov ecx, dword [0x4f121c]
mov dl, 1
mov eax, dword [0x408bec]
call fcn.0040e95c
call fcn.00404f68
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403890
mov eax, ebx
call fcn.00405f98
mov dword [ebp - 0x24], eax
mov esi, 0x46b024
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.004072a4
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405fa8
test eax, eax
jle 0x46afb8
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46afa4
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405874
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x46af4a
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.0040588c
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x46af60
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.0040588c
mov eax, dword [ebp - 0x54]
call fcn.00405ac8
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405874
mov eax, dword [ebp - 0x58]
call fcn.00405ac8
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x46afa6
xor eax, eax
test al, al
je 0x46afb1
mov ebx, 0x15
jmp 0x46afbd
mov ebx, 0x10
jmp 0x46afbd
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4ec9a4]
call fcn.0046acf8
mov eax, dword [ebp - 4]
call fcn.0046acf8
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.004072bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b01c
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00405618
lea eax, [ebp - 0xc]
mov edx, dword [0x4087d0]
call fcn.00406218
ret
Function at 0x46f7a4
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 4], eax
lea esi, [ebp - 0x238]
xor eax, eax
push ebp
push 0x46f99c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 9], 0
mov eax, dword [ebp - 4]
add eax, 0xa
call fcn.004055f4
mov eax, dword [ebp - 4]
add eax, 0xe
call fcn.004055f4
mov eax, dword [ebp - 4]
add eax, 0x12
call fcn.004055f4
mov eax, dword [ebp - 4]
add eax, 0x16
call fcn.004055f4
xor edx, edx
push ebp
push 0x46f977
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
push 0
push 3
push 0
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 4]
call fcn.0046f74c
mov edx, eax
lea eax, [ebp - 0x240]
call fcn.004057dc
mov ecx, dword [ebp - 0x240]
lea eax, [ebp - 0x23c]
mov edx, 0x46f9b4
call fcn.00405914
mov eax, dword [ebp - 0x23c]
call fcn.00405ac8
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 5], ebx
cmp ebx, 0xffffffff
jne 0x46f878
call fcn.00405014
jmp 0x46f97e
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 0xc
call fcn.00403890
mov eax, esi
xor ecx, ecx
mov edx, 0x224
call fcn.00403890
mov eax, 0x224
mov dword [esi + 4], eax
push 0
lea edx, [ebp - 8]
push edx
push eax
push esi
push 0xc
lea eax, [ebp - 0x14]
push eax
push 0x2d1400
mov eax, dword [ebp - 4]
mov eax, dword [eax + 5]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
jne 0x46f8c5
call fcn.004100c4
mov eax, dword [esi + 0xc]
test eax, eax
je 0x46f8e8
cmp eax, 0x7fff
jbe 0x46f8d8
call fcn.004045bc
lea ebx, [esi + eax]
mov eax, dword [ebp - 4]
add eax, 0x16
mov edx, ebx
call fcn.004057fc
mov eax, dword [esi + 0x10]
test eax, eax
je 0x46f90b
cmp eax, 0x7fff
jbe 0x46f8fb
call fcn.004045bc
lea ebx, [esi + eax]
mov eax, dword [ebp - 4]
add eax, 0xe
mov edx, ebx
call fcn.004057fc
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46f92e
cmp eax, 0x7fff
jbe 0x46f91e
call fcn.004045bc
lea ebx, [esi + eax]
mov eax, dword [ebp - 4]
add eax, 0xa
mov edx, ebx
call fcn.004057fc
mov eax, dword [esi + 0x18]
test eax, eax
je 0x46f951
cmp eax, 0x7fff
jbe 0x46f941
call fcn.004045bc
lea ebx, [esi + eax]
mov eax, dword [ebp - 4]
add eax, 0x12
mov edx, ebx
call fcn.004057fc
mov eax, dword [ebp - 4]
mov byte [eax + 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f97e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 5]
cmp eax, 0xffffffff
je 0x46f976
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f9a3
lea eax, [ebp - 0x240]
mov edx, 2
call fcn.00405618
ret
Function at 0x474cb8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x474ce6
mov eax, ebx
call fcn.0047576c
cmp dword [ebx + 0x40], 0
je 0x474cdf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x474d57
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x474d49
cmp dword [ebx + 8], 0
je 0x474d08
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x474d1a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x474d49
cmp dword [ebx + 8], 0
je 0x474cfb
cmp eax, 3
je 0x474d2d
dec eax
jne 0x474cfb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x474cfb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x474cfb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x474d75
cmp dword [ebx + 0x14], 0xcc
je 0x474d75
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00474d80
pop ebx
ret

Function at 0x4858cc
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4858fd
mov eax, ebx
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.00405874
jmp 0x485904
mov eax, ebx
call fcn.004055f4
add esp, 0x104
pop ebx
ret

Function at 0x48590c
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48598f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xff
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405d50
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00405ac8
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x48596d
push ebx
mov ecx, dword [ebp - 8]
sub ecx, 1
jae 0x48595e
call fcn.004045c4
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405b28
jmp 0x485979
mov eax, ebx
mov edx, 0x4859a4
call fcn.00405648
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485996
lea eax, [ebp - 4]
call fcn.004055f4
ret
Function at 0x4862cc
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405ab8
mov eax, dword [ebp - 8]
call fcn.00405ab8
xor eax, eax
push ebp
push 0x4863e7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 9], 0
je 0x486333
xor ecx, ecx
mov dl, 1
mov eax, dword [0x46ef58]
call fcn.004603f0
mov edx, dword [0x4f12ec]
mov dword [edx], eax
mov eax, dword [0x4f12ec]
mov eax, dword [eax]
call fcn.00465580
mov dl, 1
mov eax, dword [0x46f1cc]
call fcn.004046c4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.00405ac8
mov ebx, eax
push ebx
call sub.wininet.dll_DeleteUrlCacheEntry
xor eax, eax
push ebp
push 0x4863a4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 9], 0
je 0x48637e
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x486361
sub eax, 0xfffffffc
push eax
push 1
mov eax, dword [ebp - 8]
call fcn.00405ac8
push eax
push ebx
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
sete al
mov ebx, eax
jmp 0x48639a
push 0
push 1
mov eax, dword [ebp - 8]
call fcn.00405ac8
push eax
push ebx
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4863b0
cmp byte [ebp - 9], 0
je 0x4863cc
mov eax, dword [0x4f12ec]
mov eax, dword [eax]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx - 4]
mov eax, dword [ebp - 0x10]
call fcn.004046f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4863ee
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405618
ret
Function at 0x487b54
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x487b5c
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x487c6d
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 0x43
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.004057dc
lea eax, [ebp - 0x14]
mov edx, 0x487c84
call fcn.004058d0
mov eax, dword [ebp - 0x14]
call fcn.0040a790
test al, al
je 0x487bc8
lea eax, [ebp - 0x18]
mov edx, ebx
call fcn.004057dc
lea eax, [ebp - 0x18]
mov edx, 0x487c84
call fcn.004058d0
mov eax, dword [ebp - 0x18]
call fcn.00405ac8
push eax
call sub.kernel32.dll_GetDriveTypeA
add eax, 0xfffffffd
sub eax, 2
jb 0x487bce
inc ebx
cmp bl, 0x5b
jne 0x487b78
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x1c]
mov edx, ebx
call fcn.004057dc
lea eax, [ebp - 0x1c]
mov edx, 0x487c84
call fcn.004058d0
mov eax, dword [ebp - 0x1c]
call fcn.00405ac8
push eax
call sub.kernel32.dll_GetVolumeInformationA
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 8]
movzx eax, ax
mov edx, 4
call fcn.0040a298
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, ax
mov edx, 4
call fcn.0040a298
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 4]
pop ecx
call fcn.00405914
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00405648
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487c74
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00405618
lea eax, [ebp - 4]
call fcn.004055f4
ret
Function at 0x487c88
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x487c90
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x487e01
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.004055f4
mov bl, 0x43
lea eax, [ebp - 0x24]
mov edx, ebx
call fcn.004057dc
lea eax, [ebp - 0x24]
mov edx, 0x487e18
call fcn.004058d0
mov eax, dword [ebp - 0x24]
call fcn.00405ac8
push eax
call sub.kernel32.dll_GetDriveTypeA
sub eax, 3
jne 0x487dc5
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 0x28]
mov edx, ebx
call fcn.004057dc
lea eax, [ebp - 0x28]
mov edx, 0x487e18
call fcn.004058d0
mov eax, dword [ebp - 0x28]
call fcn.00405ac8
push eax
call sub.kernel32.dll_GetVolumeInformationA
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
movzx eax, ax
mov edx, 4
call fcn.0040a298
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx eax, ax
mov edx, 4
call fcn.0040a298
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 4]
pop ecx
call fcn.00405914
movzx eax, bl
sub eax, 0x40
jno 0x487d60
call fcn.004045c4
cmp eax, 0xff
jbe 0x487d6c
call fcn.004045bc
call fcn.0040adc0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
push dword [ebp - 8]
lea eax, [ebp - 0x34]
mov edx, ebx
call fcn.004057dc
push dword [ebp - 0x34]
push 0x487e24
push dword [ebp - 4]
push 0x487e34
fild qword [ebp - 0x20]
fdiv dword [0x487e3c]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x38]
xor edx, edx
mov al, 0xa
call fcn.004851f4
push dword [ebp - 0x38]
push 0x487e48
lea eax, [ebp - 8]
mov edx, 7
call fcn.00405988
inc ebx
cmp bl, 0x5b
jne 0x487cb3
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.00405648
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487e08
lea eax, [ebp - 0x38]
mov edx, 6
call fcn.00405618
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405618
ret

Function at 0x48856c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, edx
push 0
push eax
lea eax, [esp + 8]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00405874
add esp, 0x108
pop ebx
ret
Function at 0x4889ac
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov byte [esp], 0
lea eax, [esp + 4]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
mov ebx, eax
test ebx, ebx
jne 0x4889f0
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3f0
jne 0x4889f0
lea eax, [esp + 4]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov ebx, eax
test ebx, ebx
je 0x488a90
mov eax, 0x400
call fcn.00402d94
mov esi, eax
lea eax, [esp + 8]
push eax
push 0x400
push esi
push 2
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_GetTokenInformation
mov ebx, eax
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
test ebx, ebx
je 0x488a89
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x4ed610
call sub.advapi32.dll_AllocateAndInitializeSid
mov ebx, dword [esi]
sub ebx, 1
jae 0x488a5b
call fcn.004045c4
test ebx, ebx
jl 0x488a7f
inc ebx
xor edi, edi
mov eax, dword [esi + edi*8 + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x488a7b
mov byte [esp], 1
jmp 0x488a7f
inc edi
dec ebx
jne 0x488a62
mov eax, dword [esp + 0xc]
push eax
call sub.advapi32.dll_FreeSid
mov eax, esi
call fcn.00402db0
movzx eax, byte [esp]
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x488f20
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff58
push ebx
push esi
xor edx, edx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xa4], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x489120
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 4]
call fcn.004055f4
lea eax, [ebp - 0x98]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x4890f0
mov ebx, dword [ebp - 0x94]
cmp ebx, 6
jne 0x488fd8
mov eax, dword [ebp - 0x90]
cmp eax, 1
jne 0x488fa3
lea eax, [ebp - 4]
mov edx, 0x489138
call fcn.0040568c
jmp 0x488fd8
cmp eax, 2
jne 0x488fb7
lea eax, [ebp - 4]
mov edx, 0x489148
call fcn.0040568c
jmp 0x488fd8
cmp eax, 3
jne 0x488fcb
lea eax, [ebp - 4]
mov edx, 0x489158
call fcn.0040568c
jmp 0x488fd8
lea eax, [ebp - 4]
mov edx, 0x48916c
call fcn.0040568c
cmp ebx, 5
jne 0x489018
mov eax, dword [ebp - 0x90]
cmp eax, 1
jne 0x488ff7
lea eax, [ebp - 4]
mov edx, 0x489180
call fcn.0040568c
jmp 0x489018
cmp eax, 2
jne 0x48900b
lea eax, [ebp - 4]
mov edx, 0x489190
call fcn.0040568c
jmp 0x489018
lea eax, [ebp - 4]
mov edx, 0x4891a4
call fcn.0040568c
cmp ebx, 4
jne 0x489058
mov eax, dword [ebp - 0x90]
cmp eax, 0xa
jne 0x489037
lea eax, [ebp - 4]
mov edx, 0x4891b8
call fcn.0040568c
jmp 0x489058
cmp eax, 0x5a
jne 0x48904b
lea eax, [ebp - 4]
mov edx, 0x4891c8
call fcn.0040568c
jmp 0x489058
lea eax, [ebp - 4]
mov edx, 0x4891d8
call fcn.0040568c
push dword [ebp - 4]
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x9c]
call fcn.0040a270
push dword [ebp - 0x9c]
push 0x4891e8
mov eax, dword [ebp - 0x90]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xa0]
call fcn.0040a270
push dword [ebp - 0xa0]
push 0x4891f4
mov eax, dword [ebp - 0x8c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xa4]
call fcn.0040a270
push dword [ebp - 0xa4]
lea eax, [ebp - 4]
mov edx, 6
call fcn.00405988
push dword [ebp - 4]
push 0x489200
lea eax, [ebp - 0xa8]
lea edx, [ebp - 0x84]
mov ecx, 0x80
call fcn.00405874
push dword [ebp - 0xa8]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00405988
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00405648
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489127
lea eax, [ebp - 0xa8]
mov edx, 4
call fcn.00405618
lea eax, [ebp - 4]
call fcn.004055f4
ret
Function at 0x4896c4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4898d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov bx, 1
add bx, 1
jae 0x48972f
call fcn.004045c4
lea eax, [ebp - 0x10d]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x10d]
call fcn.0040b0bc
push dword [ebp - 0x114]
push edi
push 0x4898f0
lea eax, [ebp - 0x118]
call fcn.0048590c
push dword [ebp - 0x118]
push 0x4898f0
call fcn.0040c9ac
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0046f9d4
movzx eax, ax
lea edx, [ebp - 0x11c]
call fcn.0040a184
push dword [ebp - 0x11c]
call fcn.0040c9ac
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0046f9f8
movzx eax, ax
lea ecx, [ebp - 0x120]
mov edx, 2
call fcn.00485274
push dword [ebp - 0x120]
call fcn.0040c9ac
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0046fa1c
movzx eax, ax
lea ecx, [ebp - 0x124]
mov edx, 2
call fcn.00485274
push dword [ebp - 0x124]
push 0x4898f0
call fcn.0040c9d8
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0046fa40
movzx eax, ax
lea ecx, [ebp - 0x128]
mov edx, 2
call fcn.00485274
push dword [ebp - 0x128]
call fcn.0040c9d8
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0046fa68
movzx eax, ax
lea ecx, [ebp - 0x12c]
mov edx, 2
call fcn.00485274
push dword [ebp - 0x12c]
call fcn.0040c9d8
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0046fa90
movzx eax, ax
lea ecx, [ebp - 0x130]
mov edx, 2
call fcn.00485274
push dword [ebp - 0x130]
push 0x4898f0
lea edx, [ebp - 0x134]
movzx eax, bx
call fcn.0040a184
push dword [ebp - 0x134]
push dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0xf
call fcn.00405988
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00405648
mov eax, dword [esi]
call fcn.0040a76c
test al, al
jne 0x489724
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4898de
lea eax, [ebp - 0x134]
mov edx, 9
call fcn.00405618
lea eax, [ebp - 4]
call fcn.004055f4
ret