joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005c70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100c2354]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x1c], 0x73006d
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x1c]
mov eax, 0x100c8458
mov dword [ebp - 0x18], 0x640065
mov dword [ebp - 0x14], 0x650067
mov edx, 0xc
mov dword [ebp - 0x10], 0x65002e
sub esi, eax
mov dword [ebp - 0xc], 0x650078
nop dword [eax]
lea ecx, [edx + 0x7ffffff2]
test ecx, ecx
je 0x10005cde
movzx ecx, word [esi + eax]
test cx, cx
je 0x10005cde
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10005cc0
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x100c8458
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002ff7e
mov esp, ebp
pop ebp
ret

Function at 0x10005d00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100c2354]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x100c854c
mov dword [ebp - 0x20], 0x6c0073
lea esi, [ebp - 0x20]
mov dword [ebp - 0x1c], 0x720062
mov dword [ebp - 0x18], 0x77006f
mov edx, 0xf
mov dword [ebp - 0x14], 0x650073
sub esi, eax
mov dword [ebp - 0x10], 0x2e0072
mov dword [ebp - 0xc], 0x780065
mov dword [ebp - 8], 0x65
lea ecx, [edx + 0x7fffffef]
test ecx, ecx
je 0x10005d6f
movzx ecx, word [esi + eax]
test cx, cx
je 0x10005d6f
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10005d51
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x100c854c
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002ff7e
mov esp, ebp
pop ebp
ret

Function at 0x10005e20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100c2354]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x1c], 0x680063
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x1c]
mov eax, 0x100c8440
mov dword [ebp - 0x18], 0x6f0072
mov dword [ebp - 0x14], 0x65006d
mov edx, 0xc
mov dword [ebp - 0x10], 0x65002e
sub esi, eax
mov dword [ebp - 0xc], 0x650078
nop dword [eax]
lea ecx, [edx + 0x7ffffff2]
test ecx, ecx
je 0x10005e8e
movzx ecx, word [esi + eax]
test cx, cx
je 0x10005e8e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10005e70
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x100c8440
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002ff7e
mov esp, ebp
pop ebp
ret
Function at 0x10005eb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100c2354]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x100c8488
mov dword [ebp - 0x20], 0x360033
lea esi, [ebp - 0x20]
mov dword [ebp - 0x1c], 0x630030
mov dword [ebp - 0x18], 0x720068
mov edx, 0xf
mov dword [ebp - 0x14], 0x6d006f
sub esi, eax
mov dword [ebp - 0x10], 0x2e0065
mov dword [ebp - 0xc], 0x780065
mov dword [ebp - 8], 0x65
lea ecx, [edx + 0x7fffffef]
test ecx, ecx
je 0x10005f1f
movzx ecx, word [esi + eax]
test cx, cx
je 0x10005f1f
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10005f01
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x100c8488
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002ff7e
mov esp, ebp
pop ebp
ret

Function at 0x10005f40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100c2354]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x100c84c8
mov dword [ebp - 0x20], 0x710071
lea esi, [ebp - 0x20]
mov dword [ebp - 0x1c], 0x720062
mov dword [ebp - 0x18], 0x77006f
mov edx, 0xf
mov dword [ebp - 0x14], 0x650073
sub esi, eax
mov dword [ebp - 0x10], 0x2e0072
mov dword [ebp - 0xc], 0x780065
mov dword [ebp - 8], 0x65
lea ecx, [edx + 0x7fffffef]
test ecx, ecx
je 0x10005faf
movzx ecx, word [esi + eax]
test cx, cx
je 0x10005faf
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10005f91
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x100c84c8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002ff7e
mov esp, ebp
pop ebp
ret

