joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000896d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100c3360]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100c4de1], 0
jne 0x100089ba
mov dword [ebp - 0x10], 0x320f0e3f
mov dword [ebp - 0xc], 0x3f0b1619
mov dword [ebp - 8], 0xe0704
xor ecx, ecx
mov al, byte [ecx + str.kfjfltnlmiicrcoffndjtsngorrapribqrirnkdkfhrurmlieganlsbcicpbeiornqcibnqrtkqtiikhaekasuciflcjnkfmkftr8]
xor al, byte [ebp + ecx - 0x10]
inc ecx
mov byte [ecx + 0x100be3df], al
cmp ecx, 0xb
jl 0x1000899d
mov byte [0x100c4de1], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x100be3e0
call fcn.1006d48b
leave
ret

Function at 0x100089cb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
mov eax, dword [0x100c3360]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
call fcn.10003f3f
xor ebx, ebx
test al, al
jne 0x10008a48
push esi
mov eax, ebx
push edi
mov dword [ebp - 0x1bc], eax
lea esi, [ebp - 0x1b4]
mov edi, ebx
mov eax, dword [0x100c47a0]
inc edi
cdq
idiv edi
mov dword [ebp - 0x1c8], edi
mov dword [ebp - 0x1c4], ebx
mov edi, ebx
mov dword [ebp - 0x1c0], edx
lea ecx, [edi + 1]
mov edi, ecx
cmp edi, 0xa
jl 0x10008a19
mov edi, dword [ebp - 0x1c8]
add esi, 0xa
push 0
pop ebx
cmp edi, 0xe
jl 0x100089fc
mov eax, dword [ebp - 0x1bc]
inc eax
mov dword [ebp - 0x1bc], eax
cmp eax, 3
jl 0x100089fa
pop edi
pop esi
cmp byte [0x100c4dc1], 0
jne 0x10008a85
mov dword [ebp - 0x10], 0x320f0e3f
mov dword [ebp - 0xc], 0x270b1619
mov word [ebp - 8], 0x1d04
mov byte [ebp - 6], bl
mov al, byte [ebx + str.kfjfltnlmiicrcoffndjtsngorrapribqrirnkdkfhrurmlieganlsbcicpbeiornqcibnqrtkqtiikhaekasuciflcjnkfmkftr8]
xor al, byte [ebp + ebx - 0x10]
inc ebx
mov byte [ebx + 0x100be233], al
cmp ebx, 0xa
jl 0x10008a68
mov byte [0x100c4dc1], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x100be234
pop ebx
call fcn.1006d48b
leave
ret

Function at 0x10008a97
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100c3360]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100c4e1c], 0
jne 0x10008ae4
mov dword [ebp - 0x10], 0xa050928
mov dword [ebp - 0xc], 0x1e173841
mov dword [ebp - 8], 0x1a0a04
xor ecx, ecx
mov al, byte [ecx + str.kfjfltnlmiicrcoffndjtsngorrapribqrirnkdkfhrurmlieganlsbcicpbeiornqcibnqrtkqtiikhaekasuciflcjnkfmkftr8]
xor al, byte [ebp + ecx - 0x10]
inc ecx
mov byte [ecx + 0x100be6f7], al
cmp ecx, 0xb
jl 0x10008ac7
mov byte [0x100c4e1c], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x100be6f8
call fcn.1006d48b
leave
ret
Function at 0x100097d3
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f0
mov eax, dword [0x100c3360]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ecx, dword [0x100c47a0]
mov esi, eax
lea eax, [ecx + 1]
imul eax, ecx
push 0xf
cdq
pop ecx
idiv ecx
cmp edx, 7
jne 0x10009818
lea eax, [ebp - 0x1e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp esi, 0xffffffff
jne 0x10009824
xor al, al
jmp 0x10009919
push 0x124
lea eax, [ebp - 0x138]
push ebx
push eax
mov dword [ebp - 0x13c], 0x128
call fcn.1006de50
mov eax, dword [0x1008ae84]
mov dword [ebp - 0x14], eax
mov eax, dword [0x1008ae88]
push str.vice.exe
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xd]
push 9
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call fcn.1006e45b
add esp, 0x18
call fcn.1000a2a7
xor ebx, ebx
inc ebx
test al, al
jne 0x10009884
mov eax, dword [0x100c47a0]
test eax, eax
cmove eax, ebx
mov dword [0x100c47a0], eax
push edi
lea eax, [ebp - 0x13c]
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1000990d
mov dword [ebp - 0x1f0], 0xbe
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.1006e4b0
pop ecx
pop ecx
test eax, eax
je 0x10009927
lea eax, [ebp - 0x13c]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
setne byte [ebp - 0x1e9]
call fcn.10003e96
test al, al
jne 0x10009904
mov ecx, dword [0x100c47a0]
xor edi, edi
jmp 0x100098f0
mov eax, ecx
or eax, 0xffffffef
add ecx, eax
mov eax, ecx
imul eax, ecx
inc edi
cmp edi, eax
jg 0x100098fe
mov eax, ecx
cdq
idiv dword [ebp - 0x1f0]
cmp edx, 0x13
jne 0x100098df
mov dword [0x100c47a0], edi
cmp byte [ebp - 0x1e9], 0
jne 0x100098a0
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1006d48b
leave
ret
mov edx, dword [0x100c47a0]
push 0x15
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
pop ecx
idiv ecx
cmp edx, 0xc
jne 0x1000990f
call fcn.1006daf8
mov dword [0x100c47a0], eax
jmp 0x1000990f

