joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100032c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x10079740
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008e418]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x6c]
and dword [esp + 0x24], 0xfffffe00
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x5c], 1
mov eax, dword [esp + 0x68]
sub esp, 0x18
mov ecx, esp
cdq
mov byte [ecx + 8], 1
and dword [ecx + 8], 0xfffffeff
mov dword [esp + 0x30], esp
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx], eax
mov dword [ecx + 4], edx
push str.state
lea eax, [esp + 0x38]
push eax
mov ecx, 0x1007df65
mov byte [esp + 0x7c], 2
call fcn.1004d3b9
mov edi, eax
mov byte [esp + 0x74], 1
call fcn.1004c776
mov ecx, 0x1007de80
mov edi, ebp
call fcn.1000d340
test al, al
jne 0x100033c6
sub esp, 0x18
mov esi, esp
mov byte [esi + 8], 4
or dword [esi + 8], 0x100
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
cmp dword [ebp + 0x18], 0x10
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x80], esp
jb 0x10003393
mov ebp, dword [ebp + 4]
jmp 0x10003396
add ebp, 4
push ebp
call fcn.1004bfb1
add esp, 4
mov dword [esi], eax
push 0x1007df68
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0x1007df6c
mov byte [esp + 0x7c], 3
call fcn.1004d3b9
mov edi, eax
mov byte [esp + 0x74], 1
call fcn.1004c776
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x38]
call fcn.1004da89
mov ecx, dword [esp + 0x64]
push ecx
mov ecx, eax
mov byte [esp + 0x60], 5
call fcn.10003170
add esp, 4
cmp dword [esp + 0x4c], 0x10
mov byte [esp + 0x68], al
jb 0x10003400
mov edx, dword [esp + 0x38]
push edx
call fcn.10056169
add esp, 4
lea esi, [esp + 0x1c]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov dword [esp + 0x5c], 0xffffffff
call fcn.1004c6f3
mov al, byte [esp + 0x68]
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret

