joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e1b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fee4
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x568cb8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x45e3e9
mov ecx, dword [ebp + 8]
add ecx, 0xf0
call fcn.004033e0
cmp eax, 4
jbe 0x45e3e9
mov dword [ebp - 0x24c], 0
push 0x228
push 0
lea eax, [ebp - 0x248]
push eax
call fcn.004b83b0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x45e3e9
mov dword [ebp - 0x24c], 0x22c
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x45e3df
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x268]
push ecx
call fcn.0050cd40
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0xf0
call fcn.00401340
push eax
lea edx, [ebp - 0x284]
push edx
call fcn.0050d240
add esp, 8
mov byte [ebp - 4], 1
push 0x4befca
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x268]
call fcn.00401120
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x268]
call fcn.00401150
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x268]
call fcn.00401120
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x2a4]
push eax
call fcn.00461cb0
add esp, 0x20
push 0x4befca
lea ecx, [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x284]
call fcn.00401120
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2b4]
push ecx
lea ecx, [ebp - 0x284]
call fcn.00401150
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2bc]
push ecx
lea ecx, [ebp - 0x284]
call fcn.00401120
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.00461cb0
add esp, 0x20
lea ecx, [ebp - 0x268]
call fcn.00402a90
push eax
lea ecx, [ebp - 0x284]
call fcn.00402a90
push eax
call fcn.004bf530
add esp, 8
test eax, eax
je 0x45e3a6
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x284]
call fcn.00402b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00402b40
jmp 0x45e3df
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x284]
call fcn.00402b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00402b40
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x45e25b
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004b8307
mov esp, ebp
pop ebp
ret
Function at 0x45e410
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ff22
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x568cb8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x45e649
mov ecx, dword [ebp + 8]
add ecx, 0x10c
call fcn.004033e0
cmp eax, 4
jbe 0x45e649
mov dword [ebp - 0x24c], 0
push 0x228
push 0
lea eax, [ebp - 0x248]
push eax
call fcn.004b83b0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x45e649
mov dword [ebp - 0x24c], 0x22c
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x45e63f
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x284]
push ecx
call fcn.0050cd40
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0x10c
call fcn.00401340
push eax
lea edx, [ebp - 0x268]
push edx
call fcn.0050d240
add esp, 8
mov byte [ebp - 4], 1
push 0x4befca
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x284]
call fcn.00401120
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x284]
call fcn.00401150
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x284]
call fcn.00401120
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x2a4]
push eax
call fcn.00461cb0
add esp, 0x20
push 0x4befca
lea ecx, [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00401120
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2b4]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00401150
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2bc]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00401120
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.00461cb0
add esp, 0x20
lea ecx, [ebp - 0x284]
call fcn.00402a90
push eax
lea ecx, [ebp - 0x268]
call fcn.00402a90
push eax
call fcn.004bf530
add esp, 8
test eax, eax
je 0x45e606
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00402b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.00402b40
jmp 0x45e63f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00402b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.00402b40
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x45e4bb
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004b8307
mov esp, ebp
pop ebp
ret
Function at 0x45e6a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ff60
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x568cb8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x45e8d9
mov ecx, dword [ebp + 8]
add ecx, 0x128
call fcn.004033e0
cmp eax, 4
jbe 0x45e8d9
mov dword [ebp - 0x24c], 0
push 0x228
push 0
lea eax, [ebp - 0x248]
push eax
call fcn.004b83b0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x45e8d9
mov dword [ebp - 0x24c], 0x22c
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x45e8cf
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x268]
push ecx
call fcn.0050cd40
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0x128
call fcn.00401340
push eax
lea edx, [ebp - 0x284]
push edx
call fcn.0050d240
add esp, 8
mov byte [ebp - 4], 1
push 0x4befca
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x268]
call fcn.00401120
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x268]
call fcn.00401150
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x268]
call fcn.00401120
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x2a4]
push eax
call fcn.00461cb0
add esp, 0x20
push 0x4befca
lea ecx, [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x284]
call fcn.00401120
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2b4]
push ecx
lea ecx, [ebp - 0x284]
call fcn.00401150
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2bc]
push ecx
lea ecx, [ebp - 0x284]
call fcn.00401120
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.00461cb0
add esp, 0x20
lea ecx, [ebp - 0x268]
call fcn.00402a90
push eax
lea ecx, [ebp - 0x284]
call fcn.00402a90
push eax
call fcn.004bf530
add esp, 8
test eax, eax
je 0x45e896
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x284]
call fcn.00402b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00402b40
jmp 0x45e8cf
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x284]
call fcn.00402b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00402b40
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x45e74b
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 8], 0
je 0x45e8f8
mov ecx, dword [ebp + 8]
add ecx, 0x128
call fcn.004033e0
test eax, eax
jne 0x45e8f8
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004b8307
mov esp, ebp
pop ebp
ret
Function at 0x45e920
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ff93
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x568cb8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
jne 0x45e966
xor eax, eax
jmp 0x45ea7e
mov ecx, dword [ebp + 8]
add ecx, 0x38
call fcn.004033e0
test eax, eax
jne 0x45e981
mov ecx, dword [ebp + 8]
call fcn.004033e0
test eax, eax
jne 0x45e988
xor eax, eax
jmp 0x45ea7e
xor eax, eax
mov word [ebp - 0x224], ax
push 0x208
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.004b83b0
add esp, 0xc
lea edx, [ebp - 0x224]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.004033e0
test eax, eax
je 0x45e9db
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.00401340
mov dword [ebp - 0x248], eax
jmp 0x45e9f0
mov ecx, dword [ebp + 8]
call fcn.00401340
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x248]
push eax
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x240]
call fcn.004012e0
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x250], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x250]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x38
call fcn.0040b0b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.00401320
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0x45f120
push 0xa
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov ecx, dword [ebp - 0x244]
call fcn.0045f680
mov dword [eax], esi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b8307
mov esp, ebp
pop ebp
ret 4
Function at 0x460890
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5102d5
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x568cb8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x88], ecx
push 0x56d7e0
lea ecx, [ebp - 0x2c]
call fcn.00402b00
mov dword [ebp - 4], 0
push 0
push 0x51b490
lea ecx, [ebp - 0x2c]
call fcn.00401210
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x460978
lea ecx, [ebp - 0x2c]
call fcn.004033e0
cmp dword [ebp - 0x4c], eax
jae 0x460978
mov eax, dword [ebp - 0x4c]
push eax
push 0
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00401260
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00402a90
push eax
lea edx, [ebp - 0x84]
push edx
call fcn.0050cc60
add esp, 8
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x90]
push ecx
mov ecx, dword [ebp - 0x88]
add ecx, 0x1a4
call fcn.0040b0b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.00401320
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00402b40
jmp 0x46098e
push 0x51b494
mov ecx, dword [ebp - 0x88]
add ecx, 0x1a4
call fcn.0040b030
lea edx, [ebp - 0x48]
push edx
call fcn.0050d5d0
add esp, 4
mov byte [ebp - 4], 3
push 0
push str.show0
lea ecx, [ebp - 0x48]
call fcn.00401210
cmp eax, 0xffffffff
je 0x4609cf
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00402b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402b40
jmp 0x460a0e
push 0
push 0
push 0
push 0x45dbf0
push 0xa
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov ecx, dword [ebp - 0x88]
call fcn.0045f680
mov dword [eax], esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00402b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402b40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b8307
mov esp, ebp
pop ebp
ret

