joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4010d7
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [esp + 4]
ret

Function at 0x4010ea
Capabilities:
Set current directory

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 3
mov ebx, eax
jle 0x401112
lea eax, [ebx + esi - 1]
cmp byte [eax], 0x5c
jne 0x401112
mov edi, 1
mov byte [eax], 0
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
dec eax
cmp eax, 1
sbb eax, eax
inc eax
test edi, edi
je 0x401129
mov byte [ebx + esi - 1], 0x5c
pop edi
pop esi
pop ebx
ret

Function at 0x401452
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push dword [ebp + 8]
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor eax, eax
lea ecx, [ebp - 0x28]
push eax
push eax
push eax
lea edx, [ebp - 8]
push eax
push eax
push 0x20
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x401486
mov ax, 0xffff
jmp 0x4014f2
push 7
lea eax, [ebp - 0x28]
push str.PKBACK
push eax
call fcn.00401028
add esp, 0xc
test eax, eax
je 0x4014a3
mov ax, 0xffff
jmp 0x4014f2
cmp byte [ebp - 0x28], 0
lea edx, [ebp - 0x28]
je 0x4014bc
mov al, byte [edx]
cmp al, 0x2e
je 0x4014bc
cmp al, 0x20
je 0x4014bc
inc edx
cmp byte [edx], 0
jne 0x4014ac
cmp byte [edx], 0
jne 0x4014c7
mov ax, 0xffff
jmp 0x4014f2
mov al, byte [edx]
cmp al, 0x30
jb 0x4014d1
cmp al, 0x39
jbe 0x4014d4
inc edx
jmp 0x4014c7
xor eax, eax
cmp byte [edx], al
je 0x4014f2
imul eax, eax, 0xa
movzx ecx, byte [edx]
sub ecx, 0x30
js 0x4014f2
cmp ecx, 9
jg 0x4014f2
add eax, ecx
inc edx
cmp byte [edx], 0
jne 0x4014da
mov esp, ebp
pop ebp
ret 4

Function at 0x401687
Capabilities:
Encode data using xor

Disassembly:
push esi
mov ecx, dword [0x408420]
mov esi, dword [esp + 0xc]
mov eax, esi
dec esi
test eax, eax
je 0x4016ba
mov edx, dword [esp + 8]
mov al, byte [edx]
inc edx
xor al, cl
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x408020]
xor eax, ecx
mov ecx, eax
mov eax, esi
dec esi
test eax, eax
jne 0x40169d
pop esi
mov dword [0x408420], ecx
ret

Function at 0x401784
Capabilities:
Get disk information

Disassembly:
push ebp
mov eax, dword [esp + 8]
mov ebp, esp
sub esp, 4
mov al, byte [eax]
mov byte [ebp - 3], 0x3a
mov byte [ebp - 2], 0x5c
mov byte [ebp - 1], 0
mov byte [ebp - 4], al
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ecx, 1
mov esp, ebp
cmp ecx, eax
mov eax, ecx
adc eax, 0xffffffff
pop ebp
ret 4
Function at 0x401dbf
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x12c
push ebx
push esi
push edi
push ebp
mov edi, dword [esp + 0x148]
cmp edi, 0xffffffff
jne 0x401de9
push 1
push dword [esp + 0x144]
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x401eeb
mov esi, dword [esp + 0x140]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ebp, [esi + eax]
cmp ebp, esi
jbe 0x401e09
cmp byte [ebp], 0x5c
je 0x401e0f
dec ebp
cmp ebp, esi
ja 0x401dfe
cmp byte [ebp], 0x5c
jne 0x401e1b
mov al, byte [ebp - 1]
cmp al, 0x3a
je 0x401e1a
cmp al, 0x5c
jne 0x401e1b
inc ebp
mov bl, byte [ebp]
push esi
lea eax, [esp + 0x14]
mov byte [ebp], 0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov byte [ebp], bl
cmp bl, 0x5c
jne 0x401e37
inc ebp
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.SHELL32.dll_FindExecutableA]
cmp eax, 0x1f
jne 0x401e68
push esi
push 0x2d
call fcn.0040107b
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x10
jmp 0x401ed3
cmp eax, 0x20
jbe 0x401eb9
mov eax, dword [esp + 0x144]
mov ecx, 0
push 1
push 0
cmp byte [eax], 1
adc ecx, 0xffffffff
and ecx, eax
mov eax, dword [0x4079e4]
push ecx
and eax, 0x20000
push esi
cmp eax, 1
mov eax, 0
adc eax, 0xffffffff
and eax, str.Install
push eax
push dword [0x4086e0]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
test edi, edi
je 0x401eb4
mov dword [edi], eax
cmp eax, 0x20
ja 0x401eeb
push esi
push eax
push 0xd
call fcn.0040107b
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0
lea ecx, [esp + 0x14]
push str.WinZip_Self_Extractor
push ecx
push dword [0x4086e0]
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x12c
ret

