joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423160
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x45c2a0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
call fcn.00429e00
test eax, eax
jne 0x423354
xor edi, edi
push 0xffffffffffffffff
push edi
mov eax, 0x475120
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
mov word [esp + 0x28], di
call fcn.00406d10
lea eax, [esp + 0x1c]
push eax
mov ebx, str.Users
lea esi, [esp + 0x58]
mov dword [esp + 0x9c], edi
call fcn.00408960
add esp, 4
mov ebp, 8
mov byte [esp + 0x98], 2
cmp dword [esp + 0x34], ebp
jb 0x423203
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004415cb
add esp, 4
push 0x4750e8
mov ebx, str.Users
lea esi, [esp + 0x3c]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
call fcn.00408960
add esp, 4
mov byte [esp + 0x98], 3
cmp dword [esp + 0x6c], ebp
mov eax, dword [esp + 0x58]
jae 0x423240
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ebx, 7
jne 0x4232bc
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], edi
mov word [esp + 0x74], di
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0xa0], 4
push 0x475104
mov dword [esp + 0x24], 0x32
call fcn.00422e40
add esp, 0xc
cmp eax, edi
je 0x42329e
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x78]
lea ecx, [esp + 0x5c]
call fcn.00406d10
mov byte [esp + 0x98], 3
cmp dword [esp + 0x88], ebp
jb 0x4232bc
mov ecx, dword [esp + 0x74]
push ecx
call fcn.004415cb
add esp, 4
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x20], 0x1388
call fcn.004250d0
add esp, 0xc
test eax, eax
je 0x423321
lea ecx, [esp + 0x54]
call fcn.00420ff0
cmp dword [esp + 0x50], ebp
mov esi, eax
jb 0x4232fd
mov edx, dword [esp + 0x3c]
push edx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x6c], ebp
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], di
jb 0x42331d
mov eax, dword [esp + 0x58]
push eax
call fcn.004415cb
add esp, 4
mov eax, esi
jmp 0x423359
cmp dword [esp + 0x50], ebp
jb 0x423334
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x6c], ebp
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], di
jb 0x423354
mov edx, dword [esp + 0x58]
push edx
call fcn.004415cb
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004414cc
add esp, 0x88
ret
Function at 0x424390
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0x26
push 0
mov dword [esp + 0xc], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, dword [esp]
push esi
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4243b7
sub eax, edx
sar eax, 1
je 0x4243e0
movzx ecx, word [esi + eax*2 - 2]
cmp cx, 0x5c
je 0x4243d9
cmp cx, 0x2f
jne 0x4243e0
mov word [esi + eax*2 - 2], 0
push 0x462454
push str.Tencent
push esi
push str._s_s_s
push 0x104
push 0x104
push esi
call fcn.004415ac
mov eax, 1
add esp, 0x20
ret

