joyce8/EMBER2024-capa huggingface dataset:
Function at 0x808c20
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
sub esp, 0x14
mov ecx, dword [0x1006044]
mov dword [esp + 0xc], ecx
xor ecx, ecx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
test eax, eax
je 0x808c80
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x808c57
cmp edx, dword [eax + 0x10]
jae 0x808c80
mov esi, dword [ecx + 0x10]
mov esi, dword [esi + edx*4]
add esi, dword [ecx]
mov ecx, esi
mov esi, dword [esp + 0xc]
sub esi, dword [0x1006044]
jne 0x808c84
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0
add esp, 0x14
pop ebx
pop esi
jmp fcn.00805c90
xor ecx, ecx
jmp 0x808c57
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
push edi
push esi
push ebx
sub esp, 0x20
mov edx, dword [0x1006044]
mov dword [esp + 0x1c], edx
xor edx, edx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
test eax, eax
je 0x808d30
mov edx, dword [eax + 0x48]
test edx, edx
je 0x808cf0
cmp ecx, dword [eax + 0x10]
jae 0x808cf0
mov ebx, dword [edx + 0x10]
mov ecx, dword [ebx + ecx*4]
add ecx, dword [edx]
je 0x808cf0
movzx ebx, word [ecx + 0x1c]
test edi, edi
jne 0x808d08
lea eax, [ebx + 1]
mov edx, dword [esp + 0x1c]
sub edx, dword [0x1006044]
jne 0x808d3b
add esp, 0x20
pop ebx
pop esi
pop edi
ret
test edi, edi
je 0x808cf7
mov byte [esi], 0
mov dword [eax + 0x1c], 0x18
xor eax, eax
jmp 0x808cd7
sub edi, 1
mov dword [esp], esi
cmp ebx, edi
cmova ebx, edi
add ecx, 0x2e
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.007de188
mov byte [esi + ebx], 0
jmp 0x808cd4
test edi, edi
je 0x808cfe
mov byte [esi], 0
xor eax, eax
jmp 0x808cd7
call fcn.00401690
Function at 0x811230
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [0x1006044]
mov dword [esp + 0xc], edx
xor edx, edx
test eax, eax
je 0x811268
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [eax], xmm0
vmovdqu xmmword [eax + 0x10], xmm0
vmovdqu xmmword [eax + 0x20], xmm0
vmovdqu xmmword [eax + 0x30], xmm0
vmovdqu xmmword [eax + 0x40], xmm0
mov eax, dword [esp + 0xc]
sub eax, dword [0x1006044]
jne 0x811276
leave
ret
call fcn.00401690
nop
nop
nop
nop
nop

Function at 0x8118c0
Capabilities:
Enumerate pe sections

