joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10037a50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1026761a
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10314008]
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 ebx, ecx
xorps xmm0, xmm0
push 0x60
movlpd qword [ebp - 0x18], xmm0
call fcn.1025b3f7
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
push 0x60
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [esi], vtable.RC::RCCommandBase.0
mov dword [esi + 4], 0
mov byte [ebp - 4], 1
mov dword [esi], vtable.RC::RCSoftManagementCommandBase.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x10]
mov dword [esi], vtable.RC::RCSoftHttpRequestCommandBase.0
call fcn.100930c0
mov byte [ebp - 4], 4
mov eax, dword [ebp + 8]
mov dword [esi], vtable.RC::RCCommandTabPagePopupData.0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0xc]
movq xmm0, qword [eax]
movq qword [esi + 0x54], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x5c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
push dword [ebp - 0x20]
mov dword [ebp - 0x18], 0
push esi
mov dword [ebp - 0x14], 0
call fcn.1003c960
mov dword [ebp - 4], 5
lea esi, [ebx + 0x30]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x1c], esi
mov dword [eax + 8], ebx
test esi, esi
je 0x10037b5f
mov eax, dword [esi]
test eax, eax
je 0x10037b5f
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 6
mov ecx, ebx
call fcn.10039740
mov edi, dword [ebp - 0x14]
test al, al
jne 0x10037b78
mov ebx, 0xc0011103
jmp 0x10037bbc
cmp dword [ebx + 0x2c], 0
jne 0x10037b85
mov ebx, 0xc0011102
jmp 0x10037bbc
sub esp, 8
mov dword [ebp - 0x20], esp
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
test edi, edi
je 0x10037ba2
lock inc dword [edi + 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edi
mov byte [ebp - 4], 7
mov byte [ebp - 4], 6
mov ecx, dword [ebx + 0x2c]
call fcn.10064ab0
mov ebx, eax
mov byte [ebp - 4], 5
test esi, esi
je 0x10037bd8
mov eax, dword [esi]
test eax, eax
je 0x10037bd1
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10037c04
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10037c04
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x10037c04
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov eax, ebx
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.1025b3e6
mov esp, ebp
pop ebp
ret 8
Function at 0x10037e60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10267712
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10314008]
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 ebx, ecx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push 0x2c
movlpd qword [ebp - 0x18], xmm0
call fcn.1025b3f7
mov edi, eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0
push 0x2c
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [edi], vtable.RC::RCCommandBase.0
mov dword [edi + 4], 0
mov byte [ebp - 4], 1
mov dword [edi], vtable.RC::RCSoftManagementCommandBase.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov byte [ebp - 4], 2
lea ecx, [edi + 0x10]
push esi
mov dword [edi], vtable.RC::RCCommandDeleteInstallFile.0
call fcn.100062d0
mov byte [ebp - 4], 3
mov dword [edi + 0x28], 7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
push dword [ebp - 0x20]
mov dword [ebp - 0x18], 0
push edi
mov dword [ebp - 0x14], 0
call fcn.1003cae0
mov dword [ebp - 4], 4
lea esi, [ebx + 0x30]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x1c], esi
mov dword [eax + 8], ebx
test esi, esi
je 0x10037f47
mov eax, dword [esi]
test eax, eax
je 0x10037f47
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 5
mov ecx, ebx
call fcn.10039740
mov edi, dword [ebp - 0x14]
test al, al
jne 0x10037f60
mov ebx, 0xc0011103
jmp 0x10037fa4
cmp dword [ebx + 0x2c], 0
jne 0x10037f6d
mov ebx, 0xc0011102
jmp 0x10037fa4
sub esp, 8
mov dword [ebp - 0x20], esp
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
test edi, edi
je 0x10037f8a
lock inc dword [edi + 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edi
mov byte [ebp - 4], 6
mov byte [ebp - 4], 5
mov ecx, dword [ebx + 0x2c]
call fcn.10064ab0
xor ebx, ebx
mov byte [ebp - 4], 4
test esi, esi
je 0x10037fc0
mov eax, dword [esi]
test eax, eax
je 0x10037fb9
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10037fec
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10037fec
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x10037fec
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov eax, ebx
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.1025b3e6
mov esp, ebp
pop ebp
ret 8
Function at 0x10039570
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10267b13
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10314008]
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 edi, ecx
mov dword [ebp - 0x2c], 0
cmp dword [edi + 0x34], 0
jne 0x10039715
push 0xa4
call fcn.1025b3f7
mov esi, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], 0
push 0xa4
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
push 0xf
push str.UIProcessThread
mov word [ebp - 0x28], ax
call fcn.10004d70
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov dword [ebp - 0x2c], 1
call fcn.100642f0
mov dword [ebp - 4], 2
mov dword [edi + 0x34], eax
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x28]
and eax, 0xfffffffe
mov dword [ebp - 0x2c], eax
call fcn.10004cc0
mov ecx, dword [edi + 0x34]
push 1
call fcn.100646e0
test eax, eax
jne 0x10039715
cmp dword [0x1031422c], eax
je 0x10039711
push eax
mov ecx, 0x10314228
call fcn.10061e90
mov eax, dword [0x1031422c]
cmp byte [eax + 0x54], 0
je 0x10039711
cmp dword [eax + 0x58], 3
jb 0x10039711
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x28]
push 0x13
push 0x102b2254
call fcn.10004d70
push 0x6d4
push str.RC::RCSoftInfoDataMgr::InitUICommandThread
push 0x102b21a0
lea eax, [ebp - 0x28]
mov ecx, 0x10314228
push eax
push 3
call fcn.10062830
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bl, bl
je 0x10039702
lea eax, [ebp - 0x28]
mov ecx, 0x10314228
push eax
call fcn.10062b70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004cc0
xor al, al
jmp 0x10039717
mov al, 1
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.1025b3e6
mov esp, ebp
pop ebp
ret
Function at 0x10039740
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10267b73
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10314008]
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 edi, ecx
mov dword [ebp - 0x2c], 0
cmp dword [edi + 0x2c], 0
jne 0x100398e5
push 0xa4
call fcn.1025b3f7
mov esi, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], 0
push 0xa4
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
push 0x11
push str.BackProcessThread
mov word [ebp - 0x28], ax
call fcn.10004d70
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov dword [ebp - 0x2c], 1
call fcn.100642f0
mov dword [ebp - 4], 2
mov dword [edi + 0x2c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x28]
and eax, 0xfffffffe
mov dword [ebp - 0x2c], eax
call fcn.10004cc0
mov ecx, dword [edi + 0x2c]
push 2
call fcn.100646e0
test eax, eax
jne 0x100398e5
cmp dword [0x1031422c], eax
je 0x100398e1
push eax
mov ecx, 0x10314228
call fcn.10061e90
mov eax, dword [0x1031422c]
cmp byte [eax + 0x54], 0
je 0x100398e1
cmp dword [eax + 0x58], 3
jb 0x100398e1
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x28]
push 0x11
push 0x102b2374
call fcn.10004d70
push 0x6e9
push str.RC::RCSoftInfoDataMgr::InitBackCommandThread
push 0x102b21a0
lea eax, [ebp - 0x28]
mov ecx, 0x10314228
push eax
push 3
call fcn.10062830
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bl, bl
je 0x100398d2
lea eax, [ebp - 0x28]
mov ecx, 0x10314228
push eax
call fcn.10062b70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004cc0
xor al, al
jmp 0x100398e7
mov al, 1
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.1025b3e6
mov esp, ebp
pop ebp
ret
Function at 0x100430b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10268dc0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10314008]
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 edi, ecx
cmp dword [0x1031422c], 0
je 0x10043199
push 0
mov ecx, 0x10314228
call fcn.10061e90
mov eax, dword [0x1031422c]
cmp byte [eax + 0x54], 0
je 0x10043199
cmp dword [eax + 0x58], 4
jb 0x10043199
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push dword [edi]
push 0x102b27e4
push eax
call fcn.100fece0
add esp, 0xc
lea eax, [ebp - 0x2c]
mov ecx, 0x10314228
push 0x1d
push str.RC::RCSemSoftUtil::AddSoftInfo
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_src_softbox_statisticsmodule_rcsemsoftutil.cpp
push eax
push 4
call fcn.10062830
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bl, bl
je 0x1004318a
lea eax, [ebp - 0x2c]
mov ecx, 0x10314228
push eax
call fcn.10062b70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10004cc0
mov eax, dword [0x103183e8]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 0x103183e8
test eax, eax
je 0x100431b7
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 1
mov edx, dword [0x103183e0]
mov esi, edx
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100431ee
mov ecx, dword [edi]
cmp dword [eax + 0x10], ecx
jge 0x100431db
mov eax, dword [eax + 8]
jmp 0x100431df
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x100431d1
cmp esi, edx
je 0x100431ee
cmp ecx, dword [esi + 0x10]
jge 0x1004320e
push ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], edi
push eax
push ecx
call fcn.10044a90
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x30]
push eax
call fcn.10044b60
mov esi, dword [ebp - 0x30]
mov eax, dword [edi]
lea ecx, [esi + 0x18]
mov dword [esi + 0x14], eax
lea eax, [edi + 4]
cmp ecx, eax
je 0x10043230
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x10043227
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.10004d70
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x103183e8]
test eax, eax
je 0x10043247
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x14], 0
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.1025b3e6
mov esp, ebp
pop ebp
ret
Function at 0x10043360
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10268e50
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10314008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
cmp dword [0x1031422c], 0
je 0x1004344a
push 0
mov ecx, 0x10314228
call fcn.10061e90
mov eax, dword [0x1031422c]
cmp byte [eax + 0x54], 0
je 0x1004344a
cmp dword [eax + 0x58], 4
jb 0x1004344a
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x34]
push esi
push 0x102b27e4
push eax
call fcn.100fece0
add esp, 0xc
lea eax, [ebp - 0x34]
mov ecx, 0x10314228
push 0x2e
push str.RC::RCSemSoftUtil::PopSoftStatistic
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_src_softbox_statisticsmodule_rcsemsoftutil.cpp
push eax
push 4
call fcn.10062830
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bl, bl
je 0x1004343b
lea eax, [ebp - 0x34]
mov ecx, 0x10314228
push eax
call fcn.10062b70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10004cc0
mov eax, dword [0x103183e8]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 0x103183e8
test eax, eax
je 0x10043468
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
mov ecx, 0x103183e0
call fcn.10043620
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x103183e0]
je 0x100434a6
push eax
lea eax, [ebp - 0x18]
mov ecx, 0x103183e0
push eax
call fcn.10043cc0
mov bl, 1
jmp 0x100434a8
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x103183e8]
test eax, eax
je 0x100434bf
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1025b3e6
mov esp, ebp
pop ebp
ret
Function at 0x10053cb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1026c051
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10314008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea esi, [edx + 4]
lea ecx, [esi + 8]
mov dword [ebp - 0x10], edx
mov eax, dword [edi]
mov dword [edx], eax
mov dword [ebp + 8], esi
mov eax, dword [edi + 4]
mov dword [esi], eax
mov eax, dword [edi + 8]
mov dword [esi + 4], eax
lea eax, [edi + 0xc]
push eax
call fcn.100062d0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x44]
mov eax, dword [edi + 0x24]
mov dword [esi + 0x20], eax
movzx eax, byte [edi + 0x28]
mov byte [esi + 0x24], al
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x30], eax
movzx eax, byte [edi + 0x38]
mov byte [esi + 0x34], al
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x38], eax
movzx eax, byte [edi + 0x40]
mov byte [esi + 0x3c], al
mov eax, dword [edi + 0x44]
mov dword [esi + 0x40], eax
lea eax, [edi + 0x48]
push eax
call fcn.1004b740
mov byte [ebp - 4], 1
movzx eax, byte [edi + 0x104]
mov byte [esi + 0x100], al
movzx eax, byte [edi + 0x105]
mov byte [esi + 0x101], al
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10062b70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1026ec80
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10314008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
mov edi, dword [ebp + 8]
test eax, eax
je 0x10062c50
cmp byte [eax + 0x54], 0
je 0x10062c50
add eax, 0x1c
lea ecx, [ebp - 0x38]
push eax
call fcn.10002e60
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x10062bd2
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10062c41
push 0
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.10109c70
add esp, 4
push 2
push 0
push 0
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x30]
push 0
push ecx
push dword [ebp - 0x1c]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.10004750
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.10002eb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1025b3e6
mov esp, ebp
pop ebp
ret 4
Function at 0x10062ce0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x10314008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x410
lea eax, [ebp - 0x414]
mov edi, edx
push 0
push eax
mov esi, ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x418], 0
lea eax, [ebp - 0x418]
push eax
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x10062d55
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x10062d67
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x10062d55
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1025b3e6
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x414]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10062d70
sub edx, esi
lea eax, [ebp - 0x414]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.10004d70
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x10062d9f
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.1025b3e6
mov esp, ebp
pop ebp
ret
Function at 0x10069400
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [edx + 0x14], 8
push ebx
mov bl, 1
mov dword [ebp - 4], 0
jb 0x10069418
mov edx, dword [edx]
lea eax, [ebp - 4]
push eax
push 0x20219
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1006951f
mov eax, dword [ebp - 4]
test eax, eax
je 0x1006951f
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
cmp dword [esi + 0x14], 8
jb 0x1006945e
mov ecx, dword [esi]
lea edx, [ebp - 8]
push edx
push 0
lea edx, [ebp - 0xc]
push edx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10069487
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1006949e
mov ecx, dword [ebp + 0xc]
push eax
push 0x102a3984
call fcn.10004d70
jmp 0x10069509
add eax, 2
push edi
push eax
call fcn.1025b86b
mov edi, eax
mov eax, dword [ebp - 8]
add eax, 2
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x100694c4
mov esi, dword [esi]
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100694e1
xor bl, bl
jmp 0x100694ff
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100694e6
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp + 0xc]
push edi
call fcn.10004d70
push edi
call fcn.1025b866
add esp, 4
pop edi
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x10069517
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1006b6a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1026f6f1
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x10314008]
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 ebx, edx
mov esi, ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edi, esi
cmp dword [esi + 0x14], 8
jb 0x1006b6f2
mov edi, dword [esi]
lea ecx, [ebp - 0x218]
mov edx, 0x104
mov eax, ecx
sub edi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x1006b71f
movzx eax, word [edi + ecx]
test ax, ax
je 0x1006b71f
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x1006b701
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
lea ecx, [ebp - 0x264]
call fcn.100062d0
mov edx, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.10101470
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x234]
call fcn.100ffe80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
cmp dword [ebp - 0x220], 8
mov edx, 0x102b3a60
cmovae ecx, dword [ebp - 0x234]
call fcn.100fe6b0
test al, al
jne 0x1006b7f2
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x234]
mov edx, str..msi
cmovae ecx, dword [ebp - 0x234]
call fcn.100fe6b0
test al, al
jne 0x1006b7f2
cmp dword [esi + 0x14], 8
jb 0x1006b7bd
mov esi, dword [esi]
push 1
push 0
push 0
push esi
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
push 0
call esi
cmp eax, 0x20
jae 0x1006b7e8
push 1
push 0
push 0
lea eax, [ebp - 0x218]
push eax
push 0
push 0
call esi
mov esi, 0xc0011150
jmp 0x1006b8c0
lea ecx, [ebp - 0x24c]
call fcn.10004710
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x234]
cmp dword [ebp - 0x220], 8
mov edx, str..msi
cmovae ecx, dword [ebp - 0x234]
call fcn.100fe6b0
test al, al
je 0x1006b850
push 0x10
push str._msiexec.exe___i
lea ecx, [ebp - 0x24c]
call fcn.10004d70
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1006b83f
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x24c]
push eax
call fcn.10008d40
jmp 0x1006b873
lea eax, [ebp - 0x24c]
cmp eax, esi
je 0x1006b873
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1006b864
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x24c]
push eax
call fcn.10004d70
cmp byte [ebp + 8], 0
je 0x1006b88c
push ecx
mov edx, ebx
lea ecx, [ebp - 0x24c]
call fcn.10077970
add esp, 4
jmp 0x1006b8af
mov dl, byte [ebp + 0xc]
lea eax, [ebp - 0x21c]
push eax
push ebx
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x21c], 0
call fcn.10077c30
add esp, 8
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.10004610
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0
call fcn.10004610
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 0xffffffff
call fcn.10004610
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.1025b3e6
mov esp, ebp
pop ebp
ret