joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409869
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
mov eax, dword [esi + 0x44c]
test eax, eax
je 0x40988f
xor ecx, ecx
cmp cx, word [eax]
je 0x40988f
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4098b8
mov eax, dword [esi + 0x450]
test eax, eax
je 0x40995b
xor ecx, ecx
cmp cx, word [eax]
je 0x40995b
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40995b
lea eax, [ebp - 4]
push eax
push 1
push str.Enable
push ecx
mov ecx, esi
call fcn.00409960
test eax, eax
jne 0x4098d8
mov eax, dword [ebp - 4]
mov dword [esi + 0x454], eax
lea eax, [ebp - 8]
push eax
push 0x25800
push str.MaxSize
push ecx
mov ecx, esi
call fcn.00409960
test eax, eax
jne 0x4098fb
mov eax, dword [ebp - 8]
mov dword [esi + 0x43c], eax
lea eax, [ebp - 0xc]
push eax
push 3
push str.MaxEntries
push ecx
mov ecx, esi
call fcn.00409960
test eax, eax
jne 0x40991b
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x440], eax
lea eax, [ebp - 0x10]
push eax
push 3
push str.Severity
push ecx
mov ecx, esi
call fcn.00409960
test eax, eax
jne 0x40993b
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x444], eax
lea eax, [ebp - 0x14]
push eax
push 0x10
push str.Options
push ecx
mov ecx, esi
call fcn.00409960
test eax, eax
jne 0x40995b
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x448], eax
xor eax, eax
pop esi
leave
ret
Function at 0x409e2a
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
and dword [esp + 0x10], esi
and dword [esp + 0x14], esi
mov dword [esp + 0xc], esi
mov eax, dword [edi + 0x438]
test eax, eax
je 0x409e5c
push 0x1b58
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x57
pop ebx
mov ecx, edi
call dword [edi + 0x458]
test al, al
je 0x409f13
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x409f13
xor ecx, ecx
cmp cx, word [eax]
je 0x409f13
mov ecx, edi
call fcn.00408d21
mov ebx, eax
test ebx, ebx
je 0x409e9a
cmp ebx, 0xb7
jne 0x409f13
lea eax, [esp + 0xc]
mov ecx, edi
push eax
lea eax, [esp + 0x14]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040905c
mov esi, dword [esp + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x409f13
test esi, esi
jne 0x409ecd
push 0xe
pop ebx
jmp 0x409f13
push esi
call fcn.00487778
pop ecx
push 0
lea ecx, [esp + 0x18]
add eax, eax
push ecx
push eax
push esi
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test byte [edi + 0x448], 1
mov dword [esp + 0x10], eax
je 0x409f07
xor ecx, ecx
cmp cx, word [esi]
je 0x409f07
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x409f13
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp dword [edi + 0x20], 0
je 0x409f26
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0x20], 0
test esi, esi
je 0x409f31
push esi
call fcn.0048cf17
pop ecx
mov eax, dword [edi + 0x438]
test eax, eax
je 0x409f42
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x40c2ce
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4f7108]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, 0x208
mov dword [ebp - 0x218], eax
xor esi, esi
lea eax, [ebp - 0x20c]
push edi
push esi
push eax
mov ebx, ecx
mov dword [ebp - 0x210], esi
call fcn.00485260
mov dword [ebp - 0x214], edi
add esp, 0xc
lea edi, [ebx + 0x18]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x40c320
mov eax, dword [edi]
lea ecx, [ebp - 0x210]
push ecx
push 0x20019
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40c36a
cmp dword [ebp - 0x210], esi
jne 0x40c3b0
cmp dword [edi + 0x14], 8
jb 0x40c34d
mov edi, dword [edi]
lea eax, [ebp - 0x210]
push eax
push 0x20119
push esi
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40c3b0
cmp dword [ebp - 0x210], esi
je 0x40c3b0
cmp dword [ebx + 0x14], 8
jb 0x40c37a
mov ebx, dword [ebx]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40c3b0
mov ecx, dword [ebp - 0x218]
lea eax, [ebp - 0x20c]
push eax
call fcn.0040b252
xor esi, esi
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047e22a
leave
ret 4