Function at 0x10005fd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100c2354]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x100c856c
mov dword [ebp - 0x1c], 0x690066
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x650072
mov dword [ebp - 0x14], 0x6f0066
mov edx, 0xd
mov dword [ebp - 0x10], 0x2e0078
sub esi, eax
mov dword [ebp - 0xc], 0x780065
mov dword [ebp - 8], 0x65
nop word [eax + eax]
lea ecx, [edx + 0x7ffffff1]
test ecx, ecx
je 0x1000603e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1000603e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10006020
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x100c856c
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002ff7e
mov esp, ebp
pop ebp
ret
Function at 0x10006060
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100c2354]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x24], 0x360033
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x24]
mov eax, 0x100c84a8
mov dword [ebp - 0x20], 0x630030
mov dword [ebp - 0x1c], 0x720068
mov edx, 0x10
mov dword [ebp - 0x18], 0x6d006f
sub esi, eax
mov dword [ebp - 0x14], 0x780065
mov dword [ebp - 0x10], 0x65002e
mov dword [ebp - 0xc], 0x650078
nop word [eax + eax]
lea ecx, [edx + 0x7fffffee]
test ecx, ecx
je 0x100060de
movzx ecx, word [esi + eax]
test cx, cx
je 0x100060de
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x100060c0
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x100c84a8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002ff7e
mov esp, ebp
pop ebp
ret
Function at 0x100078e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009469b
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x100c2354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
push eax
push ecx
push esi
mov dword [ebp - 0xc4], edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x10007937
xor al, al
jmp 0x10007a49
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10007930
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x10007930
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x10007930
push 0xb0
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.1006a7b0
add esp, 0xc
lea ecx, [ebp - 0xc0]
push 1
push 0x40
push 0x20
push dword [ebp - 0xc4]
call fcn.10003f80
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 4], 0
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xb4], 6
je 0x100079ac
xor bl, bl
jmp 0x10007a3c
push 0
push esi
push ebx
lea ecx, [ebp - 0xc0]
call fcn.1000b860
cmp dword [ebp - 0x70], 0
lea esi, [ebp - 0xbc]
jne 0x100079cb
xor esi, esi
jmp 0x100079ef
lea ecx, [ebp - 0xbc]
call fcn.10007b90
push dword [ebp - 0x70]
xor ecx, ecx
test al, al
cmove esi, ecx
call fcn.1006e10e
xor ecx, ecx
add esp, 4
test eax, eax
cmovne esi, ecx
push 2
push 0
lea ecx, [ebp - 0xbc]
call fcn.100083f0
test esi, esi
jne 0x10007a3a
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
xor eax, eax
cmp dword [ebp + ecx - 0x88], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ebp + ecx - 0xb4]
and eax, 0x17
mov dword [ebp + ecx - 0xb4], eax
mov ecx, dword [ebp + ecx - 0xb0]
and ecx, eax
jne 0x10007a65
mov bl, 1
lea ecx, [ebp - 0xc0]
call fcn.10006180
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002ff7e
mov esp, ebp
pop ebp
ret
test cl, 4
je 0x10007a71
mov esi, str.ios_base::badbit_set
jmp 0x10007a81
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0xc8]
push 1
push eax
call fcn.1000a7f0
add esp, 8
lea ecx, [ebp - 0xdc]
push eax
push esi
call fcn.10004bd0
push 0x100b7448
lea eax, [ebp - 0xdc]
push eax
call fcn.10069896
int3
Function at 0x10007b90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100c2354]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x10007c31
cmp byte [esi + 0x3d], 0
je 0x10007c31
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10007be7
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x10007bf9
sub eax, 1
je 0x10007bfd
sub eax, 2
je 0x10007c31
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002ff7e
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10007c1a
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1006ee9b
add esp, 0x10
cmp edi, eax
jne 0x10007be7
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002ff7e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.1002ff7e
mov esp, ebp
pop ebp
ret