Function at 0x424410
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
sub esp, 0x210
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x21c]
push esi
push edi
mov edi, 8
cmp dword [ebp + 0x18], edi
jb 0x424445
mov eax, dword [ebp + 4]
lea esi, [ebp + 4]
mov dword [esp + 0x10], esi
jmp 0x42444e
lea eax, [ebp + 4]
mov dword [esp + 0x10], eax
mov esi, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x424463
mov eax, 1
jmp 0x42453a
cmp dword [ebp + 0x18], edi
jb 0x42446a
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x424459
xor ebx, ebx
push 0x206
lea eax, [esp + 0x1a]
push ebx
push eax
mov word [esp + 0x20], bx
call fcn.00446fa0
add esp, 0xc
push ebx
sub esp, 0x1c
mov edi, esp
push str._s_d
mov ecx, 7
mov esi, ebp
push 0x208
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x3c]
push 0x104
push ecx
call fcn.004415ac
add esp, 0x30
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42451c
lea esp, [esp]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42451c
add ebx, 1
push ebx
sub esp, 0x1c
mov edi, esp
push str._s_d
mov ecx, 7
mov esi, ebp
push 0x208
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x3c]
push 0x104
push ecx
call fcn.004415ac
add esp, 0x30
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4244d0
cmp dword [ebp + 0x18], 8
mov eax, dword [esp + 0x10]
jb 0x424528
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004414cc
add esp, 0x210
ret
Function at 0x4247f0
Capabilities:
Check if file exists
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x45af88
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
push 0x17
xor ebp, ebp
push str.C:windowsWMSysPr9.prx
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebp
mov word [esp + 0x20], bp
call fcn.00406f80
mov dword [esp + 0x58], ebp
mov eax, dword [esp + 0x18]
mov esi, 8
cmp dword [esp + 0x2c], esi
jae 0x42485c
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424884
cmp dword [esp + 0x2c], esi
jb 0x42487a
mov eax, dword [esp + 0x18]
push eax
call fcn.004415cb
add esp, 4
mov eax, 1
jmp 0x424923
push 0x47505c
mov ebx, str.program_filesTencentQTalkWMSysPr9.prx
lea esi, [esp + 0x34]
call fcn.00408960
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
mov esi, 5
jmp 0x4248b0
mov ecx, dword [esp + 0x18]
mov eax, 8
cmp dword [esp + 0x2c], eax
jae 0x4248c3
lea ecx, [esp + 0x18]
cmp dword [esp + 0x48], eax
mov eax, dword [esp + 0x34]
jae 0x4248d1
lea eax, [esp + 0x34]
push ebp
push ecx
push eax
call ebx
test eax, eax
jne 0x424942
push 2
call edi
sub esi, 1
cmp esi, ebp
jg 0x4248b0
mov esi, 8
cmp dword [esp + 0x48], esi
jb 0x4248fd
mov eax, dword [esp + 0x34]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x2c], esi
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], bp
jb 0x424921
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004415cb
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004414cc
add esp, 0x48
ret
mov esi, 8
cmp dword [esp + 0x48], esi
jb 0x42495a
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x2c], esi
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], bp
jb 0x42487a
mov edx, dword [esp + 0x18]
push edx
call fcn.004415cb
add esp, 4
mov eax, 1
jmp 0x424923
Function at 0x425640
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45a464
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x270]
lea eax, [esp + 0x14]
push eax
xor edi, edi
push ecx
mov dword [esp + 0x20], edi
push edi
mov dword [esp + 0x20], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4257b4
push 0x208
lea edx, [esp + 0x58]
push edi
push edx
call fcn.00446fa0
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edx, dword [esp + 0x14]
push edx
mov esi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp esi, edi
je 0x42571e
lea eax, [esp + 0x54]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], di
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4256f0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x58]
push eax
lea esi, [esp + 0x40]
call fcn.00406f80
mov eax, esi
mov dword [esp + 0x268], edi
mov ebx, 1
jmp 0x425750
push edi
push 0x46278c
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
mov word [esp + 0x28], di
call fcn.00406f80
mov eax, esi
mov dword [esp + 0x268], 1
mov ebx, 2
push 0xffffffffffffffff
mov esi, 7
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], edi
push edi
mov ecx, ebp
mov dword [esp + 0x20], ebx
mov word [ebp + 4], di
call fcn.00406d10
or ebx, 4
test bl, 2
je 0x425799
and ebx, 0xfffffffd
cmp dword [esp + 0x34], 8
jb 0x42578c
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004415cb
add esp, 4
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
test bl, 1
je 0x4257cf
cmp dword [esp + 0x50], 8
jb 0x4257cf
mov edx, dword [esp + 0x3c]
push edx
call fcn.004415cb
add esp, 4
jmp 0x4257cf
push edi
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], edi
push 0x46278c
mov esi, ebp
mov word [ebp + 4], di
call fcn.00406f80
mov eax, ebp
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.004414cc
add esp, 0x258
ret
Function at 0x425920
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x45bff8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebx, 8
cmp dword [esi + 0x18], ebx
lea edi, [esi + 4]
jb 0x425961
mov eax, dword [edi]
jmp 0x425963
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4259e3
push esi
lea eax, [esp + 0x10]
call fcn.0041dd10
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x3c], 0
call fcn.0041de40
add esp, 8
cmp dword [esi + 0x18], ebx
jb 0x425994
mov edi, dword [edi]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x4259c9
cmp dword [esp + 0x24], ebx
jb 0x4259c5
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004415cb
add esp, 4
xor eax, eax
jmp 0x4259e8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x24], ebx
jb 0x4259e3
mov edx, dword [esp + 0x10]
push edx
call fcn.004415cb
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004414cc
add esp, 0x2c
ret
Function at 0x4271c0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x45ae88
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
test edi, edi
je 0x427269
test esi, esi
je 0x427269
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebp
push esi
push edi
call ebx
cmp eax, 1
jne 0x427218
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x28
ret
mov edx, esi
lea eax, [esp + 0xc]
call fcn.00406ad0
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.00424560
cmp dword [esp + 0x24], 8
jb 0x427248
mov eax, dword [esp + 0x10]
push eax
call fcn.004415cb
add esp, 4
push ebp
push esi
push edi
call ebx
cmp eax, 1
je 0x427201
push ebp
push esi
push edi
call ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x28
ret
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x4278a0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x465d64
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4278ef
mov ecx, dword [esp + 0xc]
push 1
push 0
push 0
push ecx
call fcn.004537b0
mov ecx, dword [esp + 8]
xor esi, esi
add eax, ecx
adc edx, esi
mov dword [esp + 0xc], edx
js 0x4278ef
jg 0x4278e5
cmp eax, 0x5a00000
jb 0x4278ef
mov eax, 1
pop esi
add esp, 0x10
ret
xor eax, eax
pop esi
add esp, 0x10
ret
Function at 0x427d70
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x45bbc8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
call fcn.00427f10
add esp, 4
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x1c]
mov edi, 8
cmp dword [esp + 0x30], edi
jae 0x427dc8
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x427ed0
cmp dword [esp + 0x30], edi
mov eax, dword [esp + 0x1c]
jae 0x427de5
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
test esi, esi
jne 0x427eb9
lea ecx, [esp + 0x10]
push ecx
mov ecx, str.state
call fcn.0040df40
lea edx, [esp + 0xc]
push edx
mov ecx, str.update
mov byte [esp + 0x44], 1
call fcn.0040df40
mov byte [esp + 0x40], 2
cmp dword [esp + 0x30], edi
mov ecx, dword [esp + 0x1c]
jae 0x427e2c
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
call fcn.0040df40
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push ecx
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427e6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 1
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 0x427e94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427eb9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x30], edi
jb 0x427ecc
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004415cb
add esp, 4
mov eax, esi
jmp 0x427ee8
cmp dword [esp + 0x30], edi
jb 0x427ee3
mov edx, dword [esp + 0x1c]
push edx
call fcn.004415cb
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004414cc
add esp, 0x38
ret
Function at 0x427ff0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x45af08
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
xor ebx, ebx
lea esi, [esp + 0x14]
mov dword [esp + 0x10], ebx
call fcn.00425840
push 0x18
push str.TencentQTalkAuUpdate_
mov ecx, esi
mov dword [esp + 0x44], ebx
call fcn.00406eb0
mov eax, dword [esp + 0x18]
mov ebp, 8
cmp dword [esp + 0x2c], ebp
jae 0x428055
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x428065
test al, 0x10
jne 0x4280b5
cmp dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x18]
jae 0x428073
lea eax, [esp + 0x18]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4280b5
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
mov word [edi + 4], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x428090
sub eax, edx
sar eax, 1
push eax
push ebx
mov esi, edi
call fcn.00406f80
cmp dword [esp + 0x2c], ebp
jb 0x4280f4
mov eax, dword [esp + 0x18]
push eax
jmp 0x4280ec
push 0x11
push str.AuQuietUpdate.ini
lea ecx, [esp + 0x1c]
call fcn.00406eb0
push 0xffffffffffffffff
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push ebx
lea eax, [esp + 0x1c]
mov ecx, edi
mov word [edi + 4], bx
call fcn.00406d10
cmp dword [esp + 0x2c], ebp
jb 0x4280f4
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004415cb
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004414cc
add esp, 0x30
ret