Function at 0x40c485
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4f7108]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x208
lea eax, [ebp - 0x20c]
xor edi, edi
mov esi, ecx
push ebx
push edi
push eax
mov dword [ebp - 0x210], edi
call fcn.00485260
add esi, 0x48
mov dword [ebp - 0x214], ebx
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x40c4ce
mov eax, dword [esi]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x210]
push ecx
push 0x20019
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
je 0x40c516
cmp dword [ebp - 0x210], edi
jne 0x40c549
cmp dword [esi + 0x14], 8
jb 0x40c4fd
mov esi, dword [esi]
lea eax, [ebp - 0x210]
push eax
push 0x20119
push edi
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x40c549
cmp dword [ebp - 0x210], edi
je 0x40c549
lea eax, [ebp - 0x214]
xor esi, esi
push eax
lea eax, [ebp - 0x20c]
inc esi
push eax
push edi
push edi
push 0x4d3ff0
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov edi, esi
cmove edi, esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047e22a
leave
ret
Function at 0x40d8d9
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x22c
mov eax, 0x4b78db
call fcn.004b6929
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x234], esi
xor eax, eax
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], edi
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x218]
push eax
push edi
push edi
push 0x23
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x40d99e
lea eax, [ebp - 0x230]
mov dword [esi], edi
push eax
mov ecx, esi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.0040c867
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x40da1b
mov ecx, dword [ebp - 0x230]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], ecx
cmp eax, 0x1000
jb 0x40da12
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00405547
mov eax, dword [ebp - 0x238]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x234]
jmp 0x40da12
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040b252
lea eax, [ebp - 0x230]
mov dword [esi], edi
push eax
mov ecx, esi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.0040c867
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x40da1b
mov ecx, dword [ebp - 0x230]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x238], ecx
cmp eax, 0x1000
jb 0x40da12
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.00405547
mov eax, dword [ebp - 0x234]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x238]
push eax
push ecx
call fcn.0047ea2e
pop ecx
pop ecx
mov eax, esi
call fcn.004b68d8
ret 4

Function at 0x414f6e
Capabilities:
Create directory