Function at 0x10009a62
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100b9a28
push 0x1006e680
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, 0x20e0
call fcn.1006e430
push ebx
push esi
push edi
mov eax, dword [0x100c3360]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
call fcn.1000a31c
xor ebx, ebx
test al, al
jne 0x10009aeb
mov dword [ebp - 0xc48], ebx
push 0xbc4
push ebx
lea eax, [ebp - 0xc44]
push eax
call fcn.1006de50
mov dword [ebp - 0x20f8], ebx
push 0x14ac
push ebx
lea eax, [ebp - 0x20f4]
push eax
call fcn.1006de50
mov dword [ebp - 0x80], ebx
push 0x58
push ebx
lea eax, [ebp - 0x7c]
push eax
call fcn.1006de50
add esp, 0x24
mov byte [ebp - 0x19], bl
mov dword [ebp - 4], ebx
push ebx
mov ebx, 0
mov eax, 1
invalid
Function at 0x1000a466
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], 0xffffffff
jne 0x1000a4c9
cmp dword [esi + 4], 0xffffffff
jne 0x1000a4c9
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x1000a485
mov eax, dword [eax]
push ebx
push 0x80
push 3
push ebx
push ebx
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x1000a4aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1000a4c9
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0xc], eax
cmp eax, 0xffffffff
je 0x1000a4c9
cmp byte [ebp + 0xc], bl
je 0x1000a4c7
push eax
mov ecx, esi
call fcn.1000a3be
mov bl, 1
pop esi
mov al, bl
pop ebx
pop ebp
ret 8

Function at 0x1000a4d1
Capabilities:
Get geographical location

