joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fa3b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x28
mov eax, 0x4a49ab
call fcn.00483f50
cmp byte [0x4ed108], 0
jne 0x40fa5a
mov al, byte [0x4f378c]
jmp 0x40fc0e
xor ebx, ebx
push str.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0000000
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov byte [0x4ed108], bl
call fcn.0040185d
push str.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.0040185d
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
mov ecx, dword [eax - 0xc]
mov eax, dword [ebp - 0x1c]
sub ecx, dword [eax - 0xc]
lea eax, [ebp - 0x10]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.004054b5
mov byte [ebp - 4], 2
jmp 0x40fadd
js 0x40fc14
cmp word [esi], 0x30
jne 0x40fae7
lea eax, [ecx - 1]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
call fcn.004054b5
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00401cd5
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.00404d08
mov esi, dword [ebp - 0x10]
mov ecx, dword [esi - 0xc]
test ecx, ecx
jne 0x40faa5
mov eax, dword [0x4f3838]
test eax, eax
je 0x40faf7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SoftwareBrowserExten
lea ecx, [ebp - 0x2c]
call fcn.0040185d
push str.sionsProxySettings_
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 4
call fcn.00401e52
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 5
call fcn.00401dfd
add esp, 0x18
push 0x4f3838
push 0x20019
push ebx
push dword [eax]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x24]
test eax, eax
lea ecx, [ecx - 0x10]
setne bl
call fcn.00404d08
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00404d08
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.00404d08
test bl, bl
jne 0x40fbed
xor ebx, ebx
push str.UseLoc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x30], 4
call fcn.0040185d
push str.alSettings
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 6
call fcn.00401e52
add esp, 0xc
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push ebx
push dword [eax]
push dword [0x4f3838]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x2c]
test eax, eax
lea ecx, [ecx - 0x10]
setne bl
call fcn.00404d08
mov eax, dword [ebp - 0x28]
lea ecx, [eax - 0x10]
call fcn.00404d08
test bl, bl
jne 0x40fbed
cmp dword [ebp - 0x18], 0
setne al
mov byte [0x4f378c], al
mov dword [ebp - 0x20], eax
lea ecx, [esi - 0x10]
call fcn.00404d08
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00404d08
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00404d08
mov al, byte [ebp - 0x20]
call fcn.00483f1e
ret
push 0x80070057
call fcn.00402122
int3
Function at 0x415956
Capabilities:
Check os version
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [0x4f3280]
push 0x11
lea ecx, [esi + 1]
lea eax, [esi + 2]
imul eax, ecx
imul eax, esi
cdq
pop ecx
idiv ecx
xor ebx, ebx
cmp edx, 5
jne 0x415988
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetMailslotInfo]
mov esi, dword [0x4f3280]
call fcn.004161e0
test al, al
jne 0x4159bc
mov ecx, ebx
push edi
push 8
mov edx, ecx
pop edi
mov eax, edx
and eax, 1
dec eax
not eax
and eax, esi
sar edx, 1
xor edx, eax
dec edi
jne 0x415999
add esi, edx
inc ecx
cmp ecx, 0x100
jl 0x415994
mov dword [0x4f3280], esi
pop edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
cmp ecx, 6
ja 0x4159d3
jne 0x4159d6
shr eax, 8
cmp al, 1
jbe 0x4159d6
xor ebx, ebx
inc ebx
pop esi
mov al, bl
pop ebx
ret
Function at 0x415a93
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1c
mov eax, 0x4a5545
call fcn.00483f50
mov esi, 0x4f19f8
xor ebx, ebx
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 0x1fffff
call fcn.004016bd
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], ebx
je 0x415af8
push 0x4af858
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00401e52
add esp, 0xc
push 2
pop ecx
mov byte [ebp - 4], cl
push eax
lea ecx, [ebp - 0x18]
call fcn.00401cd5
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00404d08
push esi
lea ecx, [ebp - 0x1c]
call fcn.004016bd
push ebx
push dword [ebp + 0x10]
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 3
call fcn.00415091
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 4
call fcn.00401dfd
add esp, 0x18
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00401cd5
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00404d08
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 3
lea ecx, [ecx - 0x10]
call fcn.00404d08
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
push 0x20019
push ebx
push esi
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x415c0e
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 0xc]
push ebx
push dword [eax]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
push 2
test eax, eax
mov eax, dword [ebp - 0x10]
pop edx
jne 0x415b95
inc eax
mov dword [ebp - 0x10], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00482751
mov edi, eax
mov eax, dword [ebp - 0x10]
pop ecx
add eax, eax
push eax
push ebx
push edi
call fcn.004845c0
mov eax, dword [ebp - 0x10]
add esp, 0xc
add eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 0xc]
push ebx
push dword [eax]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x415bf0
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov word [edi + eax*2], cx
mov ecx, dword [ebp + 8]
push edi
call fcn.00406126
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.0048453a
cmp dword [ebp - 0x28], 0
pop ecx
jne 0x415c0e
cmp dword [ebp - 0x20], 1
jne 0x415c0e
mov bl, 1
lea ecx, [esi - 0x10]
call fcn.00404d08
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00404d08
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.00404d08
mov al, bl
call fcn.00483f1e
ret
Function at 0x415c34
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x820
mov eax, 0x4a5576
call fcn.00483f83
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
call fcn.00416200
xor ebx, ebx
test al, al
jne 0x415c71
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ecx, dword [0x4f3280]
push 7
pop edx
test eax, eax
cmove ecx, edx
mov dword [0x4f3280], ecx
mov dword [ebp - 0x820], ebx
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0x818], ebx
push ebx
lea eax, [ebp - 0x814]
push esi
push eax
mov dword [ebp - 4], ebx
call fcn.00415091
add esp, 0xc
lea ecx, [ebp - 0x820]
push 0x2001f
push dword [eax]
push dword [0x4ed128]
call fcn.00407129
mov ecx, dword [ebp - 0x814]
test eax, eax
lea ecx, [ecx - 0x10]
setne bl
call fcn.00404d08
test bl, bl
je 0x415ccd
xor ebx, ebx
jmp 0x415d7d
xor ebx, ebx
mov esi, ebx
call fcn.00416200
test al, al
jne 0x415cea
push 4
call fcn.00482ffe
pop ecx
mov ecx, dword [0x4f3280]
mov dword [eax], ecx
xor eax, eax
push 0x7fe
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push ebx
push eax
call fcn.004845c0
add esp, 0xc
lea eax, [ebp - 0x82c]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x810]
push eax
push esi
push dword [ebp - 0x820]
mov dword [ebp - 0x814], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc esi
test eax, eax
jne 0x415d70
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x824]
call fcn.0040185d
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00416272
mov ecx, dword [ebp - 0x824]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00404d08
jmp 0x415cea
lea ecx, [ebp - 0x820]
call fcn.0040694f
mov bl, 1
lea ecx, [ebp - 0x820]
call fcn.0040694f
mov al, bl
call fcn.00483f32
ret
Function at 0x415e69
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x3e4
mov eax, 0x4a5634
call fcn.00483f83
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x3e4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3d4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3f0], eax
mov esi, dword [0x4f3280]
mov eax, esi
imul eax, esi
push 0x11
cdq
pop ecx
idiv ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp edx, 7
jne 0x415eb8
inc esi
mov dword [0x4f3280], esi
lea ecx, [esi + 2]
lea eax, [esi + 1]
imul eax, ecx
imul eax, esi
push 0x12
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x3ec], 4
mov dword [ebp - 0x3d8], ebx
cmp edx, 3
jne 0x415eff
mov ecx, ebx
mov eax, dword [ebp + ecx*4 - 0x3c8]
imul eax, eax, 0xe6
add esi, eax
inc ecx
cmp ecx, 0x3b8
jb 0x415ee1
mov dword [0x4f3280], esi
mov esi, 0x4f19f8
push esi
lea ecx, [ebp - 0x3d0]
call fcn.004016bd
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], 0
je 0x415f57
push 0x4af858
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x3cc]
push eax
call fcn.00401e52
add esp, 0xc
push eax
lea ecx, [ebp - 0x3d0]
mov byte [ebp - 4], 2
call fcn.00401cd5
mov ecx, dword [ebp - 0x3cc]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00404d08
push esi
lea ecx, [ebp - 0x3cc]
call fcn.004016bd
push ebx
push dword [ebp - 0x3d4]
lea eax, [ebp - 0x3e0]
push eax
mov byte [ebp - 4], 3
call fcn.00415091
push eax
lea eax, [ebp - 0x3d0]
push eax
lea eax, [ebp - 0x3d4]
push eax
mov byte [ebp - 4], 4
call fcn.00401dfd
add esp, 0x18
push eax
lea ecx, [ebp - 0x3cc]
mov byte [ebp - 4], 5
call fcn.00401cd5
mov ecx, dword [ebp - 0x3d4]
lea ecx, [ecx - 0x10]
call fcn.00404d08
mov ecx, dword [ebp - 0x3e0]
lea ecx, [ecx - 0x10]
call fcn.00404d08
mov esi, dword [ebp - 0x3cc]
lea eax, [ebp - 0x3dc]
push eax
push 0x20019
push ebx
push esi
push dword [ebp - 0x3f0]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x416034
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x3d8]
push eax
lea eax, [ebp - 0x3e8]
push eax
push ebx
push dword [edi]
push dword [ebp - 0x3dc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x3e4]
push dword [ebp - 0x3dc]
mov edi, eax
mov eax, dword [ebp - 0x3d8]
mov dword [ecx], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x416034
cmp dword [ebp - 0x3e8], 4
jne 0x416034
mov bl, 1
lea ecx, [esi - 0x10]
call fcn.00404d08
mov ecx, dword [ebp - 0x3d0]
add ecx, 0xfffffff0
call fcn.00404d08
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.00404d08
mov al, bl
call fcn.00483f32
ret
Function at 0x41643c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x4f3280]
mov eax, ecx
imul eax, ecx
push esi
push 0x13
cdq
pop esi
idiv esi
cmp edx, 0xe
jne 0x4164a1
movsd xmm3, qword [0x4af848]
movd xmm4, ecx
xorps xmm2, xmm2
cvtdq2pd xmm4, xmm4
addsd xmm2, xmm3
movapd xmm0, xmm2
mulsd xmm0, xmm2
comisd xmm0, xmm4
jbe 0x416487
subsd xmm2, xmm3
divsd xmm3, qword [0x4af850]
movapd xmm1, xmm2
mulsd xmm1, xmm2
movapd xmm0, xmm4
subsd xmm0, xmm1
comisd xmm0, xmmword [0x4af840]
ja 0x416469
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 0x10]
push ecx
push 0x2001f
push 0
push dword [eax]
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4164d1
call fcn.004161b8
test al, al
jne 0x4164cd
inc dword [0x4f3280]
xor al, al
jmp 0x416507
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov eax, dword [ebp + 8]
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push edx
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ebp
ret

