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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp ecx, 0
sete dl
cmp eax, 0
sete dh
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], dl
mov byte [ebp - 0x16], dh
mov eax, 0xffffffff
mov cl, byte [ebp - 0x15]
mov dl, byte [ebp - 0x16]
and cl, dl
test cl, 1
mov dword [ebp - 0x1c], eax
jne 0x100ebb75
jmp 0x100eba21
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x20]
mov byte [ebp - 0x21], cl
mov dword [ebp - 0x28], edx
jmp 0x100eba74
mov dword [0x1019bb8c], 0x1b01
mov al, byte [ebp - 0x29]
test al, 1
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], ecx
jne 0x100ebb75
jmp 0x100ebb37
xor eax, eax
mov ecx, dword [ebp - 0x34]
mov dx, word [ecx]
mov dword [0x1019bb8c], 0xffffe74d
shr dx, 1
movzx esi, dx
cmp dx, 0
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], eax
je 0x100ebb37
jmp 0x100ebac8
mov dword [0x1019bb90], 0x185d
mov dword [0x1019bb8c], 0x205
mov ecx, dword fs:[0x18]
mov dword [0x1019bb8c], 0x212c
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov dword [0x1019bb90], 0x13d0
mov eax, dword [eax + 0x14]
cmp eax, ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x20], eax
je 0x100ebb66
jmp 0x100eb9b9
mov eax, dword [ebp - 0x28]
mov dword [0x1019bb90], 0xaad
mov ecx, eax
add ecx, 0x24
mov edx, dword [eax + 0x28]
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x21]
and bh, bl
test bh, 1
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x30], esi
jne 0x100ebab2
jmp 0x100eb9f2
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff8
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
jmp 0x100ebb75
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x48]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x50], eax
mov word [ebp - 0x52], dx
mov word [ebp - 0x54], di
jb 0x100ebafc
mov ax, word [ebp - 0x52]
mov word [ebp - 0x54], ax
mov ax, word [ebp - 0x54]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x50]
cmp word [ecx + edx*2], ax
sete bl
add edx, 1
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x38]
cmp edx, esi
setb bh
and al, bh
test al, 1
mov byte [ebp - 0x29], bl
mov dword [ebp - 0x3c], edx
jne 0x100ebac8
jmp 0x100eb9d2
mov dword [0x1019bb8c], 0x25ac
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x40]
cmp ecx, edx
sete bl
mov dword [ebp - 0x58], ecx
mov byte [ebp - 0x59], bl
mov al, byte [ebp - 0x59]
test al, 1
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x28], ecx
jne 0x100ebb66
jmp 0x100eba74
xor eax, eax
mov dword [0x1019bb90], 0x23cc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100ebe97
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1019bb94], 0
mov dword [0x1019bb98], 0
mov dword [0x1019bba4], 0
mov dword [0x1019bb8c], 0x819
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x100ebf16
jmp 0x100ebf1e
mov eax, dword [0x1019bb94]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x1019bb98]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x100ebf1e
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x34], eax
mov eax, ecx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x1019bb94], edx
mov dword [0x1019bb8c], 0x110a
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x38]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x3c], edx
cdq
idiv esi
mov dword [0x1019bb98], edx
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x1019bb9c], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x1019bb9c]
mov edx, dword [0x1019bb98]
mov byte [edi + edx], cl
mov edx, dword [0x1019bb94]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1019bb98]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov edx, dword [0x1019bb8c]
mov ecx, edx
add ecx, 0x154a
mov dword [0x1019bb8c], ecx
and ebx, 0xff
mov dword [0x1019bba4], ebx
mov ecx, dword [0x1019bb90]
add ecx, 0x880
mov dword [0x1019bb90], ecx
mov cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x34]
mov ch, byte [ebx + esi]
mov byte [0x1019bba9], ch
mov byte [0x1019bbaa], cl
xor ch, cl
mov byte [0x1019bba8], ch
add edx, 0xffffd056
mov dword [0x1019bb8c], edx
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
add esi, 1
mov edx, dword [ebp - 0x10]
cmp esi, edx
mov dword [ebp - 0x30], esi
je 0x100ebf16
jmp 0x100ebef8
Function at 0x100ec4d1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x1019bb90], 0xfffffec1
mov dword [0x1019bb8c], 0x83
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + str._9_ts]
mov dl, byte [eax + 0x1016dba9]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x100ec4fd
lea eax, [ebp - 0x24]
mov dword [0x1019bb90], 0xe43
mov dword [0x1019bb8c], 0x1b8b
mov dword [ebp - 0x34], eax
call fcn.100ec901
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.100ec35f
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x100ec5fd
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.100ecb38
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov dword [0x1019bb90], 0xfc2
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x40], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x28], ecx
mov dword [0x1019bb8c], 0x671
add ecx, 0x15b4
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x100ec5f4
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x100ec6c3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 8]
mov dword [0x1019bb8c], 0x1f0
mov dword [ebp - 0x10], eax
call fcn.100ec09c
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x100ec709
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x1019bb90], 0x1eae
mov esi, dword [edx + eax + 0x24]
mov dword [0x1019bb8c], 0xb82
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x100ec856
jmp 0x100ec7a7
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x1019bb8c], 0x12d8
mov dword [ebp - 0x34], edi
jmp 0x100ec856
mov eax, dword [ebp - 0x3c]
add eax, 1
mov cl, byte [ebp - 0x3d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x44], eax
jne 0x100ec7db
jmp 0x100ec808
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x1019bb8c], 0x2173
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x54]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x3d], bh
mov byte [ebp - 0x3e], cl
jne 0x100ec77d
mov al, byte [ebp - 0x3e]
test al, 1
jne 0x100ec755
jmp 0x100ec815
mov eax, dword [ebp - 0x38]
add eax, 2
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov edx, dword [ebp - 0x30]
cmp ecx, edx
setb bl
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 0x5d], bl
xor eax, eax
mov cl, byte [ebp - 0x5d]
test cl, 1
mov edx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x34], eax
jne 0x100ec7b7
jmp 0x100ec856
mov eax, dword [ebp - 0x34]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100ecc4d
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1019bb98], 0
mov byte [0x1019bb9c], 0
mov dword [0x1019bb8c], 0x719
mov dword [0x1019bb94], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1019bb90]
add eax, 0xfffff13a
mov dword [0x1019bb8c], eax
mov esi, dword [0x1019bb94]
add esi, 1
mov dword [0x1019bb94], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x100ecc92
jmp 0x100eccd8
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov dword [0x1019bb94], 0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [0x1019bba0], 0
mov esi, dword [0x1019bb98]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 0x30], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add ebx, edx
mov dword [0x1019bba0], ebx
mov dword [0x1019bb90], 0xde7
mov eax, ebx
cdq
mov ebx, dword [ebp - 0x30]
idiv ebx
mov dword [0x1019bb98], edx
mov esi, dword [ebp - 0x2c]
mov bl, byte [edi + esi]
mov byte [0x1019bb9c], bl
add ecx, 0x17b0
mov dword [0x1019bb8c], ecx
mov bl, byte [edi + edx]
mov byte [edi + esi], bl
mov dword [0x1019bb8c], 0x20e9
mov bl, byte [0x1019bb9c]
mov ecx, dword [0x1019bb98]
mov byte [edi + ecx], bl
mov ecx, dword [0x1019bb94]
add ecx, 1
mov dword [0x1019bb94], ecx
cmp ecx, 0x100
mov dword [ebp - 0x34], ecx
jge 0x100eccd0
mov eax, dword [0x1019bb8c]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x100ecced
Function at 0x100ece45
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [0x1019bb8c], 0x1c02
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x100ece8a
mov eax, dword [ebp - 0x14]
add esp, 0x28
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x100ece7b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x100eceb7
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
jl 0x100ece8a
mov eax, dword [ebp - 0x1c]
mov dword [0x1019bb8c], 0x848
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x100ece83
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x100ece83
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x100ece83
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
sete dl
mov byte [ebp - 0x21], dl
mov al, byte [ebp - 0x21]
test al, 1
jne 0x100ecf10
jmp 0x100ece83
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x100ece83
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x100ece83
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff9
mov dword [ebp - 0x28], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2], 0x6c
mov dword [ebp - 0x14], eax
je 0x100ece7b
jmp 0x100ece83
Function at 0x100ecf60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.10001064
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x100ecfa1
jmp 0x100ed0d7
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x1c], ecx
je 0x100ed073
jmp 0x100ed05f
lea eax, [esp + 0x38]
mov ecx, dword [0x1019bb90]
add ecx, 0xffffe60f
mov dword [0x1019bb8c], ecx
mov dword [esp + 0x18], eax
call fcn.100ece45
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x14], ecx
jne 0x100ed0cf
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.100ebb80
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x48], 0x11c600
mov ecx, dword [0x1019bb78]
mov dword [esp + 0x68], ecx
mov ecx, dword [0x1019bb7c]
mov dword [esp + 0x54], ecx
mov ecx, dword [0x1019bb80]
mov dword [esp + 0x74], ecx
mov ecx, dword [0x1019bb84]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
lea eax, [0x100ec2e0]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x88], ecx
mov edx, dword [0x1019bb88]
mov dword [esp + 0x40], edx
mov dword [0x1019bb90], 0x5db
mov dword [0x1019bb8c], 0x183f
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
je 0x100ecf84
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 8], eax
jmp 0x100ed04c
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x7c], ecx
mov dword [0x1019bb90], 0xffffffce
mov edx, dword [esp + 0x1c]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x70], esi
mov dword [0x1019bb8c], 0x108a
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.100ec4d1
mov dword [0x1019bb90], 0x159a
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0xb1e1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00b1e140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00b1e140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00b1e140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00b1e140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xb1ebfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xb1ec50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xb3087c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xb1ec43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xb1ec52
xor eax, eax
pop esi
leave
ret 4

