joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401af5
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
and byte [ebp - 0x104], 0
push ebx
push esi
push edi
mov ebx, ecx
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
mov esi, dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push esi
lea eax, [ebp - 0x104]
push 0x104
xor edi, edi
push eax
push edi
push str.Path
push str.Redirect
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x104]
lea eax, [ebp - 0x104]
test ecx, ecx
je 0x401bb2
mov cl, byte [ebp - 0x104]
test cl, cl
je 0x401bb2
cmp cl, 0x20
je 0x401b61
cmp cl, 9
jne 0x401b67
mov cl, byte [eax + 1]
inc eax
jmp 0x401b53
lea eax, [ebp - 0x104]
push 0x3a
push eax
call dword [sym.imp.MSVCRT.dll__mbschr]
pop ecx
test eax, eax
pop ecx
jne 0x401b9c
cmp byte [ebp - 0x104], 0x5c
je 0x401b9c
push dword [ebp + 0x10]
lea eax, [ebp - 0x104]
mov ecx, ebx
push dword [ebp + 0xc]
push eax
push esi
call fcn.00401d8a
jmp 0x401bdc
push dword [ebp + 0x10]
lea eax, [ebp - 0x104]
mov ecx, ebx
push dword [ebp + 0xc]
push eax
call fcn.00401af5
jmp 0x401bdc
cmp dword [ebp + 0xc], edi
je 0x401bdc
cmp dword [ebp + 0x10], edi
jle 0x401bdc
cmp esi, edi
je 0x401bdc
push esi
call sub.MSVCRT.dll_strlen
cmp eax, dword [ebp + 0x10]
pop ecx
jae 0x401bdc
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [0x40501c]
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x40297d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
and byte [ebp - 0x104], 0
push esi
push edi
mov edx, ecx
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
mov esi, dword [ebp + 0x14]
add edx, 0xffffffb8
push 0x104
stosb byte es:[edi], al
neg ecx
lea eax, [ebp - 0x104]
sbb ecx, ecx
push eax
push dword [ebp + 8]
and ecx, edx
add ecx, 0x51
call fcn.00402aa9
test eax, eax
je 0x4029e0
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
mov eax, esi
pop edi
pop esi
leave
ret 0x10
Function at 0x4029e8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
mov esi, ecx
je 0x402a1a
cmp dword [ebp + 0xc], ebx
je 0x402a1a
cmp dword [ebp + 0x10], ebx
je 0x402a1a
cmp dword [ebp + 0x14], ebx
je 0x402a1a
cmp dword [ebp + 0x18], ebx
jle 0x402a1a
cmp dword [ebp + 0x1c], ebx
je 0x402a1a
push 1
pop edx
jmp 0x402a1c
xor edx, edx
push edi
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
mov byte [ebp - 0x104], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp edx, ebx
pop edi
je 0x402a84
mov ecx, esi
add esi, 0xffffffb8
neg ecx
lea eax, [ebp - 0x104]
push 0x104
sbb ecx, ecx
push eax
push dword [ebp + 8]
and ecx, esi
add ecx, 0x51
call fcn.00402aa9
mov edx, eax
cmp edx, ebx
je 0x402a84
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor ecx, ecx
cmp ecx, eax
sbb edx, edx
neg edx
pop esi
mov eax, edx
pop ebx
leave
ret 0x18
Function at 0x408c70
Capabilities:
Set socket configuration