Function at 0x4166e2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 0x10]
push ecx
push 0x2001f
push 0
push dword [eax]
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41672e
mov edx, dword [0x4f3280]
push 9
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
pop ecx
idiv ecx
cmp edx, 4
jne 0x41672a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4f3280], eax
xor al, al
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
push dword [eax]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ebp
ret
Function at 0x41bd60
Capabilities:
Get file size
Read file on windows
Read from mailslot

Disassembly:
push 0x14
mov eax, 0x4a5b2d
call fcn.00483f50
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
push ebx
push str.chrome
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], ebx
call fcn.00403888
test eax, eax
jle 0x41bf56
push 0x5c
push dword [ebp + 0xc]
call fcn.00485b06
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41bf56
sub esi, dword [ebp + 0xc]
sar esi, 1
test esi, esi
jle 0x41bf56
call fcn.0041d8de
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0xc]
call fcn.004049c2
push str.VisualElementsManifest.xml
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00401e52
add esp, 0xc
push ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00404c60
push ebx
push 0x80
push 3
push ebx
push ebx
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
call fcn.0041d9fc
test al, al
jne 0x41be36
mov eax, dword [0x4f3280]
push 0x64
cdq
pop ecx
idiv ecx
xor ecx, ecx
push 4
lea eax, [edx + 0x2f4]
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00482751
push eax
call fcn.0048453a
pop ecx
pop ecx
test edi, edi
je 0x41bf3d
mov ecx, dword [0x4f3280]
mov eax, ecx
imul eax, ecx
imul eax, ecx
push 0x18
cdq
pop ecx
idiv ecx
cmp edx, 0x12
jne 0x41be6b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x50
xor edx, edx
pop ecx
div ecx
inc edx
mov dword [0x4f3280], edx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea ecx, [esi + 0xa]
push ecx
call fcn.00488036
pop ecx
push 0
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [0x4f3280]
push 0x16
lea eax, [ecx + 1]
imul eax, ecx
cdq
pop ecx
idiv ecx
cmp edx, 1
jne 0x41bead
inc dword [0x4f3a94]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
mov edi, str.SplashScreen_Image
push edi
push ebx
mov byte [eax + ebx], 0
call fcn.004882a0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41bf3b
push edi
call fcn.004837e0
inc eax
pop ecx
mov ecx, dword [0x4f3280]
add esi, eax
lea eax, [ecx + 1]
imul eax, ecx
push 0x18
cdq
pop ecx
idiv ecx
xor ebx, ebx
cmp edx, 0x13
jne 0x41befd
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetMailslotInfo]
push 0x5c
push esi
call fcn.00488170
pop ecx
pop ecx
test eax, eax
je 0x41bf3d
sub esp, 0x18
mov ecx, esp
push esi
mov byte [eax], bl
call fcn.00401027
push dword [ebp + 8]
call fcn.0042c48c
mov ecx, dword [ebp - 0x10]
add esp, 0x1c
lea ecx, [ecx - 0x10]
call fcn.00404d08
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00404d08
jmp 0x41bf63
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00404d08
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00404d08
mov ecx, dword [ebp + 8]
push 0x4b19ec
call fcn.0040185d
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00404d08
mov eax, dword [ebp + 8]
call fcn.00483f1e
ret
Function at 0x41ce57
Capabilities:
Encode data using xor

