joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003ac70
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x1010001c]
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 fcn.1008c730
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x1003ad07
cmp dword [esp + 8], 6
jb 0x1003ad07
mov byte [esi], 1
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.1008a187
add esp, 0x118
ret

Function at 0x1003ad20
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3160
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x1010001c]
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.100039b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.1000a870
mov ecx, eax
call fcn.1000a930
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10003910
push str.crypt32.dll
lea ecx, [ebp - 0x40]
call fcn.100039b0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call fcn.1000a870
mov ecx, eax
call fcn.1000a930
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10003910
test ebx, ebx
je 0x1003ae35
test esi, esi
je 0x1003ae35
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 0x1003ec90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3a98
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1010001c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push eax
push ecx
push 0xffffffffffffffff
push 0xffff8000
mov ecx, edi
movlpd qword [ebp - 0x3c], xmm0
call fcn.100119d0
test al, al
jne 0x1003ecef
mov eax, 1
jmp 0x1003ee63
push 0x10000
call fcn.1008aa7c
add esp, 4
lea ecx, [ebp - 0x30]
mov esi, eax
push 4
call fcn.100163f0
push esi
lea ecx, [ebp - 0x30]
call fcn.10029090
mov dword [ebp - 4], 0
push 0x10000
push 0
push esi
call fcn.1008c730
mov eax, dword [edi]
add esp, 0xc
mov dword [ebp - 0x18], 0
test eax, eax
je 0x1003ee41
test esi, esi
je 0x1003ee41
cmp dword [eax], 0xffffffff
je 0x1003ee41
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0x8000
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1003ee41
xor ecx, ecx
mov dword [ebp - 0x24], 0
mov edx, 0x8000
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], edx
lea edi, [esi + 0x8000]
cmp byte [ebx + 0x9c], 0
jne 0x1003ee3a
lea eax, [edi + ecx]
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x20], 0
push ecx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x34]
push edx
push eax
call fcn.1005f050
test al, al
je 0x1003ee30
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x1003ee10
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x1003edd1
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [ebx + 0x9c], 0
jne 0x1003ee3a
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x24], 0xf
ja 0x1003ee29
mov edx, dword [ebp - 0x28]
sub edx, eax
mov dword [ebp - 0x28], edx
jne 0x1003ed80
mov ecx, 0x7ffc
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x1003ee22
add esi, 4
add edi, 4
sub ecx, 4
jae 0x1003edf8
mov esi, 4
jmp 0x1003ee52
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, 0x8000
je 0x1003edf3
jmp 0x1003ede3
mov esi, 5
jmp 0x1003ee52
mov esi, 3
jmp 0x1003ee52
mov eax, dword [ebp - 0x2c]
mov esi, 3
jmp 0x1003ee4c
mov esi, 2
jmp 0x1003ee52
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 1
mov dword [ebx + 0xb0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10004960
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 - 0x14]
xor ecx, ebp
call fcn.1008a187
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1003ee90
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3ad8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1010001c]
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 eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
lea eax, [edi + 0x10]
push eax
mov dword [ebp - 0x40], 0
call fcn.10006780
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], 1
push 0x100e2074
lea ecx, [ebp - 0x58]
mov dword [edi + 0xb4], 0
call fcn.100199f0
mov byte [ebp - 4], 2
lea eax, [edi + 0x40]
push ecx
mov ecx, dword [ebp - 0x38]
push eax
lea eax, [edi + 0x58]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x2c]
push dword [ebp + 0x10]
push eax
push dword [ebx + 4]
call fcn.1005dd60
test al, al
sete al
mov byte [ebp - 0x31], al
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x1003ef70
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003ef63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f0bc
push edx
push ecx
call fcn.1008a52b
mov al, byte [ebp - 0x31]
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
test al, al
je 0x1003ef97
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x1003f04e
push ecx
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x14]
push eax
push 0x13
mov dword [ebp - 0x14], 0
call fcn.1005d930
test al, al
jne 0x1003efc2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x1003f04e
mov eax, dword [ebp - 0x14]
mov dword [edi + 0xb4], eax
cmp eax, 0xc8
je 0x1003f03b
cmp eax, 0xce
je 0x1003f03b
cmp eax, 0x12e
jne 0x1003f06c
mov eax, 0x400
mov dword [ebp - 0x30], eax
test esi, esi
jne 0x1003f005
push 0x800
call fcn.1008aa7c
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp - 0x30]
add eax, eax
push eax
push 0
push esi
call fcn.1008c730
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x30]
add esp, 8
push eax
push esi
push 0x21
call fcn.1005d9a0
test al, al
je 0x1003f06c
push esi
call fcn.10003bf0
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
push esi
call fcn.10003a30
jmp 0x1003f05c
cmp dword [ebp + 0x14], 0
ja 0x1003f047
cmp dword [ebp + 0x10], 0
jbe 0x1003f070
cmp eax, 0xce
je 0x1003f070
cmp dword [ebx + 4], 0
je 0x1003f06c
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, 3
jb 0x1003eef0
xor bl, bl
jmp 0x1003f07c
mov dword [edi + 0xb0], 0
mov bl, 1
mov byte [ebp - 4], 0
test esi, esi
je 0x1003f08d
push esi
call fcn.1008a87c
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10003910
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.1008a187
mov esp, ebp
pop ebp
ret 0x10
call fcn.1008e2b2
int3
Function at 0x10041ab0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4158
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1010001c]
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 edi, dword [ebp + 0x10]
mov ecx, edi
mov esi, dword [ebp + 0xc]
call fcn.10004080
test eax, eax
je 0x10041b0b
cmp byte [ebp + 8], 0
jne 0x10041b12
mov eax, dword [ebx]
test eax, eax
je 0x10041c72
cmp byte [eax + 0xa5], 0
je 0x10041c72
xor al, al
jmp 0x10041c88
mov ecx, esi
call fcn.10004080
test eax, eax
je 0x10041c72
push esi
call fcn.10006ad0
add esp, 4
test al, al
je 0x10041b3a
push esi
push edi
call fcn.100416e0
jmp 0x10041c6e
push 0xb
mov ecx, esi
call fcn.100038a0
push eax
mov ecx, edi
call fcn.100038a0
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push eax
call ebx
test eax, eax
je 0x10041b5f
mov al, 1
jmp 0x10041c6e
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x59], 0
call fcn.10003a00
mov dword [ebp - 4], 0
lea edx, [ebp - 0x58]
mov ecx, edi
call fcn.100122d0
movzx ecx, byte [ebp - 0x59]
test al, al
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x40]
call fcn.10003a00
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.100122d0
test al, al
jne 0x10041bac
cmp byte [ebp - 0x60], al
je 0x10041be8
push 0xb
lea ecx, [ebp - 0x40]
call fcn.100038a0
push eax
lea ecx, [ebp - 0x58]
call fcn.100038a0
push eax
call ebx
test eax, eax
je 0x10041be8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10003910
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.10003910
mov al, 1
jmp 0x10041c6e
mov ecx, esi
call fcn.10011b60
cmp eax, 0xffffffff
je 0x10041c51
push esi
lea ecx, [ebp - 0x28]
call fcn.10006780
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.10012020
test al, al
je 0x10041c45
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.10011c00
test al, al
je 0x10041c45
mov edx, esi
mov ecx, edi
call fcn.10011c00
lea ecx, [ebp - 0x28]
test al, al
je 0x10041c3e
call fcn.10011e10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10003910
jmp 0x10041bc6
mov edx, esi
call fcn.10011c00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10003910
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10003910
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.10003910
xor al, al
test al, al
jne 0x10041c86
push edi
call fcn.10006ad0
add esp, 4
test al, al
je 0x10041c86
mov ecx, edi
call fcn.10011e10
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.1008a187
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10062b20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
nop dword [eax]
mov ecx, esi
mov edx, esi
sar ecx, 4
and edx, 0xf
movzx eax, byte [esp + ecx + 4]
shl al, 4
or al, byte [esp + edx + 0x14]
mov byte [esi + 0x10102fe0], al
movzx eax, byte [esp + ecx + 0x24]
shl al, 4
or al, byte [esp + edx + 0x34]
mov byte [esi + 0x10102ce0], al
movzx eax, byte [esp + ecx + 0x44]
shl al, 4
or al, byte [esp + edx + 0x54]
mov byte [esi + 0x10102ee0], al
movzx eax, byte [esp + ecx + 0x64]
shl al, 4
or al, byte [esp + edx + 0x74]
mov byte [esi + 0x10102de0], al
inc esi
cmp esi, 0x100
jl 0x10062c30
pop esi
add esp, 0x80
ret
Function at 0x1006e160
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bddb8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1010001c]
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, edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.10006780
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.10009380
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.10004080
lea ecx, [ebp - 0x28]
cmp eax, 2
jbe 0x1006e28d
call fcn.10003a20
mov esi, eax
mov ecx, esi
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x1006e1d0
mov ecx, dword [esi]
cmp word [ecx], 0x5c
jne 0x1006e1ea
mov ecx, esi
cmp eax, 8
jb 0x1006e1df
mov ecx, dword [esi]
cmp word [ecx + 2], 0x5c
je 0x1006e308
mov ecx, esi
cmp eax, 8
jb 0x1006e1f3
mov ecx, dword [esi]
cmp word [ecx], 0x2f
jne 0x1006e209
mov ecx, esi
cmp eax, 8
jb 0x1006e202
mov ecx, dword [esi]
cmp word [ecx + 2], 0x2f
je 0x1006e25e
push 0x5c
mov edx, 0x2f
lea ecx, [ebp - 0x28]
call fcn.10009200
mov eax, dword [esi + 0x14]
add esp, 4
mov ecx, esi
cmp eax, 8
jb 0x1006e227
mov ecx, dword [esi]
cmp word [ecx + 2], 0x3a
jne 0x1006e25e
mov ecx, esi
cmp eax, 8
jb 0x1006e237
mov ecx, dword [esi]
cmp word [ecx + 4], 0x5c
jne 0x1006e25e
mov ecx, esi
cmp eax, 8
jb 0x1006e247
mov ecx, dword [esi]
cmp word [ecx], 0x61
jb 0x1006e25e
cmp eax, 8
jb 0x1006e254
mov esi, dword [esi]
cmp word [esi], 0x7a
jbe 0x1006e2e9
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10003910
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.1008a187
mov esp, ebp
pop ebp
ret
call fcn.10004080
cmp eax, 2
jne 0x1006e25e
lea ecx, [ebp - 0x28]
call fcn.10003a20
mov edx, eax
mov ecx, dword [eax + 0x14]
cmp ecx, 8
jb 0x1006e2ab
mov edx, dword [eax]
cmp word [edx + 2], 0x3a
jne 0x1006e25e
mov edx, eax
cmp ecx, 8
jb 0x1006e2bb
mov edx, dword [eax]
cmp word [edx], 0x61
jb 0x1006e25e
cmp ecx, 8
jb 0x1006e2c8
mov eax, dword [eax]
cmp word [eax], 0x7a
ja 0x1006e25e
push 0x100e1b24
call fcn.10003bf0
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push 0x100e1b24
call fcn.10004120
lea ecx, [ebp - 0x28]
call fcn.100038a0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1006e25e
shr eax, 4
and al, 1
mov byte [edi], al
mov bl, 1
jmp 0x1006e260
Function at 0x10075890
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x1007589b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.100758b0
Function at 0x10075e00
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x63c]
sub esp, 0x63c
push 0xffffffffffffffff
push 0x100ca4b0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x1010001c]
xor eax, ebp
mov dword [ebp + 0x638], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0x644]
lea ecx, [ebp]
mov ebx, dword [ebp + 0x648]
call fcn.10003a00
mov dword [ebp - 4], 0
mov eax, dword [0x10102c68]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x10], 0x10102c68
test eax, eax
je 0x10075e72
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 1
mov ecx, 0x10102c50
call fcn.10004080
test eax, eax
je 0x10075eb9
push 0x10102c50
call fcn.10003f00
lea ecx, [ebp]
add esp, 4
cmp ecx, eax
je 0x10075f6e
mov ecx, 0x10102c50
call fcn.10003a20
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x10075eb0
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
jmp 0x10075f66
push 0x20c
lea eax, [ebp + 0x42c]
push 0
push eax
call fcn.1008c730
add esp, 0xc
lea eax, [ebp + 0x42c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x1007600a
xor eax, eax
push 0x412
push eax
mov word [ebp + 0x636], ax
lea eax, [ebp + 0x18]
push eax
call fcn.1008c730
add esp, 0xc
lea eax, [ebp + 0x18]
push 0x208
push eax
lea eax, [ebp + 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x10075f4f
test eax, eax
je 0x10075f4f
add eax, eax
cmp eax, 0x412
jae 0x1007605d
xor ecx, ecx
mov word [ebp + eax + 0x18], cx
lea eax, [ebp + 0x18]
push eax
call fcn.10003bf0
add esp, 4
push eax
lea eax, [ebp + 0x18]
jmp 0x10075f65
lea eax, [ebp + 0x42c]
push eax
call fcn.10003bf0
add esp, 4
push eax
lea eax, [ebp + 0x42c]
push eax
lea ecx, [ebp]
call fcn.10003a30
mov byte [ebp - 4], 0
mov eax, dword [0x10102c68]
test eax, eax
je 0x10075f82
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
push edi
lea eax, [ebp]
mov dword [ebp - 0x10], 0
push eax
mov ecx, esi
call fcn.10075d90
test al, al
je 0x10075fa1
mov bl, 1
jmp 0x10076027
push 0x20c
lea eax, [ebp + 0x42c]
push 0
push eax
call fcn.1008c730
add esp, 0xc
lea eax, [ebp + 0x42c]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x10076025
xor eax, eax
mov word [ebp + 0x636], ax
lea eax, [ebp + 0x42c]
push eax
call fcn.10003bf0
add esp, 4
lea ecx, [ebp]
push eax
lea eax, [ebp + 0x42c]
push eax
call fcn.10003a30
push ebx
push edi
lea eax, [ebp]
mov ecx, esi
push eax
call fcn.10075d90
mov bl, al
jmp 0x10076027
mov byte [ebp - 4], 0
mov eax, dword [0x10102c68]
test eax, eax
je 0x1007601e
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x10], 0
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.10003910
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 + 0x638]
xor ecx, ebp
call fcn.1008a187
lea esp, [ebp + 0x63c]
pop ebp
ret 8
call fcn.1008a9a2
int3
Function at 0x10076d50
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ca63f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1010001c]
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.100774f0
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.10003910
mov byte [ebp - 4], 3
lea ecx, [esi + 0x64]
call fcn.10003910
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.10003910
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.10003910
mov byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.10003910
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.10003910
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add dword [edi + 4], 0xffffff6c
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 0x10077aa0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ca82f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1010001c]
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.10003910
mov byte [ebp - 4], 3
lea ecx, [esi + 0x64]
call fcn.10003910
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.10003910
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.10003910
mov byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.10003910
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.10003910
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10079160
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100caa2f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1010001c]
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.100040e0
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.100040e0
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.100040e0
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.100040e0
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.100040e0
mov byte [ebp - 4], 4
lea eax, [esi + 0x7c]
push eax
lea ecx, [edi + 0x7c]
call fcn.100040e0
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 0x1007a300
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push ebx
push ebp
mov ebx, ecx
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
lea ecx, [eax - 1]
push esi
mov ebp, ecx
mov dword [esp + 0x14], ecx
push edi
mov edi, edx
sar ebp, 1
mov dword [esp + 0x14], edi
mov esi, edi
cmp edi, ebp
jge 0x1007a373
add esi, esi
lea eax, [esi + 2]
lea eax, [eax + eax*2]
lea ecx, [ebx + eax*8]
lea eax, [ecx - 0x18]
push eax
push ecx
call fcn.100248d0
movzx eax, al
xor eax, 1
inc eax
add esi, eax
lea eax, [esi + esi*2]
lea eax, [ebx + eax*8]
push eax
call fcn.10003f00
add esp, 0xc
push eax
lea eax, [edi + edi*2]
lea ecx, [ebx + eax*8]
call fcn.10003970
mov edi, esi
cmp esi, ebp
jl 0x1007a330
mov eax, dword [esp + 0x10]
cmp esi, ebp
jne 0x1007a39d
test al, 1
jne 0x1007a39d
lea eax, [eax + eax*2]
lea eax, [eax - 3]
lea eax, [ebx + eax*8]
push eax
call fcn.10003f00
add esp, 4
push eax
lea eax, [edi + edi*2]
lea ecx, [ebx + eax*8]
call fcn.10003970
mov edi, dword [esp + 0x18]
push dword [esp + 0x1c]
call fcn.10003f00
add esp, 4
mov ecx, eax
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x14], edi
jge 0x1007a3f3
lea esi, [edi - 1]
sar esi, 1
push ecx
lea eax, [esi + esi*2]
lea ebp, [ebx + eax*8]
push ebp
call fcn.100248d0
add esp, 8
test al, al
je 0x1007a3ef
push ebp
call fcn.10003f00
add esp, 4
push eax
lea eax, [edi + edi*2]
lea ecx, [ebx + eax*8]
call fcn.10003970
mov edi, esi
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x14], esi
jl 0x1007a3b5
mov ecx, dword [esp + 0x10]
push ecx
call fcn.10003f00
add esp, 4
push eax
lea eax, [edi + edi*2]
lea ecx, [ebx + eax*8]
call fcn.10003970
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret