joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421fc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
or ebp, 0xffffffff
jmp 0x421fe2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x421fe9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x421fd8
mov eax, 1
add ebx, ebx
jne 0x421ffb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x421ff0
jne 0x42200c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x421ff0
xor ecx, ecx
sub eax, 3
jb 0x422020
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x422092
mov ebp, eax
add ebx, ebx
jne 0x42202b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x422038
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42205c
inc ecx
add ebx, ebx
jne 0x422048
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42203d
jne 0x422059
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42203d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42207c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42206d
jmp 0x421fde
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42207c
add edi, ecx
jmp 0x421fde
pop esi
mov edi, esi
mov ecx, 0x558
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42209a
cmp byte [edi], 5
jne 0x42209a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x42209f
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x422117
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x22238]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x222a4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4220cc
mov ecx, edi
jns 0x4220fb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x222ac]
or eax, eax
je 0x422111
mov dword [ebx], eax
add ebx, 4
jmp 0x4220e9
call dword [esi + 0x222a8]
mov ebp, dword [esi + 0x222b0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42214b
sub esp, 0xffffff80
jmp 0x40473a
Function at 0x1008285
Capabilities:
Delete registry value

Disassembly:
mov eax, 0x101d3ff
call fcn.0101caf8
sub esp, 0x38
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [edi + 0x90]
mov eax, dword [ecx]
mov dword [ebp - 4], esi
call dword [eax + 0x14]
push eax
call fcn.01018b1d
cmp eax, esi
mov dword [ebp - 0x10], eax
je 0x1008325
push ebx
mov ebx, dword [fcn.01001580]
push esi
push esi
push 0x1004
push dword [edi + 0x9c]
mov dword [ebp - 0x44], 4
mov dword [ebp - 0x3c], esi
call ebx
mov esi, eax
jmp 0x1008321
lea eax, [ebp - 0x44]
push eax
push 0
push 0x104b
push dword [edi + 0x9c]
mov dword [ebp - 0x40], esi
call ebx
test eax, eax
je 0x1008321
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1008321
cmp dword [eax + 0xc], 0
jne 0x1008316
cmp dword [ebp + 8], 0
jne 0x1008316
push dword [eax]
lea ecx, [ebp - 0x10]
push dword [eax + 0x10]
call fcn.01007035
jmp 0x1008321
push dword [eax]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
dec esi
jns 0x10082da
pop ebx
lea ecx, [ebp - 0x10]
call fcn.0100650c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x100950a
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x101d604
call fcn.0101caf8
sub esp, 0x6c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
push esi
mov esi, ecx
je 0x10095e2
push edi
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_1
and dword [ebp - 4], 0
lea ecx, [ebp + 8]
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [ebx]
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 1
call dword [eax + 4]
push 0xd
pop ecx
xor eax, eax
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x64]
mov edi, dword [fcn.01001580]
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0x104d
push dword [esi + 0x60]
mov dword [ebp - 0x44], 5
mov dword [ebp - 0x24], ebx
call edi
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x64], ecx
lea ecx, [ebp - 0x78]
push ecx
push eax
push 0x1074
push dword [esi + 0x60]
mov dword [esi + 0x64], eax
mov dword [ebp - 0x70], 1
call edi
lea eax, [ebp - 0x78]
push eax
push dword [esi + 0x64]
mov dword [ebp - 0x68], 0xf000
push 0x102b
push dword [esi + 0x60]
mov dword [ebp - 0x6c], 0x2000
call edi
inc dword [esi + 0x64]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1009a4a
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x101d689
call fcn.0101caf8
sub esp, 0x70
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
push esi
mov esi, ecx
je 0x1009b85
push edi
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::CString_1
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [ebx]
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 2
call dword [eax + 4]
push 0xd
pop ecx
xor eax, eax
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0xa0]
mov edi, dword [fcn.01001580]
and dword [ebp - 0x40], 0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0x104d
push dword [esi + 0x9c]
mov dword [ebp - 0x48], 5
mov dword [ebp - 0x28], ebx
call edi
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x68], ecx
lea ecx, [ebp - 0x7c]
push ecx
push eax
push 0x1074
push dword [esi + 0x9c]
mov dword [esi + 0xa0], eax
mov dword [ebp - 0x74], 1
call edi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x7c]
push eax
push dword [esi + 0xa0]
mov dword [ebp - 0x74], 2
push 0x1074
push dword [esi + 0x9c]
call edi
mov eax, dword [ebx]
mov ecx, ebx
mov dword [ebp - 0x6c], 0xf000
call dword [eax + 8]
xor ecx, ecx
test eax, eax
setne cl
lea eax, [ebp - 0x7c]
push eax
push dword [esi + 0xa0]
push 0x102b
push dword [esi + 0x9c]
inc ecx
shl ecx, 0xc
mov dword [ebp - 0x70], ecx
call edi
inc dword [esi + 0xa0]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::CString
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1009e26
Capabilities:
Get common file path

