joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464ad0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59243f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5ee034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [edi + 4]
push eax
lea ecx, [eax + 0x94]
call fcn.00465210
mov esi, dword [edi + 4]
add esp, 4
sub esi, 0x94
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 4
lea ecx, [esi + 0x7c]
call fcn.00404570
mov byte [ebp - 4], 3
lea ecx, [esi + 0x64]
call fcn.00404570
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.00404570
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.00404570
mov byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.00404570
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00404570
mov eax, dword [ebp + 8]
add dword [edi + 4], 0xffffff6c
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4657e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59262f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5ee034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 4
lea ecx, [esi + 0x7c]
call fcn.00404570
mov byte [ebp - 4], 3
lea ecx, [esi + 0x64]
call fcn.00404570
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.00404570
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.00404570
mov byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.00404570
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00404570
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x466a40
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5927cf
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5ee034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.00419500
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.00419500
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.00419500
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.00419500
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov al, byte [esi + 0x60]
mov byte [edi + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.00419500
mov byte [ebp - 4], 4
lea eax, [esi + 0x7c]
push eax
lea ecx, [edi + 0x7c]
call fcn.00419500
mov dword [ebp - 4], 0xffffffff
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 4
Function at 0x468c90
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0x468cc8
mov edx, dword [esp + 4]
test edx, edx
je 0x468cc8
cmp dword [eax], 0xffffffff
je 0x468cc8
mov eax, dword [esp + 0xc]
push 0
push eax
push dword [esp + 0x10]
mov dword [eax], 0
mov eax, dword [ecx]
push edx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x468cc8
mov al, 1
ret 0xc
xor al, al
ret 0xc

Function at 0x468cd0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx]
push esi
push edi
test eax, eax
je 0x468d0a
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x468d0a
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x468d0a
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
push 0
push esi
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x468d0a
cmp edi, dword [esi]
jne 0x468d0a
pop edi
mov al, 1
pop esi
ret 0xc
pop edi
xor al, al
pop esi
ret 0xc

Function at 0x468d50
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x5ee034]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push esi
push edi
mov edi, dword [esp + 0x14]
test eax, eax
je 0x468db3
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x468db3
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x468d8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x468db3
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, esi
mov dword [edi], ecx
adc eax, 0
mov dword [edi + 4], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0057d0c6
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.0057d0c6
add esp, 8
ret 4

Function at 0x468eb0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
je 0x468f5e
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
push 1
push 0
push 0
movlpd qword [esp + 0x28], xmm0
call fcn.00468dd0
test al, al
je 0x468f5e
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x10]
push eax
push 0
push edi
push dword [ebp + 8]
xorps xmm0, xmm0
mov ecx, esi
movlpd qword [esp + 0x20], xmm0
call fcn.00468dd0
test al, al
je 0x468f5e
mov eax, dword [ebp + 8]
xor bl, bl
cmp dword [esp + 0x10], eax
jne 0x468f34
cmp dword [esp + 0x14], edi
jne 0x468f34
mov eax, dword [esi]
test eax, eax
jne 0x468f21
xor bl, bl
jmp 0x468f34
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x468f1d
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne bl
lea eax, [esp + 0x10]
xorps xmm0, xmm0
push eax
push 0
push dword [esp + 0x24]
mov ecx, esi
movlpd qword [esp + 0x1c], xmm0
push dword [esp + 0x24]
call fcn.00468dd0
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46a510
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x5ee034]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push esi
push edi
mov edi, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x46a575
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x46a550
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x46a575
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, esi
mov dword [edi], ecx
adc eax, 0
mov dword [edi + 4], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0057d0c6
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.0057d0c6
add esp, 8
ret 4

Function at 0x46a670
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
mov eax, dword [0x5ee034]
xor eax, esp
mov dword [esp + 4], eax
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, ecx
push esi
mov dword [ebx], 0
push edi
cmp dword [ebp], 0xffffffff
mov edi, dword [esp + 0x1c]
je 0x46a705
mov esi, dword [esp + 0x20]
mov ecx, 0x100000
nop dword [eax]
nop word [eax + eax]
cmp esi, 0x100000
mov dword [esp + 0x10], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [esp + 0x14]
push ecx
push eax
push edi
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x10]
add dword [ebx], ecx
test eax, eax
je 0x46a705
test ecx, ecx
je 0x46a6ee
add edi, ecx
sub esi, ecx
mov ecx, 0x100000
jne 0x46a6b0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0057d0c6
add esp, 8
ret 0xc
mov ecx, dword [esp + 0x14]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0057d0c6
add esp, 8
ret 0xc
Function at 0x46dc00
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x5ee034]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, ecx
mov dword [esp + 4], 0x114
push 0x110
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [esi], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x46dc97
cmp dword [esp + 8], 6
jb 0x46dc97
mov byte [esi], 1
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.0057d0c6
add esp, 0x118
ret

