joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409f10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x409f42
jl 0x409f35
test ecx, ecx
jne 0x409f42
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x40a002
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.0040bfa0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x409fae
jg 0x409f6d
test esi, esi
je 0x409fae
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x409f85
mov eax, dword [esp + 0x10]
jl 0x409f7f
cmp eax, esi
jae 0x409f85
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.00415640
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x409fcf
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x409feb
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x409f54
jl 0x409feb
test ecx, ecx
jne 0x409f54
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x40a041
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x40a041
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.00415640
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
cmp dword [ebx + 0x4c], 0
mov ecx, edi
je 0x40a0b0
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x40a067
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
mov ecx, edi
cmp edi, 0xfff
jbe 0x40a099
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.0041c9cd
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x40a0c4
cmp edi, eax
ja 0x40a075
test ecx, ecx
je 0x40a0b0
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.0041c9cd
mov ecx, edi
add esp, 0x10
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, ecx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40a440
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x448050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x40a470
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413f5b
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40a4ac
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x40a4ac
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413f5b
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x40a595
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x40a4d4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x40a507
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.00418a85
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413f5b
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x25], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call edx
test eax, eax
js 0x40a595
cmp eax, 1
jle 0x40a568
cmp eax, 3
jne 0x40a595
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.00418a85
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413f5b
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40a585
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0041b914
add esp, 0x10
cmp edi, eax
jne 0x40a595
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x40a497
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413f5b
mov esp, ebp
pop ebp
ret 4
Function at 0x40bcd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x448050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40bd8c
cmp byte [esi + 0x3d], 0
je 0x40bd8c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40bd7a
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x40bd42
sub eax, 1
je 0x40bd46
sub eax, 2
jne 0x40bd7a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413f5b
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40bd63
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0041b914
add esp, 0x10
cmp edi, eax
jne 0x40bd7a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413f5b
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413f5b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00413f5b
mov esp, ebp
pop ebp
ret
Function at 0x40d620
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435520
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x448050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0041416c
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00412f9b
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
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 0x410140
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
mov esi, 1
mov dword [ebp - 0x14], ebx
mov eax, esi
shl eax, cl
mov ecx, dword [ebp + 8]
push edi
cmp ecx, eax
ja 0x4102c8
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 0xc], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.0040d470
mov ecx, dword [ebp - 0xc]
lea eax, [esi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], esi
mov edi, dword [ebx + 4]
mov edi, dword [edi]
mov eax, edi
cmp edi, ecx
je 0x4102a0
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov eax, dword [eax]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], edx
jb 0x4101c1
mov esi, dword [edx]
mov dword [ebp - 4], esi
xor edx, edx
mov ebx, 0x811c9dc5
cmp dword [ebp - 0x10], edx
jbe 0x4101ea
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
movzx esi, byte [edx + ecx]
inc edx
xor esi, ebx
imul ebx, esi, 0x1000193
cmp edx, eax
jb 0x4101d3
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov esi, dword [edx + 0x18]
mov edx, dword [edx + 0xc]
and esi, ebx
lea ebx, [edx + esi*8]
mov dword [ebp - 4], ebx
cmp dword [ebx], ecx
jne 0x410209
mov dword [ebx], edi
mov dword [ebx + 4], edi
jmp 0x410291
mov esi, dword [ebx + 4]
lea ecx, [edi + 8]
lea edx, [esi + 8]
call fcn.0040e470
test al, al
je 0x41024a
mov ecx, dword [esi]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
cmp ecx, edi
je 0x410245
mov esi, dword [edi + 4]
mov ebx, dword [ebp - 0x10]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ecx
mov ecx, dword [ecx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov ebx, dword [ebp - 4]
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov dword [ebx + 4], edi
jmp 0x41028e
mov eax, dword [ebp - 4]
mov ebx, esi
cmp dword [eax], esi
je 0x41026e
mov esi, dword [esi + 4]
lea ecx, [edi + 8]
mov ebx, esi
lea edx, [ebx + 8]
call fcn.0040e470
test al, al
jne 0x4102a9
mov eax, dword [ebp - 4]
cmp dword [eax], esi
jne 0x410253
mov esi, dword [edi + 4]
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 4]
mov dword [ecx], edi
mov ecx, dword [ebp - 0xc]
mov edi, eax
cmp eax, ecx
jne 0x4101a5
nop dword [eax + eax]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [esi]
mov esi, dword [edi + 4]
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
jmp 0x41028e
push str.invalid_hash_bucket_count
call fcn.00412d70
int3
Function at 0x411010
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
mov dword [ebp - 0xc], eax
mov esi, ebx
add eax, 4
cmp dword [ebx + 0x14], 0x10
push edi
mov edi, dword [ebx + 0x10]
mov dword [ebp - 8], eax
jb 0x411034
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x411051
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x411040
and edx, 0x7fffffff
mov esi, dword [ebp - 8]
mov eax, edx
mov ecx, 0x1f31d
xor edx, edx
div ecx
imul eax, eax, 0xb14
imul ecx, edx, 0x41a7
sub ecx, eax
lea eax, [ecx + 0x7fffffff]
cmovns eax, ecx
mov ecx, esi
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.004121d0
mov eax, dword [eax + 4]
test eax, eax
jne 0x411093
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ecx + 0xc]
je 0x4110a7
mov eax, dword [eax + 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x411f70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
mov esi, 1
mov dword [ebp - 0x14], ebx
mov eax, esi
shl eax, cl
mov ecx, dword [ebp + 8]
push edi
cmp ecx, eax
ja 0x412117
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 8]
push eax
mov dword [ebp - 0xc], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0x10]
lea eax, [esi + esi]
push eax
call fcn.0040d470
lea eax, [esi - 1]
mov dword [ebx + 0x20], esi
mov esi, dword [ebp - 0xc]
mov dword [ebx + 0x1c], eax
mov edi, dword [ebx + 8]
mov edi, dword [edi]
mov ecx, edi
cmp edi, esi
je 0x4120ef
cmp dword [edi + 0x1c], 0x10
lea eax, [edi + 8]
mov ecx, dword [ecx]
mov edx, dword [eax + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
jb 0x411ff1
mov edx, dword [eax]
mov dword [ebp - 4], edx
xor edx, edx
mov ebx, 0x811c9dc5
cmp dword [eax + 0x10], edx
jbe 0x41201a
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
movzx eax, byte [edx + esi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x412003
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
and ebx, 0x7fffffff
xor edx, edx
mov eax, ebx
mov ebx, 0x1f31d
div ebx
imul eax, eax, 0xb14
imul edx, edx, 0x41a7
sub edx, eax
mov eax, dword [ebp - 0x14]
lea ebx, [edx + 0x7fffffff]
cmovns ebx, edx
and ebx, dword [eax + 0x1c]
mov eax, dword [eax + 0x10]
lea eax, [eax + ebx*8]
mov dword [ebp - 4], eax
cmp dword [eax], esi
jne 0x41205f
mov dword [eax], edi
mov dword [eax + 4], edi
jmp 0x4120e5
mov esi, dword [eax + 4]
lea eax, [esi + 8]
push eax
lea eax, [edi + 8]
push eax
call fcn.00412130
test al, al
jne 0x41209c
mov ebx, dword [esi]
mov ecx, dword [ebp - 8]
cmp ebx, edi
je 0x412094
mov esi, dword [edi + 4]
mov dword [esi], ecx
mov edx, dword [ecx + 4]
mov dword [edx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], edi
mov dword [ebx + 4], edx
mov dword [ecx + 4], esi
mov dword [edi + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], edi
jmp 0x4120e2
mov eax, dword [ebp - 4]
mov ebx, esi
cmp dword [eax], esi
je 0x4120c2
mov esi, dword [esi + 4]
mov ebx, esi
lea eax, [ebx + 8]
push eax
lea eax, [edi + 8]
push eax
call fcn.00412130
test al, al
je 0x4120f8
mov eax, dword [ebp - 4]
cmp dword [eax], esi
jne 0x4120a5
mov esi, dword [edi + 4]
mov ecx, dword [ebp - 8]
mov dword [esi], ecx
mov edx, dword [ecx + 4]
mov dword [edx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], edi
mov dword [ebx + 4], edx
mov dword [ecx + 4], esi
mov dword [edi + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], edi
mov esi, dword [ebp - 0xc]
mov edi, ecx
cmp ecx, esi
jne 0x411fd5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [esi]
mov esi, dword [edi + 4]
mov ecx, dword [ebp - 8]
mov dword [esi], ecx
mov edx, dword [ecx + 4]
mov dword [edx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], edi
mov dword [ebx + 4], edx
mov dword [ecx + 4], esi
mov dword [edi + 4], eax
jmp 0x4120e2
push str.invalid_hash_bucket_count
call fcn.00412d70
int3
Function at 0x424f20
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00424d96

Function at 0x42bf73
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042bac6
Function at 0x1000f814
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1019aef8]
jne 0x1000f81e
repz ret
jmp fcn.10012287

Function at 0x100129cf
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000f89d
and dword [ebp - 4], 0
cmp dword [0x1019c808], 0
mov ebx, eax
jne 0x10012a80
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10012b31
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10012b31
push eax
call fcn.1000f82b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1019c808], eax
call esi
push eax
call fcn.1000f82b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1019c80c], eax
call esi
push eax
call fcn.1000f82b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1019c810], eax
call esi
push eax
call fcn.1000f82b
pop ecx
mov dword [0x1019c818], eax
test eax, eax
je 0x10012a80
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000f82b
pop ecx
mov dword [0x1019c814], eax
mov eax, dword [0x1019c814]
cmp eax, ebx
je 0x10012ad8
cmp dword [0x1019c818], ebx
je 0x10012ad8
push eax
call fcn.1000f8a6
push dword [0x1019c818]
mov esi, eax
call fcn.1000f8a6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10012ad8
test edi, edi
je 0x10012ad8
call esi
test eax, eax
je 0x10012acf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10012acf
test byte [ebp - 0xc], 1
jne 0x10012ad8
or dword [ebp + 0x10], 0x200000
jmp 0x10012b11
mov eax, dword [0x1019c80c]
cmp eax, ebx
je 0x10012b11
push eax
call fcn.1000f8a6
pop ecx
test eax, eax
je 0x10012b11
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10012b11
mov eax, dword [0x1019c810]
cmp eax, ebx
je 0x10012b11
push eax
call fcn.1000f8a6
pop ecx
test eax, eax
je 0x10012b11
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1019c808]
call fcn.1000f8a6
pop ecx
test eax, eax
je 0x10012b31
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10012b33
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10014bc1
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1019a98c], 0
mov byte [0x1019a990], 0
mov dword [0x1019a984], 0xdd8
mov dword [0x1019a980], 0x1867
mov dword [0x1019a988], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10014c35
xor eax, eax
mov ecx, 0x1c52
mov dword [0x1019a980], 0x1c52
mov dword [0x1019a988], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x10014c5d
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1019a988]
add eax, 1
mov dword [0x1019a988], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10014c35
jmp 0x10014c12
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
mov dword [ebp - 0x28], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [ebp - 0x28]
add edi, 0xfffff22e
mov dword [0x1019a994], 0
mov ebx, dword [0x1019a98c]
mov esi, dword [ebp - 0x18]
movzx esi, byte [esi + ecx]
add esi, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add esi, edx
mov dword [0x1019a994], esi
mov dword [0x1019a980], edi
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x1019a98c], edx
mov edi, dword [ebp - 0x18]
mov bl, byte [edi + ecx]
mov byte [0x1019a990], bl
mov dword [0x1019a980], 0x1300
mov bl, byte [edi + edx]
mov byte [edi + ecx], bl
mov bl, byte [0x1019a990]
mov ecx, dword [0x1019a98c]
mov byte [edi + ecx], bl
mov ecx, dword [0x1019a984]
mov edx, ecx
add edx, 0xfffff3f9
mov dword [0x1019a980], edx
mov esi, dword [0x1019a988]
add esi, 1
mov dword [0x1019a988], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x24], edx
jl 0x10014c5d
mov eax, dword [ebp - 0x30]
add eax, 0xffffef7b
mov dword [0x1019a980], eax
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10014d39
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x1019a984], 0xbaf
mov dword [0x1019a980], 0x77a
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x10014da9
lea eax, [ebp - 0x20]
mov dword [0x1019a984], 0x8c2
mov dword [0x1019a980], 0x2310
mov dword [ebp - 0x30], eax
call fcn.10014af2
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.1001473d
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x10014e85
jmp 0x10014dd5
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1017cbc4]
mov dh, byte [eax + 0x1017cb95]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
je 0x10014d66
jmp 0x10014da9
mov eax, dword [ebp - 0x34]
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 ecx, dword [0x1019a980]
add ecx, 0xffffee8b
mov dword [0x1019a980], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10015314
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x1019a984], 0x322
mov dword [ecx + 0xd0], 0x4550
mov dword [0x1019a980], 0xfb1
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x1c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0xc], ecx
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x10014e85
mov eax, dword [0x1019a984]
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2285
add eax, 0xfffff237
mov dword [0x1019a980], eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x10015189
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1019a984]
add eax, 0xfffffd5c
mov dword [0x1019a984], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x1019a980], 0x2650
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x1019a984], 0x129
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10015219
mov eax, 1
mov dword [0x1019a984], 0xfa2
mov dword [ebp - 0x14], eax
jmp 0x1001530c
mov eax, 0x29da
mov dword [0x1019a980], 0x13c5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x1c], eax
je 0x100152cd
jmp 0x100152ff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x10015246
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
jl 0x10015219
mov eax, dword [ebp - 0x24]
mov ecx, 0x35f0
mov dword [0x1019a980], 0x1fdb
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
jne 0x100152ff
mov eax, 0x199d
mov dword [0x1019a980], 0x388
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x1c], eax
jne 0x100152ff
mov eax, 0x199d
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x1c], eax
jne 0x100152ff
mov eax, 0xfffff9e7
mov dword [0x1019a980], 0xffffe3d2
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x1c], eax
je 0x100151ef
jmp 0x100152ff
mov eax, 0x29da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x100152ff
mov eax, 0x29da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
je 0x100151d8
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [0x1019a980], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
add esp, 0x24
pop ebp
ret