Function at 0x401ef6
Capabilities:
Log keystrokes via polling
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x401fbc
lea eax, [ebp - 4]
lea ecx, [ebp - 0x10c]
mov dword [ebp - 4], 0x105
push eax
push ecx
push str.winzip_shellopencommand
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x401fbc
cmp byte [ebp - 0x10c], 0
lea eax, [ebp - 0x10c]
je 0x401f54
cmp byte [eax], 0x20
je 0x401f54
inc eax
cmp byte [eax], 0
jne 0x401f49
push 0x407d70
inc eax
push str.__s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
test byte [0x4079e5], 0x10
je 0x401f9b
test byte [0x4079e5], 0x80
jne 0x401f9b
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0x10f]
dec eax
mov byte [eax], 0x7a
inc eax
mov byte [eax], 0x69
mov byte [eax + 1], 0x70
push 0xffffffffffffffff
lea eax, [ebp - 0x10c]
push 0x407a84
push eax
call fcn.00401dbf
add esp, 0xc
cmp eax, 1
sbb cl, cl
inc cl
mov al, cl
jmp 0x401fd9
push 0
push str.WinZip_Self_Extractor
push 0x1a
call fcn.0040107b
push eax
push dword [0x4086e0]
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x4022cd
Capabilities:
Query environment variable

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
ret

Function at 0x40236b
Capabilities:
Get common file path

Disassembly:
push esi
push 0xfa
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x40239f
push esi
call fcn.00402316
add esp, 4
test eax, eax
je 0x40239f
push esi
call fcn.00402276
add esp, 4
test eax, eax
mov eax, 1
je 0x4023a1
xor eax, eax
pop esi
ret

Function at 0x403979
Capabilities:
Encode data using xor