Function at 0x4038fa
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040fa], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404658], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4045ec], eax
mov dword [0x4040f2], eax
mov dword [0x4045d8], 0x30
mov dword [0x4045dc], 2
jmp 0x40393f
mov dword [0x4045e0], 0x403153
mov dword [0x4045e4], 0
mov dword [0x4045e8], 0
mov dword [0x404600], 0x40454e
mov dword [0x4045f8], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4045f0], eax
mov dword [0x404604], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4045f4], eax
push 0x4045d8
fadd dword [ebp + 0x40]
add bh, bh
adc eax, sym.imp.user32.dll_RegisterClassExA
push 0
push dword [0x4040f2]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.asdlkjalsdj_ai8
push 0x40454e
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404650], eax
push 5
push dword [0x404650]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404650]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404608]
jmp 0x403a13
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a05
mov eax, dword [0x404610]
jmp 0x403a2e
call 0x402bd5
ret
Function at 0x4066d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov edi, dword [ebp + 8]
mov eax, dword [0x4b5040]
xor eax, ebp
mov dword [esp + 0x48], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x20b
push str....._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.00440e50
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.00447150
cmp byte [edi + 0xb], 0
jns 0x40672c
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov ecx, esi
call fcn.00449c10
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.00461246
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x406a20
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [0x4b5040]
xor eax, ebp
mov dword [esp + 0x38], eax
mov dword [ecx], 0
mov byte [ecx + 4], 0
mov eax, 0xf
xorps xmm0, xmm0
movups xmmword [esi + eax*8], xmm0
add eax, 2
cmp eax, 0x5f
jne 0x406a4e
mov dword [esi + 0x2f8], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x2fc], eax
xor eax, eax
mov dword [esi + 0x300], eax
mov dword [esi + 0x304], eax
mov byte [esi + 0x308], al
mov byte [esi + 0x338], al
push 0x4b7058
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x406c29
mov dword [esi + 0x304], 0
mov eax, dword [0x4b705c]
mov dword [0x4b705c], esi
mov dword [esi + 0x300], eax
test eax, eax
je 0x406abe
mov dword [eax + 0x304], esi
lea edi, [esi + 0x308]
push 0x4b7058
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xorps xmm0, xmm0
movups xmmword [esi + 0x48], xmm0
movups xmmword [esi + 0x38], xmm0
movups xmmword [esi + 0x28], xmm0
movups xmmword [esi + 0x18], xmm0
movups xmmword [esi + 8], xmm0
add ebx, 0x48
mov eax, 0xf
jmp 0x406afe
mov byte [esi + eax*8 + 5], 0
inc eax
add ebx, 0x20
cmp eax, 0x5f
je 0x406b24
mov dword [esi + eax*8], 0
mov byte [esi + eax*8 + 4], 0
mov cl, byte [eax + 0x4c4ac5]
mov byte [esi + eax*8 + 5], cl
movzx ecx, word [ebx + 0xc]
mov word [esi + eax*8 + 6], cx
cmp dword [ebx], 0
jne 0x406af5
jmp 0x406af0
mov eax, dword [esi + 0x2f8]
cmp byte [eax + 0xe], 0
je 0x406c12
lea ecx, [eax + 0x13e0]
mov edx, esp
push 0
push dword [eax + 0x13d8]
push edx
call fcn.0041c2c0
cmp byte [esi + 0x338], 0
je 0x406b61
mov ecx, edi
call fcn.004405d0
mov byte [esi + 0x338], 0
mov eax, dword [esp]
mov dword [esi + 0x308], eax
mov eax, dword [esp + 4]
mov dword [esi + 0x30c], eax
mov al, byte [esp + 8]
mov byte [esi + 0x310], al
xorps xmm0, xmm0
movups xmmword [esi + 0x314], xmm0
mov dword [esi + 0x324], 0
xor ebx, ebx
dec ebx
lea edi, [esp + 0x30]
mov dword [edi + 4], ebx
mov dword [edi], ebx
push 8
push edi
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x406c38
movsd xmm0, qword [esp + 0x30]
movsd qword [esi + 0x318], xmm0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
push 8
push edi
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x406c3b
movsd xmm0, qword [esp + 0x30]
movsd qword [esi + 0x320], xmm0
mov ecx, esp
mov eax, dword [ecx + 0x20]
mov dword [esi + 0x328], eax
mov eax, dword [ecx + 0x24]
mov dword [esi + 0x32c], eax
mov eax, dword [ecx + 0x28]
mov dword [esi + 0x330], eax
xor eax, eax
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x28], eax
mov byte [esi + 0x338], 1
call fcn.004405d0
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.00461246
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, 0x4b7058
call fcn.0044bf60
jmp 0x406a99
int3
int3