joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c9a0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x4ca100]
mov esi, eax
add esp, 4
test esi, esi
jne 0x45c9cd
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0xc]
mov dword [esi], ebx
mov dword [esi + 4], ecx
mov eax, dword [ebx + 0xc]
add eax, ecx
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
push edi
lea edi, [ebx + 4]
cmp eax, dword [ebx + 0x10]
jbe 0x45ca18
mov eax, dword [ebx]
push ecx
call eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push dword [ebp + 0xc]
push dword [esi + 4]
call eax
mov eax, dword [esi + 8]
add eax, dword [ebx + 0xc]
push dword [esi + 4]
mov dword [ebp - 8], eax
push eax
mov eax, dword [ebx + 8]
call eax
mov eax, dword [ebx + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], eax
jmp 0x45ca1e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
push dword [esi + 4]
mov eax, dword [ebx]
call eax
push dword [esi + 8]
mov eax, dword [ebx]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x45ca79
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
nop
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push 1
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push 1
push eax
push dword [esi + 8]
mov eax, dword [edi]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x45ca40
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
cmp ebx, dword [eax + 0x10]
jae 0x45caa9
mov eax, dword [edi]
push 1
push 0x4b367d
push dword [esi + 4]
call eax
mov eax, dword [edi]
push 1
push 0x4b367e
push dword [esi + 8]
call eax
mov eax, dword [ebp + 8]
inc ebx
add esp, 0x18
cmp ebx, dword [eax + 0x10]
jb 0x45ca81
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45d840
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x45d88d
push ebx
mov ebx, dword [ebp + 8]
mov cl, byte [esi + ebx]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [esi + ebx], cl
inc esi
cmp esi, edi
jb 0x45d852
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x45f9c9
Capabilities:
Parse pe header

Disassembly:
push 0
push eax
call fcn.0051933e
test eax, eax
je 0x45fa08
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x45fa08
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45fa08
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x45fa08
cmp dword [ecx + 0x74], 0xe
jbe 0x45fa08
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4945f2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00494463
Function at 0x4a1f30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4a1f5d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4a1f5d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x54ba18
Capabilities:
Encode data using xor

Disassembly:
mov word [esp], 0x4d81
lea esp, [esp + 0x50]
ja 0x5451bb
mov al, dh
sub ebx, edi
jmp 0x551b1e
bts edi, 9
add ebx, esp
add di, si
btc di, ax
neg di
neg di
mov edi, ebx
rcl al, 5
or al, cl
and al, dh
mov al, 0x2e
clc
clc
call fcn.00555f85
inc ecx
xchg ebx, eax
dec edi
xchg ecx, eax
inc ebp
add eax, 0xd6636763
xchg edx, eax
dec ebx
test eax, 0xa90d494d
cmp ch, bl
jle 0x551b7c
adc ecx, edx
pop ebp
int3
adc eax, 0x335bbb2e
inc ecx
cmp dword [ebp - 0x29], ebp
adc eax, 0xf6c65b32
jle 0x551bfb
jp 0x551bc5
lodsd eax, dword [esi]
add ecx, dword [esi + ebp - 0x1a]
shr dword [ecx + ecx*4 + 1], 0xf9
push edi
cmc
loope 0x551c1b
shr byte [0x63c4dd40], cl
inc esp
mov edx, 0xbe2a5fc5
fistp qword [ebp - 0xd55335c]
xor eax, 0xc2f85c34
push esp
dec esp
pop edx
and eax, 0xbaf72bf5
cdq
frstor dword [eax + 0x70a46f86]
test dword ss:[ebp - 0x51], ecx
imul edx, dword [ebx], 0x72
out 0x1f, eax
arpl word [ecx + 0x1d], sp
mov word [esi + ecx], cs
mov esi, 0xaf3bf999
stosb byte es:[edi], al
retf
xchg esi, eax
stosb byte es:[edi], al
and dl, byte [edx]
jle 0x551c47
and byte [eax + 0x38], 0xfd
aam 0xff
lea edx, [ecx - 0x376f6b2b]
scasb al, byte es:[edi]
jp 0x551c61
mov ah, 0x40
int3
and edi, dword [ecx]
add al, byte [edx + 0x5f]
xor ebx, dword [edx]
xor byte [eax], al
jl 0x551c34
sub edx, dword [ebx + 0x2f96a8f7]
js 0x551c8f
out dx, eax
jbe 0x551c63
jle 0x551c4e
cmp dh, ah
adc bl, al
in al, dx
out 0x12, al
fsubr st(4)
mov byte [edx], 0xf0
int3
stc
push ebx
iretd
fisubr word [edx - 0x45b3288a]
daa
pop ss
mov ebx, edi
xchg esp, eax
outsd dx, dword [esi]
jge 0x551c3e
mov al, 0xf4
mov ah, 0xe0
invalid
push ebx
mov dword [esp], edx
adc al, 0x64
sbb al, 0xb1
inc esp
cmp esi, dword [ebx + 0x79]
or eax, 0x430f247
test byte [esi - 0x6861a8ed], ch
add cl, byte [edx]
arpl word [edi + esi - 0x4d], sp
and byte [edi - 0x47de4a77], 0x7b
xor al, 0xac
xchg edx, eax
jmp 0xe0c170d1
adc byte [ebx], 0xcb
mov bh, 0xce
stosb byte es:[edi], al
fstp xword [ebx - 0x583c6516]
popfd
sub byte [eax], bh
test al, 0xc9
xchg ecx, eax
call 0x45788c06
test eax, 0x83871196
dec ebx
xor edi, dword [eax]
push edi
mov eax, dword [0x59111165]
adc ecx, dword [eax - 0x6f]
cmpsd dword [esi], dword es:[edi]
inc edi
aas
in eax, 0x21
jecxz 0x551c9e
int1
or eax, 0xb250ffcb
faddp st(6)
adc ah, cl
xor ch, dh
xchg esi, eax
xchg esi, eax
je 0x551d17
lcall 0x2931, 0x805c
movsd dword es:[edi], dword [esi]
adc byte [si], 0x1d
lea eax, [ebx + 0x35]
int 0xa9
dec esp
mov cl, byte [esi + 6]
push edx
fsub dword [edx + 0x5c6cb95a]
rcr byte [ecx - 0x4c], 0xc9
int 0xa
or dl, byte [edi - 0x482ced29]
push es
mov cl, 0xec
lahf
dec esp
xchg esi, eax
jmp 0x53ac1b57
das
xchg ebp, eax
nop
call 0xe501ead1
mov esi, 0xdeae7ec7
cmpsd dword [esi], dword es:[edi]
mov dl, 0x2b
mov edi, 0xa7d38ac6
salc
mov dh, 0x27
cmpsd dword [esi], dword es:[edi]
cmp dword [ecx + 0x2061096], ebp
retf 0xe4a2
Function at 0x5533c4
Capabilities:
Encode data using xor

