joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403eb9
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov eax, 0x42c4d3
call fcn.004174bc
sub esp, 0x390
push ebx
push esi
push edi
push 0x40
pop ecx
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x298], bl
lea edi, [ebp - 0x297]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.C:UsersADMINI1AppDataLocalTempRsdSfxTmp
stosb byte es:[edi], al
lea eax, [ebp - 0x298]
push str._sCompsVer.inf
push eax
call fcn.00416f98
add esp, 0xc
push 0x40
pop ecx
xor eax, eax
mov byte [ebp - 0x194], bl
lea edi, [ebp - 0x193]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x298]
push eax
push 0x104
lea eax, [ebp - 0x194]
push eax
push 0x42e8dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x74]
call fcn.0040188b
push 1
push ebx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], ebx
mov byte [ebp - 0x10], 0x3d
call fcn.004027aa
cmp eax, 0xffffffff
je 0x4040bf
mov byte [ebp + eax - 0x194], bl
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x74]
call fcn.0040186e
mov eax, dword [ebp - 0x60]
dec eax
push eax
push 1
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x74]
call fcn.00403e09
cmp dword [ebp - 0x20], 0x10
mov esi, dword [ebp - 0x34]
mov byte [ebp - 4], 1
mov edi, esi
jae 0x403f9c
lea edi, [ebp - 0x34]
mov esi, edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x38]
call fcn.00402be2
push 0x418170
push edi
push dword [eax]
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.00402cfd
add esp, 0x14
push 0x40
pop ecx
xor eax, eax
mov byte [ebp - 0x39c], bl
lea edi, [ebp - 0x39b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
push eax
push 0x20019
push ebx
push 0x42e8ac
push 0x80000000
mov dword [ebp - 0x1c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4040b4
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x39c]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push str.ForbidInstall
push dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x4040b4
lea eax, [ebp - 0x39c]
push eax
lea ecx, [ebp - 0x90]
call fcn.0040188b
push ebx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x40], 0xf
call fcn.0040154f
lea eax, [ebp - 0x58]
push eax
lea esi, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.00403e47
pop ecx
push ebx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x58]
call fcn.00402bfe
test eax, eax
jl 0x40409b
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x58]
call fcn.0040156b
push ebx
push esi
lea ecx, [ebp - 0x90]
call fcn.0040156b
push ebx
push esi
lea ecx, [ebp - 0x38]
call fcn.0040156b
jmp 0x4040c1
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.0040156b
push ebx
push 1
lea ecx, [ebp - 0x90]
call fcn.0040156b
push ebx
lea ecx, [ebp - 0x38]
push 1
call fcn.0040156b
xor esi, esi
push ebx
push 1
lea ecx, [ebp - 0x74]
call fcn.0040156b
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x421e3f
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x431630
call fcn.00417c8c
xor esi, esi
cmp dword [0x5392cc], esi
jne 0x421e83
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x421e6e
mov dword [0x5392cc], edi
jmp 0x421e83
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x421e83
mov dword [0x5392cc], 2
mov eax, dword [0x5392cc]
cmp eax, 2
je 0x421f64
cmp eax, esi
je 0x421f64
cmp eax, 1
jne 0x421ec8
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x421eb1
mov eax, dword [0x539174]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x421ecf
xor eax, eax
jmp 0x421f76
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.00417df0
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x421f05
cmp edi, esi
jne 0x421f20
lea eax, [ebx + ebx]
push eax
call fcn.00417b24
pop ecx
mov edi, eax
cmp edi, esi
je 0x421ec8
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x421f53
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x421f3d
push esi
push esi
jmp 0x421f43
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x421f5f
push edi
call fcn.00417b36
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x421f76
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.00417cc7
ret