Disassembly:
push edi
push esi
mov esi, eax
push ebx
lea edi, [esi + 0x48]
mov ebx, edx
sub esp, 0x10
mov eax, dword [0x1006044]
mov dword [esp + 0xc], eax
xor eax, eax
mov eax, dword [edx]
test eax, eax
js 0x811a28
mov edx, 0x4034b50
mov eax, ebx
call fcn.0081be70
mov edx, 0x403
mov eax, ebx
call fcn.0081be70
mov edx, 0x2d
mov eax, ebx
call fcn.0081be70
movzx edx, word [esi + 0x30]
mov eax, ebx
call fcn.0081be70
movzx edx, word [esi + 2]
mov eax, ebx
call fcn.0081be70
mov edx, dword [esi + 4]
mov eax, ebx
call fcn.0081be70
movzx edx, word [esi + 6]
mov eax, ebx
call fcn.0081be70
mov edx, dword [esi + 8]
mov eax, ebx
call fcn.0081be70
movzx edx, word [esi + 0xa]
mov eax, ebx
call fcn.0081be70
mov edx, 0xffffffff
mov eax, ebx
call fcn.0081be70
mov edx, 0xffffffff
mov eax, ebx
call fcn.0081be70
mov edx, 0xffffffff
mov eax, ebx
call fcn.0081be70
mov edx, 0xffffffff
mov eax, ebx
call fcn.0081be70
mov edx, dword [esi + 0x20]
mov eax, ebx
call fcn.0081be70
mov eax, dword [esi + 0x24]
lea edx, [eax + 0x14]
mov eax, ebx
call fcn.0081be70
mov ecx, dword [esi + 0x20]
mov edx, edi
mov eax, ebx
call fcn.0081bfc0
mov edx, 1
mov eax, ebx
call fcn.0081be70
mov edx, 0x10
mov eax, ebx
call fcn.0081be70
mov edx, dword [esi + 0x18]
mov eax, ebx
call fcn.0081be70
mov edx, dword [esi + 0x1a]
mov eax, ebx
call fcn.0081be70
mov edx, dword [esi + 0x1c]
mov eax, ebx
call fcn.0081be70
movzx edx, word [esi + 0x1e]
mov eax, ebx
call fcn.0081be70
mov edx, dword [esi + 0x10]
mov eax, ebx
call fcn.0081be70
mov edx, dword [esi + 0x12]
mov eax, ebx
call fcn.0081be70
mov edx, dword [esi + 0x14]
mov eax, ebx
call fcn.0081be70
movzx edx, word [esi + 0x16]
mov eax, ebx
call fcn.0081be70
mov ecx, dword [esi + 0x24]
test ecx, ecx
jne 0x811a88
mov eax, dword [esp + 0xc]
sub eax, dword [0x1006044]
jne 0x811aa4
add esp, 0x10
pop ebx
pop esi
pop edi
ret
mov edx, 0x8b1f
mov eax, ebx
call fcn.0081be70
mov edx, 0x808
mov eax, ebx
call fcn.0081be70
mov edx, dword [esi + 4]
mov eax, ebx
call fcn.0081be70
movzx edx, word [esi + 6]
mov eax, ebx
call fcn.0081be70
mov eax, ebx
mov edx, 0xb02
call fcn.0081be70
mov eax, dword [esp + 0xc]
sub eax, dword [0x1006044]
jne 0x811aa4
mov ecx, dword [esi + 0x20]
add esp, 0x10
mov edx, edi
mov eax, ebx
pop ebx
pop esi
add ecx, 1
pop edi
jmp fcn.0081bfc0
mov eax, dword [esp + 0xc]
sub eax, dword [0x1006044]
jne 0x811aa4
mov edx, dword [esi + 0x40]
add esp, 0x10
mov eax, ebx
pop ebx
pop esi
pop edi
jmp fcn.0081bfc0
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
Function at 0x811ba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ecx, dword [0x1006044]
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov esi, dword [edi]
mov ecx, dword [edi + 4]
test eax, eax
jle 0x811c0e
add eax, edx
mov dword [esp + 0xc], edi
lea ebx, [edi + 8]
mov dword [esp + 8], eax
lea esi, [esi]
lea eax, [esi + 1]
movzx esi, al
lea edi, [ebx + esi*4]
mov eax, dword [edi]
add ecx, eax
movzx ecx, cl
lea ebp, [ebx + ecx*4]
mov ebp, dword [ebp]
mov dword [edi], ebp
lea edi, [ebx + ecx*4]
mov dword [edi], eax
add eax, ebp
movzx eax, al
mov eax, dword [ebx + eax*4]
xor byte [edx], al
add edx, 1
mov eax, dword [esp + 8]
cmp edx, eax
jne 0x811bd8
mov edi, dword [esp + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esp + 0x1c]
sub eax, dword [0x1006044]
jne 0x811c27
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.00401690
nop
nop
nop
nop
Function at 0x81ea20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c
mov ecx, dword [0x1006044]
mov dword [esp + 0xc], ecx
xor ecx, ecx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
sub ecx, dword [0x1006044]
jne 0x81ea4d
xor ecx, ecx
add esp, 0x1c
jmp fcn.007f4990
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x427840
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x96c
mov eax, dword [0x7e500c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x40
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x260], 0x44
push 0
push eax
call fcn.00663090
movups xmm0, xmmword [str.explorer.exe]
mov ax, word [0x71a694]
push 0x1ee
mov word [ebp - 0x1f8], ax
lea eax, [ebp - 0x1f6]
movups xmmword [ebp - 0x210], xmm0
push 0
movq xmm0, qword [0x71a68c]
push eax
movq qword [ebp - 0x200], xmm0
call fcn.00663090
add esp, 0x18
lea eax, [ebp - 0x540]
push eax
lea eax, [ebp - 0x260]
push eax
push 0
push 0
push 0x44
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x427a20
mov eax, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov dword [ebp - 0x760], eax
mov eax, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov dword [ebp - 0x758], eax
mov eax, dword [sym.imp.KERNEL32.DLL_Sleep]
push 0
mov dword [ebp - 0x754], eax
mov eax, dword [sym.imp.KERNEL32.DLL_ExitProcess]
push 0
mov dword [ebp - 0x750], eax
lea eax, [ebp - 0x764]
push 0
push eax
push dword [ebp - 0x540]
mov dword [ebp - 0x75c], ebx
call esi
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
push 0x104
lea eax, [ebp - 0x74c]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x530]
mov ecx, 0x80
push eax
push dword [ebp - 0x53c]
mov esi, 0x4277d0
lea edi, [ebp - 0x964]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x530], 0x10003
call dword [sym.imp.KERNEL32.DLL_GetThreadContext]
mov esi, dword [ebp - 0x46c]
add esi, 0xfffffbdc
and esi, 0xffffffe0
mov dword [ebp - 0x968], esi
lea eax, [esi - 4]
mov dword [ebp - 0x46c], eax
lea eax, [esi + 4]
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0x214]
push eax
push 0x40
push 0x424
push esi
push dword [ebp - 0x540]
call dword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
push 0
push 0x424
lea eax, [ebp - 0x968]
push eax
push esi
push dword [ebp - 0x540]
call dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
push 0x424
push esi
push dword [ebp - 0x540]
call dword [sym.imp.KERNEL32.DLL_FlushInstructionCache]
lea eax, [ebp - 0x530]
push eax
push dword [ebp - 0x53c]
call dword [sym.imp.KERNEL32.DLL_SetThreadContext]
push dword [ebp - 0x53c]
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
push dword [ebp - 0x53c]
call ebx
push dword [ebp - 0x540]
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
Function at 0x42d8f0
Capabilities:
Check if file exists
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6aca79
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x7e500c]
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 esi, dword [ebp + 8]
mov ecx, esi
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
call fcn.00433a40
mov dword [ebp - 4], 0
cmp dword [edi + 0x10], 0
mov dword [ebp - 0x1c], 1
je 0x42d96a
push ecx
mov edx, edi
mov ecx, esi
call fcn.005cc180
mov ecx, esi
call fcn.005cc6b0
add esp, 4
push ecx
mov edx, ebx
mov ecx, esi
call fcn.005cc180
mov edi, dword [0x806bd8]
add esp, 4
test edi, edi
je 0x42da18
push dword [ebp - 0x18]
movzx eax, word [ebp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x42da18
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x42da18
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push ebx
push edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
cmp dword [esi + 0x14], 8
mov ebx, eax
mov ecx, esi
jb 0x42d9c4
mov ecx, dword [esi]
push 0
push 0x200080
push 2
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
test edi, edi
je 0x42da18
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push edi
test eax, eax
jne 0x42da01
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x42da18
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42da11
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
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.00650ddc
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4302c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x7e500c]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push 0xc
xor eax, eax
mov dword [esp + 0x18], 0
push str._C_taskmgr__
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
call fcn.004271d0
cmp dword [esp + 0x18], 8
lea eax, [esp + 4]
push 0
cmovae eax, dword [esp + 8]
push 0
push eax
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
lea ecx, [esp + 4]
setg bl
call fcn.00427170
mov ecx, dword [esp + 0x1c]
mov al, bl
pop ebx
xor ecx, esp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
Function at 0x4373e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x4374c6
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x4374b5
jg 0x437420
test edx, edx
je 0x4374b5
nop dword [eax]
call fcn.00438870
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x437474
jg 0x437437
test esi, esi
je 0x437474
cmp ebx, eax
jg 0x437447
jl 0x437441
cmp edi, esi
jae 0x437447
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.006631f0
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x437499
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
movzx eax, byte [eax]
push eax
call dword [edx + 0xc]
cmp eax, 0xffffffff
je 0x4374af
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x437420
jl 0x4374af
test edi, edi
jne 0x437420
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x4374e8
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x4374ea
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x437568
jg 0x4374fd
test esi, esi
je 0x437568
test eax, eax
jl 0x437542
jg 0x437507
test ebx, ebx
je 0x437542
cmp edi, eax
jg 0x437517
jl 0x437511
cmp esi, ebx
jae 0x437517
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.006631f0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
add edx, ebx
sub esi, ebx
mov eax, dword [ecx + 0x30]
sbb edi, dword [esp + 0x14]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
jmp 0x437545
mov edx, dword [ebp + 8]
test edi, edi
jl 0x437568
jg 0x43754f
test esi, esi
je 0x437568
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x437568
push eax
push esi
push 1
push edx
call fcn.00670ce0
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x437ab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x7e500c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x437ae0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x437b1c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x437b1c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x437c03
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x437b44
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x437b77
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.0066f901
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x437c03
cmp eax, 1
jle 0x437bd6
cmp eax, 3
jne 0x437c03
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.0066f901
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x437bf3
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00670ce0
add esp, 0x10
cmp edi, eax
jne 0x437c03
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x437b07
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00650ddc
mov esp, ebp
pop ebp
ret 4
Function at 0x4385c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x7e500c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x43867a
cmp byte [esi + 0x3d], 0
je 0x43867a
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x438668
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x438630
sub eax, 1
je 0x438634
sub eax, 2
jne 0x438668
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x438651
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00670ce0
add esp, 0x10
cmp edi, eax
jne 0x438668
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00650ddc
mov esp, ebp
pop ebp
ret