Disassembly:
push 0x830
mov eax, 0x4a5d61
call fcn.00483f83
mov edi, dword [ebp + 8]
and dword [ebp - 4], 0
and dword [ebp - 0x818], 0
push 0x4f19f8
mov ecx, edi
mov dword [ebp - 0x824], edi
mov dword [ebp - 0x83c], edi
call fcn.004016bd
xor eax, eax
inc eax
mov ebx, eax
mov dword [ebp - 0x828], eax
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
mov dword [ebp - 0x818], ebx
call fcn.004845c0
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x820], 0x400
mov dword [ebp - 0x834], eax
mov dword [ebp - 0x830], eax
mov dword [ebp - 0x82c], eax
inc eax
push eax
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x834]
mov dword [ebp - 4], eax
call fcn.00407129
test eax, eax
jne 0x41d09a
push str.svcVe
lea ecx, [ebp - 0x81c]
call fcn.0040185d
push str.rsion
push eax
lea eax, [ebp - 0x838]
push eax
mov byte [ebp - 4], 2
call fcn.00401e52
add esp, 0xc
lea ecx, [ebp - 0x820]
push ecx
lea ecx, [ebp - 0x810]
push ecx
push dword [eax]
lea ecx, [ebp - 0x834]
call fcn.004071a7
mov ecx, dword [ebp - 0x838]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00404d08
mov ecx, dword [ebp - 0x81c]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00404d08
test esi, esi
jne 0x41cf8d
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x81c]
call fcn.0040185d
mov eax, dword [eax]
push 3
pop ebx
mov dword [ebp - 0x818], ebx
mov byte [ebp - 0x811], 1
cmp dword [eax - 0xc], esi
jne 0x41cf94
mov byte [ebp - 0x811], 0
test bl, 2
je 0x41cfb0
mov ecx, dword [ebp - 0x81c]
and ebx, 0xfffffffd
lea ecx, [ecx - 0x10]
mov dword [ebp - 0x818], ebx
call fcn.00404d08
cmp byte [ebp - 0x811], 0
jne 0x41d081
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x810]
push eax
push 0x4afb50
lea ecx, [ebp - 0x834]
mov dword [ebp - 0x820], 0x400
call fcn.004071a7
mov dword [ebp - 0x81c], eax
call fcn.0041d9bc
test al, al
jne 0x41d029
mov esi, dword [0x4f3280]
xor edx, edx
push 8
mov ecx, edx
pop edi
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor ecx, eax
dec edi
jne 0x41d001
add esi, ecx
inc edx
cmp edx, 0x100
jl 0x41cffc
mov edi, dword [ebp - 0x824]
mov dword [0x4f3280], esi
cmp dword [ebp - 0x81c], 0
jne 0x41d055
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x824]
call fcn.0040185d
mov eax, dword [eax]
or ebx, 4
cmp dword [eax - 0xc], 0
mov dword [ebp - 0x818], ebx
jne 0x41d05c
mov byte [ebp - 0x828], 0
test bl, 4
je 0x41d078
mov ecx, dword [ebp - 0x824]
and ebx, 0xfffffffb
lea ecx, [ecx - 0x10]
mov dword [ebp - 0x818], ebx
call fcn.00404d08
cmp byte [ebp - 0x828], 0
je 0x41d08f
lea eax, [ebp - 0x810]
push eax
mov ecx, edi
call fcn.00406126
lea ecx, [ebp - 0x834]
call fcn.0040694f
lea ecx, [ebp - 0x834]
call fcn.0040694f
mov eax, edi
call fcn.00483f32
ret
Function at 0x41d41e
Capabilities:
Check os version