Disassembly:
mov eax, 0x101d709
call fcn.0101caf8
sub esp, 0x694
mov eax, dword [0x1023fb4]
push ebx
push esi
push edi
push 7
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x690], ecx
pop eax
xor ebx, ebx
lea ecx, [ebp - 0x69c]
mov dword [ebp - 0x69c], eax
mov dword [ebp - 0x698], 0x18
mov dword [ebp - 0x694], ebx
mov dword [ebp - 0x678], ecx
push ebx
push eax
lea eax, [ebp - 0x420]
push eax
push ebx
call dword [0x1001514]
test eax, eax
jl 0x100a036
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x674]
call sub.MFC42u.DLL_CString::CString_2
push 0x5c
lea ecx, [ebp - 0x674]
mov dword [ebp - 4], ebx
call sub.MFC42u.DLL_CString::ReverseFind
mov edi, eax
cmp edi, 0xffffffff
je 0x100a027
push 0x1002328
lea ecx, [ebp - 0x680]
call sub.MFC42u.DLL_CString::CString_2
mov esi, eax
push edi
lea eax, [ebp - 0x68c]
push eax
lea ecx, [ebp - 0x674]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::Left
push esi
push eax
lea eax, [ebp - 0x688]
push eax
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_operator
push eax
lea ecx, [ebp - 0x674]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::operator
lea ecx, [ebp - 0x688]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x68c]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x680]
mov byte [ebp - 4], bl
call sub.MFC42u.DLL_CString::CString
lea eax, [ebp - 0x674]
push eax
lea ecx, [ebp - 0x67c]
call fcn.0101c24c
push 0x100231c
lea ecx, [ebp - 0x684]
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CString::CString_2
push eax
lea ecx, [ebp - 0x67c]
mov byte [ebp - 4], 5
call fcn.0101c3f0
lea ecx, [ebp - 0x684]
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CString::CString
lea eax, [ebp - 0x670]
push eax
push dword [ebp - 0x67c]
call dword [0x10010b8]
mov esi, eax
cmp esi, 0xffffffff
je 0x100a019
test byte [ebp - 0x670], 2
je 0x1009fae
lea eax, [ebp - 0x644]
push 0x1002304
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x1009ffc
test byte [ebp - 0x670], 0x10
jne 0x1009ffc
push 0x10
call sub.MFC42u.DLL_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x6a0], ecx
cmp ecx, ebx
mov byte [ebp - 4], 6
je 0x1009fea
push dword [ebp - 0x674]
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x644]
push eax
call fcn.01008b0b
jmp 0x1009fec
xor eax, eax
mov ecx, dword [ebp - 0x690]
push eax
mov byte [ebp - 4], 4
call fcn.0100950a
lea eax, [ebp - 0x670]
push eax
push esi
call dword [0x10010bc]
test eax, eax
jne 0x1009f8d
push esi
call dword [0x10010c0]
lea ecx, [ebp - 0x67c]
mov byte [ebp - 4], bl
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x674]
call sub.MFC42u.DLL_CString::CString
add dword [ebp - 0x678], 4
mov eax, dword [ebp - 0x678]
mov eax, dword [eax]
cmp eax, ebx
jne 0x1009e6e
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
inc eax
pop ebx
call fcn.0101bddf
leave
ret
Function at 0x100b6cf
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x101d977
call fcn.0101caf8
sub esp, 0x698
mov eax, dword [0x1023fb4]
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], eax
push esi
mov eax, 0x80000002
push edi
mov dword [ebp - 0x684], ecx
mov dword [ebp - 0x6a0], eax
mov dword [ebp - 0x69c], 0x80000001
mov dword [ebp - 0x698], ebx
mov dword [ebp - 0x694], 0x10026c4
mov dword [ebp - 0x690], 0x10026b4
mov dword [ebp - 0x68c], ebx
mov dword [ebp - 0x674], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x67c], eax
mov dword [ebp - 0x678], ebx
push 0x20019
push 0x1002630
push dword [ebp - 0x67c]
lea ecx, [ebp - 0x674]
call fcn.0100985e
test eax, eax
jne 0x100b8af
mov eax, dword [ebp - 0x678]
mov edi, dword [ebp + eax - 0x694]
cmp edi, ebx
mov dword [ebp - 0x688], 0x104
je 0x100b8a4
lea eax, [ebp - 0x688]
push eax
push edi
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x674]
call fcn.0100652a
test eax, eax
jne 0x100b8a4
lea ecx, [ebp - 0x674]
call fcn.0100650c
push ebx
push 0x1002624
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push ebx
push eax
call dword [sym.imp.msvcrt.dll__wmakepath]
add esp, 0x14
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [0x10010b8]
cmp eax, 0xffffffff
mov dword [ebp - 0x680], eax
je 0x100b8af
test byte [ebp - 0x670], 2
je 0x100b80d
lea eax, [ebp - 0x644]
push 0x1002304
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x100b87b
test byte [ebp - 0x670], 0x10
jne 0x100b87b
push 0x1c
call sub.MFC42u.DLL_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x6a4], ecx
cmp ecx, ebx
mov byte [ebp - 4], 1
je 0x100b837
call fcn.010090c1
mov esi, eax
jmp 0x100b839
xor esi, esi
cmp esi, ebx
mov byte [ebp - 4], bl
je 0x100b87b
lea eax, [ebp - 0x218]
push eax
push edi
push 0x1002630
push dword [ebp - 0x67c]
lea eax, [ebp - 0x670]
push eax
mov ecx, esi
call fcn.0100af7d
test eax, eax
je 0x100b873
mov ecx, dword [ebp - 0x684]
push esi
call fcn.01009a4a
jmp 0x100b87b
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
lea eax, [ebp - 0x670]
push eax
push dword [ebp - 0x680]
call dword [0x10010bc]
test eax, eax
jne 0x100b7ec
push dword [ebp - 0x680]
call dword [0x10010c0]
jmp 0x100b8af
lea ecx, [ebp - 0x674]
call fcn.0100650c
add dword [ebp - 0x678], 4
mov eax, dword [ebp - 0x678]
mov eax, dword [ebp + eax - 0x6a0]
cmp eax, ebx
mov dword [ebp - 0x67c], eax
jne 0x100b73c
lea ecx, [ebp - 0x674]
call fcn.0100650c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0101bddf
leave
ret
Function at 0x100c7ff
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x101dab4
call fcn.0101caf8
sub esp, 0x44
mov eax, dword [0x1023fb4]
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
push esi
mov dword [ebp - 0x10], eax
mov esi, ecx
jne 0x100c829
mov eax, 0x80004003
jmp 0x100c933
push edi
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString_1
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString_1
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::operator
lea eax, [ebx + 0x14]
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::operator
lea eax, [ebx + 0x18]
push eax
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CString::operator
push 0xd
pop ecx
xor eax, eax
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0xa0]
mov edi, dword [fcn.01001580]
and dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0x104d
push dword [esi + 0x9c]
mov dword [ebp - 0x50], 5
mov dword [ebp - 0x30], ebx
call edi
test eax, eax
jge 0x100c8bd
mov esi, 0x80004005
jmp 0x100c90c
mov ecx, dword [ebp - 0x1c]
inc eax
mov dword [esi + 0xa0], eax
xor eax, eax
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x50]
push eax
push 0
mov ebx, 0x104c
push ebx
push dword [esi + 0x9c]
mov dword [ebp - 0x3c], ecx
call edi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x50]
push eax
push 0
push ebx
push dword [esi + 0x9c]
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x48], 2
call edi
xor esi, esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString
mov eax, esi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0101bddf
leave
ret 4