Function at 0x4244b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 4]
push eax
push 1
xor esi, esi
push esi
push str.CLSIDCAA2D3B2_4BB5_4a45_A17A_122773379D99
push 0x80000000
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x424519
mov edx, dword [esp + 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xc]
push ecx
push eax
push eax
push eax
push eax
push edx
mov dword [esp + 0x24], eax
call edi
test eax, eax
jne 0x424518
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x18], eax
mov esi, eax
jb 0x424518
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push ecx
push 0
push 0
push 0
push edx
call edi
pop edi
mov eax, dword [esp + 4]
test eax, eax
je 0x424528
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret 8
Function at 0x424970
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x437388]
push ebx
mov ebx, dword [0x431e64]
push esi
mov esi, dword [0x431e68]
push edi
mov edi, dword [0x431e60]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
mov dword [esp + 0x148], eax
mov eax, dword [0x431e5c]
push 0x42e8ac
push 0x80000000
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x424a5c
mov byte [esp + 0x30], al
mov ecx, 0x40
lea edi, [esp + 0x31]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [edi + 0x10]
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x34], 0x104
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x424a3d
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
mov ecx, edi
call fcn.004247a0
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x20]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], edx
jmp 0x424a6a
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x20]
mov ecx, eax
mov dword [ecx], edx
mov dword [ecx + 4], edi
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], esi
mov ecx, dword [esp + 0x13c]
call fcn.0041e6b7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x424a90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x118
mov eax, dword [0x437388]
push esi
push edi
mov dword [esp + 0x11c], eax
mov esi, ecx
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0x40
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0x14]
shr eax, 0x10
movzx ecx, ah
push ecx
movzx edx, al
mov eax, dword [ebp + 0x14]
push edx
movzx ecx, ah
push ecx
mov ecx, dword [ebp + 0x10]
movzx edx, al
mov eax, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0x10]
shr ecx, 0x10
movzx ecx, cl
shr eax, 0x18
push eax
movzx eax, byte [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
shr edx, 8
movzx edx, dl
push edx
movzx edx, word [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
shr ecx, 0x10
push ecx
push edx
push eax
push 0x431910
lea ecx, [esp + 0x40]
push 0x104
push ecx
call fcn.0042a725
add esp, 0x38
lea edx, [esp + 0xc]
push edx
push 0x42e8ac
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x424b69
lea eax, [esp + 0xc]
push eax
push 0x42e8ac
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x424b69
xor eax, eax
mov ecx, dword [esp + 0x11c]
call fcn.0041e6b7
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x10]
mov edi, 1
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424b75
sub eax, edx
mov edx, dword [esi + 0x10]
inc eax
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x424b9e
xor edi, edi
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x11c]
mov eax, edi
call fcn.0041e6b7
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x424e90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x110
mov eax, dword [0x437388]
mov dword [esp + 0x10c], eax
push esi
push edi
xor eax, eax
test edx, edx
mov byte [esp + 8], 0
mov ecx, 0x40
lea edi, [esp + 9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
jne 0x424ed8
push edx
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.00424c40
add esp, 0xc
jmp 0x424ee8
push edx
push 0x104
lea ecx, [esp + 0x10]
push ecx
call fcn.00401bc7
push 0x431950
push 0x104
lea edx, [esp + 0x10]
push edx
call fcn.0040244a
mov ecx, dword [ebp + 8]
lea eax, [esp + 8]
push eax
push ecx
push ebx
push 0x42e710
push 0x43194c
push str.SETTING
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, eax
test esi, esi
jne 0x424f33
mov ecx, dword [esp + 0x114]
call fcn.0041e6b7
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x2e
push ebx
call fcn.004181b0
add esp, 8
test eax, eax
je 0x424f45
mov byte [eax], 0
mov ecx, dword [esp + 0x114]
mov eax, esi
call fcn.0041e6b7
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Execute command

Disassembly:
push 0xc
push 0
push 0x403340
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
call sub.KERNEL32.dll_GetModuleHandleW
mov dword [0x403344], eax
push 0
push 0x1000
push 0
call sub.KERNEL32.dll_HeapCreate
mov dword [0x403340], eax
call fcn.004020e0
call fcn.004020cb
sub esp, 4
mov eax, str.echo_off
push eax
call fcn.00402160
push eax
mov dword [esp + 4], eax
call sub.MSVCRT.dll_system
add esp, 4
push eax
push dword [esp + 4]
call fcn.004021d0
pop eax
add esp, 4
sub esp, 4
mov eax, str.clear
push eax
call fcn.00402160
push eax
mov dword [esp + 4], eax
call sub.MSVCRT.dll_system
add esp, 4
push eax
push dword [esp + 4]
call fcn.004021d0
pop eax
add esp, 4
sub esp, 4
mov eax, str.fal_ter.vbs
push eax
call fcn.00402160
push eax
mov dword [esp + 4], eax
call sub.MSVCRT.dll_system
add esp, 4
push eax
push dword [esp + 4]
call fcn.004021d0
pop eax
add esp, 4
sub esp, 4
mov eax, str.net_use_T:_10.1.1.41_sharefinal__USER:falconupdate_hpfal_dip__persistent:no
push eax
call fcn.00402160
push eax
mov dword [esp + 4], eax
call sub.MSVCRT.dll_system
add esp, 4
push eax
push dword [esp + 4]
call fcn.004021d0
pop eax
add esp, 4
sub esp, 4
mov eax, 0x403048
push eax
call fcn.00402160
push eax
mov dword [esp + 4], eax
call sub.MSVCRT.dll_system
add esp, 4
push eax
push dword [esp + 4]
call fcn.004021d0
pop eax
add esp, 4
sub esp, 4
mov eax, str.robocopy_t:__CD___s__e
push eax
call fcn.00402160
push eax
mov dword [esp + 4], eax
call sub.MSVCRT.dll_system
add esp, 4
push eax
push dword [esp + 4]
call fcn.004021d0
pop eax
add esp, 4
sub esp, 4
mov eax, str.clear
push eax
call fcn.00402160
push eax
mov dword [esp + 4], eax
call sub.MSVCRT.dll_system
add esp, 4
push eax
push dword [esp + 4]
call fcn.004021d0
pop eax
add esp, 4
push 0
call fcn.00401187
call fcn.00402130
push dword [0x403340]
call sub.KERNEL32.dll_HeapDestroy
call sub.KERNEL32.dll_ExitProcess
Function at 0x7d8058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.007d81a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x7d807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7d806a
add dl, dl
jne 0x7d8089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7d80dc
xor eax, eax
add dl, dl
jne 0x7d8096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7d817d
add dl, dl
jne 0x7d80a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x7d80d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x7d8075
mov eax, 1
add dl, dl
jne 0x7d80ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7d80e1
sub eax, ebx
mov ebx, 1
jne 0x7d8128
mov ecx, 1
add dl, dl
jne 0x7d810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7d8119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7d8105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7d8075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x7d813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7d814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7d8136
cmp eax, 0x7d00
jae 0x7d816d
cmp eax, 0x500
jb 0x7d8168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7d8075
cmp eax, 0x7f
ja 0x7d8170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7d8075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x7d819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x7d8075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x77d25b19
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x2c5a385a
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5969342d
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
mov eax, section..text
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x622a497a
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x10012d98
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x10024cf0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.10024ca8
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x10024cfe
ret
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
add eax, dword [esp + 4]
add eax, dword [esp + 0xc]
ret

Function at 0x100138a4
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x20019
push ebx
push 0x10007e14
push 0x80000002
mov dword [ebp - 8], ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001390c
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x10007e48
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x1001390c
cmp dword [ebp - 8], ebx
setne bl
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10014baf
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
lea eax, [ebp - 8]
push eax
push 0x10064f30
push 1
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [0x10064d20], esi
mov dword [0x10064d1c], esi
mov dword [0x10064d18], esi
mov dword [0x10064d14], esi
call dword [sym.imp.api_ms_win_core_version_l1_1_0.dll_GetFileVersionInfoSizeExW]
mov ebx, eax
test ebx, ebx
je 0x10014c7d
push edi
push ebx
call fcn.1001ec41
mov edi, eax
pop ecx
test edi, edi
je 0x10025dca
push ebx
push esi
push edi
call sub.msvcrt.dll_memset
add esp, 0xc
push edi
push ebx
push esi
push 0x10064f30
push 3
call dword [sym.imp.api_ms_win_core_version_l1_1_0.dll_GetFileVersionInfoExW]
test eax, eax
je 0x10014c82
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x10008180
push edi
call dword [sym.imp.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW]
test eax, eax
je 0x10014c67
mov ecx, dword [ebp - 4]
movzx eax, word [ecx + 0xa]
mov dword [0x10064d20], eax
movzx eax, word [ecx + 8]
mov dword [0x10064d1c], eax
movzx eax, word [ecx + 0xe]
mov dword [0x10064d18], eax
movzx eax, word [ecx + 0xc]
mov dword [0x10064d14], eax
test edi, edi
je 0x10014c72
push edi
call fcn.1001ec6a
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor esi, esi
inc esi
jmp 0x10014c73
mov esi, 0x80004005
jmp 0x10014c67
Function at 0x10018957
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x10026c75
setne al
pop esi
ret
test dword [eax - 0x7c000004], eax
mov ebp, 0xfffffc80
push dword [edi + ebp + 0x6a]
add byte [ebp - 0x6c37b], cl
call dword [eax - 1]
Function at 0x1001a2c4
Capabilities:
Enumerate pe sections

Disassembly:
push 4
mov eax, 0x10021e6d
call fcn.1001fd8a
mov edi, ecx
sub esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [edi + 4]
call fcn.1001386a
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [edi]
sub eax, 1
mov dword [edi], eax
je 0x10024b8d
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x10024cae
call fcn.1001fd58
ret
mov edi, edi
push ebx
push esi
mov esi, ecx
push edi
push 0
lea ecx, [esi + 0x18]
mov byte [esi], 0
call fcn.10020791
lea ecx, [esi + 0x1c]
push 0
call fcn.10020791
lea ecx, [esi + 0x80]
call fcn.1002060c
lea edi, [esi + 0x58]
cmp dword [edi + 0x24], 0
je 0x1001a305
push dword [edi + 0x24]
push 0
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
push eax
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
push edi
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_DeleteCriticalSection]
lea edi, [esi + 0x30]
cmp dword [edi + 0x24], 0
je 0x1001a327
push dword [edi + 0x24]
push 0
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
push eax
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
push edi
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_DeleteCriticalSection]
cmp dword [esi + 0x2c], 0
je 0x1001a34a
mov ecx, dword [0x1006539c]
test ecx, ecx
je 0x1001a34a
push dword [esi + 0x2c]
push ecx
add ecx, 0x70
call fcn.1001eb3e
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1001a356
call fcn.1001de75
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x1001a362
call fcn.1001de75
lea ecx, [esi + 0x1c]
call fcn.10020611
lea ecx, [esi + 0x18]
call fcn.10020611
mov ecx, dword [esi + 8]
pop edi
pop esi
pop ebx
test ecx, ecx
jne 0x10012d0a
ret
call fcn.1001a5b3
test al, al
je 0x1001ec36
mov ecx, dword [0x10065398]
mov byte [0x10065390], 0
test ecx, ecx
je 0x1001ec40
jmp 0x10012d0a
mov ecx, 0x10065390
jmp 0x1001a2c1
ret
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x10024b99
call fcn.1003236b
mov dword [edi + 8], esi
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x10024ba8
call fcn.1003236b
mov ecx, dword [ebp - 0x10]
mov dword [edi + 0xc], esi
test ecx, ecx
je 0x10024bb7
call fcn.100323a0
mov dword [ebp - 0x10], esi
call fcn.1001a5b3
test al, al
je 0x10024bd0
lea ecx, [edi + 0x10]
call fcn.1002f598
jmp 0x10012d44
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 1
invalid
invalid