joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405570
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
cmp dword [ebx + 8], esi
je 0x405592
lea eax, [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x40559b
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
push esi
push 0x4cb498
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], esi
call fcn.0043c500
lea edx, [esp + 0xc]
push edx
push str.Preferences
lea eax, [esp + 0x1c]
push eax
mov ecx, str.pollURL
call fcn.0041e6a0
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
call fcn.004024a0
lea ecx, [esp + 0x10]
lea edi, [ebx + 0x30]
push ecx
call fcn.00401250
mov edi, dword [esp + 0x10]
cmp edi, esi
je 0x405613
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x80
jl 0x405606
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x405613
cmp eax, esi
jne 0x405613
mov esi, edi
call fcn.0045f5a0
xor esi, esi
lea edi, [esp + 0x14]
call fcn.004026d0
mov edi, dword [esp + 0xc]
cmp edi, esi
je 0x40564d
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x80
jl 0x405640
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x40564d
cmp eax, esi
jne 0x40564d
mov esi, edi
call fcn.0045f5a0
xor esi, esi
lea edx, [esp + 0x10]
push edx
push str.Preferences
lea eax, [esp + 0x1c]
push eax
mov ecx, str.pollURLrate
mov dword [esp + 0x1c], esi
call fcn.0041e8c0
lea eax, [esp + 0x14]
mov dword [esp + 0x30], esi
mov byte [esp + 0x34], 1
call fcn.00402890
test eax, eax
je 0x405690
cmp byte [esp + 0x34], 0
je 0x405690
lea eax, [esp + 0x14]
call fcn.004029a0
mov eax, dword [esp + 0x20]
lea edi, [esp + 0x14]
mov dword [esp + 0x2c], eax
mov dword [ebx + 0x34], eax
call fcn.00402a90
cmp dword [ebx + 8], esi
je 0x4056b5
lea ecx, [ebx + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4056be
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
cmp dword [ebx + 0xc], esi
je 0x4056e3
mov eax, dword [ebx + 0x30]
cmp eax, esi
je 0x4056d6
add eax, 4
cmp eax, esi
je 0x4056d6
cmp byte [eax], 0
jne 0x4056de
push esi
mov edi, ebx
call fcn.0043d0e0
cmp dword [ebx + 0xc], esi
jne 0x40571c
mov eax, dword [ebx + 0x30]
cmp eax, esi
je 0x40571c
add eax, 4
cmp eax, esi
je 0x40571c
cmp byte [eax], 0
je 0x40571c
lea edi, [ebx + 0x10]
push edi
mov dword [ebx + 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
push esi
push 0x43cff0
call fcn.0049dc4e
add esp, 0xc
push edi
mov dword [ebx + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movsd xmm0, qword [0x4d3660]
pop edi
movsd qword [ebx + 0xd68], xmm0
xorps xmm0, xmm0
pop esi
movsd qword [ebx + 0xd88], xmm0
movsd qword [ebx + 0xd80], xmm0
movsd qword [ebx + 0xd78], xmm0
movsd qword [ebx + 0xd70], xmm0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x406c10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x405
mov edi, ecx
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push str.Slow:_Natural_Timing
push 0
mov esi, eax
push 0x143
push esi
call ebx
push str.Medium:_Adapt_your_eyes
push 0
push 0x143
push esi
call ebx
push str.Very_Fast:_Gaming
push 0
push 0x143
push esi
call ebx
add edi, 0xfc
mov eax, edi
mov dword [esp + 0x10], 0
call fcn.00402890
test eax, eax
je 0x406c94
cmp byte [edi + 0x20], 0
je 0x406c94
mov eax, edi
call fcn.004029a0
mov eax, dword [edi + 0xc]
mov dword [edi + 0x18], eax
test eax, eax
jne 0x406ca6
mov dword [esp + 0x10], 1
mov edi, dword [esp + 0x18]
add edi, 0x168
mov eax, edi
call fcn.00402890
test eax, eax
je 0x406cc8
cmp byte [edi + 0x20], 0
je 0x406cc8
mov eax, edi
call fcn.004029a0
mov eax, dword [edi + 0xc]
mov dword [edi + 0x18], eax
test eax, eax
je 0x406cda
mov dword [esp + 0x10], 2
mov ecx, dword [esp + 0x10]
push 0
push ecx
push 0x14e
push esi
call ebx
call fcn.00448e20
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [ebp + 8]
test al, al
je 0x406d0c
push 0
push 0x3fe
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
call fcn.00447280
cmp eax, 0x3fab
jbe 0x406d79
mov eax, 1
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
push str.Preferences
lea eax, [esp + 0x24]
push eax
mov ecx, str.fix1803
call fcn.0041e8c0
lea eax, [esp + 0x1c]
mov dword [esp + 0x38], 0
mov byte [esp + 0x3c], 1
call fcn.00402890
test eax, eax
je 0x406d68
cmp byte [esp + 0x3c], 0
je 0x406d68
lea eax, [esp + 0x1c]
call fcn.004029a0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov byte [esp + 0xf], 0
test eax, eax
je 0x406d7e
mov byte [esp + 0xf], 1
test byte [esp + 0x14], 1
je 0x406d8e
lea edi, [esp + 0x1c]
call fcn.00402a90
cmp byte [esp + 0xf], 0
je 0x406da6
push 0
push 0x414
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
mov esi, dword [esp + 0x18]
push ebx
push esi
call fcn.00405b70
mov ecx, dword [esi + 0xc]
push ecx
push ebx
mov byte [esi + 0x60], 1
mov dword [esi + 8], ebx
call fcn.004453b0
add esp, 8
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x407240
Capabilities:
Create thread

Disassembly:
xorps xmm0, xmm0
push ebx
xor ebx, ebx
mov dword [esi + 4], 0x6d
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov byte [esi + 0x10], bl
mov dword [esi + 0x14], ebx
mov byte [esi + 0x18], 1
mov dword [esi], vtable.GetLocation.0
push ebp
mov dword [esi + 0x1c], ebx
movss dword [esi + 0x24], xmm0
movss dword [esi + 0x20], xmm0
push edi
lea edi, [esi + 0x38]
mov dword [esi + 0x28], ebx
movss dword [esi + 0x30], xmm0
movss dword [esi + 0x2c], xmm0
mov dword [esi + 0x34], ebx
lea eax, [edi + 0x10]
push eax
mov dword [edi], vtable.ytBaseThread.0
mov dword [edi + 8], ebx
mov dword [edi + 4], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xorps xmm0, xmm0
mov dword [edi + 0xc], ebx
mov dword [edi], vtable.FluxLocation.0
mov dword [edi + 0x28], ebx
movsd qword [edi + 0x30], xmm0
movsd qword [edi + 0x38], xmm0
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
lea ebp, [edi + 0x10]
mov dword [esi + 0x84], ebx
push ebp
mov dword [edi + 4], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
push ebx
push 0x43cff0
call fcn.0049dc4e
add esp, 0xc
push ebp
mov dword [edi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebp
mov eax, esi
pop ebx
ret
Function at 0x40b610
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0xe60
mov eax, dword [0x4e2204]
xor eax, esp
mov dword [esp + 0xe5c], eax
push ebx
xor ebx, ebx
push ebp
push esi
mov dword [esp + 0x14], ecx
cmp byte [edi + 0x734], bl
jne 0x40b652
test dword [edi + 0x328], 0xfffffffc
je 0x40b652
lea eax, [edi + 0x318]
push ecx
call fcn.00404d00
jmp 0x40b81a
lea eax, [esp + 0x842]
push eax
lea ecx, [esp + 0x745]
push ecx
lea edx, [esp + 0x648]
push edx
lea eax, [esp + 0x648]
push eax
push str.runtime_flux.preset.json
mov dword [esp + 0x958], ebx
mov byte [esp + 0x448], bl
mov byte [esp + 0x650], bl
mov byte [esp + 0x654], bl
mov byte [esp + 0x755], bl
mov byte [esp + 0x856], bl
call fcn.004a055c
add esp, 0x14
lea ecx, [esp + 0x434]
push ebx
push ecx
call fcn.00447920
add esp, 8
lea ecx, [esp + 0x94c]
call fcn.004016b0
lea edx, [esp + 0x94c]
push edx
mov ecx, str.https:__justgetflux.com_windows_preset.json
call fcn.00432480
lea eax, [esp + 0xd5a]
push eax
lea ecx, [esp + 0xc5d]
push ecx
lea edx, [esp + 0xb60]
push edx
lea eax, [esp + 0xb60]
push eax
lea ecx, [esp + 0x95c]
push 0x208
push ecx
call fcn.004a05a8
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
add esp, 0x18
lea edx, [esp + 0x94c]
push edx
call esi
cmp eax, 0xffffffff
je 0x40b736
lea eax, [esp + 0x434]
push eax
lea eax, [esp + 0x950]
call fcn.00401700
lea ecx, [esp + 0x842]
push ecx
lea edx, [esp + 0x745]
push edx
lea eax, [esp + 0x648]
push eax
lea ecx, [esp + 0x648]
push ecx
lea edx, [esp + 0x444]
push 0x208
push edx
call fcn.004a05a8
add esp, 0x18
lea eax, [esp + 0x434]
push eax
call esi
cmp eax, 0xffffffff
jne 0x40b7ad
lea ecx, [esp + 0x94c]
call fcn.00403870
lea ecx, [esp + 0x434]
call fcn.00403870
or eax, 0xffffffff
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe5c]
xor ecx, esp
call fcn.0049ceb0
add esp, 0xe60
ret
lea ecx, [esp + 0x10]
push ecx
lea eax, [esp + 0x438]
mov dword [esp + 0x14], ebx
call fcn.004550f0
add esp, 4
lea edx, [esp + 0x10]
push edx
lea esi, [esp + 0x1c]
lea ebp, [edi + 0x318]
call fcn.00403e50
push ebp
call fcn.00404d00
mov eax, esi
push eax
call fcn.00404120
mov ecx, dword [esp + 0x14]
push ecx
mov eax, ebp
call fcn.00404d00
lea ecx, [esp + 0x10]
mov byte [edi + 0x734], bl
call fcn.00401420
lea ecx, [esp + 0x94c]
call fcn.00403870
lea ecx, [esp + 0x434]
call fcn.00403870
mov ecx, dword [esp + 0xe68]
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0049ceb0
add esp, 0xe60
ret
Function at 0x411083
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
cmp byte [esi + 0x300], 0
je 0x4110a5
mov eax, dword [esi + 0xf08]
push eax
call fcn.00405330
test al, al
jne 0x4110a5
push esi
call fcn.0041ab10
movsd xmm0, qword [esp + 0x14]
comisd xmm0, xmmword [esi + 0x2f8]
jbe 0x4111ac
push edi
call fcn.0044aae0
fmul qword [0x4d3520]
fnstcw word [esp + 0xa]
movzx eax, word [esp + 0xa]
or eax, 0xc00
mov dword [esp + 0xc], eax
fldcw word [esp + 0xc]
fistp qword [esp + 0xc]
mov ecx, dword [esp + 0xc]
push ecx
fldcw word [esp + 0xe]
call fcn.0049d579
add esp, 4
call fcn.0049d58b
mov edx, dword [esi + 0xf08]
add eax, 0x3f8000
shl eax, 8
mov dword [esp + 0xc], eax
movss xmm0, dword [esp + 0xc]
cvtps2pd xmm0, xmm0
subsd xmm0, qword [0x4bab50]
cvtpd2ps xmm0, xmm0
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x4c88e8]
addsd xmm0, qword [0x4d33d8]
mulsd xmm0, qword [0x4c8938]
addsd xmm0, qword [esp + 0x18]
movsd qword [esi + 0x2f8], xmm0
cmp byte [edx + 0xf0e], 0
je 0x411162
lea eax, [esi + 0x73c]
push eax
mov edx, str.matrix1
call fcn.00403000
jmp 0x41117a
lea ecx, [esp + 0x18]
push ecx
lea edi, [esi + 0x770]
mov dword [esp + 0x1c], 0
call fcn.00401250
add esi, 0x73c
lea edi, [esi + 0x10]
push edi
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push 0
push 0x43cff0
call fcn.0049dc4e
add esp, 0xc
push edi
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret 8
Function at 0x419710
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xfc]
push edi
mov ebx, ecx
cmp eax, 6
je 0x419731
cmp eax, 7
jne 0x419756
mov ecx, dword [ebx + 0x58]
test ecx, ecx
je 0x41973d
add ecx, 4
jmp 0x41973f
xor ecx, ecx
cmp eax, 7
sete al
movzx edx, al
push edx
push ecx
lea eax, [ebx - 0xfc]
push eax
call fcn.0041b5e0
cmp dword [esi + 0xfc], 2
jne 0x419763
mov byte [ebx + 0x12], 0
cmp dword [esi + 0xfc], 9
jne 0x419776
push 0
call fcn.0041d050
add esp, 4
cmp dword [esi + 0xfc], 0xa
jne 0x4197c9
lea ecx, [esp + 0xc]
push ecx
mov eax, 1
push str.Preferences
lea edx, [esp + 0x1c]
push edx
mov ecx, str.autorun
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
call fcn.0041e8c0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 1
call fcn.004027a0
lea edi, [esp + 0x14]
call fcn.00402a90
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x4197d8
cmp eax, 5
jne 0x4197e6
lea esi, [ebx - 0xfc]
call fcn.00419f50
mov esi, dword [ebp + 8]
cmp dword [esi + 0xfc], 8
jne 0x419866
mov ebx, dword [ebx + 0x54]
test ebx, ebx
je 0x4197fb
add ebx, 4
jmp 0x4197fd
xor ebx, ebx
push 4
push str.http
push ebx
call fcn.0049cebf
add esp, 0xc
test eax, eax
jne 0x419866
push 0x567098
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edi, 0x30
call fcn.0045f460
mov esi, eax
test esi, esi
je 0x419839
push 0
mov eax, ebx
call fcn.00448610
mov esi, eax
jmp 0x41983b
xor esi, esi
lea edi, [esi + 0x10]
push edi
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push 0
push 0x43cff0
call fcn.0049dc4e
add esp, 0xc
push edi
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x419e10
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x84
push esi
push edi
mov esi, eax
lea eax, [esp + 0xc]
push eax
push str.Preferences
lea ecx, [esp + 0x6c]
push ecx
mov ecx, str.Latitude
mov dword [esp + 0x18], 0xe10
call fcn.0041e8c0
lea edx, [esp + 0xc]
push edx
push str.Preferences
lea eax, [esp + 0x48]
xor edi, edi
push eax
mov ecx, str.Longitude
mov dword [esp + 0x8c], edi
mov byte [esp + 0x90], 1
mov dword [esp + 0x18], edi
call fcn.0041e8c0
lea ecx, [esp + 0xc]
push ecx
push str.Preferences
lea edx, [esp + 0x24]
push edx
mov ecx, str.ZipCode
mov dword [esp + 0x68], edi
mov byte [esp + 0x6c], 1
mov dword [esp + 0x18], edi
call fcn.0041e8c0
fld dword [esi + 0x140]
fmul qword [0x4d3538]
lea ecx, [esp + 0x10]
fnstcw word [esp + 0xc]
movzx eax, word [esp + 0xc]
or eax, 0xc00
mov dword [esp + 0x10], eax
push ecx
fldcw word [esp + 0x14]
mov dword [esp + 0x3c], edi
mov byte [esp + 0x40], 1
fistp qword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x68]
fldcw word [esp + 0x10]
call fcn.004027a0
fld dword [esi + 0x144]
fmul qword [0x4d3538]
fnstcw word [esp + 0xc]
movzx eax, word [esp + 0xc]
or eax, 0xc00
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
fldcw word [esp + 0x10]
push eax
lea eax, [esp + 0x44]
fistp qword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x14], edx
fldcw word [esp + 0x10]
call fcn.004027a0
add esi, 0x13c
push esi
lea eax, [esp + 0x20]
call fcn.004027a0
lea edi, [esp + 0x1c]
call fcn.00402a90
lea edi, [esp + 0x40]
call fcn.00402a90
lea edi, [esp + 0x64]
call fcn.00402a90
pop edi
xor eax, eax
pop esi
add esp, 0x84
ret
Function at 0x41b5e0
Capabilities:
Create thread

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x18]
lea ebp, [edi + 0x7f0]
push eax
mov ecx, ebp
mov dword [esp + 0x1c], 0
mov ebx, 1
call fcn.00403250
mov eax, dword [eax]
test eax, eax
je 0x41b640
add eax, 4
je 0x41b640
cmp byte [eax], 0
je 0x41b640
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
mov ebx, 3
call fcn.00403250
mov ecx, eax
mov eax, 0x4ccf44
call fcn.00401310
mov byte [esp + 0x13], 0
test al, al
je 0x41b645
mov byte [esp + 0x13], 1
test bl, 2
je 0x41b688
mov eax, dword [esp + 0x14]
and ebx, 0xfffffffd
test eax, eax
je 0x41b688
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x80
jl 0x41b673
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41b680
test eax, eax
jne 0x41b680
mov esi, dword [esp + 0x14]
call fcn.0045f5a0
mov dword [esp + 0x14], 0
test bl, 1
je 0x41b6c0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41b6c0
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x80
jl 0x41b6b3
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41b6c0
test eax, eax
jne 0x41b6c0
mov esi, dword [esp + 0x18]
call fcn.0045f5a0
cmp byte [esp + 0x13], 0
je 0x41b7e9
mov ebx, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x14], esi
test ebx, ebx
je 0x41b716
mov eax, ebx
mov dword [esp + 0x30], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41b6e2
sub eax, edx
push eax
push ebx
lea edx, [esp + 0x38]
push edx
call fcn.0043c500
lea eax, [esp + 0x30]
push eax
lea edi, [esp + 0x18]
call fcn.00401250
lea ecx, [esp + 0x30]
call fcn.00401420
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
movss xmm0, dword [edi + 0x140]
mov cl, byte [esp + 0x34]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [edi + 0x144]
lea edx, [esp + 0x14]
cvtps2pd xmm0, xmm0
push edx
lea edi, [ebp + 0x8c]
movsd qword [esp + 0x24], xmm0
mov byte [ebp + 0xa0], cl
call fcn.00401250
movsd xmm0, qword [esp + 0x18]
mov edi, dword [esp + 0x2c]
movsd qword [ebp + 0x90], xmm0
movsd xmm0, qword [esp + 0x20]
movsd qword [ebp + 0x98], xmm0
mov byte [ebp + 0xa2], 1
add edi, 0x788
lea ebp, [edi + 0x10]
push ebp
mov dword [edi + 4], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
push 0
push 0x43cff0
call fcn.0049dc4e
add esp, 0xc
push ebp
mov dword [edi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x41b808
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x80
jl 0x41b7d4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc
test eax, eax
jne 0x41b808
call fcn.0045f5a0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc
cmp byte [edi + 0xb18], 0
je 0x41b808
lea eax, [edi + 0x100]
push eax
add edi, 0xb14
push edi
call fcn.00421d50
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret 0xc
Function at 0x41d050
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
push edi
call fcn.00448e20
test al, al
jne 0x41d211
call fcn.00427970
test al, al
je 0x41d07f
call fcn.00427e20
test al, al
je 0x41d1ee
call fcn.00448d10
test al, al
je 0x41d0a7
call fcn.00448c60
test al, al
jne 0x41d0a7
push 0
push str._unlockwingamma
call fcn.004484d0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
push 0xf003f
xor eax, eax
xor ebx, ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionICM_
mov dword [esp + 0x28], eax
push reloc.WSOCK32.dll_bind
lea eax, [esp + 0x34]
push eax
mov edx, str.GdiICMGammaRange
mov dword [esp + 0x20], 0x100
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
call fcn.00455560
push 0xf013f
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionICM_
push reloc.WSOCK32.dll_bind
lea ecx, [esp + 0x24]
push ecx
mov edx, str.GdiICMGammaRange
mov esi, eax
call fcn.00455560
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x41d12c
add eax, 4
jmp 0x41d12e
xor eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push ebx
push eax
mov eax, dword [esp + 0x3c]
push eax
call edi
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x41d153
add eax, 4
jmp 0x41d155
xor eax, eax
mov edx, dword [esp + 0x18]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push ebx
push eax
push edx
call edi
call fcn.00427f80
cmp byte [ebp + 8], bl
je 0x41d18c
lea edi, [esp + 0x18]
call fcn.004554e0
lea edi, [esp + 0x28]
call fcn.004554e0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x40], 0x70
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x4c], bl
mov dword [esp + 0x50], ebx
mov byte [esp + 0x54], 1
mov dword [esp + 0x3c], vtable.RebootDlg.0
mov byte [esp + 0x58], bl
call fcn.0046f160
cmp byte [esp + 0x54], bl
je 0x41d1ca
call fcn.004277c0
cmp esi, ebx
jne 0x41d1f7
cmp dword [esp + 0x14], ebx
jne 0x41d1f7
lea edi, [esp + 0x18]
mov dword [esp + 0x38], vtable.ytBaseDialog.0
call fcn.004554e0
lea edi, [esp + 0x28]
call fcn.004554e0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edi, [esp + 0x18]
mov dword [esp + 0x38], vtable.ytBaseDialog.0
call fcn.004554e0
lea edi, [esp + 0x28]
call fcn.004554e0
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ddc0
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
push 0
push 0x4cb498
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0
call fcn.0043c500
lea ecx, [esp + 0xc]
push ecx
push str.DisplayIcon
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallFlux
mov eax, reloc.WSOCK32.dll_bind
lea edi, [esp + 0x18]
call fcn.0041e810
mov esi, dword [esp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test esi, esi
je 0x41de31
push esi
call ebx
and eax, 0xff
cmp eax, 0x80
jl 0x41de28
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41de31
test eax, eax
jne 0x41de31
call fcn.0045f5a0
lea edx, [esp + 0xc]
lea ecx, [esp + 0x10]
call fcn.004024a0
mov esi, dword [esp + 0xc]
mov dword [esp + 0xc], esi
test esi, esi
je 0x41de7f
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push esi
call edi
and eax, 0xff
cmp eax, 0x80
jl 0x41de62
push esi
call ebx
push esi
call ebx
and eax, 0xff
cmp eax, 0x80
jl 0x41de76
push esi
call edi
jmp 0x41de7f
test eax, eax
jne 0x41de7f
call fcn.0045f5a0
push 0x22
lea eax, [esp + 0x10]
call fcn.0043c800
mov esi, dword [esp + 0xc]
test esi, esi
je 0x41df0f
lea edi, [esi + 4]
test edi, edi
je 0x41dede
cmp byte [edi], 0
je 0x41dede
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41dede
mov edx, dword [ebp + 8]
push 5
push 0
push edx
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0xc]
call fcn.00401420
lea edi, [esp + 0x10]
call fcn.004026d0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call ebx
and eax, 0xff
cmp eax, 0x80
jl 0x41df06
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea edi, [esp + 0x10]
call fcn.004026d0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x41df0f
call fcn.0045f5a0
lea edi, [esp + 0x10]
call fcn.004026d0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4272d0
Capabilities:
Enumerate devices by category

Disassembly:
sub esp, 0x10
push esi
push edi
lea eax, [esp + 0x10]
push eax
push 0x4b8aac
xor esi, esi
push 1
push esi
push 0x4b8a0c
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
xor edi, edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4273bf
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push esi
lea edx, [esp + 0x10]
push edx
push 0x4b8a1c
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x4273b3
mov eax, dword [esp + 0xc]
push esi
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], esi
mov ecx, dword [eax]
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x4273a3
lea esp, [esp]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x4b8b6c
push esi
push esi
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
jge 0x42736a
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x42738b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 8]
mov dword [esp + 0x14], esi
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 8], esi
inc edi
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push esi
lea edx, [esp + 0xc]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x427340
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
pop edi
pop esi
add esp, 0x10
ret