joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45bfb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5991b1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 1
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x45c11a
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x45c01d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x45c0fd
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push dword [ebp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x45c06d
cmp eax, 2
jne 0x45c0ef
mov ecx, esi
call fcn.00426010
mov edx, dword [ebp - 0x14]
shr edx, 1
add edx, 1
js 0x45c110
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or ecx, eax
jge 0x45c09d
push edx
mov ecx, esi
call fcn.00426250
mov ebx, dword [esi]
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp + 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45c0ef
mov eax, dword [ebp - 0x14]
xor ecx, ecx
shr eax, 1
mov word [ebx + eax*2], cx
mov eax, dword [esi]
test eax, eax
je 0x45c0dd
push dword [eax - 8]
push eax
call fcn.0054b2c2
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x45c110
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x45c110
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x45c0fd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00425f50
push 0x80004005
call fcn.00425f50
int3
Function at 0x45c240
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599208
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
xor esi, esi
test eax, eax
jne 0x45c2ee
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x45c2c6
push 4
lea edx, [ebp - 0x14]
push edx
push 4
push esi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x45c2c3
lea esi, [eax + 1]
jmp 0x45c2ee
mov ecx, dword [ebp + 0x10]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.Registry_write_failed
push str.14_t_RegLog_t_ws:__x___ws___ws
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonapponlyonekregaux.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
add esp, 0x20
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x45c2fc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x45c310
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599208
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
xor esi, esi
test eax, eax
jne 0x45c3dc
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x45c3b2
mov edx, dword [ebp + 0x14]
lea ecx, [edx + 2]
mov dword [ebp - 0x14], ecx
lea esp, [esp]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x45c380
sub edx, dword [ebp - 0x14]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push dword [ebp + 0x14]
push 1
push 0
push dword [ebp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x45c3b2
lea esi, [eax + 1]
jmp 0x45c3dc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.Registry_write_failed
push str.14_t_RegLog_t_ws:__x___ws___ws
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonapponlyonekregaux.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
add esp, 0x20
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x45c3ea
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45c400
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x208
push 0
push eax
mov dword [ebp - 0x218], esi
call fcn.00540d70
add esp, 0xc
test edi, edi
je 0x45c515
cmp word [edi], 0
je 0x45c515
lea eax, [ebp - 0x210]
push eax
push 0x10008
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45c51a
jmp 0x45c470
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
cmp esi, 0x103
je 0x45c4e7
test esi, esi
jne 0x45c4f6
push ebx
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call fcn.0045c400
mov esi, eax
add esp, 0xc
test esi, esi
je 0x45c470
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d079
mov esp, ebp
pop ebp
ret
push edi
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d079
mov esp, ebp
pop ebp
ret
mov eax, 0x3f2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053d079
mov esp, ebp
pop ebp
ret
Function at 0x45c530
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x638
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x20a
mov dword [ebp - 0x638], eax
lea eax, [ebp - 0x41c]
push 0
push eax
call fcn.00540d70
push 0x20a
xor ebx, ebx
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.00540d70
push 0x20a
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.00540d70
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x630]
add esp, 0x24
mov dword [ebp - 0x634], 0x104
push eax
push 1
push ebx
push ebx
push 0x80000003
call edi
test eax, eax
je 0x45c5ce
lea eax, [ebp - 0x630]
push eax
push 1
push ebx
push ebx
push 0x80000003
call edi
test eax, eax
jne 0x45c733
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x628]
push eax
push 0
push dword [ebp - 0x630]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x45c727
lea ebx, [ebx]
lea eax, [ebp - 0x628]
inc ebx
push eax
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.00554202
push 0x5b14ac
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.0055418d
push dword [ebp - 0x638]
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.0055418d
add esp, 0x24
lea eax, [ebp - 0x62c]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x210]
push eax
push 0x80000003
call edi
test eax, eax
je 0x45c689
lea eax, [ebp - 0x62c]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x210]
push eax
push 0x80000003
call edi
test eax, eax
jne 0x45c6f2
mov eax, dword [esi + 4]
sub eax, 0
je 0x45c6d0
sub eax, 1
jne 0x45c6e6
mov eax, dword [esi]
test eax, eax
js 0x45c6e6
cmp eax, 1
jle 0x45c6bb
cmp eax, 2
jne 0x45c6e6
push esi
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x62c]
call fcn.0045d260
jmp 0x45c6e3
push esi
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x62c]
call fcn.0045cc00
jmp 0x45c6e3
push esi
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x62c]
call fcn.0045c400
add esp, 0xc
push dword [ebp - 0x62c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x634]
mov dword [ebp - 0x634], 0x104
push eax
lea eax, [ebp - 0x628]
push eax
push ebx
push dword [ebp - 0x630]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x45c600
push dword [ebp - 0x630]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053d079
mov esp, ebp
pop ebp
ret
Function at 0x45de10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5993d1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x45dfc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push 0x5b6d6c
push eax
call fcn.004289d0
add esp, 0xc
mov byte [ebp - 4], 1
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x45dfca
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], 1
push 0x2000
mov dword [ebp + 0x10], eax
mov ebx, 0x1000
call fcn.0053d0bd
push 0x2000
mov esi, eax
push 0
push esi
call fcn.00540d70
mov eax, dword [ebp + 0xc]
add esp, 0x10
push dword [edi]
mov edi, dword [ebp - 0x10]
push ebx
push esi
push edi
push dword [eax]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, 0xffe
jne 0x45df34
mov edi, edi
push esi
call fcn.0053d0c6
add ebx, 0x1000
xor ecx, ecx
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0053d0bd
mov esi, eax
lea eax, [ebx + ebx]
push eax
push 0
push esi
call fcn.00540d70
mov eax, dword [ebp - 0x18]
add esp, 0x14
push dword [eax]
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push dword [eax]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebx - 2]
cmp eax, ecx
je 0x45dee0
test esi, esi
jne 0x45df3c
xor ecx, ecx
jmp 0x45df50
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45df41
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp + 0x10]
call fcn.004263f0
push 2
push esi
call fcn.0053d0af
mov esi, dword [ebp + 0x10]
push esi
call fcn.005544de
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
add esp, 0xc
mov ebx, eax
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x45df8e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x45dfaa
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00425f50
push 0x80004005
call fcn.00425f50
int3
Function at 0x45dfe0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597419
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x45e11e
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
push 0x2000
mov dword [ebp - 4], 0
mov edi, 0x1000
mov dword [ebp - 0x10], 1
call fcn.0053d0bd
push 0x2000
mov esi, eax
push 0
push esi
call fcn.00540d70
mov eax, dword [ebp + 0x14]
add esp, 0x10
push dword [ebx]
push edi
push esi
push dword [eax]
mov eax, dword [ebp + 0x10]
push dword [eax]
mov eax, dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, 0xffe
jne 0x45e0d6
push esi
call fcn.0053d0c6
add edi, 0x1000
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0053d0bd
mov esi, eax
lea eax, [edi + edi]
push eax
push 0
push esi
call fcn.00540d70
mov eax, dword [ebp + 0x14]
add esp, 0x14
push dword [ebx]
push edi
push esi
push dword [eax]
mov eax, dword [ebp + 0x10]
push dword [eax]
mov eax, dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [edi - 2]
cmp eax, ecx
je 0x45e081
test esi, esi
jne 0x45e0de
xor eax, eax
jmp 0x45e0f2
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45e0e3
sub eax, edx
sar eax, 1
mov ecx, dword [ebp + 8]
push eax
push esi
call fcn.004263f0
push 2
push esi
call fcn.0053d0af
mov eax, dword [ebp + 8]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00425f50
int3
Function at 0x462290
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599909
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x61ce74]
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 edi, dword [ebp + 8]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 1
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
cmp dword [ebp + 0x20], 8
lea ecx, [ebp - 0x2c]
lea eax, [ebp + 0xc]
mov dword [ebp - 0x34], 1
cmovae eax, dword [ebp + 0xc]
push ecx
push eax
mov dword [ebp - 0x2c], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4623f7
xor esi, esi
cmp dword [ebp - 0x2c], esi
jle 0x4623f0
lea ecx, [ecx]
mov edx, dword [eax + esi*4]
test edx, edx
je 0x4623e6
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, edx
mov dword [ebp - 0x14], 7
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x462344
sub eax, ebx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
push edx
call fcn.00439df0
mov ecx, dword [edi + 4]
mov byte [ebp - 4], 2
cmp ecx, dword [edi + 8]
je 0x46239d
mov eax, dword [ebp - 0x28]
mov edx, 7
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x14], eax
xor eax, eax
add dword [edi + 4], 0x18
mov word [ebp - 0x28], ax
jmp 0x4623ac
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, edi
call fcn.004390f0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4623e3
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4623d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46244b
push edx
push ecx
call fcn.0053d0af
add esp, 8
mov eax, dword [ebp - 0x30]
inc esi
cmp esi, dword [ebp - 0x2c]
jl 0x462320
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp + 0x20]
cmp edx, 8
jb 0x46242d
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x462423
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46244b
push edx
push ecx
call fcn.0053d0af
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d079
mov esp, ebp
pop ebp
ret
call fcn.0054b0c3
int3
Function at 0x462460
Capabilities:
Patch process command line

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599951
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
xor eax, eax
mov edi, dword [ebp + 8]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
xor esi, esi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], esi
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
push esi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x4624d9
mov esi, eax
mov dword [ebp - 0x14], esi
cmp eax, 0xffffffff
je 0x4624d9
mov bl, 1
jmp 0x4624db
xor bl, bl
push str.NtQueryInformationProcess
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0x18
lea ecx, [ebp - 0x38]
push ecx
push 0
push esi
call eax
mov edx, dword [ebp - 0x34]
xor ecx, ecx
test edx, edx
movzx eax, bl
cmovne ecx, eax
test cl, cl
je 0x4625a1
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [ebp - 0x18]
push 0
push 4
push eax
lea eax, [edx + 0x10]
push eax
push esi
call ebx
test eax, eax
je 0x4625a1
push 0
push 8
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x40
push eax
push esi
call ebx
test eax, eax
je 0x4625a1
movzx eax, word [ebp - 0x20]
add eax, 2
push eax
call fcn.0054ad0f
mov ebx, eax
movzx eax, word [ebp - 0x20]
add eax, 2
push eax
push 0
push ebx
call fcn.00540d70
movzx eax, word [ebp - 0x20]
add esp, 0x10
push 0
push eax
push ebx
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x462598
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x462580
sub ecx, edx
sar ecx, 1
push ecx
push ebx
mov ecx, edi
call fcn.00439df0
push ebx
call fcn.0054acf4
add esp, 4
test esi, esi
je 0x4625b1
cmp esi, 0xffffffff
je 0x4625b1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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
Function at 0x462c40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596ef2
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], 0
xor eax, eax
mov dword [ebp - 4], 0
push 0x208
push eax
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x24c], 1
call fcn.00540d70
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
je 0x462ced
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x462ce0
jmp 0x462d3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x462d52
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00540d70
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x462d52
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x462d30
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00439df0
push str._version.dll
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00438f40
mov edx, dword [ebp - 0x21c]
add esp, 0xc
cmp edx, 8
jb 0x462dad
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x462da3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462e4e
push edx
push ecx
call fcn.0053d0af
add esp, 8
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push 0x5b6dd8
push edi
call esi
push 0x5b6de8
push edi
mov dword [0x629af8], eax
call esi
push 0x5b6dfc
push edi
mov dword [0x629afc], eax
call esi
mov edx, dword [ebp - 0x234]
mov dword [0x629b00], eax
cmp edx, 8
jb 0x462e33
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x462e29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462e53
push edx
push ecx
call fcn.0053d0af
add esp, 8
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.0053d079
mov esp, ebp
pop ebp
ret
call fcn.0054b0c3
call fcn.0054b0c3
int3
Function at 0x463640
Capabilities:
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5999f8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
lea ebx, [ecx + 0x18]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 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
lea eax, [ebp - 0x34]
push eax
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x46379e
mov eax, dword [ebp - 0x18]
xor ecx, ecx
add ecx, dword [ebp - 0x14]
adc eax, 0
mov dword [ebp - 0x3c], eax
jne 0x4636bc
cmp ecx, 0xa00000
jb 0x46379e
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00463440
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 0
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x4636e1
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x4636f7
call fcn.00421b80
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x4637be
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x38], eax
mov eax, 0x5b25c8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
test eax, 0xffff0000
jne 0x463720
movzx eax, ax
push eax
call fcn.00426130
jmp 0x46372a
push 0x5b25c8
call fcn.004635b0
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
push dword [esi - 0xc]
push esi
call fcn.00425dc0
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x463759
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x3c]
mov ebx, dword [ebx]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46379e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d079
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
int3