joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434180
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x4a3886
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4d62b0]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
xor ebx, ebx
push 0x208
lea eax, [esp + 0x56]
push ebx
push eax
mov word [esp + 0x5c], bx
call int.0048bd10
add esp, 0xc
push 0x104
lea ecx, [esp + 0x54]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, ebx
je 0x434338
mov edi, 7
lea eax, [esp + 0x50]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x434207
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x54]
push edx
lea esi, [esp + 0x3c]
call fcn.0043d0d0
mov dword [esp + 0x268], ebx
push edi
push 0x4b3478
lea esi, [esp + 0x20]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.0043d0d0
mov byte [esp + 0x268], 1
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebp, eax
cmp ebp, ebx
je 0x4342f3
mov esi, 1
cmp dword [esp + 0x14], esi
jle 0x4342ec
jmp 0x434280
mov edx, dword [ebp + esi*4]
push 0x4b3288
push edx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x43429b
add esi, 1
jmp 0x4342de
push 2
push 0x4ba3b4
lea ecx, [esp + 0x20]
call fcn.0043cf20
mov edx, dword [ebp + esi*4]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4342b4
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.0043cf20
push 1
push 0x4ba3bc
lea ecx, [esp + 0x20]
call fcn.0043cf20
add esi, 1
cmp esi, dword [esp + 0x14]
jl 0x434280
mov edi, 7
push ebp
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x34]
call fcn.00459f80
mov esi, 8
cmp dword [esp + 0x30], esi
jb 0x434318
mov eax, dword [esp + 0x1c]
push eax
call fcn.00487c06
add esp, 4
cmp dword [esp + 0x4c], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
jb 0x434338
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00487c06
add esp, 4
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.00488fa3
add esp, 0x258
ret
Function at 0x434360
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a5760
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], ebx
mov eax, dword [0x4da734]
mov edx, dword [eax + 0xc]
mov ecx, 0x4da734
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x2c], 1
mov eax, dword [0x4dbc88]
cmp dword [eax - 0xc], ebx
jne 0x4343cd
push 0x4b39f0
lea ebx, [esi + 0x1d]
lea eax, [esp + 0x18]
call fcn.0040cfc0
xor ebx, ebx
jmp 0x4343df
push eax
push 0x4b3a2c
lea edi, [esp + 0x1c]
call fcn.0040e820
add esp, 8
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push edx
push 0x80000001
mov dword [esp + 0x40], ebx
call edi
cmp eax, ebx
jne 0x434414
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], esi
push 0xd
push 0x4ba3c0
lea eax, [esp + 0x1c]
push eax
call fcn.0043fad0
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push 0xf003f
push 1
push ebx
push ebx
push ebp
push 0x80000001
mov dword [esp + 0x40], ebx
call edi
cmp eax, ebx
jne 0x4344b3
xor eax, eax
cmp esi, ebx
je 0x43445a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], esi
jne 0x4344b3
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [esp + 0x20]
push eax
push 4
push ebx
push 0x4b87c0
push esi
mov dword [esp + 0x34], 1
call edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push ebx
push 0x4ba3dc
push esi
mov dword [esp + 0x34], eax
call edi
cmp esi, ebx
je 0x4344b3
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [esp + 0x18], esi
lea eax, [ebp - 0x10]
mov byte [esp + 0x2c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4344d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x4344de
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x43b970
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a8978
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x4da734]
mov edx, dword [eax + 0xc]
mov ecx, 0x4da734
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
push eax
push 0x4bb2bc
lea edi, [esp + 0x14]
mov dword [esp + 0x20], 0
call fcn.0040e800
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
add esp, 8
push esi
push ecx
mov ecx, dword [esp + 0x2c]
push edx
call fcn.0043e120
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ba05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x10
Function at 0x43dd60
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x1c
push ebp
xor ebp, ebp
cmp dword [ebx + 0x334], ebp
push esi
push edi
mov dword [esp + 0x10], ebp
je 0x43dd80
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [ebx + 0x334], ebp
mov edi, dword [ebx + 0x324]
cmp edi, ebp
je 0x43de6d
call fcn.00408100
mov esi, eax
test esi, esi
mov edi, 1
je 0x43de18
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
and dword [esi + 0x7c], 0xfffffffd
mov ecx, esi
call edx
test eax, eax
je 0x43ddb8
push edi
push ebx
mov eax, esi
call fcn.0043d3a0
mov eax, dword [ebx + 0x324]
cmp eax, dword [ebx + 0x320]
jne 0x43de18
movzx ecx, word [esp + 0x34]
movzx edx, word [esp + 0x30]
mov eax, dword [esp + 0x2c]
shl ecx, 0x10
or ecx, edx
push ecx
push eax
push 0x202
mov ecx, esi
call fcn.00408180
mov eax, dword [esi + 0x88]
test eax, eax
je 0x43de0b
cmp word [eax], bp
je 0x43de0b
push edi
push 0
push 0
push eax
push 0x4b6d88
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x43de18
mov eax, dword [esi + 0x10]
test eax, eax
je 0x43de18
mov dword [esp + 0x10], edi
mov ebp, eax
cmp dword [esp + 0x10], 0
mov dword [ebx + 0x324], 0
je 0x43de6d
mov eax, dword [ebx + 4]
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edx, dword [esi]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 8]
mov ecx, esi
mov dword [esp + 0x20], ebp
call eax
mov ecx, dword [ebx + 4]
push ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push ecx
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 0xc