Disassembly:
push 0x138
mov eax, 0x4a5df4
call fcn.00483f83
mov ebx, dword [ebp + 8]
and dword [ebp - 0x144], 0
xor esi, esi
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x13c], esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov edi, dword [0x4f3280]
mov dword [ebp - 0x140], eax
movzx eax, al
mov dword [ebp - 0x134], eax
lea ecx, [edi + 2]
lea eax, [edi + 1]
imul eax, ecx
imul eax, edi
push 0x17
cdq
pop ecx
idiv ecx
cmp edx, 0x13
jne 0x41d4fd
xor ebx, ebx
lea eax, [ebp - 0x128]
xor ecx, ecx
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x130], eax
lea esi, [ecx + 1]
mov eax, edi
cdq
lea ecx, [ebx + 1]
idiv ecx
mov eax, edi
sub eax, ebx
mov ecx, edx
imul ecx, eax
mov eax, edi
cdq
idiv esi
add ecx, eax
sub ecx, dword [ebp - 0x12c]
push ecx
push 0x4ae030
call fcn.00484c6d
mov eax, dword [ebp - 0x130]
pop ecx
pop ecx
mov ecx, esi
add eax, 4
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x130], eax
cmp ecx, 0xa
jge 0x41d4e3
mov edi, dword [0x4f3280]
jmp 0x41d491
inc ebx
cmp ebx, 7
jge 0x41d4f1
mov edi, dword [0x4f3280]
jmp 0x41d483
mov ebx, dword [ebp - 0x138]
mov esi, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x140]
mov eax, ecx
shr eax, 8
movzx edi, al
cmp ecx, 0x80000000
jae 0x41d518
mov esi, ecx
shr esi, 0x10
call fcn.0041da7c
mov ecx, dword [0x4f3ae8]
test al, al
mov edx, 0xe01d1d3a
cmove ecx, edx
cmp dword [ebp - 0x134], 6
mov dword [0x4f3ae8], ecx
jb 0x41d54a
cmp edi, 2
jb 0x41d54a
push ebx
call fcn.0041d59d
pop ecx
jmp 0x41d595
push 0x4f19f8
lea ecx, [ebp - 0x12c]
call fcn.004016bd
and dword [ebp - 4], 0
push esi
push edi
push dword [ebp - 0x134]
lea eax, [ebp - 0x12c]
push 0x4b1ef4
push eax
call fcn.004039b9
mov esi, dword [ebp - 0x12c]
add esi, 0xfffffff0
push esi
call fcn.004036b6
add eax, 0x10
add esp, 0x18
mov ecx, esi
mov dword [ebx], eax
call fcn.00404d08
mov eax, ebx
call fcn.00483f32
ret
Function at 0x4269ee
Capabilities:
Get disk size