Disassembly:
push esi
xor eax, eax
push edi
cmp dword [0x40855e], eax
ja 0x40398f
mov dword [0x40853c], eax
jmp 0x403a72
mov esi, 0x800
cmp dword [0x40855e], esi
ja 0x4039a2
mov esi, dword [0x40855e]
push esi
xor edi, edi
push dword [0x408538]
push dword [0x407904]
call dword [sym.imp.KERNEL32.dll__lread]
mov dword [0x40853c], eax
cmp dword [0x407914], edi
je 0x403a14
cmp eax, 0xffffffff
je 0x403a14
cmp eax, esi
je 0x403a14
cmp eax, edi
jl 0x403a14
mov eax, dword [0x407918]
push eax
mov ax, word [0x40791c]
inc ax
push eax
call fcn.004012a4
cmp dword [0x40853c], edi
jne 0x403a05
push esi
push dword [0x408538]
push dword [0x407904]
call dword [sym.imp.KERNEL32.dll__lread]
mov dword [0x40853c], eax
cmp dword [0x40853c], 0xffffffff
je 0x403a14
mov esi, dword [0x40853c]
cmp dword [0x40853c], esi
je 0x403a23
push 2
call fcn.00401c6e
mov eax, dword [0x40853c]
mov ecx, dword [0x408538]
sub dword [0x40855e], eax
mov dword [0x40856c], ecx
cmp dword [0x407908], 0
je 0x403a67
mov esi, ecx
lea edi, [eax - 1]
test eax, eax
je 0x403a67
call fcn.00405192
xor byte [esi], al
movzx eax, byte [esi]
push eax
inc esi
call fcn.004051ab
add esp, 4
mov eax, edi
dec edi
test eax, eax
jne 0x403a4c
mov eax, dword [0x40853c]
dec dword [0x40853c]
pop edi
pop esi
ret
Function at 0x4031e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4031f9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403234
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x403230
lea ebx, [ebx]
cmp esi, eax
jae 0x403234
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x403220
cmp esi, eax
jb 0x40323a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x403410
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45e618
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x47b660]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
call fcn.00424a60
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403455
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0xc], edi
push 0
push 4
push str.Do_you_really_want_to_delete_backup_
mov dword [esp + 0x2c], 0
call fcn.00425212
cmp eax, 6
jne 0x4035a9
mov ecx, dword [esi + 0x2370]
push 0
push 0
push 0x1042
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ebx, [esi + 0x2350]
push eax
mov edi, ebx
mov dword [esp + 0x14], eax
call fcn.00411dd0
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0x20]
push 0
push edx
push 0x1008
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov ecx, ebx
call fcn.0042c657
push 0
push 0x3f4
mov ecx, esi
call fcn.0042c489
mov ecx, eax
call fcn.0042c657
mov edi, dword [ebp + 8]
push edi
lea ecx, [esp + 0x10]
push str.Deleting__s
push ecx
call fcn.00402c20
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
push 0x404
mov ecx, esi
call fcn.0042c489
mov ecx, eax
call fcn.0042c573
push edi
mov ecx, esi
call fcn.00403830
push edi
lea eax, [esp + 0x10]
push str.Removing_Permissions__s
push eax
call fcn.00402c20
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ecx
push 0x404
mov ecx, esi
call fcn.0042c489
mov ecx, eax
call fcn.0042c573
push edi
mov edi, esi
call fcn.004035f0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [esp + 0xc]
push str.Backup_deleted_successfully
push eax
call fcn.00402c20
mov edi, dword [esp + 0x14]
add esp, 8
push edi
push 0x404
mov ecx, esi
call fcn.0042c489
mov ecx, eax
call fcn.0042c573
push 0
push 0
push str.Backup_deleted_successfully
call fcn.00425212
push 1
push 0x3f4
mov ecx, esi
call fcn.0042c489
mov ecx, eax
call fcn.0042c657
push 1
mov ecx, ebx
call fcn.0042c657
lea eax, [edi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4035cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4035f0
Capabilities:
Delete directory
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45e5f0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebp
push esi
mov eax, dword [0x47b660]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
lea ecx, [esp + 0x18]
call fcn.0042dd21
mov dword [esp + 0x3c], 0
call fcn.00424a60
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403640
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov byte [esp + 0x3c], 1
mov ecx, dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x10]
call fcn.00404160
push 4
push str..
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 2
call fcn.004046e0
mov edx, dword [esp + 0xc]
push 0
push edx
lea ecx, [esp + 0x20]
call fcn.0042ddb9
test eax, eax
je 0x4037a5
mov ebp, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x18]
call fcn.0042db3e
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], eax
call fcn.0042dce2
test eax, eax
jne 0x40379a
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x38]
push 0x10
lea ecx, [esp + 0x1c]
call edx
test eax, eax
je 0x40379a
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x1c]
call fcn.0042e02a
mov byte [esp + 0x3c], 3
mov edx, dword [esp + 0x44]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x403704
push esi
lea ecx, [esp + 0x48]
call fcn.00402a70
mov edx, dword [esp + 0x44]
lea ecx, [edi + 0x78]
call fcn.0040b270
mov eax, dword [esp + 0x44]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00442fb3
add esp, 8
test eax, eax
jl 0x403819
mov ecx, dword [esp + 0x44]
cmp eax, dword [ecx - 8]
jg 0x403819
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x44]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x14]
push str.Removing_directory__s
push ecx
call fcn.00402c20
mov esi, dword [esp + 0x1c]
add esp, 0xc
push esi
push 0x404
mov ecx, edi
call fcn.0042c489
mov ecx, eax
call fcn.0042c573
mov edx, dword [esp + 0x44]
push edx
call ebp
mov byte [esp + 0x3c], 2
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40379a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x14], 0
jne 0x403696
lea ecx, [esp + 0x18]
call fcn.0042da58
mov byte [esp + 0x3c], 1
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4037d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x3c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4037f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0042dd4a
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x34
ret 4
push 0x80070057
call fcn.00401000
int3
Function at 0x405b60
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x45e440
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebp
push esi
push edi
mov eax, dword [0x47b660]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov dword [esp + 0x18], 0
call fcn.00424a60
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x405ba8
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], 0
call fcn.00424a60
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x405bda
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x40], 1
movzx edx, word [ecx]
push edx
lea eax, [esp + 0x18]
push str._c:_
push eax
call fcn.00402c20
mov ebp, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x34]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x20]
push 0x4684a0
push eax
call fcn.00402c20
mov edi, dword [esp + 0x28]
add esp, 0xc
add edi, 0xfffffff0
mov dword [esp + 0x50], esp
mov esi, esp
push edi
call fcn.00402ac0
add eax, 0x10
mov dword [esi], eax
mov esi, dword [esp + 0x50]
add esp, 4
call fcn.00405cc0
lea eax, [ebp - 0x10]
mov byte [esp + 0x40], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405c84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x40], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405ca5
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x34
ret 8
Function at 0x406440
Capabilities:
Get hostname

