joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407e60
Capabilities:
Create tcp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ab8d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x45fad0
lea ecx, [ebp - 0x18]
call fcn.004026a0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x9c40
lea eax, [ebp - 0x14]
push eax
push 0x457064
push 0x457084
push closesocket
call fcn.00427550
add esp, 0x10
mov ecx, 0xea60
mov word [ebp - 0x1cc], cx
lea edx, [ebp - 0x1b8]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x407f07
xor eax, eax
mov word [ebp - 0x1be], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402680
mov ax, word [ebp - 0x1be]
jmp 0x40806c
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x1bc], eax
cmp dword [ebp - 0x1bc], 0xffffffff
jne 0x407f4d
call dword [sym.imp.WS2_32.dll_WSACleanup]
nop
xor ecx, ecx
mov word [ebp - 0x1c0], cx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402680
mov ax, word [ebp - 0x1c0]
jmp 0x40806c
mov edx, 2
mov word [ebp - 0x28], dx
push 0x7f000001
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c8], 0
jmp 0x407f88
mov eax, dword [ebp - 0x1c8]
add eax, 1
mov dword [ebp - 0x1c8], eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x1c8], 0x2710
jge 0x408039
cmp dword [ebp - 0x14], 0xea60
jb 0x407fa8
mov dword [ebp - 0x14], 0x9c40
cmp dword [ebp - 0x14], 0xa178
jne 0x407fba
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
movzx eax, word [ebp - 0x14]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x26], ax
push 0x10
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x1bc]
push edx
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x408034
mov eax, dword [ebp - 0x1bc]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 0x14]
add ecx, 1
push ecx
push str.FreePortSearch
push str.SoftwareNetzilo
push closesocket
call fcn.00427d10
add esp, 0x10
mov dx, word [ebp - 0x14]
mov word [ebp - 0x1c2], dx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402680
mov ax, word [ebp - 0x1c2]
jmp 0x40806c
jmp 0x407f70
mov eax, dword [ebp - 0x1bc]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
nop
xor ecx, ecx
mov word [ebp - 0x1c4], cx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402680
mov ax, word [ebp - 0x1c4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429858
mov esp, ebp
pop ebp
ret
Function at 0x408b50
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ace5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
push 4
lea ecx, [ebp - 0x14]
call fcn.00402190
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040b960
mov dword [ebp - 4], 0
push str.chrome
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0043472c
add esp, 8
test eax, eax
jne 0x408bdd
mov edx, dword [ebp + 8]
push edx
call fcn.004077a0
add esp, 4
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004028b0
mov eax, dword [ebp + 8]
jmp 0x408d0c
push str.edge
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0043472c
add esp, 8
test eax, eax
jne 0x408c1e
mov edx, dword [ebp + 8]
push edx
call fcn.00407b00
add esp, 4
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004028b0
mov eax, dword [ebp + 8]
jmp 0x408d0c
mov dword [ebp - 0x20], 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x408c68
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404970
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004028b0
mov eax, dword [ebp + 8]
jmp 0x408d0c
push 0
mov ecx, dword [ebp - 0x24]
shl ecx, 1
push ecx
call fcn.004032b0
add esp, 8
mov dword [ebp - 0x20], eax
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp - 0x20]
mov word [edx + eax], cx
push 4
lea ecx, [ebp - 0x18]
call fcn.00402190
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.004014f0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop
mov ecx, 2
imul edx, ecx, 0
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax + edx]
test ecx, ecx
je 0x408cd9
mov edx, dword [ebp - 0x20]
push edx
lea ecx, [ebp - 0x14]
call fcn.00402f90
nop
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404970
mov ecx, dword [ebp - 0x1c]
or ecx, 1
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00403320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004028b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429858
mov esp, ebp
pop ebp
ret
Function at 0x40aca0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push str.LocalNetzilo_Container_Mutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
je 0x40acd2
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x40f310
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x34], 0xee6b2800
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0xc]
push eax
push 0x4580c8
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x40f34d
xor eax, eax
xor edx, edx
jmp 0x40f3a0
push 0
push 2
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0042a630
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
ja 0x40f38e
jb 0x40f375
cmp dword [ebp - 0x2c], 0xee6b2800
jae 0x40f38e
push 0
push 2
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0042a630
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
jmp 0x40f39a
xor edx, edx
mov dword [ebp - 0x24], 0xee6b2800
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429858
mov esp, ebp
pop ebp
ret
Function at 0x425510
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x2c], 0
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x425563
jmp 0x4255aa
push 4
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x42557e
jmp 0x4255aa
mov dword [ebp - 0x2c], 1
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x425599
jmp 0x4255aa
cmp dword [ebp - 0x1c], 4
jne 0x4255a6
mov dword [ebp - 0x2c], 2
xor edx, edx
jne 0x42554c
cmp dword [ebp - 0x24], 0
je 0x4255bb
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
cmp dword [ebp - 0x28], 0
je 0x4255cc
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429858
mov esp, ebp
pop ebp
ret
Function at 0x425b20
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
add ecx, 2
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x28]
mov ax, word [edx]
mov word [ebp - 0x2e], ax
add dword [ebp - 0x28], 2
cmp word [ebp - 0x2e], 0
jne 0x425b3f
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x3c]
sar ecx, 1
mov dword [ebp - 0x40], ecx
push 1
mov edx, dword [ebp - 0x40]
lea eax, [edx + edx + 4]
push eax
call fcn.004032b0
add esp, 8
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
add edx, 2
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x2c]
mov cx, word [eax]
mov word [ebp - 0x30], cx
add dword [ebp - 0x2c], 2
cmp word [ebp - 0x30], 0
jne 0x425b83
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x44]
sar edx, 1
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
shl eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.0042b5e0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov word [ebp - 8], ax
mov ecx, 0x614
mov word [ebp - 0x14], cx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], 3
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x425c01
mov dword [ebp - 0x38], 1
jmp 0x425c08
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.00403300
add esp, 4
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429858
mov esp, ebp
pop ebp
ret

