joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440661
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4600c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00438651
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00438651
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x4406d8
cmp word [ecx], dx
je 0x4406d8
mov eax, dword [0x455c04]
push edi
dec eax
push eax
push 0x455af0
call fcn.00440600
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x44074b
cmp word [eax], dx
je 0x44074b
mov eax, dword [edi]
test eax, eax
je 0x4406fc
cmp word [eax], dx
je 0x4406fc
lea eax, [ebp - 0x10]
push eax
call fcn.0043ffe3
jmp 0x440705
lea eax, [ebp - 0x10]
push eax
call fcn.0044007e
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x440775
mov eax, dword [0x455aec]
push dword [ebp - 0x14]
dec eax
push eax
push 0x4557e0
call fcn.00440600
add esp, 0xc
test al, al
je 0x440775
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x440740
cmp word [eax], di
je 0x440740
lea eax, [ebp - 0x10]
push eax
call fcn.0043ffe3
pop ecx
jmp 0x440777
lea eax, [ebp - 0x10]
push eax
call fcn.0044007e
jmp 0x44073d
mov eax, dword [edi]
test eax, eax
je 0x440762
cmp word [eax], dx
je 0x440762
lea eax, [ebp - 0x10]
push eax
call fcn.0043ff98
pop ecx
jmp 0x440775
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x440840
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00440485
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x440840
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x440840
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x440840
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4407cd
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0043a0d2
test ebx, ebx
je 0x44083b
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0043a0d2
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x440840
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x440840
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00444ec1
add esp, 0x10
xor eax, eax
inc eax
jmp 0x440842
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00421795
leave
ret
Function at 0x445b10
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0x10], 0xffffff99
jl 0x407f03
jmp 0xdd8f46
fst qword [0x301ddc61]
clc
inc eax
add byte [ecx*2 + 0x5d8b5318], cl
and byte [esi + 0x33], dl
mov edx, dword [edi - 0x21]
loopne 0x407f6f
jne 0x407f36
mov dword [ecx - 0x61fa263e], edx
sti
jp 0x407f6b
fst qword [eax + 0x5ddd1a20]
or bh, al
add dword [ebp], ecx
add byte [eax], al
mov eax, dword [edx]
cwde
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
jb 0x407f91
push edx
call dword [0x40c123]
mov edx, ebx
or eax, 0xdcec4542
sbb eax, 0x40c230
xor dword [ebx - 0x91f20f4], 0xffffffc4
inc esp
jnp 0x407f3e
cdq
jae 0x407fae
cmp esi, ebx
jbe 0x407fba
fld qword [ebp - 0x14]
mov ebx, dword [0x404919]
fnstsw ax
test ah, 0x44
inc esp
jnp 0x407fba
fld qword [ebp - 0x14]
xchg esp, eax
or eax, 0x40c386
lea edx, [edx - 0x137caf14]
or ch, bl
push ds
and al, 0xff
adc eax, 0x40c1ae
and bl, byte [ebp - 0xc]
fld qword [esi]
hlt
rol byte [0x1740c308], 0x83
invalid
fmul qword [ebx + 0x3b41fc4d]
mov dword [0x8d7e77cd], ecx
adc dword [eax + 0x3b], 0xfffffff0
jae 0x407f91
lea eax, [ebx + 0x73f03b50]
ror byte [edx + 0x47174616], 1
mov dl, byte [esi]
inc esi
pop ss
inc edi
inc esi
cmp esi, eax
jb 0x407fc1
jmp 0x40801d
mov eax, dword [ebp - 0x6c]
lea esi, [eax + ebx]
xchg dword [ebx + 0x75c08556], esi
add eax, dword [ebx]
inc edx
test dword [ebx + 0x533b14d2], ecx
jae 0x408047
mov eax, dword [ebp]
pop edi
neg eax
mov dword [eax - 0x3a], ebx
add edx, dword [ebp + 0x26]
jo 0x4080a0
pop ebx
mov ecx, dword [ecx]
pop ebp
ret
mov edx, dword [ebp - 4]
cmp ebx, dword [0x6774589]
fld qword [ebp - 0x57]
Function at 0x158e058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x158e1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x158e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x158e06a
add dl, dl
jne 0x158e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x158e0dc
xor eax, eax
add dl, dl
jne 0x158e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x158e17d
add dl, dl
jne 0x158e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x158e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x158e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x158e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x158e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x158e075
mov eax, 1
add dl, dl
jne 0x158e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x158e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x158e0e1
sub eax, ebx
mov ebx, 1
jne 0x158e128
mov ecx, 1
add dl, dl
jne 0x158e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x158e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x158e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x158e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x158e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x158e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x158e136
cmp eax, 0x7d00
jae 0x158e16d
cmp eax, 0x500
jb 0x158e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x158e075
cmp eax, 0x7f
ja 0x158e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x158e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x158e19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x158e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40cbc7
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x41a2f8
call fcn.00413724
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], 0x41b69c
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x41b754
push 4
mov ebx, 0x41b68c
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00403291
mov dword [esi + 0x3c], 0x41b804
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.00403291
mov dword [edi], 0x41b80c
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.0040c1be
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.0040c1be
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.0040c1be
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.0040c1be
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.0040c1be
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x412ff0
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call fcn.0041468e
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x413018
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x413027
mov eax, 1
ret 4

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6a
nop
sub eax, 0x403d10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x10002cef
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, dword [esi + 0x3c]
add ebx, esi
push 0x40
lea eax, [ebx + 0x18]
push 0x3000
push dword [eax + 0x38]
mov dword [ebp - 4], ecx
push 0
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], eax
call dword [0x138605c]
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x10002e59
push 0x40
mov edx, esi
mov ecx, edi
call fcn.10003ba0
mov esi, dword [edi + 0x3c]
movzx eax, word [ebx + 0x14]
add esi, edi
push eax
mov edx, ebx
mov ecx, esi
call fcn.10003ba0
mov eax, dword [ebp - 8]
lea ebx, [esi + 0x18]
movzx ecx, word [eax + 0x14]
movzx esi, word [esi + 0x14]
lea edx, [eax + 0x18]
movzx eax, word [eax + 6]
add ecx, edx
add esi, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x10002db7
mov ebx, ecx
sub ebx, esi
mov edi, eax
push 0x28
lea edx, [ebx + esi]
mov ecx, esi
call fcn.10003ba0
add esi, 0x28
dec edi
jne 0x10002d75
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x10002db7
lea esi, [ecx + 0x14]
mov ebx, eax
mov edx, dword [esi]
mov ecx, dword [esi - 8]
push dword [esi - 4]
add edx, dword [ebp + 8]
add ecx, edi
call fcn.10003ba0
lea esi, [esi + 0x28]
dec ebx
jne 0x10002d9c
mov ebx, dword [ebp - 0xc]
push ebx
mov edx, edi
mov ecx, edi
call fcn.10004350
push dword [ebp - 0x18]
mov ecx, dword [0x1387004]
mov edx, edi
call fcn.10004430
mov edx, dword [ebx + 0x60]
test edx, edx
je 0x10002e56
cmp dword [ebx + 0x64], 0
je 0x10002e56
xor eax, eax
lea ecx, [edx + edi]
inc eax
sub eax, dword [ecx + 0x10]
cmp eax, dword [ecx + 0x14]
jae 0x10002dfe
push eax
push ecx
push dword [ebx + 0x64]
mov ecx, edi
call fcn.100043f0
mov ecx, eax
xor eax, eax
jmp 0x10002e02
xor eax, eax
mov ecx, eax
mov edx, dword [ebp - 4]
push 2
mov dword [edx + 4], ecx
mov edx, dword [ebx + 0x60]
pop ecx
lea esi, [edx + edi]
sub ecx, dword [esi + 0x10]
cmp ecx, dword [esi + 0x14]
jae 0x10002e2b
push ecx
push esi
push dword [ebx + 0x64]
mov ecx, edi
call fcn.100043f0
mov ecx, eax
xor eax, eax
jmp 0x10002e2d
mov ecx, eax
mov edx, dword [ebp - 4]
push 3
mov dword [edx + 8], ecx
mov edx, dword [ebx + 0x60]
pop ecx
lea esi, [edx + edi]
sub ecx, dword [esi + 0x10]
cmp ecx, dword [esi + 0x14]
jae 0x10002e50
push ecx
push esi
push dword [ebx + 0x64]
mov ecx, edi
call fcn.100043f0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10002ea4
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, dword [esi + 0x3c]
push 0x40
add ebx, esi
push 0x3000
lea eax, [ebx + 0x18]
mov dword [ebp - 0x1c], ecx
push dword [eax + 0x38]
mov dword [ebp - 0x18], eax
push 0
call dword [0x138605c]
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
je 0x10002fad
push 0x40
mov edx, esi
mov ecx, edi
call fcn.10003ba0
mov esi, dword [edi + 0x3c]
movzx eax, word [ebx + 0x14]
add esi, edi
push eax
mov edx, ebx
mov ecx, esi
call fcn.10003ba0
movzx ecx, word [ebx + 0x14]
lea eax, [esi + 0x18]
movzx esi, word [esi + 0x14]
lea edx, [ebx + 0x18]
movzx ebx, word [ebx + 6]
add ecx, edx
add esi, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x10002f5c
mov edi, ecx
sub edi, esi
push 0x28
lea edx, [edi + esi]
mov ecx, esi
call fcn.10003ba0
add esi, 0x28
dec ebx
jne 0x10002f22
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ebx, ebx
je 0x10002f5c
lea esi, [ecx + 0x14]
mov edx, dword [esi]
mov ecx, dword [esi - 8]
push dword [esi - 4]
add edx, dword [ebp + 8]
add ecx, edi
call fcn.10003ba0
lea esi, [esi + 0x28]
dec ebx
jne 0x10002f44
mov ebx, dword [ebp - 0x14]
push ebx
mov edx, edi
mov ecx, edi
call fcn.10004350
push dword [ebp - 0x18]
mov ecx, dword [0x1387004]
mov edx, edi
call fcn.10004430
mov edx, dword [ebx + 0x60]
test edx, edx
je 0x10002faa
cmp dword [ebx + 0x64], 0
je 0x10002faa
xor eax, eax
lea ecx, [edx + edi]
inc eax
sub eax, dword [ecx + 0x10]
cmp eax, dword [ecx + 0x14]
jae 0x10002fa2
push eax
push ecx
push dword [ebx + 0x64]
mov ecx, edi
call fcn.100043f0
jmp 0x10002fa4
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10004250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, edx
push edi
push 0
push dword [0x1387000]
mov dword [ebp - 8], edi
mov esi, ecx
call dword [0x138607c]
mov ebx, edi
shr ebx, 2
mov dword [ebp - 4], eax
test ebx, ebx
je 0x10004294
mov edi, esi
mov ecx, eax
sub edi, eax
mov edx, ebx
mov eax, dword [edi + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x10004283
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
shl ebx, 2
cmp ebx, edi
jae 0x100042af
mov edx, edi
sub esi, eax
lea ecx, [ebx + eax]
sub edx, ebx
mov al, byte [ecx + esi]
mov byte [ecx], al
lea ecx, [ecx + 1]
dec edx
jne 0x100042a4
mov eax, dword [ebp - 4]
lea esi, [edi - 8]
lea ecx, [eax - 8]
add ecx, edi
mov ebx, esi
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
shr ebx, 2
and esi, 3
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
test ebx, ebx
je 0x100042f1
lea ecx, [ebx + edx]
mov edx, dword [eax]
movzx ecx, cl
ror edx, cl
mov ecx, dword [ebp - 8]
add eax, 4
xor edx, ecx
sub edx, ebx
mov dword [eax - 4], edx
mov edx, dword [ebp - 0xc]
dec ebx
jne 0x100042d4
test esi, esi
je 0x100042fd
xor byte [eax], cl
lea eax, [eax + 1]
dec esi
jne 0x100042f5
mov edi, dword [ebp - 0x10]
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x1387000]
call dword [0x138607c]
mov ebx, dword [ebp - 4]
mov esi, eax
mov edx, esi
mov ecx, ebx
call fcn.10001d1b
push ebx
push 0
push dword [0x1387000]
call dword [0x1386080]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000118d
Capabilities:
Check os version

