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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5600ee
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5ab3e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 0xc]
push edi
call fcn.0043c590
mov eax, dword [0x5b49fc]
mov dword [ebp - 4], 0
mov dword [ebx], vtable.KClientHostSplashShow.0
mov dword [ebx + 0x48], 0
test al, 1
jne 0x43c3d7
or eax, 1
mov dword [0x5b49fc], eax
push 0x57142a
push str.KClientHostSplashShow
mov ecx, 0x5b49f8
mov byte [ebp - 4], 1
call fcn.00447670
mov byte [ebp - 4], 0
cmp byte [0x5b4ae4], 0
je 0x43c40f
mov cx, word [0x5b49fa]
mov eax, 1
mov word [ebp - 0x20], ax
mov eax, dword [0x5b49f8]
mov word [ebp - 0x1c], cx
movzx ecx, cx
mov word [ebp - 0x1e], ax
push ecx
movzx eax, ax
push eax
push 1
call fcn.00448380
add esp, 0xc
mov esi, dword [ebp + 8]
mov dword [ebx + 0x20], 0
mov byte [ebp - 4], 2
cmp byte [esi], 0
je 0x43c557
cmp byte [esi + 0x82], 0
jne 0x43c557
push 0
mov dword [ebx + 0x20], 1
call fcn.00472f80
add esp, 4
test al, al
je 0x43c461
test edi, edi
je 0x43c45b
cmp edi, 1
je 0x43c45b
cmp edi, 2
je 0x43c45b
cmp edi, 3
jne 0x43c461
test byte [esi + 8], 0x1f
jmp 0x43c465
cmp dword [esi + 8], 0
je 0x43c46e
mov dword [ebx + 0x20], 0
cmp dword [esi + 0xd0], 0
je 0x43c47e
mov dword [ebx + 0x20], 0
cmp dword [esi + 4], 0
jne 0x43c496
cmp dword [esi + 0x28], 1
je 0x43c496
cmp dword [esi + 0x10], 1
je 0x43c496
cmp byte [esi + 0x7e], 0
je 0x43c49d
mov dword [ebx + 0x20], 0
cmp dword [ebx + 0x24], 1
jne 0x43c4eb
cmp dword [esi + 0x30], 1
jne 0x43c4eb
mov edi, dword [esi + 0x2c]
mov esi, dword [edi]
cmp esi, edi
je 0x43c4e8
push 0xffffffffffffffff
lea ecx, [esi + 8]
push str..pps
call fcn.0043d6d0
cmp eax, 0xffffffff
jne 0x43c4e1
push eax
push str..ppsx
lea ecx, [esi + 8]
call fcn.0043d6d0
cmp eax, 0xffffffff
jne 0x43c4e1
mov esi, dword [esi]
cmp esi, edi
jne 0x43c4b2
jmp 0x43c4e8
mov dword [ebx + 0x20], 0
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 1
jne 0x43c557
test byte [esi + 8], 0x1f
je 0x43c557
lea eax, [ebp + 8]
xor esi, esi
push eax
push 1
push esi
push str.SoftwarekingsoftOffice6.0CommonApplication_Settings
push 0x80000001
mov dword [ebp + 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43c551
lea eax, [ebp - 0x10]
mov dword [ebp + 0xc], esi
push eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], 4
push eax
push esi
push esi
push str.oleForceShowSplash
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43c548
cmp dword [ebp + 0xc], eax
setne al
mov dword [ebp - 0x14], eax
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x20], esi
cmp byte [0x5b4ae4], 0
mov byte [ebp - 4], 3
je 0x43c575
push dword [ebp - 0x1c]
push dword [ebp - 0x1e]
push dword [ebp - 0x20]
call fcn.004483a0
add esp, 0xc
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43ce90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5601cd
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5ab3e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x234], 0
mov byte [eax], 0
mov dword [ebp - 0x238], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 0x234], 1
call fcn.00474060
add esp, 4
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 4], 1
test ecx, ecx
jne 0x43cf2d
lea ecx, [ebp - 0x230]
call fcn.004025b0
jmp 0x43d048
mov edi, dword [ebp - 0x21c]
lea eax, [ebp - 0x230]
mov ebx, dword [ebp - 0x230]
cmp edi, 8
cmovae eax, ebx
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x43cf8a
cmp edi, 8
lea eax, [ebp - 0x230]
cmovae eax, ebx
movzx edx, word [eax + ecx*2 - 2]
cmp ecx, edx
jb 0x43d068
cmp edi, 8
mov dword [ebp - 0x220], edx
lea eax, [ebp - 0x230]
cmovae eax, ebx
xor ecx, ecx
mov word [eax + edx*2], cx
mov edi, dword [ebp - 0x21c]
mov ebx, dword [ebp - 0x230]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0048deb0
cmp edi, 8
lea eax, [ebp - 0x230]
cmovae eax, ebx
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00498338
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.oemcompanylogo.png
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0049dd82
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43d00c
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00404570
mov eax, dword [ebp - 0x238]
mov byte [eax], 1
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x43d048
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43d03e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43d06d
push edx
push ecx
call fcn.0048b6db
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b6e9
mov esp, ebp
pop ebp
ret 8
call fcn.00404500
call fcn.00497009
int3

