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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x53e01c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20a
lea eax, [ebp - 0x210]
mov esi, ecx
push 0
push eax
call fcn.004beec0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x423ac7
xor al, al
jmp 0x423ad7
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.00403dc0
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045b5b0
leave
ret

Function at 0x423d74
Capabilities:
Get file version info

Disassembly:
push 0xc
mov eax, 0x4ed5a5
call fcn.0045be5a
mov ebx, ecx
mov dword [ebp - 0x18], ebx
lea esi, [ebx + 0x34]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push 0x34
push eax
mov dword [ebp - 4], eax
push ebx
mov byte [ebx + 0x40], al
call fcn.004beec0
add esp, 0xc
push 0
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x423dfa
push edi
mov ecx, esi
call fcn.0041fed0
push dword [esi]
push edi
push 0
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x423dfa
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x52bac0
push dword [esi]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x423dfa
mov esi, dword [ebp - 0x14]
mov edi, ebx
push 0xd
pop ecx
rep movsd dword es:[edi], dword [esi]
mov byte [ebx + 0x40], 1
mov eax, ebx
call fcn.0045be28
ret 4

Function at 0x425270
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed910
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x53e01c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x21c], 0
call fcn.0042a9d0
call fcn.0042a740
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x425351
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004beec0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x42533e
lea edx, [ebp - 0x218]
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x425320
sub edx, esi
lea eax, [ebp - 0x218]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.00407890
push dword [ebp - 0x21c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, 1
jmp 0x425353
xor esi, esi
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045b5b0
mov esp, ebp
pop ebp
ret 8
Function at 0x4264d0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4edad5
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x53e01c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x426506
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x426536
cmp dword [esi + 0x14], 8
jb 0x426519
mov esi, dword [esi]
push esi
push str.__rNX__W
push 2
call fcn.0042b930
push eax
call fcn.0042ca90
add esp, 0x10
xor eax, eax
jmp 0x42665e
push esi
lea ecx, [ebp - 0x28]
call fcn.00403e90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0x1a
xor eax, eax
mov dword [ebp - 0x40], 0
push str.tmp_123abc456def789hij.tmp
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00407890
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0042394b
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4265bd
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4265b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42667a
push edx
push ecx
call fcn.0045b5e1
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x80
push 4
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x426608
cmp dword [esi + 0x14], 8
jb 0x4265ee
mov esi, dword [esi]
push esi
push 0x52f6cc
push 2
call fcn.0042b930
push eax
call fcn.0042ca90
add esp, 0x10
xor esi, esi
jmp 0x426626
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42665c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426652
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42667f
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045b5b0
mov esp, ebp
pop ebp
ret 4
call fcn.004c1e0f
call fcn.004c1e0f
int3
Function at 0x4266a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4edb15
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x53e01c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push 0x2001f
push str.SoftwareMicrosoftInternet_Explorer
push 0x80000002
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.004063d0
test eax, eax
jne 0x426802
call fcn.00407ca0
mov ecx, eax
test ecx, ecx
je 0x42684a
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 1
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x42674a
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00418c50
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x208
push eax
push 0
push 0x52ee84
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42678b
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x42677c
cmp eax, 2
jne 0x42678b
test esi, esi
je 0x42678b
cmp dword [ebp - 0x14], 0
jne 0x42678b
xor eax, eax
mov word [esi], ax
push dword [esi - 8]
push esi
call fcn.004d0cb6
add esp, 8
test eax, eax
js 0x426854
cmp eax, dword [esi - 8]
jg 0x426854
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
xor eax, eax
mov dword [edi], ecx
mov dword [edi + 0x10], ecx
mov ecx, esi
mov dword [edi + 0x14], 7
mov word [edi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4267c7
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.00407890
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4267fb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x426836
push ebx
jmp 0x426830
xor eax, eax
mov dword [edi], 0
push eax
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 7
push 0x529970
mov word [edi], ax
call fcn.00407890
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x426836
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00407a00
push 0x80070057
call fcn.00407a00
int3
Function at 0x4279d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eddc0
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x53e01c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
call fcn.00422d07
cmp eax, 6
jl 0x427c02
mov ecx, 0x1d
mov dword [ebp - 0xb8], 0
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
mov dword [ebp - 0xa8], 0
lea edi, [ebp - 0x88]
mov dword [ebp - 0xa4], 7
rep movsd dword es:[edi], dword [esi]
push 9
xor eax, eax
lea ecx, [ebp - 0xb8]
push str.EnableLUA
movsw word es:[edi], word [esi]
mov word [ebp - 0xb8], ax
call fcn.00407890
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0xa0], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427a90
sub ecx, edx
lea eax, [ebp - 0x88]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa0]
call fcn.00407890
cmp dword [ebp - 0x8c], 8
lea eax, [ebp - 0xa0]
push 0x20019
cmovae eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0xd0]
push eax
push 0x80000002
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
call fcn.004063d0
test eax, eax
je 0x427b15
mov eax, dword [ebp - 0xd0]
test eax, eax
je 0x427b63
push eax
jmp 0x427b5d
cmp dword [ebp - 0xa4], 8
lea ecx, [ebp - 0xc0]
mov esi, dword [ebp - 0xd0]
lea eax, [ebp - 0xb8]
cmovae eax, dword [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xc0], 4
push ecx
lea ecx, [ebp - 0xc4]
push ecx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x427b63
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x427ba3
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427b99
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427c1f
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov edx, dword [ebp - 0xa4]
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
cmp edx, 8
jb 0x427bfc
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427bf2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427c1f
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov esi, dword [ebp - 0xbc]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045b5b0
mov esp, ebp
pop ebp
ret
call fcn.004c1e0f
int3
Function at 0x428910
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4edf3d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x53e01c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0x24]
mov dword [ebp - 0x18], ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 0
cmp ecx, eax
je 0x428964
cmp dword [ebp + 0x20], 8
push dword [ebp + 0x1c]
cmovae eax, dword [ebp + 0xc]
push eax
call fcn.00407890
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x428985
mov esi, dword [esi]
push dword [ebp + 0x28]
lea ecx, [ebp - 0x30]
push esi
push ebx
call fcn.004063d0
mov ebx, dword [ebp - 0x30]
test eax, eax
jne 0x428ac0
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4289a7
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push ecx
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x428ac0
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x4289db
cmp eax, 2
jne 0x428ac0
mov esi, dword [ebp - 0x10]
shr esi, 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
push ecx
lea eax, [esi + 1]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x24]
call fcn.0042a300
cmp dword [edi + 0x14], 8
jb 0x428a18
mov edi, dword [edi]
lea eax, [esi + esi]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x428a5e
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x428a45
cmp eax, 2
jne 0x428a5e
test esi, esi
je 0x428a9b
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x428a96
test al, 1
jne 0x428a5e
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x428a9b
xor edi, edi
test esi, esi
je 0x428ac2
mov ecx, dword [ebp - 0x1c]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x428a8a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428b17
push ecx
push esi
call fcn.0045b5e1
add esp, 8
jmp 0x428ac2
xor eax, eax
mov word [esi], ax
mov edx, esi
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x428aa0
mov ecx, dword [ebp - 0x18]
sub edx, edi
sar edx, 1
push edx
push esi
call fcn.00407890
mov edi, 1
jmp 0x428a60
xor edi, edi
test ebx, ebx
je 0x428acd
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x20]
cmp edx, 8
jb 0x428b03
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428af9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428b17
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004c1e0f
int3
Function at 0x428b20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ecx + 0x14], 8
mov eax, dword [ebp + 0x20]
push esi
mov esi, edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
jb 0x428b49
mov ecx, dword [ecx]
push edi
sub esp, 8
push dword [ebp + 0x24]
sub esp, 8
push ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.00405cc0
mov edi, dword [ebp - 0xc]
test eax, eax
jne 0x428baf
cmp dword [ebp + 0x1c], 8
lea edx, [ebp + 8]
cmovae edx, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x428b77
mov esi, dword [esi]
test edx, edx
je 0x428baf
mov ecx, edx
push ebx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428b81
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop ebx
test eax, eax
jne 0x428baf
lea esi, [eax + 1]
jmp 0x428bb1
xor esi, esi
test edi, edi
je 0x428bbc
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x1c]
pop edi
cmp edx, 8
jb 0x428bf3
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428be9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428bfa
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.004c1e0f
int3
Function at 0x42a660
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x53e01c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 2
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42a69a
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b5b0
mov esp, ebp
pop ebp
ret
push ebx
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004beec0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x42a702
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42a6dd
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x20c]
push ecx
push eax
call fcn.004d0fde
add esp, 0xc
test eax, eax
je 0x42a71c
lea eax, [ebp - 0x230]
push eax
push edi
call ebx
test eax, eax
jne 0x42a6d3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b5b0
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x228]
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.0045b5b0
mov esp, ebp
pop ebp
ret
Function at 0x42a9d0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x53e01c]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [0x545e14]
test eax, eax
jne 0x42aab4
lea eax, [esp + 4]
mov dword [esp + 8], 0x10
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x42aa3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x42aaaf
mov dword [0x545e14], 1
mov eax, 1
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0045b5b0
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0xc]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x42aa5a
push dword [esp + 4]
jmp 0x42aaa9
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x18], 1
push eax
push 0x10
lea eax, [esp + 0x20]
mov dword [esp + 0x28], ecx
push eax
push 0
push dword [esp + 0x18]
mov dword [esp + 0x38], htonl
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp + 4]
test eax, eax
je 0x42aaa9
mov dword [0x545e14], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x545e14]
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0045b5b0
mov esp, ebp
pop ebp
ret
Function at 0x42ddb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee76d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x53e01c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00403e90
lea ecx, [ebp - 0x28]
call fcn.0042df10
add esp, 0x18
lea ecx, [ebp + 8]
push eax
call fcn.00417300
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42de3e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42de34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42defc
push edx
push ecx
call fcn.0045b5e1
add esp, 8
cmp dword [ebp + 0x18], 0
je 0x42dea6
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42dea6
cmp dword [esi], 0
je 0x42de8d
mov eax, dword [esi + 0x30]
lea ecx, [ebp + 8]
push ecx
cmp eax, dword [esi + 0x34]
je 0x42de7d
mov ecx, eax
call fcn.00403e90
add dword [esi + 0x30], 0x18
mov esi, 1
jmp 0x42dea8
push eax
lea ecx, [esi + 0x2c]
call fcn.00423665
mov esi, 1
jmp 0x42dea8
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00403e90
mov ecx, esi
call fcn.0042d900
mov esi, eax
jmp 0x42dea8
xor esi, esi
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x42dede
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ded4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42df01
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045b5b0
mov esp, ebp
pop ebp
ret 0x18
call fcn.004c1e0f
call fcn.004c1e0f
int3
Function at 0x42e420
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee855
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x53e01c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], edx
mov eax, dword [0x555288]
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 0x1c]
test al, 1
jne 0x42e489
or eax, 1
mov dword [0x55529c], 0
xorps xmm0, xmm0
mov dword [0x555288], eax
push 0x4f1fa0
movups xmmword [0x55528c], xmm0
call fcn.0045b82b
add esp, 4
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x6c], 0x1fc5
cmp eax, ebx
je 0x42e505
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x42e4f9
mov eax, dword [ebx]
push dword [ebx + 0x10]
lea ecx, [ebp - 0x58]
push eax
call fcn.00407890
lea eax, [ebp - 0x40]
cmp eax, edi
je 0x42e522
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x42e516
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x40]
push eax
call fcn.00407890
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x42e53f
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42e533
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.00407890
push 0x545c94
mov dword [ebp - 0x70], 0x545c94
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x55528c
call fcn.00433710
cmp dword [0x555298], 0
jne 0x42e59e
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0x55528c
push 0x432050
push 0
push 0
mov dword [0x55529c], eax
call fcn.004d0b03
add esp, 0x18
mov dword [0x555298], eax
push 0x545c94
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x6c]
call fcn.004325b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045b5b0
mov esp, ebp
pop ebp
ret