Function at 0x4424f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a7993
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4d62b0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea ecx, [esi + 0x14]
mov word [esi + 8], 0x184d
mov dword [esi + 0xc], 0x1bb
mov dword [esi + 0x10], 0x1f40
xor ebx, ebx
push 0x19
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b6d94
mov dword [esp + 0x14], esi
mov byte [ecx + 4], bl
call fcn.0040d220
push 0xffffffffffffffff
mov dword [esp + 0x3c], ebx
lea eax, [esi + 0x14]
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.0040cab0
mov byte [esp + 0x38], 1
movzx edi, word [esi + 0xc]
call fcn.0047a7d9
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [esi], eax
mov eax, ecx
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x4425b2
cmp dword [esp + 0x28], 0x10
mov eax, dword [esp + 0x14]
jae 0x4425a6
lea eax, [esp + 0x14]
push 1
push edi
push eax
call dword [0x4dbb60]
mov dword [esi], eax
cmp dword [esp + 0x28], 0x10
jb 0x4425c6
mov edx, dword [esp + 0x14]
push edx
call fcn.00487c06
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00488fa3
add esp, 0x30
ret
Function at 0x442680
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a7993
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4d62b0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea ecx, [esi + 0x14]
mov word [esi + 8], 0x1a16
mov dword [esi + 0xc], 0x1bb
mov dword [esi + 0x10], 0x1f40
xor ebx, ebx
push 0x19
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b6d94
mov dword [esp + 0x14], esi
mov byte [ecx + 4], bl
call fcn.0040d220
push 0xffffffffffffffff
mov dword [esp + 0x3c], ebx
lea eax, [esi + 0x14]
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.0040cab0
mov byte [esp + 0x38], 1
movzx edi, word [esi + 0xc]
call fcn.0047a7d9
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [esi], eax
mov eax, ecx
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x442742
cmp dword [esp + 0x28], 0x10
mov eax, dword [esp + 0x14]
jae 0x442736
lea eax, [esp + 0x14]
push 1
push edi
push eax
call dword [0x4dbb60]
mov dword [esi], eax
cmp dword [esp + 0x28], 0x10
jb 0x442756
mov edx, dword [esp + 0x14]
push edx
call fcn.00487c06
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00488fa3
add esp, 0x30
ret