Disassembly:
bt dx, 4
add ecx, 1
call fcn.0054fe13
les ebp, [ebx - 0x4e56023a]
fstp qword [eax]
sub ebx, dword [ebx - 0x1c24df02]
leave
or eax, 0x35e92bef
dec ebp
insd dword es:[edi], dx
jns 0x55342f
stosb byte es:[edi], al
xchg esi, eax
invalid
aad 0x11
ret 0x8d2c

Function at 0x449559
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5ddf80]
jne 0x449563
repz ret
jmp fcn.0044bbfe

Function at 0x453288
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5ddf80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0044eb02
and dword [ebp - 0x14], 0
cmp dword [0x5dfcf4], 0
mov dword [ebp - 0x18], eax
jne 0x45333b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4533e3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4533e3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x5dfcf4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x5dfcf8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5dfcfc], eax
call edi
push eax
call esi
mov dword [0x5dfd04], eax
test eax, eax
je 0x45333b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5dfd00], eax
mov eax, dword [0x5dfd00]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x453394
cmp dword [0x5dfd04], ecx
je 0x453394
push eax
call esi
push dword [0x5dfd04]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x453394
test ebx, ebx
je 0x453394
call edi
test eax, eax
je 0x45338b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x45338b
test byte [ebp - 8], 1
jne 0x453394
or dword [ebp + 0x10], 0x200000
jmp 0x4533c7
mov eax, dword [0x5dfcf8]
cmp eax, dword [ebp - 0x18]
je 0x4533c7
push eax
call esi
test eax, eax
je 0x4533c7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4533c7
mov eax, dword [0x5dfcfc]
cmp eax, dword [ebp - 0x18]
je 0x4533c7
push eax
call esi
test eax, eax
je 0x4533c7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5dfcf4]
call esi
test eax, eax
je 0x4533e3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4533e5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00449559
leave
ret
Function at 0x401050
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5afab3
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x63ad78]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, 7
xor edi, edi
xor ecx, ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], edi
mov word [esi + 4], cx
mov dword [esp + 0x14], edi
xor edx, edx
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], edi
mov word [esi + 0x20], dx
mov byte [esp + 0x14], 1
push 4
mov dword [esi + 0x5c], edi
call fcn.0044d121
add esp, 4
cmp eax, edi
je 0x4010b3
mov dword [eax], edi
jmp 0x4010b5
xor eax, eax
push 0xc
mov dword [esi + 0x60], eax
call fcn.0044d121
add esp, 4
cmp eax, edi
je 0x4010d0
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov dword [eax], edi
jmp 0x4010d2
xor eax, eax
push edi
mov ecx, esi
mov dword [esi + 0x64], eax
mov dword [esi + 0x58], edi
call fcn.00415020
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x411700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5afab3
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x63ad78]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, 7
xor edi, edi
xor ecx, ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], edi
mov word [esi + 4], cx
mov dword [esp + 0x14], edi
xor edx, edx
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], edi
mov word [esi + 0x20], dx
mov byte [esp + 0x14], 1
push 4
mov dword [esi + 0x5c], edi
call fcn.0044d121
add esp, 4
cmp eax, edi
je 0x411763
mov dword [eax], edi
jmp 0x411765
xor eax, eax
push 0xc
mov dword [esi + 0x60], eax
call fcn.0044d121
add esp, 4
cmp eax, edi
je 0x411780
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov dword [eax], edi
jmp 0x411782
xor eax, eax
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0x20]
push eax
mov ecx, esi
mov dword [esi + 0x58], edi
call fcn.00415020
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x413720
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
push edi
call fcn.00582ea0
mov ecx, dword [esi + 8]
add esp, 0x10
cmp eax, 1
mov eax, ecx
sete bl
cdq
idiv dword [esi + 0x18]
mov byte [esp + 0x12], bl
mov dword [esi + 0x1c], eax
test bl, bl
je 0x413899
add dword [esi + 0x14], ecx
cmp dword [esi + 0x54], 8
push 0xffffffffffffffff
push eax
push 0x18
push ecx
mov ecx, esp
jb 0x413773
mov eax, dword [esi + 0x40]
jmp 0x413776
lea eax, [esi + 0x40]
mov dword [ecx], eax
push ecx
mov eax, esp
mov dword [eax], str.read
lea eax, [esi + 0x20]
push eax
mov dword [esp + 0x2c], eax
call fcn.00411950
mov ecx, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
add esp, 0x18
xor ebp, ebp
xor eax, eax
cmp ecx, 1
sete byte [esp + 0x13]
test ebx, ebx
je 0x413834
xor edx, edx
dec ebx
cmp byte [esp + 0x13], dl
je 0x4137b8
cmp byte [edi], dl
jmp 0x4137bc
cmp word [edi], 0
sete dl
test edx, edx
je 0x4137e6
test eax, eax
je 0x4137df
cmp edi, eax
je 0x4137df
imul ecx, ebp
mov edx, edi
sub edx, eax
push edx
push eax
sub eax, ecx
push eax
call fcn.00589b70
add esp, 0xc
mov ecx, dword [esi + 0x18]
lea eax, [ecx + edi]
inc ebp
add edi, ecx
test ebx, ebx
jne 0x4137ab
test eax, eax
je 0x413809
cmp edi, eax
je 0x413809
mov ecx, dword [esi + 0x18]
imul ecx, ebp
sub edi, eax
push edi
push eax
sub eax, ecx
push eax
call fcn.00589b70
add esp, 0xc
test ebp, ebp
je 0x413834
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push ebp
push 1
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
push edx
mov dword [eax], str.nulls_removed
call fcn.00411950
add esp, 0x18
sub dword [esi + 0x1c], ebp
cmp dword [esi + 0x18], 1
jle 0x41388b
test byte [esi + 4], 0x80
je 0x41388b
mov esi, dword [esi + 0x1c]
test esi, esi
je 0x413866
jmp 0x413850
mov ecx, dword [esp + 0x1c]
movzx eax, word [ecx + esi*2 - 2]
dec esi
rol ax, 8
mov word [ecx + esi*2], ax
test esi, esi
jne 0x413850
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], str.endian_swap
mov eax, dword [esp + 0x28]
push eax
call fcn.00411950
add esp, 0x18
mov al, byte [esp + 0x12]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
push esi
call fcn.00413160
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 8
ret 4
Function at 0x413db0
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
imul ecx, eax
push edi
mov dword [esi + 8], ecx
test ebp, ebp
jne 0x413dcc
mov ebp, edx
mov ecx, dword [esi + 4]
xor edi, edi
test cl, cl
jns 0x413e46
test edx, edx
jne 0x413e05
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044d150
mov edi, eax
mov eax, dword [esi + 0x1c]
add eax, eax
push eax
push ebp
push edi
call fcn.005865c0
add esp, 0x10
mov edx, edi
mov ebp, edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x413e22
lea esp, [esp]
movzx ecx, word [edx + eax*2 - 2]
dec eax
rol cx, 8
mov word [edx + eax*2], cx
test eax, eax
jne 0x413e10
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
lea ecx, [esi + 0x20]
push ecx
mov dword [eax], str.endian_swap
call fcn.00411950
add esp, 0x18
mov edx, dword [esi]
mov eax, dword [esi + 8]
push edx
push 1
push eax
push ebp
call fcn.00589a50
add esp, 0x10
cmp eax, 1
sete bl
test edi, edi
je 0x413e6b
push edi
call fcn.0044d15b
add esp, 4
test bl, bl
je 0x413eae
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 8]
add dword [esi + 0x14], ecx
cmp dword [esi + 0x54], 8
push 0xffffffffffffffff
push edx
push 0x18
push ecx
mov ecx, esp
jb 0x413e8b
mov eax, dword [esi + 0x40]
jmp 0x413e8e
lea eax, [esi + 0x40]
push ecx
mov dword [ecx], eax
mov eax, esp
add esi, 0x20
push esi
mov dword [eax], str.write
call fcn.00411950
add esp, 0x18
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
ret 4
push esi
call fcn.00413160
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
ret 4
Function at 0x415480
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5afa79
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x63ad78]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x18], esi
lea edi, [ebp + 4]
xor eax, eax
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], esi
mov dword [esp + 0x1c], ebp
mov word [edi], ax
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], 1
mov ebx, eax
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x4154e0
sub eax, edx
mov esi, dword [ebp + 0x14]
sar eax, 1
mov ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [ecx + eax + 7]
cmp esi, eax
ja 0x415531
cmp dword [ebp + 0x18], eax
je 0x415531
push 1
push eax
mov eax, ebp
call fcn.0040e310
test al, al
je 0x415531
cmp dword [ebp + 0x18], 8
mov dword [ebp + 0x14], esi
jb 0x41552b
mov edi, dword [edi]
xor ecx, ecx
mov word [edi + esi*2], cx
movzx eax, word [ebx]
test ax, ax
je 0x41564b
mov esi, dword [esp + 0x38]
and esi, 0x100
mov dword [esp + 0x14], esi
test esi, esi
je 0x415568
lea edx, [eax - 0x22]
cmp dx, 0x1c
ja 0x415631
movzx ecx, ax
movsx edi, byte [ecx + 0x613b56]
jmp 0x41557f
lea edx, [eax - 0x26]
cmp dx, 0x18
ja 0x415631
movzx ecx, ax
movsx edi, byte [ecx + 0x613b72]
test edi, edi
je 0x415631
test byte [esp + 0x38], 8
je 0x415607
cmp ax, 0x26
jne 0x415607
movzx eax, word [ebx + 2]
lea esi, [ebx + 2]
lea edx, [eax - 0x23]
cmp dx, 0x57
ja 0x4155b2
movzx ecx, ax
movsx ecx, byte [ecx + 0x613b95]
test ecx, ecx
jne 0x4155b8
cmp ax, 0x7f
jbe 0x415607
movzx eax, word [esi + 2]
add esi, 2
cmp ax, 0x3b
je 0x4155ef
lea edx, [eax - 0x2d]
cmp dx, 0x4d
ja 0x4155dc
movzx ecx, ax
movsx ecx, byte [ecx + 0x613beb]
test ecx, ecx
jne 0x4155e2
cmp ax, 0x7f
jbe 0x415607
movzx eax, word [esi + 2]
add esi, 2
cmp ax, 0x3b
jne 0x4155c5
mov eax, esi
sub eax, ebx
sar eax, 1
inc eax
push eax
push ebx
mov eax, ebp
call fcn.0040e070
mov ebx, esi
mov esi, dword [esp + 0x14]
jmp 0x41563b
mov edx, dword [edi*4 + 0x63c9dc]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415613
sub eax, esi
sar eax, 1
push eax
push edx
mov eax, ebp
call fcn.0040e070
mov esi, dword [esp + 0x14]
jmp 0x41563b
push 1
push ebx
mov eax, ebp
call fcn.0040e070
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
jne 0x41554b
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x418800
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5af9a8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x63ad78]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.0040d070
mov eax, 0x6144a8
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x418860
sub eax, edx
sar eax, 1
push eax
push 0x6144a8
lea eax, [esp + 0x14]
call fcn.0040e070
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.0040d070
cmp dword [esp + 0x24], 8
jb 0x4188ac
mov edx, dword [esp + 0x10]
push edx
call fcn.0044d15b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x418990
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
cmp byte [0x6442ec], 0
je 0x4189a8
cmp byte [esp + 4], 0
jne 0x4189a8
mov eax, 0x11
ret 4
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [edi + 8], eax
test eax, eax
jge 0x4189bc
xor eax, eax
ret 4
push esi
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jge 0x4189e0
cmp eax, 0x80010119
jne 0x418a3d
lea esi, [edi + 4]
push esi
push 0x60e8ac
push 1
push 0
push 0x60e97c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x418a37
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push str.rootCIMV2
push eax
call edx
test eax, eax
jl 0x418a37
mov eax, dword [edi]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jge 0x418a3d
xor eax, eax
pop esi
ret 4
mov byte [0x6442ec], 1
mov eax, 1
pop esi
ret 4
Function at 0x41c430
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5b1660
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x63ad78]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov eax, dword [0x63ad78]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor esi, esi
push esi
push esi
push esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
push esi
push esi
push 0x614460
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ebx, dword [esp + 0x14]
xor eax, eax
lea esi, [esp + 0x1c]
mov dword [esp + 0x10], ebx
mov byte [esp + 0x1c], 0
mov dword [esp + 0x1d], eax
mov word [esp + 0x21], ax
mov byte [esp + 0x23], al
call fcn.0041c320
mov dl, byte [esp + 0x12]
add byte [esp + 0x1c], dl
mov cl, byte [esp + 0x21]
mov al, byte [esp + 0x1e]
add al, byte [esp + 0x13]
add byte [esp + 0x1f], bl
add cl, dl
movzx edx, bh
push edx
movzx edx, bl
push edx
movzx edx, byte [esp + 0x28]
movzx ecx, cl
push ecx
movzx ecx, byte [esp + 0x2b]
push edx
push ecx
movzx ecx, byte [esp + 0x30]
movzx edx, al
movzx eax, byte [esp + 0x31]
push edx
push eax
push ecx
push str._02X_02X_02X_02X_02X_02X_02X_02X
lea edx, [esp + 0x54]
push 0x11
push edx
call fcn.005830fa
add esp, 0x2c
lea eax, [esp + 0x30]
push eax
lea ebx, [esp + 0x14]
call fcn.00410e80
xor ebx, ebx
mov dword [esp + 0x50], ebx
mov esi, dword [eax]
cmp esi, ebx
je 0x41c52e
cmp dword [esi + 4], ebx
jne 0x41c529
mov ecx, dword [esi]
push ecx
call fcn.005a6990
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x41c530
xor esi, esi
push esi
lea ecx, [esp + 0x20]
call fcn.00424eb0
push eax
push str.MachId
mov ecx, edi
mov byte [esp + 0x58], 1
call fcn.00426070
mov ecx, eax
call fcn.00425310
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], bl
call fcn.00425210
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x41c5a0
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41c5a0
cmp esi, ebx
je 0x41c5a0
mov eax, dword [esi]
cmp eax, ebx
je 0x41c587
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x41c597
push eax
call fcn.0044d15b
add esp, 4
push esi
call fcn.0044d15b
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.005824ce
add esp, 0x48
ret
Function at 0x41c5c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x63ad78]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push esi
xor esi, esi
push esi
push esi
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
push esi
push 0x614460
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ebx, dword [esp + 0x10]
xor eax, eax
lea esi, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x18], 0
mov dword [esp + 0x19], eax
mov word [esp + 0x1d], ax
mov byte [esp + 0x1f], al
call fcn.0041c320
mov dl, byte [esp + 0xe]
add byte [esp + 0x18], dl
mov cl, byte [esp + 0x1d]
mov al, byte [esp + 0x1a]
add al, byte [esp + 0xf]
add byte [esp + 0x1b], bl
add cl, dl
movzx edx, bh
push edx
movzx edx, bl
push edx
movzx edx, byte [esp + 0x24]
movzx ecx, cl
push ecx
movzx ecx, byte [esp + 0x27]
push edx
push ecx
movzx ecx, byte [esp + 0x2c]
movzx edx, al
movzx eax, byte [esp + 0x2d]
push edx
push eax
push ecx
push str._02X_02X_02X_02X_02X_02X_02X_02X
lea edx, [esp + 0x44]
push 0x11
push edx
call fcn.005830fa
add esp, 0x2c
mov ecx, edi
call fcn.0040c080
lea eax, [esp + 0x20]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41c683
sub eax, ecx
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.0040dcc0
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.005824ce
mov esp, ebp
pop ebp
ret