Function at 0x464d10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x568cb8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.004b83b0
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x110]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov dword [ebp - 0x114], eax
lea edx, [ebp - 0x110]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403370
mov eax, dword [ebp - 0x118]
or eax, 1
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b8307
mov esp, ebp
pop ebp
ret
Function at 0x464da0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510778
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x568cb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 1
push 0
push 0x80
push 3
lea eax, [ebp - 0x20]
push eax
push 1
push connect
lea ecx, [ebp + 8]
call fcn.00402a90
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x464ec6
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp + 0x28]
mov dword [edx], eax
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
add ecx, 1
push ecx
call fcn.0048097b
add esp, 4
mov dword [ebp - 0x28], eax
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
mov dword [ebp - 0x24], 0
push 0
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0x28]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x464e93
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402b40
mov eax, dword [ebp - 0x2c]
jmp 0x464edf
mov edx, dword [ebp + 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x28]
mov edx, dword [ecx]
mov byte [eax + edx], 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x30], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402b40
mov eax, dword [ebp - 0x30]
jmp 0x464edf
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402b40
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x464ef0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5107e0
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x568cb8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], 0
lea eax, [ebp - 0x4c]
push eax
call fcn.00464d10
add esp, 4
mov dword [ebp - 4], 1
push str.SndaUpdateid.dat
lea ecx, [ebp - 0x4c]
call fcn.00402540
push 0x51b58b
lea ecx, [ebp - 0x2c]
call fcn.00403370
mov byte [ebp - 4], 2
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x4c]
call fcn.00402a90
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4650a3
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x4c]
call fcn.00402a90
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x8c], esp
push eax
call fcn.00403370
mov dword [ebp - 0xb4], eax
call fcn.00464da0
add esp, 0x24
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
je 0x4650a3
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00403370
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xc0]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00401000
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa8]
call fcn.00402b40
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
push ecx
call fcn.004b7eaf
add esp, 4
push 0x20
push 0
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00401260
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.004033e0
sub eax, 0x20
push eax
push 0x20
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401260
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402b00
mov edx, dword [ebp - 0xb0]
or edx, 1
mov dword [ebp - 0xb0], edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
call fcn.00402b40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.00402b40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00402b40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00402b40
mov eax, dword [ebp + 8]
jmp 0x4650da
push 0x51b58c
mov ecx, dword [ebp + 8]
call fcn.00403370
mov eax, dword [ebp - 0xb0]
or eax, 1
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00402b40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00402b40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b8307
mov esp, ebp
pop ebp
ret