Function at 0x443660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a37a0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [esi + 0x10]
push ecx
sub eax, 0x10
mov dword [esp + 0xc], esp
mov edi, esp
call fcn.0040d0b0
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x28], 0
mov eax, dword [esi + 0xc]
push ecx
sub eax, 0x10
mov dword [esp + 0x14], esp
mov edi, esp
call fcn.0040d0b0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x2c], 1
mov eax, dword [esi + 8]
push ecx
sub eax, 0x10
mov dword [esp + 0x1c], esp
mov edi, esp
call fcn.0040d0b0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x30], 2
mov eax, dword [esi + 4]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov edi, esp
call fcn.0040d0b0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x34], 3
mov eax, dword [esi]
push ecx
sub eax, 0x10
mov dword [esp + 0x2c], esp
mov edi, esp
call fcn.0040d0b0
mov ecx, dword [esp + 0x40]
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x48]
add ecx, eax
mov dword [esp + 0x38], 0xffffffff
call dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x20
ret
Function at 0x445640
Capabilities:
Get disk size

Disassembly:
sub esp, 0x10
push esi
mov eax, 2
lea ecx, [esp + 4]
call fcn.0040b8d0
mov esi, dword [esp + 4]
push 0
push 0
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp dword [esp + 0xc], 0
ja 0x4456ac
jb 0x445689
cmp dword [esp + 8], 0x1f400000
jae 0x4456ac
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4456a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop esi
add esp, 0x10
ret
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4456c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
pop esi
add esp, 0x10
ret