Function at 0x46dcb0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x593370
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x5ee034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.wintrust.dll
lea ecx, [ebp - 0x28]
call fcn.00406350
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.0046eb70
mov ecx, eax
call fcn.0046ec30
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404570
push str.crypt32.dll
lea ecx, [ebp - 0x40]
call fcn.00406350
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call fcn.0046eb70
mov ecx, eax
call fcn.0046ec30
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404570
test ebx, ebx
je 0x46ddc5
test esi, esi
je 0x46ddc5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminCalcHashFromFileHandle
push ebx
call esi
push str.CryptCATAdminAcquireContext
push ebx
mov dword [edi + 4], eax
call esi
push str.CryptCATAdminEnumCatalogFromHash
push ebx
mov dword [edi + 8], eax
call esi
push str.CryptCATCatalogInfoFromContext
push ebx
mov dword [edi + 0xc], eax
call esi
push str.CryptCATAdminReleaseCatalogContext
push ebx
mov dword [edi + 0x10], eax
call esi
push str.CryptCATAdminReleaseContext
push ebx
mov dword [edi + 0x14], eax
call esi
push str.WTHelperProvDataFromStateData
push ebx
mov dword [edi + 0x18], eax
call esi
push str.WTHelperGetProvSignerFromChain
push ebx
mov dword [edi + 0x1c], eax
call esi
push str.WinVerifyTrust
push ebx
mov dword [edi + 0x20], eax
call esi
push str.CertNameToStrW
push dword [ebp - 0x10]
mov dword [edi + 0x24], eax
call esi
mov dword [edi + 0x28], eax
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 0x46f3f0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58aac8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5ee034]
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, edx
mov ebx, ecx
cmp esi, 0xffffffff
jne 0x46f427
xor al, al
jmp 0x46f48a
and esi, 0xffffb1af
push esi
call fcn.00404530
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x46f442
mov al, 1
jmp 0x46f48a
lea ecx, [ebp - 0x28]
call fcn.00404580
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.0046f760
test al, al
je 0x46f477
push esi
lea ecx, [ebp - 0x28]
call fcn.00404530
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x46f477
mov bl, 1
jmp 0x46f479
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404570
mov al, bl
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.0057d0c6
mov esp, ebp
pop ebp
ret

Function at 0x46f4b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58aac8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5ee034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00404530
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x46f52e
lea ecx, [ebp - 0x28]
call fcn.00404580
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.0046f760
test al, al
je 0x46f51d
lea ecx, [ebp - 0x28]
call fcn.00404530
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404570
mov eax, esi
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.0057d0c6
mov esp, ebp
pop ebp
ret
Function at 0x46f550
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5936a0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5ee034]
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, ecx
call fcn.00404530
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
je 0x46f596
mov al, 1
jmp 0x46f68b
mov ecx, esi
call fcn.00404530
push eax
lea ecx, [ebp - 0x28]
call fcn.00406350
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0046f4b0
mov ebx, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404570
cmp ebx, 0xffffffff
jne 0x46f5d5
xor al, al
jmp 0x46f68b
mov ecx, esi
call fcn.00404530
push eax
lea ecx, [ebp - 0x28]
call fcn.00406350
mov dword [ebp - 4], 1
xor edx, edx
lea ecx, [ebp - 0x28]
call fcn.0046f3f0
mov bl, al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404570
test bl, bl
je 0x46f5ce
mov ecx, esi
call fcn.00404530
push eax
call edi
test eax, eax
jne 0x46f58f
lea ecx, [ebp - 0x28]
call fcn.00404580
mov dword [ebp - 4], 2
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.0046f760
test al, al
je 0x46f64d
lea ecx, [ebp - 0x28]
call fcn.00404530
push eax
call edi
test eax, eax
je 0x46f64d
mov bl, 1
jmp 0x46f67a
mov ecx, esi
call fcn.00404530
push eax
lea ecx, [ebp - 0x44]
call fcn.00406350
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 0x2c]
call fcn.0046f3f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00404570
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404570
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057d0c6
mov esp, ebp
pop ebp
ret