Disassembly:
sub esp, 0x54
mov eax, dword [0x47b660]
xor eax, esp
mov dword [esp + 0x50], eax
xor eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0x60]
push esi
push edi
mov ebx, ecx
lea edx, [esp + 0x10]
xor ecx, ecx
push edx
mov word [esp + 0x1c], ax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov word [esp + 0x3c], cx
mov dword [esp + 0x3e], eax
mov dword [esp + 0x42], eax
mov dword [esp + 0x46], eax
mov dword [esp + 0x4a], eax
mov dword [esp + 0x4e], eax
mov dword [esp + 0x52], eax
mov dword [esp + 0x56], eax
mov dword [esp + 0x5a], eax
mov dword [esp + 0x5e], eax
mov word [esp + 0x62], ax
call fcn.00406630
mov eax, dword [eax]
push eax
push 0x46771c
push 0x100
push ebx
call fcn.00442ff8
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4064eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
push str.OS:_s
add ebp, 0xd8
push 0x400
push ebp
call fcn.00442ff8
add esp, 0x10
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x47fb2c], eax
test eax, eax
je 0x40653f
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x47fb2c]
cmp dword [esp + 0x10], 0
lea esi, [ebx + 0x200]
je 0x406553
push str.64_Bit
jmp 0x406558
push str.32_Bit
push 0xa
push esi
call fcn.00442ff8
add esp, 0xc
push esi
push str.Bit:_s
push 0x400
push ebp
call fcn.00442ff8
add esp, 0x10
mov edi, str.MobileNo
lea esi, [esp + 0x38]
call fcn.00406910
lea edx, [esp + 0x38]
push edx
push 0x46771c
lea esi, [ebx + 0x25a]
push 0xf
push esi
call fcn.00442ff8
push esi
push str.MobNo:_s
push 0x400
push ebp
call fcn.00442ff8
add esp, 0x20
mov edi, str.LicenseCode
lea esi, [esp + 0x18]
call fcn.00406910
lea eax, [esp + 0x18]
push eax
push 0x46771c
lea esi, [ebx + 0x214]
push 0xf
push esi
call fcn.00442ff8
push esi
push str.LicCode:_s
push 0x400
push ebp
call fcn.00442ff8
add esp, 0x20
lea ecx, [esp + 0x14]
push ecx
add ebx, 0x232
push ebx
mov dword [esp + 0x1c], 0x14
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push ebx
push str.PCName:_s
push 0x400
push ebp
call fcn.00442ff8
mov ecx, dword [esp + 0x70]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov al, 1
call fcn.00442896
add esp, 0x54
ret 4
Function at 0x406910
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
lea eax, [esp + 8]
push eax
push 0x468778
push SysReAllocString
mov dword [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x406961
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push esi
push 0
push 0
push edi
push edx
mov dword [esp + 0x24], 0x64
call ebx
mov eax, dword [esp + 8]
push eax
call ebp
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406966
sub eax, edx
sar eax, 1
jne 0x4069af
lea ecx, [esp + 8]
push ecx
push str.SOFTWAREMessage_LabsNet_ProtectorConfig
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4069af
lea edx, [esp + 0xc]
push edx
push esi
push eax
push eax
mov eax, dword [esp + 0x18]
push edi
push eax
mov dword [esp + 0x24], 0x64
call ebx
mov ecx, dword [esp + 8]
push ecx
call ebp
pop ebp
pop ebx
add esp, 8
ret

Function at 0x406f80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push edi
lea eax, [esp + 8]
push eax
push 0x468778
push SysReAllocString
mov dword [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x406fd5
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push esi
push 0
push 0
push str.ZVpath
push edx
mov dword [esp + 0x24], 0x104
call edi
mov eax, dword [esp + 8]
push eax
call ebx
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406fe0
sub eax, edx
sar eax, 1
jne 0x40702d
lea ecx, [esp + 8]
push ecx
push str.SOFTWAREMessage_LabsNet_ProtectorConfig
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x40702d
lea edx, [esp + 0xc]
push edx
push esi
push eax
push eax
mov eax, dword [esp + 0x18]
push str.ZVpath
push eax
mov dword [esp + 0x24], 0x104
call edi
mov ecx, dword [esp + 8]
push ecx
call ebx
pop edi
pop ebx
add esp, 8
ret
Function at 0x409df0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x45e262
mov eax, dword fs:[0]
push eax
sub esp, 0x634
mov eax, dword [0x47b660]
xor eax, esp
mov dword [esp + 0x630], eax
push ebx
push edi
mov eax, dword [0x47b660]
xor eax, esp
push eax
lea eax, [esp + 0x640]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x648], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0xc], edi
call fcn.00424a60
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x409e54
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x648], edi
xor eax, eax
push 0x206
lea edx, [esp + 0x3a]
xor ecx, ecx
push edi
push edx
mov dword [esp + 0x18], 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov word [esp + 0x40], cx
call fcn.00446a60
add esp, 0xc
lea ecx, [esp + 0x10]
lea eax, [esp + 0x34]
push ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], str.Please_select_a_Folder_:
mov dword [esp + 0x24], 0x50
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
push 0x3fe
mov ebx, eax
lea eax, [esp + 0x242]
xor edx, edx
push edi
push eax
mov word [esp + 0x248], dx
call fcn.00446a60
add esp, 0xc
lea ecx, [esp + 0x23c]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea edx, [esp + 0x23c]
push edx
push 0x46771c
push esi
call fcn.00402c20
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x640]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x630]
xor ecx, esp
call fcn.00442896
add esp, 0x640
ret