Function at 0x438c00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ada10
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x7e500c]
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.00650ded
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.006523eb
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 0x43e7a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ae319
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x7e500c]
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
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x48], 0
call fcn.00427050
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0xc
xor eax, eax
mov dword [ebp - 0x30], 0
push str.products.xml
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004271d0
push ecx
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.005cc180
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.00427170
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
xor esi, esi
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], esi
je 0x43e922
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43e922
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x34]
call fcn.005e1060
test al, al
je 0x43e8c1
push 0x20
xor eax, eax
mov dword [ebp - 0x50], esi
push str.__Products_Product_DriverXmlPath
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
call fcn.004271d0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 4
push eax
lea eax, [edi + 0x18]
mov dword [ebp - 0x48], 1
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.005e6020
test al, al
je 0x43e8c1
mov edi, dword [ebp - 0x44]
test edi, edi
jle 0x43e8c4
mov bl, 1
jmp 0x43e8c6
mov edi, dword [ebp - 0x44]
xor bl, bl
mov dword [ebp - 4], 3
test byte [ebp - 0x48], 1
je 0x43e8db
lea ecx, [ebp - 0x60]
call fcn.00427170
lea eax, [ebp - 0x28]
test bl, bl
je 0x43e913
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push str.Successfully_parsed_products.xml_at__s
push 0x71a27c
push 0x71a27c
push str.AsyncProductInstallManager
push str.WAMB
push 0x1e
call fcn.00432560
mov esi, dword [ebp - 0x30]
add esp, 0x1c
jmp 0x43e958
mov esi, dword [ebp - 0x30]
mov ecx, 0x28
mov edx, str.Invalid_product.xml_at__s
jmp 0x43e92f
lea eax, [ebp - 0x28]
mov ecx, 0x1e
mov edx, str.Couldnt_find_any_product.xml_at__s
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push edx
push 0x71a27c
push 0x71a27c
push str.AsyncProductInstallManager
push str.WAMB
push ecx
call fcn.00432560
add esp, 0x1c
xor edi, edi
mov byte [ebp - 4], 6
test esi, esi
je 0x43e968
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor esi, esi
cmp byte [ebp - 0x2c], 0
je 0x43e974
call dword [sym.imp.ole32.dll_CoUninitialize]
test esi, esi
je 0x43e97e
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
lea ecx, [ebp - 0x28]
call fcn.00427170
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.00650ddc
mov esp, ebp
pop ebp
ret
Function at 0x440c20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
cmp byte [ebp + 8], 0
push esi
push edi
mov edi, ecx
jne 0x440cc8
push str.Fetching_Hardware_Summary
push 0x71a27c
push 0x71a27c
push str.CompatibilityCheck
push str.WAMB
push 0x1e
call fcn.00432560
call fcn.00432610
call fcn.00432610
push 0
lea ecx, [edi + 4]
mov edx, dword [eax + 0x134]
call fcn.005ed110
add esp, 0x1c
test al, al
jne 0x440c9b
push str.Failed_to_get_HardwareUtils_JSON
push 0x71a27c
push 0x71a27c
push str.CompatibilityCheck
push str.WAMB
push 0x32
call fcn.00432560
add esp, 0x18
push str.Fetching_Hardware_Summary_done
push 0x71a27c
push 0x71a27c
push str.CompatibilityCheck
push str.WAMB
push 0x1e
call fcn.00432560
add esp, 0x18
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x440cd8
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push 8
call fcn.00650ded
add esp, 4
mov esi, eax
xorps xmm0, xmm0
mov dword [esp + 0xc], esi
push 0
push 0
push esi
push 0x5e8d60
push 0
movq qword [esi], xmm0
push 0
mov dword [esi], 0x440d60
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
jne 0x440d4a
push 8
push esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.0065106e
push str.failed_to_create_a_new_Fetch_Hardware_Summary_Workflow_thread.
push 0x71a27c
push 0x71a27c
push str.CompatibilityCheck
push str.WAMB
push 0x28
call fcn.00432560
add esp, 0x20
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov dword [edi + 0x1c], eax
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4