Function at 0x4282e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ebp
push esi
xor ebp, ebp
lea ecx, [esp + 0xc]
push ecx
push ebp
lea edx, [esp + 0x18]
push edx
mov esi, eax
mov eax, dword [esi]
push ebp
push eax
mov eax, dword [edi]
push eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call ebx
cmp eax, ebp
jne 0x428366
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00441409
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x42832f
pop esi
lea eax, [ebp + 8]
pop ebp
pop ebx
add esp, 8
ret 0xc
mov esi, dword [esi]
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
push ebp
lea eax, [esp + 0x18]
push eax
push 0
push esi
push ecx
call ebx
test eax, eax
jne 0x428366
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x428356
mov edx, dword [esp + 0x10]
mov dword [ecx], edx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
mov dword [ecx], ebp
mov ecx, dword [esp + 0x20]
mov dword [ecx], edx
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x429d80
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x11c], eax
push 0x118
lea eax, [esp + 8]
push 0
push eax
call fcn.00446fa0
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
jne 0x429de2
cmp dword [esp + 8], 2
jb 0x429de2
mov eax, 1
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.004414cc
add esp, 0x120
ret
mov ecx, dword [esp + 0x11c]
xor ecx, esp
xor eax, eax
call fcn.004414cc
add esp, 0x120
ret