Disassembly:
push 0xac
mov eax, 0x100858a0
call fcn.1006d5c6
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 0x9d], bl
mov byte [ebp - 4], 1
call fcn.10010577
push ebx
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 2
call fcn.10012aef
push 1
lea eax, [ebp - 0xb4]
push eax
push esi
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 3
call fcn.100118a0
test al, al
jne 0x1000a578
mov esi, str.error_parse
push esi
call fcn.1006d400
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.10001335
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 2
call fcn.10012c15
lea ecx, [ebp - 0x9c]
call fcn.10002f90
jmp 0x1000a64a
mov esi, str.country_name
push esi
lea ecx, [ebp - 0xb4]
call fcn.100133cd
test al, al
je 0x1000a634
push esi
lea ecx, [ebp - 0xb4]
call fcn.10012db6
mov ecx, eax
call fcn.100133f8
test al, al
je 0x1000a634
push str.country_code
lea ecx, [ebp - 0xb4]
call fcn.10012db6
mov ecx, eax
call fcn.10012f8a
push 0x100c4784
lea ecx, [ebp - 0xa4]
mov dword [edi], eax
call fcn.10002171
push esi
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 4
call fcn.10012db6
mov ecx, eax
call fcn.10012f87
push eax
lea ecx, [ebp - 0xa4]
call fcn.10001f42
lea ecx, [ebp - 0xa4]
call fcn.10003652
mov esi, dword [eax]
push esi
call fcn.100014d9
pop ecx
mov ecx, dword [ebp - 0xb8]
push eax
push esi
call fcn.10001335
mov ecx, dword [ebp - 0xa4]
mov bl, 1
lea ecx, [ecx - 0x10]
mov byte [ebp - 0x9d], bl
call fcn.10001efd
jmp 0x1000a559
mov esi, str.error_json_not_valid_update_from_version
jmp 0x1000a548
lea ecx, [ebp - 0x2c]
call fcn.10001056
mov al, bl
call fcn.1006d518
ret
Function at 0x1000aee7
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100c47a0]
push ebx
lea ecx, [eax + 1]
imul eax, ecx
push esi
push 0x16
cdq
pop ecx
idiv ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp edx, 0xb
jne 0x1000af17
call fcn.1006daf8
mov dword [0x100c47a0], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [ebp - 0xc], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x1000afe6
push edi
push esi
call fcn.1006c443
pop ecx
mov edi, eax
push edi
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1000afde
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x1008b10c
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1000afde
cmp dword [ebp - 8], ebx
je 0x1000afde
mov ecx, dword [0x100c47a0]
push 0x14
lea eax, [ecx + 1]
imul eax, ecx
cdq
pop esi
idiv esi
cmp edx, 0xd
jne 0x1000afa9
mov eax, ecx
push 0x64
cdq
pop ecx
idiv ecx
xor ecx, ecx
push 4
lea eax, [edx + 0x7b]
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006c443
push eax
call fcn.1006dc4d
pop ecx
pop ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx], 0xfeef04bd
jne 0x1000afde
mov ecx, dword [edx + 0xc]
mov eax, ecx
sar eax, 0x10
push eax
movzx eax, cx
push eax
movzx eax, word [edx + 8]
push eax
movzx eax, word [edx + 0xa]
push eax
push str._d._d._d._d
push esi
push dword [ebp + 0xc]
call fcn.1006e9c6
add esp, 0x1c
mov bl, 1
push edi
call fcn.1006dc4d
pop ecx
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x1000b070
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
xor esi, esi
push 0x38
lea eax, [ebp - 0x38]
push esi
push eax
mov dword [ebp - 0x3c], esi
call fcn.1006de50
add esp, 0xc
call fcn.1000b551
test al, al
jne 0x1000b0a9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x50
xor edx, edx
pop ecx
div ecx
inc edx
mov dword [0x100c47a0], edx
mov edi, 0x800
push edi
mov dword [ebp - 0x3c], 0x3c
call fcn.1006c443
push edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edi
call fcn.1006c443
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x3c]
push eax
push esi
push dword [ebp + 8]
mov dword [ebp - 0xc], edi
call fcn.1006d400
pop ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push dword [ebp - 0x2c]
test eax, eax
jne 0x1000b104
call fcn.1006dc4d
push dword [ebp - 0x10]
mov dword [ebp - 0x2c], esi
call fcn.1006dc4d
pop ecx
pop ecx
xor al, al
jmp 0x1000b16b
push edi
push dword [ebp + 0xc]
call fcn.1006e45b
push dword [ebp - 0x10]
push edi
push dword [ebp + 0x10]
call fcn.1006e45b
movzx ecx, word [ebp - 0x24]
mov eax, dword [ebp + 0x14]
push dword [ebp - 0x2c]
mov dword [eax], ecx
call fcn.1006dc4d
push dword [ebp - 0x10]
mov dword [ebp - 0x2c], esi
call fcn.1006dc4d
add esp, 0x20
call fcn.1000b573
test al, al
jne 0x1000b169
mov eax, dword [0x100c47a0]
mov ecx, eax
sub ecx, esi
je 0x1000b15f
dec ecx
je 0x1000b157
inc eax
mov dword [0x100c47a0], eax
jmp 0x1000b169
mov dword [0x100c47a0], esi
jmp 0x1000b169
mov dword [0x100c47a0], 2
mov al, 1
pop edi
pop esi
leave
ret
Function at 0x1000b47d
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push esi
xor ecx, ecx
xor eax, eax
push ecx
inc eax
cmp byte [ebp + 0xc], cl
push ecx
push ecx
cmovne eax, ecx
push eax
push 0x1008ac08
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
jne 0x1000b4a5
xor al, al
jmp 0x1000b4c1
push ebx
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
call fcn.1000b16f
add esp, 0xc
mov bl, al
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, bl
pop ebx
pop esi
pop ebp
ret
Function at 0x1000ca8b
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100c3360]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 5
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
jne 0x1000cab6
xor al, al
jmp 0x1000cb52
mov ecx, dword [0x100c47a0]
mov eax, ecx
imul eax, ecx
push edi
push 0x18
pop edi
cdq
idiv edi
push 4
pop edi
cmp edx, 0x13
jne 0x1000caf7
mov eax, ecx
cdq
push 0x64
pop ecx
idiv ecx
xor ecx, ecx
lea eax, [edx + 0x2f4]
mul edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006c443
push eax
call fcn.1006dc4d
pop ecx
pop ecx
push edi
push str.WinDefend
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
je 0x1000cb48
call fcn.1000d23d
test al, al
jne 0x1000cb1d
call fcn.1006daf8
mov dword [0x100c47a0], eax
lea eax, [ebp - 0x2c]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x1000cb41
cmp dword [ebp - 0x24], 4
je 0x1000cb3f
cmp dword [ebp - 0x24], 2
jne 0x1000cb41
mov bl, 1
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, bl
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1006d48b
leave
ret
Function at 0x1000cf7c
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1006e4b0
pop ecx
pop ecx
test eax, eax
jne 0x1000cf9d
push 4
pop eax
jmp 0x1000d173
push esi
push 0x1008b354
push dword [ebp + 8]
lea eax, [ebp - 4]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.100705d0
add esp, 0xc
test eax, eax
jne 0x1000d16f
cmp dword [ebp - 4], esi
je 0x1000d16f
push 0x1008b358
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], esi
call fcn.100705d0
mov edi, eax
mov eax, dword [0x100c47a0]
imul eax, eax
add esp, 0xc
cdq
push 0x17
pop ecx
idiv ecx
push 4
pop ebx
cmp edx, 0x16
jne 0x1000d006
push ebx
call fcn.1006c5c8
pop ecx
mov ecx, dword [0x100c47a0]
mov dword [eax], ecx
test edi, edi
jne 0x1000d16a
cmp dword [ebp - 8], esi
je 0x1000d16a
push dword [ebp + 0x10]
call fcn.1006d400
dec eax
pop ecx
mov dword [ebp - 0xc], eax
cmp eax, 0x1f
ja 0x1000d166
mov ecx, dword [0x100c47a0]
mov eax, ecx
imul eax, ecx
push 0xe
cdq
pop edi
idiv edi
cmp edx, 0xd
jne 0x1000d06a
mov eax, ecx
cdq
push 0x64
pop ecx
idiv ecx
xor ecx, ecx
lea eax, [edx + 0x2f4]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006c443
push eax
call fcn.1006dc4d
pop ecx
pop ecx
push 2
push esi
push dword [ebp - 4]
call fcn.10070913
push dword [ebp - 4]
call fcn.10070ceb
push esi
push esi
push dword [ebp - 4]
mov ebx, eax
call fcn.10070913
mov edi, dword [0x100c47a0]
add esp, 0x1c
lea eax, [edi + 1]
imul eax, edi
push 0x13
cdq
pop ecx
idiv ecx
cmp edx, 0x10
jne 0x1000d0bc
xor ecx, ecx
inc ecx
cmp edi, ecx
jle 0x1000d0b6
mov eax, edi
cdq
idiv ecx
inc ecx
add ecx, edx
cmp ecx, edi
jl 0x1000d0aa
mov dword [0x100c47a0], ecx
push ebx
call fcn.1006e015
push dword [ebp - 4]
mov edi, eax
push 1
push ebx
push edi
call fcn.100707d8
push dword [ebp - 4]
call fcn.10070480
add esp, 0x18
mov edx, esi
mov ecx, esi
test ebx, ebx
je 0x1000d0fb
mov eax, dword [ebp + 0x10]
mov al, byte [ecx + eax]
xor byte [edx + edi], al
cmp ecx, dword [ebp - 0xc]
jne 0x1000d0f5
mov ecx, esi
jmp 0x1000d0f6
inc ecx
inc edx
cmp edx, ebx
jne 0x1000d0e3
push dword [ebp - 8]
push 1
push ebx
push edi
call fcn.10070eaa
push dword [ebp - 8]
call fcn.10070480
mov ecx, dword [0x100c47a0]
mov eax, ecx
imul eax, ecx
add esp, 0x14
cdq
push 0x15
pop ebx
idiv ebx
cmp edx, 0xe
jne 0x1000d15b
mov eax, ecx
mov ebx, 0x9e
cdq
mov dword [ebp - 0xc], ebx
idiv ebx
add ebx, 0x24
jmp 0x1000d151
mov eax, ecx
or eax, 0xffffffd7
add ecx, eax
mov eax, ecx
imul eax, ecx
inc esi
cmp esi, eax
jg 0x1000d155
mov eax, ecx
cdq
idiv dword [ebp - 0xc]
cmp edx, ebx
jne 0x1000d13a
mov dword [0x100c47a0], esi
push edi
call fcn.1006e57a
pop ecx
xor eax, eax
jmp 0x1000d172
push 3
jmp 0x1000d16c
push 2
pop eax
jmp 0x1000d172
xor eax, eax
inc eax
pop esi
pop edi
pop ebx
leave
ret
Function at 0x1000dca3
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x510
mov eax, dword [0x100c3360]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [0x100c868c], eax
mov eax, dword [ebp + 0x10]
mov dword [0x100c8690], eax
mov eax, dword [0x100c47a0]
imul eax, eax
push ebx
push esi
push edi
push 0x12
cdq
pop ecx
idiv ecx
mov esi, dword [ebp + 0xc]
mov dword [0x100c8688], esi
cmp edx, 8
jne 0x1000dcf5
call fcn.1006daf8
mov esi, dword [0x100c8688]
mov dword [0x100c47a0], eax
push esi
call fcn.1006c443
push esi
push 0
push eax
mov dword [ebp - 0x50c], eax
call fcn.1006de50
push esi
call fcn.1006c443
push esi
mov edi, eax
push 0
push edi
call fcn.1006de50
push esi
call fcn.1006c443
push esi
mov ebx, eax
push 0
push ebx
call fcn.1006de50
push esi
call fcn.1006c443
push esi
push 0
push eax
call fcn.1006de50
add esp, 0x40
push esi
push dword [ebp - 0x50c]
call fcn.1001a3cf
test eax, eax
je 0x1000dd9c
push 0xffffffffffffffff
call fcn.1001a52e
call fcn.1000d29a
test al, al
jne 0x1000de13
push str.hxCo8Lcy
call fcn.1001a41d
push 0x3ff
lea eax, [ebp - 0x507]
push 0
push eax
mov byte [ebp - 0x508], 0
call fcn.1006de50
add esp, 0xc
lea eax, [ebp - 0x508]
push 0x400
push eax
call fcn.1001a3cf
jmp 0x1000de13
push esi
push edi
call fcn.1001a3cf
test eax, eax
je 0x1000ddb0
push 0xffffffffffffffff
call fcn.1001a52e
jmp 0x1000de13
push esi
push ebx
call fcn.1001a3cf
test eax, eax
jne 0x1000dda7
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
mov dword [ebp - 0x510], 0x104
call fcn.1006de50
add esp, 0xc
lea eax, [ebp - 0x510]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
call fcn.1001a504
push 1
push eax
lea eax, [ebp - 0x108]
push eax
push ebx
push edi
push dword [ebp - 0x50c]
call fcn.10017c60
add esp, 0x18
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006d48b
leave
ret
Function at 0x1000de22
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x100c3360]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x100c47a0]
mov dword [0x100c8688], eax
mov eax, dword [ebp + 0x14]
mov dword [0x100c868c], eax
mov eax, dword [ebp + 0x10]
mov dword [0x100c8690], eax
lea eax, [ecx + 1]
imul eax, ecx
push 0xf
cdq
pop ecx
idiv ecx
cmp edx, 0xe
jne 0x1000de70
push 0x3b
call fcn.1001a52e
call fcn.1001a504
push ebx
push esi
push edi
xor ebx, ebx
push 0x7f
lea eax, [ebp - 0x83]
push ebx
push eax
mov byte [ebp - 0x84], bl
call fcn.1006de50
add esp, 0xc
call fcn.1000d2e6
test al, al
jne 0x1000de9c
dec dword [0x100c47a0]
mov edi, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
push ebx
push ebx
call edi
xor ecx, ecx
push 4
pop edx
mov esi, eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006c443
pop ecx
push eax
push esi
mov dword [ebp - 0x88], eax
call edi
mov dword [ebp - 0x90], eax
mov edi, ebx
test eax, eax
je 0x1000df76
lea esi, [eax - 1]
mov dword [ebp - 0x8c], esi
mov eax, 0x80
sub eax, ebx
push eax
lea eax, [ebp - 0x84]
add eax, ebx
push eax
mov eax, dword [ebp - 0x88]
push 0x1001
movzx eax, word [eax + edi*4]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
cmp edi, esi
jae 0x1000df24
push 0x1008b258
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.1006eb3a
add esp, 0xc
lea eax, [ebp - 0x84]
push eax
call fcn.1006d400
mov ebx, eax
mov eax, dword [0x100c47a0]
imul eax, eax
pop ecx
push 7
cdq
pop ecx
idiv ecx
cmp edx, 6
jne 0x1000df69
push 4
call fcn.1006c5c8
mov esi, eax
call fcn.1006daf8
mov dword [esi], eax
push esi
mov dword [0x100c47a0], eax
call fcn.1006c617
mov esi, dword [ebp - 0x8c]
pop ecx
pop ecx
inc edi
cmp edi, dword [ebp - 0x90]
jb 0x1000dee0
mov eax, dword [ebp - 0x88]
pop edi
pop esi
pop ebx
test eax, eax
je 0x1000df8a
push eax
call fcn.1006dc4d
pop ecx
lea eax, [ebp - 0x84]
push eax
call fcn.1001a41d
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d48b
leave
ret