Function at 0x46f6b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x5ee034]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x218]
lea eax, [esp + 4]
push esi
push edi
push 0x20c
push 0
push eax
mov esi, edx
mov edi, ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push 0
call fcn.00404530
push eax
mov ecx, edi
call fcn.00404530
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x46f741
xor eax, eax
lea ecx, [esp + 0xc]
mov word [esp + 0x216], ax
call fcn.00404a30
push eax
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call fcn.00404780
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0057d0c6
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057d0c6
add esp, 0x210
ret
Function at 0x46fdb0
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x808]
sub esp, 0x808
push 0xffffffffffffffff
push 0x593710
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5ee034]
xor eax, ebp
mov dword [ebp + 0x804], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp + 4]
push eax
push 0x3fe
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x46fe77
lea edi, [ebp + 4]
mov dword [ebp], 0
xor esi, esi
mov dword [ebp - 0x14], edi
mov dword [ebp], esi
mov dword [ebp - 4], esi
cmp ebx, 0x3fe
jbe 0x46fe9c
xor ecx, ecx
lea eax, [ebx + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0057de0f
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, edi
mov dword [ebp], esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x46fe63
cmp eax, ebx
ja 0x46fe63
xor ecx, ecx
mov ebx, eax
mov dword [edi + eax*2], ecx
mov dword [ebp - 0x10], ebx
jmp 0x46fec0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x46fe77
push edi
call fcn.0057d777
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x804]
xor ecx, ebp
call fcn.0057d0c6
lea esp, [ebp + 0x808]
pop ebp
ret
lea eax, [ebx + ebx]
cmp eax, 0x800
jae 0x46ff33
xor ecx, ecx
mov word [ebp + eax + 4], cx
add eax, 2
cmp eax, 0x800
jae 0x46ff33
mov word [ebp + eax + 4], cx
xor ecx, ecx
xor edi, edi
test ebx, ebx
je 0x46ff18
mov esi, dword [ebp - 0x14]
mov ebx, 2
mov eax, dword [ebp - 0x10]
cmp word [esi + ebx - 2], 0
jne 0x46ff0d
cmp ecx, edi
je 0x46ff0d
lea eax, [esi + ecx*2]
push eax
lea ecx, [ebp - 0x30]
call fcn.00406350
mov byte [ebp - 4], 1
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.00448700
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00404570
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 1]
inc edi
add ebx, 2
cmp edi, eax
jb 0x46fed3
mov esi, dword [ebp]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x46ff2c
push esi
call fcn.0057d777
add esp, 4
mov al, 1
jmp 0x46fe79
call fcn.0057dae8
int3
Function at 0x4743d0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59243f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5ee034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004044b0
mov esi, dword [ebp + 8]
mov edi, eax
push esi
mov ecx, edi
mov dword [ebp - 0x10], edi
call fcn.004045a0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x18]
push ecx
lea ecx, [edi + 0x18]
call fcn.004045a0
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.004045a0
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.004045a0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov al, byte [esi + 0x60]
mov byte [edi + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.004045a0
mov byte [ebp - 4], 4
lea eax, [esi + 0x7c]
push eax
lea ecx, [edi + 0x7c]
call fcn.004045a0
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 0x4826b2
Capabilities:
Terminate thread

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
mov edi, ecx
cmp dword [edi + 0x64], 0
je 0x4826c9
push dword [edi + 0x64]
call esi
cmp dword [edi + 0x70], 0
je 0x4826d4
push dword [edi + 0x70]
call esi
xor ebp, ebp
cmp dword [edi + 0x78], ebp
je 0x4827c2
push 0x5f4d1c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x78]
test al, 1
je 0x4826fd
push dword [edi + 0x7c]
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov eax, dword [edi + 0x78]
test al, 2
je 0x482711
push dword [edi + 0x80]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler]
mov eax, dword [edi + 0x78]
pop ecx
test al, 4
je 0x482722
push dword [edi + 0x84]
call dword [sym.imp.VCRUNTIME140.dll__set_purecall_handler]
pop ecx
mov ebx, dword [0x5f4d10]
mov eax, dword [ebx + 4]
add eax, 0xfffffffc
cmp dword [eax], edi
jne 0x482737
mov dword [ebx + 4], eax
jmp 0x482788
push str.warning:_removing_Breakpad_handler_out_of_order_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
pop ecx
push eax
call fcn.0047b1b0
mov ebx, dword [0x5f4d10]
pop ecx
pop ecx
mov esi, dword [ebx]
mov eax, dword [ebx + 4]
cmp esi, eax
je 0x482788
lea ebp, [esi + 4]
cmp dword [esi], edi
jne 0x482779
mov eax, dword [ebx + 4]
sub eax, ebp
push eax
push ebp
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
add dword [ebx + 4], 0xfffffffc
jmp 0x48277f
add esi, 4
add ebp, 4
mov eax, dword [ebx + 4]
cmp esi, eax
jne 0x48275f
xor ebp, ebp
mov ecx, dword [ebx]
cmp ecx, eax
jne 0x4827b7
test ecx, ecx
je 0x4827a7
mov edx, dword [ebx + 8]
sub edx, ecx
and edx, 0xfffffffc
call fcn.00404b00
mov dword [ebx], ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], ebp
push 0xc
push ebx
call fcn.0057d635
pop ecx
pop ecx
mov dword [0x5f4d10], ebp
push 0x5f4d1c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp dword [edi + 0xc], ebp
jne 0x482808
push 1
push dword [edi + 0x88]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0x88]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea eax, [edi + 0x90]
mov dword [edi + 0x88], ebp
push eax
call ebx
push dword [edi + 0xa8]
call esi
push dword [edi + 0xac]
call esi
push 0x5f4d18
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x48281e
push 0x5f4d1c
call ebx
lea ecx, [edi + 0xc0]
call fcn.00483178
lea ecx, [edi + 0x40]
call fcn.00404570
lea ecx, [edi + 0x28]
call fcn.00404570
lea ecx, [edi + 0x10]
call fcn.00404570
mov ecx, dword [edi + 0xc]
pop edi
pop esi
pop ebp
pop ebx
test ecx, ecx
je 0x482852
push ecx
call fcn.004831b1
ret
Function at 0x4834a1
Capabilities:
Read pipe
Write file on windows
Write pipe

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov ebx, dword [ebp + 0x360]
lea ecx, [ebp + 0x348]
call fcn.00404530
mov esi, dword [ebp + 0x24]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x4c], eax
lea ecx, [ebp + 0x38]
lea eax, [ebp + 0x3c]
mov dword [esp + 0x50], esi
mov dword [esp + 0x58], eax
xor esi, esi
lea eax, [ebp + 0x40]
mov dword [esp + 0x48], 1
mov dword [esp + 0x5c], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x20]
push esi
mov dword [esp + 0x68], eax
lea eax, [esp + 0x14]
push eax
push 0x34
lea eax, [esp + 0x20]
mov dword [esp + 0x60], ecx
push eax
push 0x34
lea eax, [esp + 0x5c]
mov dword [esp + 0x7c], esi
push eax
push dword [esp + 0xcc]
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
movups xmmword [esp + 0x38], xmm0
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
movups xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x483616
cmp dword [esp + 0x14], 2
jne 0x483616
cmp dword [esp + 0x18], esi
je 0x483616
cmp dword [esp + 0x34], esi
je 0x483616
cmp dword [esp + 0x38], esi
je 0x483616
cmp dword [esp + 0x3c], esi
je 0x483616
push esi
lea eax, [esp + 0x14]
mov dword [esp + 0x84], esi
push eax
push 0x34
lea eax, [esp + 0x88]
mov dword [esp + 0x90], esi
push eax
push dword [esp + 0xc4]
xorps xmm0, xmm0
mov dword [esp + 0x9c], esi
movups xmmword [esp + 0xa0], xmm0
mov dword [esp + 0xc0], esi
movups xmmword [esp + 0xb0], xmm0
mov dword [esp + 0x90], 3
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x483616
mov ecx, dword [esp + 0x34]
mov al, 1
mov dword [ebp + 0x28], ecx
mov ecx, dword [esp + 0x38]
mov dword [ebp + 0x2c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ebp + 0x30], ecx
mov ecx, dword [esp + 0x18]
mov dword [ebp + 0x34], ecx
jmp 0x483618
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret 4
Function at 0x4b5180
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov ebp, edx
push 0
push 0x14
mov dword [ebx], 0
call fcn.00486390
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b51a8
lea eax, [esi + 7]
pop edi
pop esi
pop ebp
pop ebx
ret
cmp byte [0x5ee09c], 0
mov edi, dword [esp + 0x14]
je 0x4b51f1
mov eax, dword [0x5ee18c]
test eax, eax
je 0x4b51cc
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x4b51f1
lea eax, [esi + 4]
mov dword [esi + 8], ebp
push eax
push 0
push esi
push 0x489280
push 0
push 0
mov dword [esi + 0xc], edi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x4b51fe
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x4b5216
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call ebp
add esp, 4
mov dword [esi + 0x10], eax
pop edi
mov dword [ebx], esi
xor eax, eax
pop esi
pop ebp
pop ebx
ret