Function at 0x429e00
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x11c], eax
push 0x118
lea eax, [esp + 8]
push 0
push eax
call fcn.00446fa0
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
mov ecx, dword [esp + 0x11c]
sbb eax, eax
xor ecx, esp
add eax, 1
call fcn.004414cc
add esp, 0x120
ret

Function at 0x429e60
Capabilities:
Delete registry key

Disassembly:
push ecx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.test_qt_
push SysReAllocString
mov dword [esp + 0x10], 0
call edi
lea eax, [esp + 8]
push eax
push str.test_qt_
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, eax
neg esi
push str.test_qt_
sbb esi, esi
push SysReAllocString
add esi, 1
call edi
pop edi
mov eax, esi
pop esi
pop ecx
ret
Function at 0x42b4c0
Capabilities:
Terminate process
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45d031
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x448], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x464]
mov dword fs:[0], eax
mov eax, dword [esp + 0x474]
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
push eax
lea edi, [esp + 0x18]
mov dword [esp + 0x470], esi
call fcn.0042a2e0
add esp, 4
test eax, eax
je 0x42b6d7
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
xor edi, edi
cmp esi, eax
jbe 0x42b543
call fcn.00441e46
mov eax, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea esp, [esp]
cmp dword [esp + 0x18], eax
mov ebx, eax
jbe 0x42b561
call fcn.00441e46
mov eax, dword [esp + 0x1c]
cmp esi, ebx
je 0x42b6c2
cmp esi, eax
jb 0x42b572
call fcn.00441e46
mov eax, dword [esi]
push eax
xor ebx, ebx
push ebx
push 0x1f0fff
call ebp
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, eax
cmp edi, ebx
je 0x42b5a4
mov eax, dword [esp + 0x1c]
cmp esi, eax
jb 0x42b59f
call fcn.00441e46
mov eax, dword [esp + 0x1c]
add esi, 4
jmp 0x42b550
push str._setup_TerminateProcess_return_false_n
lea ecx, [esp + 0x60]
push 0x200
push ecx
call fcn.004414db
add esp, 0xc
lea ecx, [esp + 0x40]
mov word [esp + 0x45a], bx
call fcn.0042bd40
mov byte [esp + 0x46c], 1
mov edi, 7
lea eax, [esp + 0x5c]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42b5f0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x60]
push edx
lea esi, [esp + 0x2c]
call fcn.00406f80
mov eax, esi
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x48]
mov byte [esp + 0x474], 2
call fcn.00406df0
mov ebp, 8
cmp dword [esp + 0x3c], ebp
jb 0x42b63e
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x58], ebp
mov edx, dword [esp + 0x44]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
jae 0x42b659
lea edx, [esp + 0x44]
mov edi, dword [0x474bb0]
cmp edi, ebx
je 0x42b69a
mov eax, edx
lea esi, [eax + 2]
jmp 0x42b670
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42b670
sub eax, esi
sar eax, 1
push edi
add eax, eax
push eax
push 1
push edx
call fcn.004422ed
mov ecx, dword [0x474bb0]
push ecx
call fcn.004428a9
add esp, 0x14
cmp dword [esp + 0x58], ebp
jb 0x42b6ad
mov edx, dword [esp + 0x44]
push edx
call fcn.004415cb
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x42b6be
push eax
call fcn.004415cb
add esp, 4
xor eax, eax
jmp 0x42b6ed
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42b6d3
push eax
call fcn.004415cb
add esp, 4
mov eax, edi
jmp 0x42b6ed
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x42b6e8
push eax
call fcn.004415cb
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x464]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x448]
xor ecx, esp
call fcn.004414cc
add esp, 0x45c
ret