Disassembly:
push 0x210
mov eax, 0x4b8745
call fcn.004b6929
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x21c]
push str.E:BT_bcd09f30_9318_47da_a932_cca71cfec57eFreetools_srcincludeSSConfig.h
push str.McSSConfig::CreateDirectoryForPath
push 0x201
push 1
call fcn.0040d1be
and dword [ebp - 4], 0
mov edx, str.McSSConfig::CreateDirectoryForPath___DataDir:
mov ecx, dword [eax]
call fcn.0041228b
mov edx, esi
mov ecx, eax
call fcn.004124b8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.0040d1fc
push esi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004875f2
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x415042
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x218]
push 0
push eax
call esi
test eax, eax
jne 0x41502e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x41503e
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.00414f6e
test eax, eax
jne 0x415042
push eax
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
je 0x415042
lea eax, [ebp - 0x218]
push eax
call fcn.00414e90
test eax, eax
jne 0x415042
xor eax, eax
jmp 0x415047
mov eax, 0x80004005
call fcn.004b68d8
ret 4
Function at 0x41b2e8
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x4b950b
call fcn.004b68f6
mov edi, ecx
push 0x14
call fcn.0047e643
mov edx, dword [ebp + 0x18]
mov esi, eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp + 0x18], esi
mov edx, dword [edx]
mov dword [esi], edx
mov ecx, dword [ecx]
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esi + 0x10], eax
xor eax, eax
lea ebx, [edi + 4]
push ebx
push eax
push esi
push 0x41bc6a
push eax
push eax
mov dword [ebp - 4], eax
call fcn.0048f00a
add esp, 0x1c
mov dword [edi], eax
test eax, eax
je 0x41b353
mov eax, edi
call fcn.004b68c4
ret 0x14
and dword [ebx], 0
push 6
call fcn.00480919
int3
Function at 0x41e100
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b976d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4f7108]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebx]
push 8
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + ebx - 4], eax
mov eax, dword [ebx]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov edi, dword [eax + 4]
add edi, ebx
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0xc], 0
call fcn.0047e643
mov esi, eax
push 1
mov dword [ebp - 4], 1
call fcn.0047fe00
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov esi, dword [esi + 4]
mov ecx, esi
mov dword [ebp - 0x18], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 2
push eax
call fcn.0041f460
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov edx, dword [edx + 0x20]
call edx
mov byte [ebp - 4], 0
mov ecx, esi
mov edx, dword [esi]
mov byte [ebp + 0xb], al
call dword [edx + 8]
test eax, eax
je 0x41e219
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [edi + 0x38], 0
mov al, byte [ebp + 0xb]
mov byte [edi + 0x40], al
jne 0x41e238
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
and eax, 0x13
or eax, 4
mov dword [edi + 0xc], eax
and ecx, eax
jne 0x41e24e
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 0xc
test cl, 4
je 0x41e25a
mov esi, str.ios_base::badbit_set
jmp 0x41e26a
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.00405b79
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.00406322
push 0x4f43c4
lea eax, [ebp - 0x30]
push eax
call fcn.004858bb
int3
Function at 0x41e690
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9790
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4f7108]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0047e643
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0047fe00
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e760
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b97bd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4f7108]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0xc], 0
call fcn.0047e643
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0047fe00
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov esi, dword [esi + 4]
mov ecx, esi
mov dword [ebp - 0x10], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.0041f460
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov edx, dword [edx + 0x20]
call edx
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
mov edx, dword [esi]
mov bl, al
call dword [edx + 8]
test eax, eax
je 0x41e84b
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], bl
jne 0x41e867
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
and eax, 0x13
or eax, 4
mov dword [edi + 0xc], eax
and ecx, eax
jne 0x41e88a
cmp byte [ebp + 0xc], 0
je 0x41e876
push edi
call fcn.00480015
add esp, 4
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
test cl, 4
je 0x41e896
mov esi, str.ios_base::badbit_set
jmp 0x41e8a6
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.00405b79
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.00406322
push 0x4f43c4
lea eax, [ebp - 0x28]
push eax
call fcn.004858bb
int3
Function at 0x41fce0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 4], edi
lea ebx, [esi + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [esi + 0x10], 0xffffffff
jne 0x41fd5d
mov eax, dword [esi]
test eax, eax
je 0x41fd0b
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x41fd54
mov eax, dword [esi + 0xc]
mov edi, ecx
mov dword [ebp - 4], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x41fd4a
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41fd43
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41fd21
cmp dword [esi + 0x10], edi
jge 0x41fd21
push ebx
mov dword [esi + 0x10], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420a20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9a70
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4f7108]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x6c
call fcn.0047e643
mov edi, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
push 0x68
mov dword [edi], vtable.CMcSecurityStatus.0
call fcn.0047e643
mov dword [ebp - 0x10], eax
xorps xmm0, xmm0
movq qword [eax], xmm0
lea ecx, [eax + 0xc]
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj2_class_CMcWMIProductInfo_.0
mov dword [ecx], vtable.CMcWMIProductInfo.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 7
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 7
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x54], 7
mov dword [ecx + 0x58], 0
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
lea esi, [edi + 0xc]
xor eax, eax
mov dword [esi], 0
push 0xe
push 0x4dbd60
push esi
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [esi + 0x10], 7
call fcn.00483a80
xor eax, eax
mov word [esi + 0xe], ax
lea esi, [edi + 0x24]
mov dword [esi], eax
push 0xe
push 0x4dbd60
push esi
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [esi + 0x10], 7
call fcn.00483a80
xor eax, eax
mov word [esi + 0xe], ax
lea esi, [edi + 0x3c]
mov dword [esi], eax
push 0xe
push 0x4dbd60
push esi
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [esi + 0x10], 7
call fcn.00483a80
xor eax, eax
mov word [esi + 0xe], ax
lea esi, [edi + 0x54]
mov dword [esi], eax
push 6
push 0x4db384
push esi
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [esi + 0x10], 3
call fcn.00483a80
add esp, 0x38
xor eax, eax
push eax
mov word [esi + 6], ax
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43a890
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb3b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4f7108]
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 edx, ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x2c], edx
mov dword [edx], vtable.external_client_impl.0
mov dword [edx + 4], vtable.external_client_impl.1.0
movq xmm0, qword [0x5033d0]
movq qword [ebp - 0x18], xmm0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
nop
mov dword [edx + 8], eax
xorps xmm0, xmm0
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], 0xc8
movups xmmword [edx + 0x18], xmm0
movq qword [edx + 0x28], xmm0
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0
mov dword [edx + 0x38], 0
mov dword [edx + 0x3c], 0
mov dword [ebp - 4], 0
mov dword [edx + 0x40], 0
mov dword [edx + 0x44], 0
mov dword [edx + 0x48], 0
mov dword [edx + 0x4c], 0
mov dword [edx + 0x50], 0
mov dword [edx + 0x54], 0
lea eax, [edx + 0x60]
mov dword [edx + 0x58], 0
mov byte [edx + 0x5c], 0
mov dword [ebp - 0x20], eax
mov dword [eax], edx
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 3
lea ebx, [eax + 0x1c]
push 0x3c
mov dword [eax + 0x18], 0
mov dword [ebp - 0x14], ebx
call fcn.0047e643
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
xorps xmm0, xmm0
movq qword [edi], xmm0
lea esi, [edi + 0xc]
mov dword [edi + 8], 0
push 2
push esi
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj2_class_std::mutex_.0
call fcn.00480c33
xorps xmm0, xmm0
lea eax, [ebx + 8]
movq qword [ebx], xmm0
push eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
call fcn.0048145c
add esp, 0xc
mov edi, dword [ebp - 0x1c]
lea esi, [edi + 0x60]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x7c], 0
xorps xmm0, xmm0
mov word [esi + 0x80], 0
movq qword [esi + 0x84], xmm0
mov byte [ebp - 4], 7
cmp byte [0x4fc6c2], 6
ja 0x43aa3a
push 6
push 0x4deeb8
call fcn.0043fbd0
add esp, 8
push 4
call fcn.0047e643
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax], esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
push ecx
push 0
push eax
push 0x444670
push 0
push 0
call fcn.0048f00a
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x43aac2
cmp dword [esi + 0x88], 0
jne 0x43aad0
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x84], ecx
mov dword [esi + 0x88], eax
mov al, byte [0x4fc6c2]
cmp al, 6
ja 0x43aaa4
push dword [edi + 0xc]
push dword [edi + 8]
push 6
push 0x4dee48
call fcn.0043fbd0
add esp, 0x10
mov eax, edi
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.0047e22a
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x24], 0
call fcn.00480919
call fcn.0048f0bb
int3