joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4636e0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0f0d
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebp + 0xc]
mov dword [edi], eax
test eax, eax
jne 0x46379e
mov dword [ebp - 4], eax
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4637b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push ebx
lea eax, [ebp + 0xc]
push str._s_d__x
push eax
call fcn.0042c720
mov esi, dword [ebp + 0xc]
push esi
push ebx
call fcn.0056b9b4
add esp, 0x18
mov dword [edi], eax
test eax, eax
jne 0x46377b
push 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [edi], eax
test eax, eax
jne 0x463786
jmp 0x463781
mov dword [edi], 0
mov eax, dword [ebp + 0x10]
inc dword [eax]
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 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.00429b60
int3

Function at 0x463b00
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0fbd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
cmp dword [ebp + 0x14], esi
mov edi, 0x20006
mov eax, 0x20206
mov dword [ebp - 4], esi
cmovne edi, eax
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], esi
push eax
push edi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x463b6e
mov esi, dword [ebp + 0x14]
and edi, 0x300
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 0
test eax, eax
je 0x463b7a
xor ebx, ebx
jmp 0x463bb8
mov edi, dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
je 0x463bb8
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.Registry_delete_value_failed
push str.15_t_RegLog_t_ws:__x___ws___ws
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonapponlyonekregaux.cpp
push str._INFO_
push 0x641cc8
call fcn.0046b730
add esp, 0x20
test esi, esi
je 0x463bc3
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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
Function at 0x463be0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1006
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x639354]
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], 2
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x463d62
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov byte [ebp - 4], 1
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x463c51
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x18], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x20219
mov dword [ebp - 0x10], 0
mov eax, 0x20019
cmovne eax, ecx
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x463d45
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 0x463cb5
cmp eax, 2
jne 0x463d37
mov ecx, esi
call fcn.00429c20
mov edx, dword [ebp - 0x14]
shr edx, 1
add edx, 1
js 0x463d58
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or ecx, eax
jge 0x463ce5
push edx
mov ecx, esi
call fcn.00429eb0
mov edi, dword [esi]
lea eax, [ebp - 0x14]
push eax
push edi
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 0x463d37
mov eax, dword [ebp - 0x14]
xor ecx, ecx
shr eax, 1
mov word [edi + eax*2], cx
mov eax, dword [esi]
test eax, eax
je 0x463d25
push dword [eax - 8]
push eax
call fcn.0056b163
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x463d58
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x463d58
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 0x463d45
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 edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00429b60
push 0x80004005
call fcn.00429b60
int3
Function at 0x463e90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a107d
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x639354]
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 0x463f3e
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x463f16
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 0x463f13
lea esi, [eax + 1]
jmp 0x463f3e
mov ecx, dword [ebp + 0x10]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.Registry_write_failed
push str.15_t_RegLog_t_ws:__x___ws___ws
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonapponlyonekregaux.cpp
push str._INFO_
push 0x641cc8
call fcn.0046b730
add esp, 0x20
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x463f4c
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 0x463f60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a107d
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x639354]
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 0x46402c
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x464002
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 0x463fd0
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 0x464002
lea esi, [eax + 1]
jmp 0x46402c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.Registry_write_failed
push str.15_t_RegLog_t_ws:__x___ws___ws
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonapponlyonekregaux.cpp
push str._INFO_
push 0x641cc8
call fcn.0046b730
add esp, 0x20
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x46403a
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 0x464050
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x639354]
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.00560a80
add esp, 0xc
test edi, edi
je 0x464165
cmp word [edi], 0
je 0x464165
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 0x46416a
jmp 0x4640c0
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 0x464137
test esi, esi
jne 0x464146
push ebx
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call fcn.00464050
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4640c0
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.0055c3a9
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.0055c3a9
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.0055c3a9
mov esp, ebp
pop ebp
ret