Function at 0x10008720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10094490
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100c2354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.1002fbd8
mov edi, eax
add esp, 4
test edi, edi
je 0x100087d2
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.10028706
mov dword [edi + 4], eax
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000a920
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100c2354]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1000a950
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002ff7e
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1000a98c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x1000a98c
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.1002ff7e
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x1000aa71
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1000a9b4
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 0x1000a9e7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.1006e537
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.1002ff7e
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x1000aa71
cmp eax, 1
jle 0x1000aa44
cmp eax, 3
jne 0x1000aa71
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.10002e10
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002ff7e
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1000aa61
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1006ee9b
add esp, 0x10
cmp edi, eax
jne 0x1000aa71
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x1000a977
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002ff7e
mov esp, ebp
pop ebp
ret 4
Function at 0x1000b9c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x1000b9e4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1000bab0
pop edi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov eax, dword [eax]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
test eax, eax
je 0x1000ba05
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x1000ba07
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test ebx, ebx
jl 0x1000ba8f
jg 0x1000ba1a
test esi, esi
je 0x1000ba8f
test ecx, ecx
jl 0x1000ba5c
jg 0x1000ba24
test eax, eax
je 0x1000ba5c
cmp ebx, ecx
jg 0x1000ba36
jl 0x1000ba2e
cmp esi, eax
jae 0x1000ba36
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], ebx
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.10069cb0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [edi + 0x2c]
add dword [ebp + 8], ecx
sub esi, ecx
sbb ebx, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x1000ba62
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test ebx, ebx
jl 0x1000ba8f
jg 0x1000ba6c
test esi, esi
je 0x1000ba8f
cmp dword [edi + 0x4c], 0
je 0x1000ba8f
mov ecx, edi
call fcn.10008fa0
push dword [edi + 0x4c]
push esi
push 1
push dword [ebp + 8]
call fcn.1006e807
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
pop esi
sbb edx, ebx
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000bc60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x1000bc84
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1000bd40
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [eax]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x1000bca5
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x1000bca7
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x1000bd24
jg 0x1000bcba
test esi, esi
je 0x1000bd24
test ecx, ecx
jl 0x1000bcfe
jg 0x1000bcc4
test eax, eax
je 0x1000bcfe
cmp edi, ecx
jg 0x1000bcd6
jl 0x1000bcce
cmp esi, eax
jae 0x1000bcd6
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.10069cb0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x1000bd01
mov edx, dword [ebp + 8]
test edi, edi
jl 0x1000bd24
jg 0x1000bd0b
test esi, esi
je 0x1000bd24
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x1000bd24
push eax
push esi
push 1
push edx
call fcn.1006ee9b
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000d190
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10094a42
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x100c2354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
xor eax, eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 7
mov word [edi + 0x18], ax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], 7
mov word [edi + 0x30], ax
mov byte [edi + 0x48], al
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], 7
mov word [edi + 0x4c], ax
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], 7
mov word [edi + 0x64], ax
lea ecx, [edi + 0x7c]
mov byte [ebp - 4], 5
mov dword [ecx + 0x10], eax
push 7
mov dword [ecx + 0x14], 7
push str.Default
mov word [ecx], ax
call fcn.10009710
xor eax, eax
mov byte [ebp - 4], 6
push eax
push 0x1009cc40
lea ecx, [ebp - 0x28]
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], esi
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10009710
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x28]
push eax
push dword [esi*4 + 0x1009cfe4]
lea ecx, [ebp - 0x3c]
call fcn.1000d030
mov esi, eax
cmp edi, esi
je 0x1000d2fd
mov ecx, edi
call fcn.1000e3e0
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x3c]
call fcn.1000e3e0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1000d33b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d331
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d350
push edx
push ecx
call fcn.1002fc08
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.1006db89
int3
Function at 0x1000fb10
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10094db9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100c2354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push ebx
push edi
push str.APPDATA
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor ecx, ecx
cmp ecx, eax
sbb ecx, ecx
and ecx, 0x7ff8ffa9
add ecx, 0x80070057
test eax, eax
je 0x1000fb89
push str.MicrosoftWindowsStart_MenuPrograms_
push ebx
push edi
call fcn.10071c1a
add esp, 0xc
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 0x80070057
test ecx, ecx
js 0x1000fc18
xor eax, eax
mov dword [ebp - 4], 0
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
lea eax, [esi + 0x10]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x30], eax
mov eax, dword [eax]
add eax, 4
mov dword [ebp - 0x14], 7
push eax
mov dword [ebp - 0x2c], 1
call fcn.10010430
cmp dword [esi + 0x14], 8
jb 0x1000fbcf
mov esi, dword [esi]
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
push dword [eax]
push esi
call fcn.1000f010
push 4
push str..lnk
lea ecx, [ebp - 0x28]
call fcn.1000f010
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
push edi
call fcn.10071c1a
add esp, 0xc
lea ecx, [ebp - 0x28]
neg eax
sbb esi, esi
and esi, 0x80070057
call fcn.100051a0
mov eax, esi
jmp 0x1000fc1a
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002ff7e
mov esp, ebp
pop ebp
ret
Function at 0x10017b70
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10095bf2
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x100c2354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x42c], 1
mov dword [ebp - 0x424], 0x104
call fcn.1006a7b0
add esp, 0xc
mov dword [ebp - 0x428], 1
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x428]
push eax
push str.local_m2
push 0x1009d87c
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10017c4e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10017c30
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10009710
cmp dword [esi + 0x10], 0
jne 0x10017cca
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1006a7b0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.1004b9b0
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10017c84
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10009710
cmp dword [esi + 0x14], 8
mov eax, esi
mov ecx, dword [esi + 0x10]
jb 0x10017caf
mov eax, dword [esi]
add ecx, ecx
push ecx
push eax
push 1
push str.local_m2
push 0x1009d87c
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002ff7e
mov esp, ebp
pop ebp
ret
Function at 0x1001f190
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1001f1e9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1001f1e9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1001f1da
cmp esi, edx
jae 0x1001f1e9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x1001f1c8
cmp esi, edx
jae 0x1001f1e9
cmp word [esi], 0
je 0x1001f1e9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x10020440
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x100c2354]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.1006a7b0
add esp, 0xc
mov dword [ebp - 0x44], 0x40
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x100204bc
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
call fcn.100302b0
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x48], xmm0
call fcn.100302b0
movss xmm1, dword [ebp - 0x48]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm0
divss xmm1, dword [ebp - 0x48]
movss dword [ebp - 0x48], xmm1
fld dword [ebp - 0x48]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002ff7e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
fldz
xor ecx, ebp
call fcn.1002ff7e
mov esp, ebp
pop ebp
ret