Function at 0x425c30
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x44d47c]
mov dword [ebp - 0xc], eax
mov cx, word [0x44d480]
mov word [ebp - 8], cx
mov edx, 0x41
mov word [ebp - 0x268], dx
jmp 0x425c76
mov ax, word [ebp - 0x268]
add ax, 1
mov word [ebp - 0x268], ax
movzx ecx, word [ebp - 0x268]
cmp ecx, 0x5a
jg 0x425cdf
mov edx, 2
imul eax, edx, 0
mov cx, word [ebp - 0x268]
mov word [ebp + eax - 0xc], cx
push 0x258
push 0
lea edx, [ebp - 0x264]
push edx
call fcn.0042bb60
add esp, 0xc
push 0x12b
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea edx, [ebp - 0x264]
push edx
movzx eax, word [ebp - 0x268]
lea ecx, [eax*4 + 0x460264]
call fcn.00402f90
nop
jmp 0x425c64
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429858
mov esp, ebp
pop ebp
ret
Function at 0x425f20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
xor eax, eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
push 0x44
push 0
lea ecx, [ebp - 0x4c]
push ecx
call fcn.0042bb60
add esp, 0xc
mov dword [ebp - 0x4c], 0x44
cmp dword [ebp + 0x10], 0
je 0x425f79
mov dword [ebp - 0x64], 1
jmp 0x425f80
mov dword [ebp - 0x64], 0
mov dx, word [ebp - 0x64]
mov word [ebp - 0x1c], dx
mov dword [ebp - 0x20], 1
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x426007
cmp dword [ebp + 0x14], 0
je 0x425ff2
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
cmp dword [ebp + 0x18], 0
je 0x425ff0
mov dword [ebp - 8], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
jmp 0x426007
cmp dword [ebp + 0x18], 0
je 0x426007
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
mov dword [ebp - 0x5c], 0
xor edx, edx
jne 0x425f8f
cmp dword [ebp - 0x5c], 0
je 0x42601c
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [ebp - 0x58], 0
je 0x42602d
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429858
mov esp, ebp
pop ebp
ret
Function at 0x426270
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x3c
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.0042bb60
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x38], 0
cmp dword [ebp + 0x14], 0
je 0x4262b4
mov dword [ebp - 0x44], str.runas
jmp 0x4262bb
mov dword [ebp - 0x44], str.open
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x28], ecx
cmp dword [ebp + 0x18], 0
je 0x4262e2
mov dword [ebp - 0x48], 5
jmp 0x4262e9
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42633d
cmp dword [ebp - 8], 0
je 0x42633d
push 0xffffffffffffffff
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
cmp dword [ebp + 0x1c], 0
je 0x42632c
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
nop
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x426350
cmp dword [ebp - 8], 0
je 0x42634e
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429858
mov esp, ebp
pop ebp
ret
Function at 0x4263c0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44cace
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 1
push 4
mov ecx, dword [ebp + 8]
call fcn.00402190
mov ecx, dword [ebp + 8]
call fcn.004028d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
or eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], ecx
xor edx, edx
mov word [ebp - 0x18], dx
mov eax, 0x200
mov word [ebp - 0x16], ax
push 0
movzx ecx, word [ebp - 0x16]
push ecx
call fcn.004032b0
add esp, 8
mov dword [ebp - 0x14], eax
push 0
push 0xc
lea edx, [ebp - 0x1c]
push edx
push 0x58
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xc0000004
je 0x42645d
cmp dword [ebp - 0x24], 0xc0000023
jne 0x42648e
mov eax, dword [ebp - 0x14]
push eax
call fcn.00403300
add esp, 4
push 0
movzx ecx, word [ebp - 0x16]
push ecx
call fcn.004032b0
add esp, 8
mov dword [ebp - 0x14], eax
push 0
push 0xc
lea edx, [ebp - 0x1c]
push edx
push 0x58
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x4264a4
movzx eax, word [ebp - 0x18]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x12b
jle 0x4264d8
mov eax, dword [ebp - 0x14]
push eax
call fcn.00403300
add esp, 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
and ecx, 1
je 0x4264d3
and dword [ebp - 0x20], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.004028b0
nop
mov eax, dword [ebp + 8]
jmp 0x426529
mov edx, dword [ebp - 0x14]
push edx
movzx eax, word [ebp - 0x18]
cdq
sub eax, edx
sar eax, 1
push eax
push 0x44d56c
mov eax, dword [ebp + 8]
push eax
call fcn.00402d60
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00403300
add esp, 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x20]
and edx, 1
je 0x426526
and dword [ebp - 0x20], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.004028b0
nop
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429858
mov esp, ebp
pop ebp
ret
Function at 0x426630
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x258
push 0
lea eax, [ebp - 0x25c]
push eax
call fcn.0042bb60
add esp, 0xc
push 0x12b
lea ecx, [ebp - 0x25c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x25c]
push edx
mov ecx, 0x4603d4
call fcn.00402f90
push 0x5c
lea eax, [ebp - 0x25c]
push eax
call fcn.00426730
add esp, 8
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
je 0x4266cf
xor ecx, ecx
mov edx, dword [ebp - 0x260]
mov word [edx], cx
lea eax, [ebp - 0x25c]
push eax
mov ecx, 0x4603d0
call fcn.00402f90
mov ecx, dword [ebp - 0x260]
add ecx, 2
push ecx
mov ecx, 0x4603d8
call fcn.00402f90
nop
push 0x12b
lea edx, [ebp - 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x25c]
push eax
mov ecx, 0x4603dc
call fcn.00402f90
push 0x12b
lea ecx, [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [ebp - 0x25c]
push edx
mov ecx, 0x4603e0
call fcn.00402f90
nop
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429858
mov esp, ebp
pop ebp
ret

Function at 0x427550
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 4
lea eax, [ebp - 0x10]
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]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4275c6
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4275bb
cmp dword [ebp - 0xc], 4
je 0x4275bb
mov dword [ebp - 0x14], 0x57
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429858
mov esp, ebp
pop ebp
ret
Function at 0x4275e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x10]
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]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x427728
lea eax, [ebp - 0xc]
push eax
push 0
lea ecx, [ebp - 8]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x42771d
cmp dword [ebp - 8], 1
je 0x427654
cmp dword [ebp - 8], 2
jne 0x427716
cmp dword [ebp - 0xc], 2
jae 0x427668
mov ecx, dword [ebp + 0x14]
call fcn.00403240
nop
jmp 0x427714
push 0x44dc9c
mov eax, dword [ebp - 0xc]
shr eax, 1
add eax, 1
mov ecx, 2
mul ecx
mov edx, 0xffffffff
cmovb eax, edx
push eax
call fcn.0042a1db
add esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4276a6
mov eax, 0xe
jmp 0x42772b
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4276e6
mov eax, dword [ebp - 0xc]
shr eax, 1
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov word [edx + eax*2], cx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00402f90
nop
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00429b9d
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x427707
mov dword [ebp - 0x24], 0
jmp 0x427714
mov dword [ebp - 0x14], 0x8123
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
jmp 0x42771d
mov dword [ebp - 0x18], 0x57
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429858
mov esp, ebp
pop ebp
ret