Disassembly:
sar esp, cl
add dword [eax], eax
add bh, bh
adc eax, 0x9a40c1b4
cmp eax, 0xffffff94
xchg edi, eax
push ds
push esi
mov esi, dword [0x1f1fc11d]
call esi
test eax, eax
hlt
jbe 0x408c32
push ebx
mov ecx, dword [ebx - 0x372a904]
or byte [edi - 0x75], dl
jge 0x408c8f
mov eax, ebx
or eax, edi
jne 0x408cae
mov ecx, dword [esi + 0x65]
bound eax, qword [esi + 0x24]
adc eax, ecx
je 0x408dc7
xor al, 1
add byte [eax], al
mov ecx, dword [eax - 0x7b17adfc]
invalid
push eax
dec dword [edi]
mov word [ebx + 0x7f00c100], ds
or byte [ebp + 0x74860fdb], al
add byte [eax], al
add byte [ebx + 0x4e8b205c], cl
and al, 0x96
sal dword [ebp + 0x14], 0x8b
and eax, 0xfde85104
invalid
push esi
jg 0x409003
je 0x408fdb
mov dl, 0x83
stc
invalid
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0x2c]
push 4
push ecx
mov eax, dword [edx + 4]
push 0x71005501
push 0x5cff73
push eax
call dword [sym.imp.WSOCK32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x3fee31
jmp 0x409065
sub edi, 0x40a1
jg 0x9640b0d6
enter 0xffffffffffffd584, 0
add byte [eax], al
cmp ecx, 0x880080
je 0x2b4090ae
cmp ecx, 0x200
jne 0x384090de
mov esi, dword [ebp + 8]
jne 0x409003
mov ecx, dword [esi + 0x38]
and ecx, 0x200
sub dword [ebx], 0x200
sete byte [ebx + 0x3b]
retf 0x2bc6
mov esi, dword [sym.imp.WSOCK32.dll_WSAGetLastError]
call esi
mov eax, 0x8b5e0775
in eax, 0x5d
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000da9e
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x100342d8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.1000d9dd
mov eax, 0x10000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.1000e480
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x1000daed
cmp dword [ebp - 0x1c], 5
jb 0x1000db05
jmp 0x1000db01
cmp dword [ebp - 0x10], 1
jne 0x1000db05
cmp dword [ebp - 0x1c], 4
ja 0x1000db01
jne 0x1000db05
cmp dword [ebp - 0x18], 0
jbe 0x1000db05
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x1002a32c
call fcn.1000d873
test eax, eax
jge 0x1000db26
mov byte [0x10036b20], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1000de96
add ebp, 0x78
leave
ret

Function at 0x1000de96
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100342d8]
jne 0x1000dea0
repz ret
jmp fcn.10015aec
Function at 0x10016518
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x10034300]
je 0x10016533
inc edi
cmp edi, 0x17
jb 0x10016524
cmp edi, 0x17
jae 0x100166b3
push ebp
push 3
call fcn.1001dfcf
cmp eax, 1
pop ecx
je 0x1001667f
push 3
call fcn.1001dfcf
test eax, eax
pop ecx
jne 0x10016567
cmp dword [0x10035d58], 1
je 0x1001667f
cmp ebx, 0xfc
je 0x100166b2
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x10036100
push ebp
call fcn.10015d40
add esp, 0xc
test eax, eax
je 0x1001659d
push esi
push esi
push esi
push esi
push esi
call fcn.1000e145
add esp, 0x14
push 0x104
mov esi, 0x10036119
push esi
push 0
mov byte [0x1003621d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100165e1
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.10015d40
add esp, 0xc
test eax, eax
je 0x100165e1
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.1000e145
add esp, 0x14
push esi
call fcn.1000e0b0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10016626
push esi
call fcn.1000e0b0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x10036414
push 0x1002b39c
sub ecx, eax
push ecx
push eax
call fcn.1001bdc2
add esp, 0x14
test eax, eax
je 0x10016626
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.1000e145
add esp, 0x14
jmp 0x10016628
xor esi, esi
push 0x1002b398
push ebx
push ebp
call fcn.1001bd51
add esp, 0xc
test eax, eax
je 0x10016648
push esi
push esi
push esi
push esi
push esi
call fcn.1000e145
add esp, 0x14
push dword [edi*8 + 0x10034304]
push ebx
push ebp
call fcn.1001bd51
add esp, 0xc
test eax, eax
je 0x1001666a
push esi
push esi
push esi
push esi
push esi
call fcn.1000e145
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.1001de12
add esp, 0xc
jmp 0x100166b2
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x100166b2
cmp ebp, 0xffffffff
je 0x100166b2
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x10034304]
push dword [esi]
call fcn.1000e0b0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x1001de12
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.10015f99
xor ebx, ebx
cmp dword [0x1003673c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x1001dee8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1001dfc8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1001dfc8
push eax
call fcn.10015f2b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1003673c], eax
call esi
push eax
call fcn.10015f2b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10036740], eax
call esi
push eax
call fcn.10015f2b
mov dword [0x10036744], eax
lea eax, [ebp - 0xc]
push eax
call fcn.10013f8d
test eax, eax
pop ecx
pop ecx
je 0x1001deb6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000e145
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x1001dee8
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.10015f2b
cmp eax, ebx
pop ecx
mov dword [0x1003674c], eax
je 0x1001dee8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10015f2b
pop ecx
mov dword [0x10036748], eax
mov eax, dword [0x10036748]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x1001df6d
cmp dword [0x1003674c], ecx
je 0x1001df6d
push eax
call fcn.10015fa2
push dword [0x1003674c]
mov esi, eax
call fcn.10015fa2
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x1001df6d
cmp edi, ebx
je 0x1001df6d
call esi
cmp eax, ebx
je 0x1001df3a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1001df3a
test byte [ebp - 0x18], 1
jne 0x1001df6d
lea eax, [ebp - 0x10]
push eax
call fcn.10013fc4
test eax, eax
pop ecx
je 0x1001df55
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000e145
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x1001df64
or dword [ebp + 0x10], 0x200000
jmp 0x1001dfa8
or dword [ebp + 0x10], 0x40000
jmp 0x1001dfa8
mov eax, dword [0x10036740]
cmp eax, dword [ebp - 8]
je 0x1001dfa8
push eax
call fcn.10015fa2
cmp eax, ebx
pop ecx
je 0x1001dfa8
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1001dfa8
mov eax, dword [0x10036744]
cmp eax, dword [ebp - 8]
je 0x1001dfa8
push eax
call fcn.10015fa2
cmp eax, ebx
pop ecx
je 0x1001dfa8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1003673c]
call fcn.10015fa2
cmp eax, ebx
pop ecx
je 0x1001dfc8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1001dfca
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10021ac0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10021af1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x10021afe
push str.Open_Key_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x10021b20
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10031d20
push 0x10014a70
mov eax, dword fs:[0]
push eax
add esp, 0xfffffff4
push ebx
push esi
push edi
mov eax, dword [0x100342d8]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x19]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xfffffffe
jmp 0x10021ba0
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10021bc0
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x100342d8]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x8c], 0x7f
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10021c75
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x88]
push ecx
push 0
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x88]
push ecx
call fcn.1000e3c3
add esp, 4
push eax
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.USER32.dll_CharLowerBuffW]
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.1000cd90
add esp, 8
test eax, eax
je 0x10021c69
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x10021c82
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10021c80
push 0x1002c7e4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor al, al
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1000de96
mov esp, ebp
pop ebp
ret