Function at 0x464180
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 4]
sub eax, 0
je 0x4641bd
sub eax, 1
jne 0x4641a4
mov eax, dword [ecx]
sub eax, 0
je 0x4641b4
sub eax, 1
je 0x4641b4
sub eax, 1
je 0x4641ab
mov eax, 0xde
pop ebp
ret
mov dword [ebp + 0x10], ecx
pop ebp
jmp fcn.00464ef0
mov dword [ebp + 0x10], ecx
pop ebp
jmp fcn.00464870
mov dword [ebp + 0x10], ecx
pop ebp
jmp fcn.00464050
Function at 0x4641d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x638
mov eax, dword [0x639354]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
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.00560a80
push 0x20a
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00560a80
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00560a80
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 0
push 0
push 0x80000003
call edi
test eax, eax
je 0x464271
lea eax, [ebp - 0x630]
push eax
push 1
push 0
push 0
push 0x80000003
call edi
test eax, eax
jne 0x4643da
push ebx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x634]
mov ebx, 1
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 0x4643cd
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.0056f8ec
push 0x5b9804
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.0056f877
push dword [ebp - 0x638]
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.0056f877
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 0x46432b
lea eax, [ebp - 0x62c]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x210]
push eax
push 0x80000003
call edi
test eax, eax
jne 0x464395
mov eax, dword [esi + 4]
sub eax, 0
je 0x464373
sub eax, 1
jne 0x464389
mov eax, dword [esi]
sub eax, 0
je 0x46435e
sub eax, 1
je 0x46435e
sub eax, 1
jne 0x464389
push esi
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x62c]
call fcn.00464ef0
jmp 0x464386
push esi
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x62c]
call fcn.00464870
jmp 0x464386
push esi
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x62c]
call fcn.00464050
add esp, 0xc
push dword [ebp - 0x62c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x634]
mov dword [ebp - 0x634], 0x104
push ecx
lea ecx, [ebp - 0x628]
mov eax, ebx
push ecx
push eax
push dword [ebp - 0x630]
inc ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4642a3
push dword [ebp - 0x630]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0055c3a9
mov esp, ebp
pop ebp
ret
Function at 0x469d20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1807
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x639354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24c], 0
mov eax, dword [esi]
test eax, eax
jne 0x469eb3
mov dword [ebp - 0x230], eax
push 0x208
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x220], eax
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x24c], 1
call fcn.00560a80
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
je 0x469dcd
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x469dc0
jmp 0x469e1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x469e32
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00560a80
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x469e32
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x469e10
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.0042e330
push str._version.dll
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00443bb0
mov edx, dword [ebp - 0x21c]
add esp, 0xc
cmp edx, 8
jb 0x469e89
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x469e7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x469ecd
push edx
push ecx
call fcn.0055c524
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]
lea ecx, [ebp - 0x248]
mov dword [esi], eax
call fcn.0042ab30
mov eax, dword [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.0055c3a9
mov esp, ebp
pop ebp
ret
call fcn.0056af64
int3
Function at 0x46a130
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a18ae
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x639354]
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 0x46a2a3
xor esi, esi
cmp dword [ebp - 0x2c], esi
jle 0x46a29c
lea ecx, [ecx]
mov edx, dword [eax + esi*4]
test edx, edx
je 0x46a292
xor eax, eax
mov dword [ebp - 0x28], 0
mov word [ebp - 0x28], ax
mov eax, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea ebx, [eax + 2]
jmp 0x46a1f0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46a1f0
sub eax, ebx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
push edx
call fcn.0042e330
mov ecx, dword [edi + 4]
mov byte [ebp - 4], 2
cmp ecx, dword [edi + 8]
je 0x46a249
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 0x46a258
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, edi
call fcn.0043ef50
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x46a28f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46a285
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46a2f7
push edx
push ecx
call fcn.0055c524
add esp, 8
mov eax, dword [ebp - 0x30]
inc esi
cmp esi, dword [ebp - 0x2c]
jl 0x46a1c0
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp + 0x20]
cmp edx, 8
jb 0x46a2d9
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46a2cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46a2f7
push edx
push ecx
call fcn.0055c524
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.0055c3a9
mov esp, ebp
pop ebp
ret
call fcn.0056af64
int3
Function at 0x46b490
Capabilities:
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a19ad
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x639354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor eax, eax
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 + 0x18]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x46b5ed
mov eax, dword [ebp - 0x18]
xor ecx, ecx
add ecx, dword [ebp - 0x14]
adc eax, 0
mov dword [ebp - 0x3c], eax
jne 0x46b50c
cmp ecx, 0xa00000
jb 0x46b5ed
mov eax, dword [ebx + 0x18]
sub eax, 0x10
push eax
call fcn.00429b80
add eax, 0x10
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, dword [eax - 0x10]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x46b53a
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x46b550
call fcn.00429250
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x46b60d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x38], eax
mov eax, 0x5bfb08
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
test eax, 0xffff0000
jne 0x46b579
movzx eax, ax
push eax
call fcn.00429d90
jmp 0x46b583
push 0x5bfb08
call fcn.0046b400
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
push dword [esi - 0xc]
push esi
call fcn.004299d0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46b5ae
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x3c]
mov ebx, dword [ebx + 0x18]
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]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46b5ed
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.0055c3a9
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b60
int3
Function at 0x46b620
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x639354]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xcc]
push edi
push 0xc8
push 0
push eax
mov edi, ecx
call fcn.00560a80
add esp, 0xc
test esi, esi
jne 0x46b659
xor eax, eax
jmp 0x46b66f
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46b660
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [edi + 0x18]
call fcn.0042a060
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov dword [edi + 0x1c], eax
mov dword [edi], 1
call fcn.0046b490
lea eax, [edi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0xcc]
push str.GlobalBFD88F2D_0990_4de4_AD0F_764F5894389A__d
push eax
call fcn.0046bdd0
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
lea eax, [ebp - 0xcc]
add esp, 0xc
push eax
push 1
push 1
push 0
call esi
push 0
push 0
push 1
push 0
mov dword [edi + 0xc], eax
call esi
cmp dword [edi + 0xc], 0
mov dword [edi + 0x10], eax
je 0x46b713
test eax, eax
je 0x46b713
push 0
push 0
push edi
push 0x46bb10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x14], eax
test eax, eax
je 0x46b713
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055c3a9
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055c3a9
mov esp, ebp
pop ebp
ret 8
Function at 0x46c030
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwarekingsoftOffice6.0kpacketusersetting
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov eax, dword [ebp - 4]
jne 0x46c0d6
test eax, eax
je 0x46c0d2
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.prever
push eax
call esi
mov eax, dword [ebp - 4]
test eax, eax
je 0x46c0d1
push str.prepath
push eax
call esi
mov eax, dword [ebp - 4]
test eax, eax
je 0x46c0d1
push str.prepackage
push eax
call esi
mov eax, dword [ebp - 4]
test eax, eax
je 0x46c0d1
push str.precontrolpath
push eax
call esi
mov eax, dword [ebp - 4]
test eax, eax
je 0x46c0d1
push str.pretime
push eax
call esi
mov eax, dword [ebp - 4]
test eax, eax
je 0x46c0d1
push str.multithreadmode
push eax
call esi
mov eax, dword [ebp - 4]
test eax, eax
je 0x46c0d1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x46c0d2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x46c0f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x46c16c
mov esi, dword [ebp + 0xc]
mov edx, dword [esi]
cmp dword [edx - 0xc], 0
je 0x46c16c
test eax, eax
js 0x46c171
movzx eax, word [ecx]
push eax
push edx
call fcn.005614c9
add esp, 8
test eax, eax
je 0x46c16c
sub eax, dword [esi]
sar eax, 1
cmp eax, 3
jl 0x46c16c
push edi
push 0x5bc630
lea eax, [ebp + 8]
push esi
push eax
call fcn.00429810
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [ebp + 8]
neg eax
sbb esi, esi
add edi, 0xfffffff0
neg esi
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x46c166
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
push 0x80070057
call fcn.00429b60
int3