Function at 0x100c950
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, dword [fcn.01001580]
push edi
push 0xd
mov ebx, ecx
pop ecx
xor eax, eax
push eax
push eax
push 0x1004
push dword [ebx + 0x9c]
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x2c], eax
call esi
mov edi, eax
jmp 0x100c9cf
lea eax, [ebp - 0x34]
push eax
push 0
push 0x104b
push dword [ebx + 0x9c]
mov dword [ebp - 0x30], edi
call esi
cmp eax, 1
jne 0x100c9cf
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100c9b2
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [ebp + 8], 1
jne 0x100c9cf
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x34]
push eax
push 0
push 0x104c
push dword [ebx + 0x9c]
call esi
dec edi
jns 0x100c98a
xor eax, eax
cmp dword [ebp + 8], eax
jne 0x100c9e8
push eax
push eax
push 0x1009
push dword [ebx + 0x9c]
call esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100d643
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push esi
push edi
mov esi, ecx
push 0x4653
push esi
call fcn.01018e13
mov ecx, esi
mov edi, eax
call fcn.0100caa3
test eax, eax
jl 0x100d682
mov ecx, esi
call fcn.0100d4af
test eax, eax
jl 0x100d682
push 1
push 0x4652
push esi
call fcn.01018e13
push eax
call dword [0x100157c]
jmp 0x100d6be
push 0x4654
push esi
call fcn.01018e13
test eax, eax
je 0x100d6be
push 0x1001b3c
push eax
call dword [0x100159c]
push 0
push 0x4652
push esi
call fcn.01018e13
push eax
call dword [0x100157c]
test edi, edi
je 0x100d6be
push 0
push edi
call dword [0x1001594]
pop edi
pop esi
ret