Disassembly:
push 0x28
mov eax, 0x4a6d2e
call fcn.00483f50
mov edi, ecx
mov dword [ebp - 0x24], edi
and dword [ebp - 0x14], 0
push str.download_extension_js
lea ecx, [ebp - 0x20]
call fcn.0040185d
and dword [ebp - 4], 0
lea ecx, [edi + 0xa0]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
jne 0x426a47
mov eax, dword [edi + 0xd4]
sub eax, 0x10
push eax
call fcn.004036b6
lea esi, [eax + 0x10]
pop ecx
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x18]
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
inc ebx
jmp 0x426a65
push str.userCodeextension.js
push ecx
lea eax, [ebp - 0x30]
push eax
call fcn.00401e52
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x18]
push 2
pop ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [edi + 0x120]
push eax
push str._ver
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], ebx
call fcn.0040181c
lea ecx, [edi + 0xd0]
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 3
call fcn.0041db62
add esp, 0xc
push eax
mov eax, dword [ebp - 0x1c]
push ecx
mov eax, dword [eax]
sub eax, 0x10
mov edi, esp
push eax
mov byte [ebp - 4], 4
call fcn.004036b6
pop ecx
mov ecx, dword [ebp - 0x24]
add eax, 0x10
mov dword [edi], eax
call fcn.00426dc4
mov ecx, dword [ebp - 0x28]
test al, al
lea ecx, [ecx - 0x10]
sete byte [ebp - 0xd]
call fcn.00404d08
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404d08
test bl, 2
je 0x426aee
mov ecx, dword [ebp - 0x30]
and ebx, 0xfffffffd
lea ecx, [ecx - 0x10]
call fcn.00404d08
test bl, 1
je 0x426afb
lea ecx, [esi - 0x10]
call fcn.00404d08
mov eax, dword [ebp - 0x20]
lea ecx, [eax - 0x10]
call fcn.00404d08
cmp byte [ebp - 0xd], 0
je 0x426b26
call fcn.0042c1f9
test al, al
jne 0x426b22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
xor al, al
jmp 0x426b28
mov al, 1
call fcn.00483f1e
ret