Function at 0x1000dfa2
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [0x100c868c], eax
mov eax, dword [ebp + 0x10]
push edi
push esi
mov dword [0x100c8688], esi
mov dword [0x100c8690], eax
call fcn.1006c443
push esi
mov ebx, eax
push 0
push ebx
call fcn.1006de50
push esi
call fcn.1006c443
push esi
mov edi, eax
push 0
push edi
call fcn.1006de50
add esp, 0x20
push esi
push ebx
call fcn.1001a3cf
test eax, eax
jne 0x1000e00e
push esi
push edi
call fcn.1001a3cf
test eax, eax
jne 0x1000e00e
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
jmp 0x1000e010
push 0xffffffffffffffff
call fcn.1001a52e
push edi
call fcn.1006dc4d
push ebx
call fcn.1006dc4d
pop ecx
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1000e1ec
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x100c3360]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [0x100c8688], eax
mov eax, dword [ebp + 0x14]
mov dword [0x100c868c], eax
mov eax, dword [ebp + 0x10]
push 0x3ff
mov dword [0x100c8690], eax
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call fcn.1006de50
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x404]
push eax
push 2
mov dword [ebp - 0x408], 0x400
call sub.Secur32.dll_GetUserNameExA
test al, al
jne 0x1000e25e
push 0x1008ac08
jmp 0x1000e265
lea eax, [ebp - 0x404]
push eax
call fcn.1001a41d
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d48b
leave
ret