Function at 0x100da3e
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x100da58
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01018e13
test eax, eax
jne 0x100da5f
mov eax, 0x80004005
jmp 0x100da6a
push 0
push eax
call dword [0x1001594]
xor eax, eax
pop ebp
ret 8

Function at 0x10100c2
Capabilities:
Manipulate boot configuration

Disassembly:
mov eax, 0x101e053
call fcn.0101caf8
push ecx
push ebx
push esi
push edi
xor ebx, ebx
push ebx
mov esi, ecx
push 0x6a
mov dword [ebp - 0x10], esi
call fcn.0101c354
lea eax, [esi + 0x90]
mov dword [ebp - 4], ebx
mov dword [eax], 0x1001d90
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
lea ecx, [esi + 0x9c]
mov byte [ebp - 4], 1
mov dword [esi], 0x10035fc
mov dword [eax], 0x10035d4
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esi + 0xc8]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::CString_1
lea edi, [esi + 0xcc]
mov ecx, edi
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CString::CString_1
push 0x10035b8
mov ecx, edi
mov byte [ebp - 4], 5
mov dword [esi + 0xc4], ebx
call sub.MFC42u.DLL_CString::operator_1
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x101940f
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [sym.imp.msvcrt.dll_malloc]
push edi
mov ebx, ecx
mov edi, 0x2000
push edi
mov dword [ebp - 0x18], ebx
call esi
test eax, eax
pop ecx
mov dword [ebp - 0x10], eax
jne 0x101943f
mov eax, 0x8007000e
jmp 0x10195a8
push eax
mov ecx, ebx
call fcn.01019316
test eax, eax
jge 0x1019452
mov edi, eax
jmp 0x1019598
lea eax, [ebp - 2]
push eax
push dword [ebp - 0x10]
call fcn.0101918c
test eax, eax
jne 0x101946c
mov edi, 0x80020009
jmp 0x1019598
push edi
call esi
mov esi, eax
test esi, esi
pop ecx
mov dword [ebp - 0xc], esi
jne 0x1019483
mov edi, 0x8007000e
jmp 0x1019598
mov ecx, ebx
call fcn.010192ed
push esi
mov ecx, ebx
call fcn.01019316
test eax, eax
jl 0x101958e
movzx eax, word [ebp - 2]
sub eax, 8
je 0x1019573
sub eax, 9
je 0x10194d6
dec eax
dec eax
jne 0x101957f
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push esi
call dword [0x100150c]
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push dword [ebp - 0x14]
call fcn.01007035
jmp 0x101957f
push esi
call dword [fcn.010010dc]
test al, 1
mov dword [ebp - 8], eax
je 0x10194ee
mov edi, 0x80004005
jmp 0x1019590
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov eax, ebx
add eax, 3
and eax, 0xfffffffc
call fcn.0101cb40
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov edi, esp
mov dword [ebp - 4], edi
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor edi, edi
cmp esp, edi
je 0x10194e4
cmp dword [ebp - 8], edi
jle 0x101955a
mov ecx, dword [ebp - 4]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + ecx]
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + edi*2]
push eax
call fcn.01019216
mov ecx, edi
and ecx, 1
shl ecx, 2
mov edx, ecx
push 4
pop ecx
sub ecx, edx
shl al, cl
or byte [esi], al
inc edi
cmp edi, dword [ebp - 8]
jl 0x1019524
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push dword [ebp - 4]
push 3
push 0
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x101957f
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
call fcn.01006554
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.01019316
test eax, eax
jge 0x10195a6
mov edi, eax
push esi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov eax, edi
jmp 0x10195a8
xor eax, eax
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x101a564
Capabilities:
Manipulate boot configuration