Function at 0x4493a0
Capabilities:
Copy file

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov edi, dword [esp + 0x14]
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
test esi, esi
je 0x4493c9
mov dword [ebp], 0
jmp 0x4493d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp], eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4493ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44940a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x449680
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a433b
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor ebx, ebx
lea ecx, [esi + 0x14]
mov word [esi], bx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x4b2efe
mov byte [ecx + 4], bl
call fcn.0040d220
mov dword [esp + 0x14], ebx
lea ecx, [esi + 0x38]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x4b2efe
mov byte [ecx + 4], bl
call fcn.0040d220
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x449a70
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4aad98
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0x4bd60c
mov dword [esi + 0x3c8], 0x4bd714
mov dword [esi + 0x3cc], 0x4bd734
mov dword [esi + 0x3d0], 0x4bd744
mov dword [esp + 0x18], 0
mov eax, dword [esi + 0x9e4]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x449ae2
push eax
call edi
mov dword [esi + 0x9e4], 0
mov eax, dword [esi + 0x9e8]
test eax, eax
je 0x449af9
push eax
call edi
mov dword [esi + 0x9e8], 0
mov eax, dword [esi + 0xa08]
test eax, eax
je 0x449b0c
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esi + 0x9fc]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449b2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 0x99c]
call fcn.004086c0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0041d2c0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x449c50
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a88e0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
lea esi, [edi + 0x428]
push eax
mov ecx, esi
mov dword [esp + 0x18], 7
call fcn.0043a300
mov eax, dword [eax]
xor ebx, ebx
cmp eax, ebx
je 0x449c9f
or dword [edi + 0x9f8], 2
lea ecx, [esp + 0x14]
push ecx
mov ebp, 1
mov ecx, esi
mov dword [esp + 0x18], ebp
call fcn.0043a300
mov eax, dword [eax]
cmp eax, ebx
je 0x449cc1
or dword [edi + 0x9f8], 4
lea edx, [esp + 0x14]
push edx
mov ecx, esi
mov dword [esp + 0x18], 2
call fcn.0043a300
cmp dword [eax], ebx
je 0x449ce0
or dword [edi + 0x9f8], 8
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov dword [esp + 0x18], 3
call fcn.0043a300
cmp dword [eax], ebx
je 0x449cff
or dword [edi + 0x9f8], 0x10
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push 0x4bc138
mov dword [esp + 0x48], ebx
push 0x80000002
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x449db0
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
push 0x4bc190
push esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x449d6d
cmp dword [esp + 0x1c], 4
je 0x449d8f
push 4
lea eax, [esp + 0x20]
push eax
push 4
push ebx
push 0x4bc190
push esi
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
or dword [edi + 0x9f8], ebp
jmp 0x449db0
mov ecx, dword [esp + 0x10]
push 4
lea edx, [esp + 0x20]
push edx
push 4
push ebx
push 0x4bc190
add ecx, 1
push esi
mov dword [esp + 0x34], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [0x4da734]
mov edx, dword [eax + 0xc]
mov ecx, 0x4da734
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
mov ecx, edi
mov byte [esp + 0x2c], 1
call fcn.0044c120
test eax, eax
mov ebp, dword [esp + 0x10]
je 0x449ded
cmp dword [ebp - 0xc], ebx
je 0x449dfe
or dword [edi + 0x9f8], 0x40
jmp 0x449dfe
lea esi, [edi + 0x9fc]
mov dword [edi + 0x9f4], ebx
call fcn.0040b430
lea eax, [ebp - 0x10]
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449e1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x449e2d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x44fe70
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4a42a8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
call fcn.0043af30
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44fec4
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.0043cf20
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.0043af30
cmp dword [esp + 0x24], 8
jb 0x44ff0a
mov eax, dword [esp + 0x10]
push eax
call fcn.00487c06
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x4500d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a7993
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4d62b0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea ecx, [esi + 0x14]
mov word [esi + 8], 0x19ca
mov dword [esi + 0xc], 0x1bb
mov dword [esi + 0x10], 0x1f40
xor ebx, ebx
push 0x19
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b6d94
mov dword [esp + 0x14], esi
mov byte [ecx + 4], bl
call fcn.0040d220
push 0xffffffffffffffff
mov dword [esp + 0x3c], ebx
lea eax, [esi + 0x14]
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.0040cab0
mov byte [esp + 0x38], 1
movzx edi, word [esi + 0xc]
call fcn.0047a7d9
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [esi], eax
mov eax, ecx
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x450192
cmp dword [esp + 0x28], 0x10
mov eax, dword [esp + 0x14]
jae 0x450186
lea eax, [esp + 0x14]
push 1
push edi
push eax
call dword [0x4dbb60]
mov dword [esi], eax
cmp dword [esp + 0x28], 0x10
jb 0x4501a6
mov edx, dword [esp + 0x14]
push edx
call fcn.00487c06
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00488fa3
add esp, 0x30
ret
Function at 0x450f70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ab9c8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
cmp dword [0x4dbc40], 0
je 0x450fbd
mov ecx, esi
call fcn.004215d0
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.004211c0
test eax, eax
mov eax, dword [esi]
mov ecx, esi
je 0x451010
mov edx, dword [eax + 0x6c]
mov dword [esi + 0x404], 3
call edx
push 0
push 0
push 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x3bc], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x1c]
push 2
push 1
mov dword [esi + 0x404], 2
call edx
mov eax, dword [esi + 0x444]
lea ebx, [esi + 0x444]
push ecx
sub eax, 0x10
mov dword [esp + 0x14], esp
mov edi, esp
call fcn.0040d0b0
add eax, 0x10
mov dword [edi], eax
call fcn.004510c0
push ebx
lea eax, [esp + 0x10]
push eax
mov ebx, 0x4bd790
call fcn.004390e0
add esp, 8
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, esi
je 0x451080
mov edx, dword [esp + 0xc]
push edx
call fcn.00424eb0
jmp 0x451085
call fcn.004215d0
mov dword [esp + 0x20], 0xffffffff
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 0x4510ad
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

Function at 0x4510c0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a36e0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
push 0x2001f
push 0
push 0x4b9a6c
mov dword [esp + 0x2c], 1
push 0x80000002
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov esi, dword [esp + 0x24]
jne 0x451160
mov edi, dword [esp + 0xc]
xor eax, eax
test esi, esi
setne al
mov dword [esp + 0x10], edi
test eax, eax
jne 0x451136
push 0x80004005
call fcn.00401050
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
lea ecx, [eax + eax]
push ecx
push esi
push 1
push 0
push str.n4Ur
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x451160
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x451184
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4