Function at 0x10021c90
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10031d40
push 0x10014a70
mov eax, dword fs:[0]
push eax
add esp, 0xfffffff4
push ebx
push esi
push edi
mov eax, dword [0x100342d8]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 0
mov dword [ebp - 4], 0
push ebx
mov ebx, 0
mov eax, 1
invalid
Function at 0x100242b0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov dword [edx], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x100253d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x100342d8]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x220], ecx
mov dword [ebp - 4], 0x1002ec04
mov dword [ebp - 0xc], str.InstallDir
mov dword [ebp - 0x21c], 0x100
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10025479
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10025469
lea ecx, [ebp - 0x218]
push ecx
push 0x1002ec4c
mov edx, dword [ebp + 8]
push edx
call fcn.10005b70
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10025477
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x10025482
jmp 0x1002547d
xor eax, eax
jmp 0x10025482
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000de96
mov esp, ebp
pop ebp
ret 4
Function at 0x10026270
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x100342d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x74], 0
jmp 0x1002629c
mov eax, dword [ebp - 0x74]
add eax, 1
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x37
jge 0x100262ad
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0x74]
mov dword [ebp - 0x6c], ecx
jmp 0x10026293
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0
push 0x5f
push 0
lea edx, [ebp - 0x67]
push edx
call fcn.1000e480
add esp, 0xc
push 0x60
push 0x18
lea eax, [ebp - 0x68]
push eax
call fcn.1000e480
add esp, 0xc
push 0x258
call fcn.1000ce76
add esp, 4
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x70], ecx
push 0x258
push 0x18
mov edx, dword [ebp - 0x70]
push edx
call fcn.1000e480
add esp, 0xc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
push ecx
call fcn.1000dea5
add esp, 4
mov dword [ebp - 0x78], 1
mov edx, dword [ebp - 0x78]
add edx, 1
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
add eax, 7
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], 1
mov ecx, dword [ebp - 0x80]
add ecx, 1
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
add edx, 7
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x88], 1
mov eax, dword [ebp - 0x88]
add eax, 1
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
add ecx, 7
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x90], 1
mov edx, dword [ebp - 0x90]
add edx, 1
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
add eax, 7
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x98], 1
mov ecx, dword [ebp - 0x98]
add ecx, 1
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x98]
add edx, 7
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp - 0xa0]
add eax, 1
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
add ecx, 7
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa8], 1
mov edx, dword [ebp - 0xa8]
add edx, 1
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
add eax, 7
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb0], 1
mov ecx, dword [ebp - 0xb0]
add ecx, 1
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb0]
add edx, 7
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0xb8], 1
mov eax, dword [ebp - 0xb8]
add eax, 1
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
add ecx, 7
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xc0], 1
mov edx, dword [ebp - 0xc0]
add edx, 1
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0xc0]
add eax, 7
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000de96
mov esp, ebp
pop ebp
ret
Function at 0x10026cb0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x100342d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x5c], 0
jmp 0x10026cdc
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x22
jge 0x10026ced
mov ecx, dword [ebp - 0x54]
add ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x54], ecx
jmp 0x10026cd3
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0
push 0x43
push 0
lea edx, [ebp - 0x4f]
push edx
call fcn.1000e480
add esp, 0xc
push 0x44
push 0x89
lea eax, [ebp - 0x50]
push eax
call fcn.1000e480
add esp, 0xc
push 0x3b8
call fcn.1000ce76
add esp, 4
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x58], ecx
push 0x3b8
push 0x89
mov edx, dword [ebp - 0x58]
push edx
call fcn.1000e480
add esp, 0xc
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
push ecx
call fcn.1000dea5
add esp, 4
mov dword [ebp - 0x60], 1
mov edx, dword [ebp - 0x60]
add edx, 1
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
add eax, 2
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], 1
mov ecx, dword [ebp - 0x68]
add ecx, 1
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
add edx, 2
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x70], 1
mov eax, dword [ebp - 0x70]
add eax, 1
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
add ecx, 2
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], 1
mov edx, dword [ebp - 0x78]
add edx, 1
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
add eax, 2
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], 1
mov ecx, dword [ebp - 0x80]
add ecx, 1
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
add edx, 2
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x88], 1
mov eax, dword [ebp - 0x88]
add eax, 1
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
add ecx, 2
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x90], 1
mov edx, dword [ebp - 0x90]
add edx, 1
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
add eax, 2
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x98], 1
mov ecx, dword [ebp - 0x98]
add ecx, 1
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x98]
add edx, 2
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp - 0xa0]
add eax, 1
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
add ecx, 2
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa8], 1
mov edx, dword [ebp - 0xa8]
add edx, 1
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
add eax, 2
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000de96
mov esp, ebp
pop ebp
ret