Disassembly:
mov eax, 0x101e9d5
call fcn.0101caf8
sub esp, 0x21c
mov eax, dword [0x1023fb4]
push ebx
push esi
mov dword [ebp - 0x10], eax
call sub.MFC42u.DLL_AfxGetModuleState
mov ebx, dword [eax + 0xc]
push 0x10035b8
lea ecx, [ebp - 0x220]
call sub.MFC42u.DLL_CString::CString_2
and dword [ebp - 4], 0
and dword [ebp - 0x224], 0
push 0xf003f
push 0x1003ac0
push 0x80000002
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 1
call fcn.0100985e
test eax, eax
jne 0x101a601
lea eax, [ebp - 0x228]
push eax
push 0x1003aac
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x228], 0x104
call fcn.0100652a
test eax, eax
jne 0x101a601
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call sub.MFC42u.DLL_CString::operator_1
lea eax, [ebp - 0x220]
push eax
call fcn.0101870c
test eax, eax
je 0x101a640
push 0xd4
call sub.MFC42u.DLL_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x21c], ecx
test ecx, ecx
mov byte [ebp - 4], 2
je 0x101a633
call fcn.010100c2
jmp 0x101a635
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x1024088], eax
jmp 0x101a647
and dword [0x1024088], 0
push 0xdc
call sub.MFC42u.DLL_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x21c], ecx
test ecx, ecx
mov byte [ebp - 4], 3
je 0x101a669
call fcn.01007562
jmp 0x101a66b
xor eax, eax
push 0xac
mov byte [ebp - 4], 1
mov dword [0x1024080], eax
call sub.MFC42u.DLL_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x21c], ecx
test ecx, ecx
mov byte [ebp - 4], 4
je 0x101a696
call fcn.010099e3
jmp 0x101a698
xor eax, eax
mov esi, 0xe0
push esi
mov byte [ebp - 4], 1
mov dword [0x1024084], eax
call sub.MFC42u.DLL_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x21c], ecx
test ecx, ecx
mov byte [ebp - 4], 5
je 0x101a6c4
call fcn.0100ecf4
jmp 0x101a6c6
xor eax, eax
push esi
mov byte [ebp - 4], 1
mov dword [0x102408c], eax
call sub.MFC42u.DLL_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x21c], ecx
test ecx, ecx
mov byte [ebp - 4], 6
je 0x101a6ed
call fcn.0100ecf4
jmp 0x101a6ef
xor eax, eax
push 0xa0
mov byte [ebp - 4], 1
mov dword [0x1024090], eax
call sub.MFC42u.DLL_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x21c], ecx
test ecx, ecx
mov byte [ebp - 4], 7
je 0x101a71a
call fcn.0100bf90
jmp 0x101a71c
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x1024094], eax
call fcn.0100c74b
mov esi, eax
test esi, esi
je 0x101a77b
push 5
push 0x4650
push esi
call dword [0x10011c0]
test eax, eax
je 0x101a77b
push esi
call fcn.01007549
push 0xd0
call sub.MFC42u.DLL_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x21c], ecx
test ecx, ecx
mov byte [ebp - 4], 8
je 0x101a76a
call fcn.0100d095
jmp 0x101a76c
xor eax, eax
push ebx
mov byte [ebp - 4], 1
mov dword [0x1024098], eax
call fcn.01007549
mov ecx, dword [0x102408c]
push 0x100482c
call fcn.0100e4a8
mov ecx, dword [0x1024090]
push 0x1004814
call fcn.0100e4a8
lea ecx, [ebp - 0x224]
call fcn.0100650c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0101bddf
leave
ret