Function at 0x1000e784
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a4
mov eax, dword [0x100c3360]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [0x100c8688], eax
mov eax, dword [ebp + 0x14]
push esi
push edi
mov dword [0x100c868c], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
push 0x3ff
mov dword [0x100c8690], eax
lea eax, [ebp - 0x403]
push ebx
push eax
mov byte [ebp - 0x404], bl
call fcn.1006de50
add esp, 0xc
lea eax, [ebp - 0x4a0]
push eax
mov dword [ebp - 0x4a0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1000e7f8
mov esi, dword [ebp - 0x49c]
mov edi, dword [ebp - 0x498]
jmp 0x1000e804
mov esi, dword [ebp - 0x4a4]
mov edi, dword [ebp - 0x4a4]
cmp esi, 5
jne 0x1000e815
cmp edi, 1
jne 0x1000e815
push str.NativeHWNDHost
jmp 0x1000e81a
push str.CabinetWClass
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.1006e45b
add esp, 0xc
push str.User32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x1008b3a4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x4a4], eax
test eax, eax
je 0x1000e8d3
push 0
lea ecx, [ebp - 0x404]
push ecx
push ebx
push 0
call eax
mov ecx, dword [0x100c47a0]
mov ebx, eax
lea eax, [ecx + 1]
imul eax, ecx
push 0x13
cdq
pop ecx
idiv ecx
cmp edx, 7
jne 0x1000e889
push 0xd9
call fcn.1001a52e
call fcn.1001a504
test ebx, ebx
je 0x1000e8d3
and dword [0x100c4f50], 0
push 0
push 0x1000c86e
push ebx
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp esi, 5
jne 0x1000e8ac
cmp edi, 1
je 0x1000e8b5
cmp esi, 6
jne 0x1000e8c2
test edi, edi
jne 0x1000e8c2
cmp dword [0x100c4f50], 0
jbe 0x1000e8cb
push 1
jmp 0x1000e8d5
cmp dword [0x100c4f50], 2
je 0x1000e8be
mov eax, dword [ebp - 0x4a4]
jmp 0x1000e853
push 0
call fcn.1001a52e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006d48b
leave
ret