Function at 0x43d790
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax]
test eax, eax
je 0x43d7e1
cmp dword [esi + 8], 0
push edi
lea edi, [esi + 0x10]
je 0x43d7c3
push 0
push 0
push 0x12
push dword [edi]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
push edi
push 0
push esi
push 0x43d7f0
push 0
push 0
mov dword [esi + 0xc], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
pop edi
pop esi
ret
Function at 0x43da00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5602ca
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x5ab3e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
fldz
fld qword [edi + 0x28]
fcompi st(1)
fstp st(0)
ja 0x43dc2d
mov eax, dword [0x5b49ec]
test al, 1
jne 0x43da71
or eax, 1
mov dword [0x5b49ec], eax
push 0x57142a
push str.KHostSplashShow_updateDPISetting
mov ecx, 0x5b49e8
mov dword [ebp - 4], 0
call fcn.00447670
mov dword [ebp - 4], 0xffffffff
cmp byte [0x5b4ae4], 0
je 0x43dab2
mov cx, word [0x5b49ea]
mov eax, 1
mov word [ebp - 0x268], ax
mov eax, dword [0x5b49e8]
mov word [ebp - 0x264], cx
movzx ecx, cx
mov word [ebp - 0x266], ax
push ecx
movzx eax, ax
push eax
push 1
call fcn.00448380
add esp, 0xc
fld1
lea eax, [ebp - 0x230]
push eax
fstp qword [edi + 0x28]
mov dword [ebp - 4], 1
call fcn.00474060
add esp, 4
push 8
push str.qt.conf
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.00402820
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0048deb0
add esp, 0xc
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x57157c
push str.DPIAware
push str.Support
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push 0x56c1d8
push eax
call fcn.00412710
add esp, 8
test eax, eax
jne 0x43dbf8
lea eax, [ebp - 0x260]
push eax
call fcn.00404410
push str.user32.dll
push eax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 3
push eax
call fcn.00401f60
add esp, 0x10
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 5
call fcn.004025b0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x43dbed
push str.SetProcessDPIAware
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43dbed
call eax
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push 0
mov dword [ebp - 0x26c], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
fild dword [ebp - 0x26c]
fstp qword [ebp - 0x270]
fld qword [ebp - 0x270]
fdiv qword [0x571870]
fstp qword [edi + 0x28]
lea ecx, [ebp - 0x248]
call fcn.004025b0
lea ecx, [ebp - 0x230]
call fcn.004025b0
cmp byte [0x5b4ae4], 0
mov dword [ebp - 4], 6
je 0x43dc2d
push dword [ebp - 0x264]
push dword [ebp - 0x266]
push dword [ebp - 0x268]
call fcn.004483a0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b6e9
mov esp, ebp
pop ebp
ret
Function at 0x43f7c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5605d8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5ab3e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x48], 0
push eax
push 0x56985c
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00407de0
push 0x13
xor eax, eax
mov dword [ebp - 4], 0
push str.HardwareAccelerated
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00407de0
push 0x35
xor eax, eax
mov byte [ebp - 4], 1
push str.SoftwarekingsoftOffice6.0wppApplication_Settings
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00407de0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push 0x80000001
push eax
call fcn.0041dd00
mov edx, dword [ebp - 0x14]
add esp, 0x14
cmp edx, 8
jb 0x43f8b9
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f8af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43fa0a
push edx
push ecx
call fcn.0048b6db
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x43f907
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f8fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43fa0a
push edx
push ecx
call fcn.0048b6db
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x43f955
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f94b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43fa0a
push edx
push ecx
call fcn.0048b6db
add esp, 8
mov ebx, dword [ebp - 0x5c]
lea esi, [ebp - 0x70]
mov edi, dword [ebp - 0x70]
cmp ebx, 8
cmovae esi, edi
cmp dword [ebp - 0x60], 0x10
jne 0x43f98c
mov ecx, str.AccelerationNone
mov edx, 0x10
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x43f98c
add ecx, 2
sub edx, 1
jne 0x43f976
mov byte [ebp - 0x71], dl
jmp 0x43f9bb
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 0
push eax
push 0
push 0
push 0x43fa20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x70]
mov byte [ebp - 0x71], 1
cmp ebx, 8
jb 0x43f9eb
lea ebx, [ebx*2 + 2]
mov eax, edi
cmp ebx, 0x1000
jb 0x43f9e1
mov edi, dword [edi - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43fa0f
push ebx
push edi
call fcn.0048b6db
add esp, 8
mov al, byte [ebp - 0x71]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b6e9
mov esp, ebp
pop ebp
ret
call fcn.00497009
call fcn.00497009
int3
Function at 0x4417e0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d688
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5ab3e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor bl, bl
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 0x29], bl
mov dword [ebp - 0x38], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x4419ab
xor edi, edi
mov dword [ebp - 0x30], edi
cmp dword [ebp - 0x38], edi
jle 0x4419a4
mov edx, dword [eax + edi*4]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x441863
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00407de0
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
cmp edx, 8
mov ecx, dword [ebp - 0x18]
cmovae eax, ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], eax
cmp ecx, 0x10
jb 0x4418f1
add ecx, 0xfffffff1
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x3c], ecx
sub ecx, eax
sar ecx, 1
je 0x4418eb
lea esp, [esp]
cmp word [eax], 0x2f
je 0x4418c0
add eax, 2
sub ecx, 1
jne 0x4418b0
jmp 0x4418eb
mov edx, str._startup_source
mov edi, eax
mov esi, 0x10
sub edi, edx
mov edi, edi
mov cx, word [edi + edx]
cmp cx, word [edx]
jne 0x44193d
add edx, 2
sub esi, 1
jne 0x4418d0
sub eax, dword [ebp - 0x40]
sar eax, 1
cmp eax, 0xffffffff
jne 0x441948
mov edi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x44192c
lea ecx, [edx*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x441922
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4419c9
push ecx
push ebx
call fcn.0048b6db
add esp, 8
mov eax, dword [ebp - 0x34]
inc edi
mov dword [ebp - 0x30], edi
cmp edi, dword [ebp - 0x38]
jge 0x4419a1
jmp 0x441847
mov ecx, dword [ebp - 0x3c]
add eax, 2
jmp 0x4418a6
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x28]
cmp edx, eax
je 0x441967
cmp dword [ebp - 0x14], 8
mov ecx, edx
push dword [ebp - 0x18]
cmovae eax, ebx
push eax
call fcn.00407de0
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 0x29], 1
cmp ecx, 8
jb 0x44199e
lea ecx, [ecx*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x441994
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4419c9
push ecx
push ebx
call fcn.0048b6db
add esp, 8
mov eax, dword [ebp - 0x34]
mov bl, byte [ebp - 0x29]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b6e9
mov esp, ebp
pop ebp
ret
call fcn.00497009
int3
Function at 0x446940
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5610c0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5ab3e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x14], eax
lea edi, [eax + 0x2c]
mov eax, dword [edi]
test eax, eax
jne 0x4469be
push dword [0x5aa438]
call fcn.00445b60
add esp, 4
mov ecx, dword [edi]
mov dword [ebp - 4], 0
mov dword [edi], eax
test ecx, ecx
je 0x44699d
push ecx
mov ecx, edi
call fcn.00445b40
mov eax, dword [edi]
mov dword [ebp - 4], 0xffffffff
test eax, eax
jne 0x4469be
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x14
call fcn.0048b6ab
mov esi, eax
mov dword [ebp - 0x10], eax
add esp, 4
mov dword [ebp - 0x18], esi
xor ecx, ecx
mov dword [ebp - 4], 1
push ecx
mov dword [eax], ecx
push ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
push ecx
mov dword [eax + 0xc], ecx
push ecx
mov dword [eax + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp + 0xc]
mov eax, esi
mov byte [ebp - 4], 2
mov dword [eax + 0x10], ebx
mov dword [eax + 8], ecx
mov eax, dword [edi]
test eax, eax
jne 0x446a33
push dword [0x5aa438]
call fcn.00445b60
add esp, 4
mov ecx, dword [edi]
mov byte [ebp - 4], 3
mov dword [edi], eax
test ecx, ecx
je 0x446a2f
push ecx
mov ecx, edi
call fcn.00445b40
mov eax, dword [edi]
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x10]
push edi
push 0
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x446a61
mov eax, dword [ebp + 8]
push eax
push 0x572234
call fcn.00408c40
add esp, 8
mov byte [ebp + 0xb], 1
jmp 0x446a8a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x446ac2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp + 8]
push eax
push str._ld_readfile_failed:__ld
call fcn.00408c40
add esp, 0xc
mov byte [ebp + 0xb], 0
test ebx, ebx
je 0x446a9a
cmp ebx, 0xffffffff
je 0x446a9a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, byte [ebp + 0xb]
test esi, esi
je 0x446aac
push 0x14
push esi
call fcn.0048b6db
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x14]
xor esi, esi
add ecx, 0xc
mov dword [ebp - 0x18], esi
mov dword [ebp + 8], edi
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x446ae0
mov dword [eax], edi
add dword [ecx + 4], 4
jmp 0x446aea
lea edx, [ebp + 8]
push edx
push eax
call fcn.00408460
mov ecx, dword [ebp - 0x14]
add ecx, 0x18
mov dword [ebp - 0x1c], esi
mov dword [ebp + 8], ebx
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x446b08
mov dword [eax], ebx
mov bl, 1
add dword [ecx + 4], 4
jmp 0x446a9d
lea edx, [ebp + 8]
push edx
push eax
call fcn.00408460
mov bl, 1
jmp 0x446a9d
Function at 0x446f60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push dword [ebp + 8]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x446f90
xor edi, edi
jmp 0x446fd2
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 4
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
test esi, esi
cmove edi, dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
mov esi, eax
call fcn.0049d40d
push 0
push edi
push edx
push eax
call fcn.0049deac
fld qword [0x572290]
add esp, 0x14
fcompi st(1)
jbe 0x447026
mov eax, 0x10624dd3
mul esi
shr edx, 6
mov dword [ebp - 0x10], edx
fild dword [ebp - 0x10]
test edx, edx
jns 0x447012
fadd qword [0x571878]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fcompi st(1)
fstp st(0)
jbe 0x447028
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
fstp st(0)
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x447030
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44709c
mov esi, dword [ebp + 0x18]
mov dword [ebp - 8], 3
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 8], 3
jne 0x44709c
mov eax, dword [ebp - 0xc]
push dword [ebp - 4]
mov dword [esi], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4470b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
call fcn.0049d40d
add esp, 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push dword [ebp + 8]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x447117
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x449680
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561512
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x5ab3e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x83c], esi
mov dword [ebp - 0x834], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [ebp - 0x82c], 0
mov word [esi], cx
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], ecx
mov dword [ebp - 0x834], 1
jb 0x4496f8
mov eax, dword [eax]
lea ecx, [ebp - 0x82c]
push ecx
push 0x20019
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x449838
push 0x800
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.0048deb0
add esp, 0xc
mov dword [ebp - 0x838], 0x400
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x830], 1
jb 0x44974b
mov edi, dword [edi]
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x830]
push eax
push 0
push edi
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44982c
cmp dword [ebp - 0x830], 1
jne 0x44982c
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.00402410
mov edi, eax
cmp esi, edi
je 0x449821
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x4497d9
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4497cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449855
mov eax, edx
push ecx
push eax
call fcn.0048b6db
add esp, 8
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x828]
call fcn.004025b0
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b6e9
mov esp, ebp
pop ebp
ret
call fcn.00497009
int3