Function at 0x465660
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push str.2.7.92.0
mov eax, dword [ebp + 8]
push eax
call fcn.00465400
add esp, 8
test eax, eax
jg 0x465685
push 0
push str.taskkill__f__im_explorer.exe__start_explorer.exe
call dword [sym.imp.KERNEL32.dll_WinExec]
pop ebp
ret
Function at 0x466a60
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [0x568cb8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x668], ecx
mov ecx, 0x56d218
call fcn.00401340
push eax
push 0x104
lea eax, [ebp - 0x660]
push eax
call fcn.004be924
add esp, 0xc
push 0x51bbe4
lea ecx, [ebp - 0x660]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x660]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x466ac2
xor eax, eax
jmp 0x466cc6
push 1
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x664], esp
push str.X86kuaizipUpdateChecker.dll
push 0x56d218
push eax
call fcn.0043ae80
add esp, 0xc
mov dword [ebp - 0x66c], eax
call fcn.00459370
add esp, 0x20
mov dword [ebp - 0x24c], 0
push 0x38
push 0
lea ecx, [ebp - 0x248]
push ecx
call fcn.004b83b0
add esp, 0xc
mov dword [ebp - 0x24c], 0x3c
lea edx, [ebp - 0x660]
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x238], str._AssociateAll
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x248], 0x40
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x466b59
xor eax, eax
jmp 0x466cc6
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004b83b0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x458], cx
push 0x206
push 0
lea edx, [ebp - 0x456]
push edx
call fcn.004b83b0
add esp, 0xc
mov ecx, 0x56d218
call fcn.00401340
push eax
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
call fcn.0050cc10
movzx ecx, al
test ecx, ecx
je 0x466bde
push str.X64KZipShell.dll
lea edx, [ebp - 0x458]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x466bf0
push str.X86KZipShell.dll
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x51ab0c
lea ecx, [ebp - 0x458]
push ecx
call fcn.0043efc0
add esp, 8
test eax, eax
je 0x466c26
lea edx, [ebp - 0x458]
push edx
push str.__s___s
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x466c42
lea ecx, [ebp - 0x458]
push ecx
push 0x51bb28
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push str.regsvr32.exe
lea eax, [ebp - 0x660]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x3c
push 0
lea ecx, [ebp - 0x24c]
push ecx
call fcn.004b83b0
add esp, 0xc
mov dword [ebp - 0x24c], 0x3c
lea edx, [ebp - 0x660]
mov dword [ebp - 0x23c], edx
lea eax, [ebp - 0x210]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x248], 0x40
lea ecx, [ebp - 0x24c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x466cb2
xor eax, eax
jmp 0x466cc6
push 0xffffffffffffffff
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b8307
mov esp, ebp
pop ebp
ret 4
Function at 0x46f060
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x568cb8]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.0046ee30
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0046f000
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x46f0cb
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.0046ee60
mov eax, dword [ebp - 0x224]
jmp 0x46f15c
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x46f131
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0046f060
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x46f128
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.0046ee60
mov eax, dword [ebp - 0x228]
jmp 0x46f15c
mov dword [ebp - 4], 0x100
jmp 0x46f0d2
lea ecx, [ebp - 0x14]
call fcn.0046ef40
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.0046eee0
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.0046ee60
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004b8307
mov esp, ebp
pop ebp
ret 4
Function at 0x46f750
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x46f759
xor ecx, ecx
jne 0x46f759
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x46f77a
mov eax, 0xd
jmp 0x46f7d5
xor eax, eax
jne 0x46f761
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x46f78b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8