Disassembly:
mov eax, 0x10018ee1
call fcn.1000ea40
sub esp, 0xa4
mov al, byte [ebp - 0xd]
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 0x14]
mov dword [esi + 0x10], edi
push edi
mov dword [ebp - 0x14], esi
mov byte [ecx], al
call fcn.1000353a
lea ebx, [esi + 0x24]
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [ebp - 4], edi
mov dword [ebx], edi
mov dword [esi + 0x30], edi
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
call fcn.1000b255
push esi
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 2
mov dword [esi + 0x4f8], edi
mov dword [esi + 0x4fc], edi
call fcn.10007957
push ebx
mov ecx, esi
call fcn.1000333c
mov ebx, 0x9c
lea eax, [ebp - 0xb0]
push ebx
push edi
push eax
call fcn.1000e610
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb0], ebx
push eax
call edi
test eax, eax
jne 0x10001247
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb0], 0x94
push eax
call edi
cmp dword [ebp - 0xac], 5
jb 0x10001257
mov dword [esi + 0x28], 1
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x100055f5
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x100194d3
call fcn.1000ea40
sub esp, 0x130
mov al, byte [ebp + 0xf]
push ebx
push esi
xor ebx, ebx
push edi
push ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x28], al
call fcn.1000353a
push 1
mov dword [ebp - 0x10], ebx
pop esi
mov dword [ebp - 4], esi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x13b]
mov byte [ebp - 0x13c], bl
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [ebp + 0xf]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0x104
mov byte [ebp - 0x38], al
call fcn.1000353a
push 0xf003f
lea ecx, [ebp - 0x10]
push dword [ebp + 0xc]
mov byte [ebp - 4], 3
push SysReAllocString
call fcn.10005738
test eax, eax
jne 0x100056c3
lea eax, [ebp - 0x18]
mov dword [ebp + 0xc], ebx
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x100056b2
lea eax, [ebp - 0x13c]
push eax
call fcn.1000eb50
pop ecx
push eax
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x28]
call fcn.100035c1
cmp dword [ebp - 0x10], ebx
je 0x100056c3
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
mov al, byte [ebp - 0x28]
push ebx
mov ecx, edi
mov byte [edi], al
call fcn.1000353a
push dword [0x1001a3c0]
lea eax, [ebp - 0x28]
mov ecx, edi
push ebx
push eax
call fcn.100033ea
mov dword [ebp - 0x14], esi
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.1000353a
cmp dword [ebp - 0x10], ebx
je 0x10005706
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.1000353a
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x10006337
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, 0xf003f
push edi
mov esi, SysReAllocString
push dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
push esi
call fcn.10005738
test eax, eax
jne 0x1000638c
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0x10]
push 1
push ebx
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 4], ebx
je 0x100063fa
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100063fa
lea eax, [ebp + 8]
mov dword [ebp - 8], ebx
push eax
lea eax, [ebp - 8]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push dword [ebp + 8]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
jne 0x100063f0
xor eax, eax
cmp dword [ebp - 4], ebx
je 0x100063bc
push dword [ebp - 4]
call esi
mov ecx, dword [ebp - 8]
cmp eax, ebx
mov dword [ebp - 4], ecx
jne 0x100063f0
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0x10]
push 1
push ebx
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 4], ebx
je 0x100063fa
push dword [ebp - 4]
call esi
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], ebx
je 0x100063fa
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10007124
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push edi
xor edi, edi
push 1
push edi
push edi
lea eax, [ebp - 0x1c]
push edi
push eax
call esi
test eax, eax
je 0x1000716e
cmp dword [ebp - 0x18], 0x12
je 0x10007168
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push edi
push edi
lea eax, [ebp - 0x1c]
push edi
push eax
jmp 0x1000713d
push edi
call fcn.1000f9ef
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
leave
ret
Function at 0x10007327
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
push 1
mov esi, ecx
pop edi
push edi
mov dword [eax], edi
push dword [esi + 0x434]
call fcn.10007244
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], eax
mov dword [ebp + 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x434]
call fcn.1000717a
push edi
mov ecx, esi
push dword [esi + 0x430]
call fcn.10007244
mov edi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
push dword [esi + 0x430]
call fcn.1000717a
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp - 4]
cmp eax, 4
jge 0x100073bf
test eax, eax
jge 0x10007457
cmp eax, 0xfffffffc
jle 0x100073cc
test eax, eax
jle 0x10007457
movzx eax, bx
movzx ecx, di
shr ebx, 0x10
shr edi, 0x10
inc eax
inc ebx
movzx ebx, bx
movzx eax, ax
shl ebx, 0x10
or ebx, eax
mov eax, dword [ebp - 8]
add ecx, 0xc8
mov dword [ebp - 0x20], edi
test eax, eax
mov dword [ebp - 0x24], ecx
je 0x10007400
cdq
sub eax, edx
sar eax, 1
add dword [ebp - 0x20], eax
push 0
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push dword [esi + 0x434]
push 0x410
push dword [esi + 0x80]
call edi
push ebx
push eax
push 0x418
push dword [esi + 0x80]
call edi
movzx eax, word [ebp - 0x20]
movzx ecx, word [ebp - 0x24]
shl eax, 0x10
or eax, ecx
xor ebx, ebx
push eax
push ebx
push 0x41a
push dword [esi + 0x80]
call edi
push ebx
push ebx
push 0x419
push dword [esi + 0x80]
call edi
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10