Function at 0x10003860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10075b1d
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1008e418]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
lea eax, [esi + 0x30]
push eax
mov dword [esi], vtable.CPatchInstaller.0
call fcn.100097c0
lea eax, [esi + 0x50]
xor ebx, ebx
push eax
mov dword [esp + 0x1c], ebx
call fcn.10007800
lea ecx, [esi + 0x10]
push ecx
mov byte [esi + 4], bl
mov byte [esi + 5], bl
mov dword [esi + 8], 3
mov dword [esi + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push ebx
push ebx
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0xc], ebx
call edi
mov dword [esi + 0x2c], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x10003970
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100766e8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1008e418]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x10]
push eax
mov dword [esi], vtable.CPatchInstaller.0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [esi + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [esi + 0x2c]
push edx
call edi
lea edi, [esi + 0x50]
push edi
call fcn.1000b7f0
mov eax, dword [edi + 0x14]
push eax
call fcn.10056169
mov dword [edi + 0x14], 0
mov edi, dword [edi]
push edi
call fcn.10056169
add esi, 0x30
add esp, 8
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 0
call fcn.10009a90
mov eax, dword [esi]
push eax
call fcn.10056169
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x10003a10
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x1007a4c8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008e418]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
cmp dword [eax + 0x18], 0x10
jb 0x10003a4a
mov edi, dword [eax + 4]
jmp 0x10003a4d
lea edi, [eax + 4]
lea eax, [esp + 0x14]
push eax
call fcn.10002a80
sub esp, 0x18
mov ecx, esp
xor ebx, ebx
mov dword [esp + 0x60], esp
mov dword [esp + 0x54], ebx
push 0x10
mov esi, 0xf
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.AutoInstallPatch
mov byte [ecx + 4], bl
call fcn.1000a340
lea ecx, [esp + 0x30]
push ecx
call fcn.10002fa0
add esp, 0x20
cmp al, bl
je 0x10003b09
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x60], esp
push 0x15
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.AutoInstallPatchLevel
lea edi, [ebp + 8]
mov byte [ecx + 4], bl
call fcn.1000a340
lea edx, [esp + 0x30]
push edx
call fcn.10003040
add esp, 0x20
cmp al, bl
je 0x10003b09
push str.patch_auto_install_policy_start
mov byte [ebp + 5], 1
call fcn.100475ec
add esp, 4
cmp dword [0x100923e0], ebx
jne 0x10003afd
push ebx
push ebx
push ebx
push 0x10006b10
push ebx
push ebx
mov dword [0x100923e0], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x10003b19
push str.patch_auto_install_policy_stop
call fcn.100475ec
add esp, 4
mov byte [ebp + 5], bl
lea esi, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.1004c6f3
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
Function at 0x100049e0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x230
mov eax, dword [0x1008e418]
xor eax, esp
mov dword [esp + 0x228], eax
push esi
mov esi, ecx
lea ecx, [esp + 0x28]
push ecx
xor eax, eax
push pe_nt_image_headers32
mov dword [esp + 0x10], 0
mov word [esp + 0x30], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp dword [esi + 0x8c], 8
jb 0x10004a24
mov esi, dword [esi + 0x78]
jmp 0x10004a27
add esi, 0x78
push esi
push str.popatch_ls
lea esi, [esp + 0x14]
call fcn.100460a6
add esp, 8
cmp dword [eax + 0x18], 8
jb 0x10004a44
mov eax, dword [eax + 4]
jmp 0x10004a47
add eax, 4
push eax
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [esp + 0x24], 8
jb 0x10004a67
mov eax, dword [esp + 0x10]
push eax
call fcn.10056169
add esp, 4
lea ecx, [esp + 0x28]
call fcn.1004532e
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edx, edx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], 0
lea eax, [esp + 0x28]
mov word [edi + 4], dx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10004a96
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2c]
mov esi, edi
call fcn.1000a960
mov ecx, dword [esp + 0x22c]
pop esi
xor ecx, esp
mov eax, edi
call fcn.10055232
add esp, 0x230
ret
Function at 0x10004fc0
Capabilities:
Create process on windows
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x10078a28
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x1008e418]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push esi
push edi
mov eax, dword [0x1008e418]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
mov esi, ecx
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], edi
mov word [esp + 0x54], ax
mov ebx, 8
mov dword [esp + 0x78], edi
cmp dword [esi + 0x8c], ebx
jb 0x1000501e
mov eax, dword [esi + 0x78]
jmp 0x10005021
lea eax, [esi + 0x78]
push eax
push str.Test_install_patch:_ls
call fcn.100475ec
add esp, 8
push esi
lea ecx, [esp + 0x54]
call fcn.10004ad0
test al, al
jne 0x10005064
push str.download_patch_err
call fcn.100478a8
add esp, 4
cmp dword [esp + 0x68], ebx
jb 0x1000505d
mov ecx, dword [esp + 0x54]
push ecx
call fcn.10056169
add esp, 4
xor al, al
jmp 0x100051a6
cmp dword [esi + 0xe4], ebx
jb 0x10005074
mov eax, dword [esi + 0xd0]
jmp 0x1000507a
lea eax, [esi + 0xd0]
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x68], ebx
jae 0x10005088
lea ecx, [esp + 0x54]
push eax
push ecx
push str.install_patch_file:_ls__argv:_ls
call fcn.100475ec
add esp, 0xc
push 0x38
lea edx, [esp + 0x1c]
push edi
push edx
call fcn.10061ab0
add esp, 0xc
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x18], 0x40
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
cmp dword [esp + 0x68], ebx
jb 0x100050cf
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], eax
jmp 0x100050d7
lea ecx, [esp + 0x54]
mov dword [esp + 0x24], ecx
cmp dword [esi + 0xe4], ebx
jb 0x100050eb
mov edx, dword [esi + 0xd0]
mov dword [esp + 0x28], edx
jmp 0x100050f5
add esi, 0xd0
mov dword [esp + 0x28], esi
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x10005168
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str.ShellExecuteW_success
call fcn.100475ec
mov edx, dword [esp + 0x50]
add esp, 4
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x10]
push eax
push str.ShellExecuteW_success_dwExitCode:0x_08x
call fcn.100475ec
mov ecx, dword [esp + 0x54]
add esp, 8
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x68], ebx
jb 0x100051a4
mov edx, dword [esp + 0x54]
push edx
jmp 0x1000519c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ShellExecuteW_Err:_d
call fcn.100478a8
mov eax, dword [esp + 0x5c]
add esp, 8
cmp dword [esp + 0x68], ebx
jae 0x1000518a
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x68], ebx
jb 0x100051a4
mov eax, dword [esp + 0x54]
push eax
call fcn.10056169
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.10055232
add esp, 0x6c
ret
Function at 0x10007870
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x100777d2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1008e418]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [edi], 0x1007e600
mov dword [edi + 8], 0x10082824
mov dword [edi + 0x5c], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 0xc]
push esi
mov dword [esp + 0x24], ebx
push edi
mov dword [esp + 0x1c], 1
call fcn.10009bc0
mov dword [esp + 0x20], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
call fcn.1000a7d0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x100923b4]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, dword [esp + 0x2c]
push eax
mov byte [esp + 0x24], 2
call fcn.10009c30
test eax, eax
jne 0x10007978
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + edi + 8]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0x10007967
or eax, 4
and eax, 0x17
mov dword [ecx + 8], eax
test dword [ecx + 0xc], eax
je 0x10007978
push ebx
call fcn.100019b0
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8
Function at 0x1000a7d0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x100745eb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1008e418]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1005411a
push 4
mov dword [esp + 0x20], 0
call fcn.10056628
mov edi, eax
add esp, 4
test edi, edi
je 0x1000a84e
call fcn.10053f1a
mov dword [edi], eax
call fcn.10053d48
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.1005406b
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x1000a843
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.10054093
jmp 0x1000a850
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x1000d430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10075920
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1008e418]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 8], esi
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
push ecx
push edi
mov dword [esp + 0x20], 1
call fcn.1000d9d0
cmp dword [esp + 0x34], 8
jb 0x1000d484
mov edx, dword [esp + 0x20]
push edx
call fcn.10056169
add esp, 4
mov dword [esp + 0x30], esi
xor eax, eax
lea esi, [esp + 0x38]
mov dword [esp + 0x34], 7
mov word [esp + 0x20], ax
call fcn.10005830
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x1000dff0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x1007a1d1
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x1008e418]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008e418]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa0]
mov eax, dword [esp + 0xa4]
xor ebx, ebx
mov dword [esp + 0x18], eax
cmp ebp, ebx
je 0x1000e07d
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000e07d
lea edi, [esp + 0x38]
call fcn.10048c09
mov dword [esp + 0x98], ebx
mov edx, dword [esp + 0x3c]
mov esi, 0x10
cmp dword [esp + 0x50], esi
jae 0x1000e06b
lea edx, [esp + 0x3c]
call fcn.10045aec
test eax, eax
jne 0x1000e0a4
lea ecx, [esp + 0x38]
call fcn.10006bc0
xor al, al
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10055232
add esp, 0x88
ret
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x1000e0b2
lea eax, [esp + 0x3c]
push 0x32e3
push eax
push str.https:___s:_d_globalSmallFile
lea esi, [esp + 0x7c]
call fcn.10046101
and dword [esp + 0x30], 0xfffffe00
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
sub esp, 0xc
mov bl, 3
mov byte [esp + 0xb0], bl
mov esi, esp
mov dword [esp + 0x2c], esp
push str.patch_info
call fcn.1004c4a2
lea eax, [esp + 0x34]
push eax
mov edx, str.type
mov byte [esp + 0xb4], 4
call fcn.1004d62e
mov edi, eax
mov byte [esp + 0xb0], bl
call fcn.1004c776
sub esp, 0x18
mov esi, esp
mov dword [esp + 0x2c], esp
push ebp
call fcn.1004c4a2
lea ecx, [esp + 0x34]
push ecx
mov edx, str.name
mov byte [esp + 0xb4], 5
call fcn.1004d62e
mov edi, eax
mov byte [esp + 0xb0], bl
call fcn.1004c776
sub esp, 0x18
mov esi, esp
mov dword [esp + 0x2c], esp
push 0
call fcn.1004c45d
lea edx, [esp + 0x34]
push edx
mov edx, str.clean
mov byte [esp + 0xb4], 6
call fcn.1004d62e
mov edi, eax
mov byte [esp + 0xb0], bl
call fcn.1004c776
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x58]
call fcn.1004da89
mov ecx, dword [esp + 0x18]
push ecx
lea eax, [esp + 0x58]
lea edx, [esp + 0x74]
mov byte [esp + 0x9c], 7
call fcn.1000dfb0
add esp, 4
lea ecx, [esp + 0x54]
mov bl, al
call fcn.10006bc0
lea esi, [esp + 0x1c]
mov byte [esp + 0x98], 1
call fcn.1004c6f3
lea ecx, [esp + 0x70]
call fcn.10006bc0
lea ecx, [esp + 0x38]
call fcn.10006bc0
mov al, bl
jmp 0x1000e07f
Function at 0x10012200
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x10079d38
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x1008e418]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.10008c70
mov eax, str.podlp_patch
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10012260
sub eax, edx
sar eax, 1
push eax
mov eax, str.podlp_patch
lea ecx, [esp + 0x10]
call fcn.100120d0
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.10008c70
cmp dword [esp + 0x24], 8
jb 0x100122ac
mov edx, dword [esp + 0x10]
push edx
call fcn.10056169
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x10012d90
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0xffffffffffffffff
push 0x10077e38
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008e418]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24]
or esi, 0xffffffff
cmp dword [ebp + 4], 0
jne 0x10012efe
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov esi, eax
test esi, esi
jge 0x10012dfc
cmp esi, 0x80010119
je 0x10012dfc
push str.error_exit1
call fcn.10052058
add esp, 4
jmp 0x10012efe
lea edi, [ebp + 8]
push edi
push 0x1007d8e0
push 1
push 0
push 0x1007d9b0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jge 0x10012e2c
push str.error_exit2
call fcn.10052058
add esp, 4
jmp 0x10012efe
lea ebx, [esp + 0x24]
call fcn.100126b0
mov dword [esp + 0x1c], 0
mov eax, dword [eax]
test eax, eax
je 0x10012e47
mov ecx, dword [eax]
jmp 0x10012e49
xor ecx, ecx
mov eax, dword [edi]
mov edx, dword [eax]
lea edi, [ebp + 0xc]
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10012eb8
mov ebx, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10012eb0
test ebx, ebx
je 0x10012eb0
mov eax, dword [ebx]
test eax, eax
je 0x10012e97
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
test eax, eax
je 0x10012ea7
push eax
call fcn.10056100
add esp, 4
push ebx
call fcn.10056169
add esp, 4
mov dword [esp + 0x24], 0
test esi, esi
jge 0x10012ecb
push str.error_exit3
call fcn.10052058
add esp, 4
jmp 0x10012efe
mov ecx, dword [edi]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov esi, eax
test esi, esi
jge 0x10012ef7
push str.error_exit4
call fcn.10052058
add esp, 4
jmp 0x10012efe
mov dword [ebp + 4], 1
push esi
push str.Initialize_Result:_08x
call fcn.10052058
mov eax, dword [ebp + 4]
add esp, 8
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x100151e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100151f7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10015228
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x10015224
cmp esi, eax
jae 0x10015228
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x10015214
cmp esi, eax
jb 0x1001522e
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x10015430
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
test edi, edi
jne 0x1001543d
xor eax, eax
add esp, 0xc
ret
push esi
lea eax, [esp + 0xc]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [esp + 4], eax
test eax, eax
jbe 0x100154c2
push eax
call fcn.100544f1
mov esi, eax
add esp, 4
test esi, esi
je 0x100154c2
mov ecx, dword [esp + 4]
push esi
push ecx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x100154b9
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
push 0x1007ee8c
push esi
mov dword [esp + 0x18], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100154b9
mov eax, dword [esp + 8]
test eax, eax
je 0x100154b9
mov ecx, dword [eax + 8]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 0xc]
push esi
mov dword [ebx], edx
call fcn.10056100
add esp, 4
mov eax, 1
pop esi
add esp, 0xc
ret
push esi
call fcn.10056100
add esp, 4
xor eax, eax
pop esi
add esp, 0xc
ret

Function at 0x100158c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
cmp dword [esp + 8], 0
push esi
lea esi, [esp + 0xc]
push esi
push 0
lea esi, [esp + 0xc]
push esi
push eax
push ecx
push edx
je 0x100158e5
call fcn.100167e0
neg eax
sbb eax, eax
inc eax
pop esi
pop ecx
ret
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
neg eax
sbb eax, eax
inc eax
pop esi
pop ecx
ret

Function at 0x10015900
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x1008e418]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
mov ebp, dword [esp + 0x220]
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x1e]
push ecx
mov ebx, edx
mov word [esp + 0x20], ax
call fcn.10061ab0
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push ebx
push edi
push esi
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x24], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, eax
neg esi
sbb esi, esi
lea eax, [esp + 0x14]
inc esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10015972
sub eax, edx
sar eax, 1
lea edx, [esp + 0x14]
mov ebx, eax
push edx
mov eax, ebp
call fcn.100169f0
mov ecx, dword [esp + 0x21c]
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10055232
add esp, 0x214
ret