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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x718924]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x46b0b4
test ebx, ebx
je 0x46b0b4
push 0x228
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], 0x22c
push 0
push eax
call fcn.004e30c0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x238], eax
cmp eax, 0xffffffff
jne 0x46afb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x46af84
movzx eax, ax
or eax, 0x80070000
push eax
push str.Failed_CreateToolhelp32Snapshot:_0x_08x.
push str.kupdate::KProcessUtils::IsProcessExists
push 0x13e
push str.D:publish_283488_rc_2404Coding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 0
call fcn.0048ffd0
add esp, 0x18
xor al, al
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb998
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x230]
mov byte [ebp - 0x231], 0
push ecx
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46b061
push esi
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x46b028
lea esp, [esp]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x46afea
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004e70a0
add esp, 8
test eax, eax
je 0x46b008
add esi, 0x18
cmp esi, dword [edi + 4]
jne 0x46afe0
jmp 0x46b028
mov byte [ebp - 0x231], 1
cmp ebx, esi
je 0x46b028
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x46b01d
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, ebx
push eax
call fcn.0044e920
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x238]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46afd2
pop esi
push dword [ebp - 0x238]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x231]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb998
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x46b073
movzx eax, ax
or eax, 0x80070000
push eax
push str.Failed_Process32First:_0x_08x.
push str.kupdate::KProcessUtils::IsProcessExists
push 0x156
push str.D:publish_283488_rc_2404Coding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 0
call fcn.0048ffd0
add esp, 0x18
push dword [ebp - 0x238]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x231]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb998
mov esp, ebp
pop ebp
ret
push str.Invalid_Args.
push str.kupdate::KProcessUtils::IsProcessExists
push 0x135
push str.D:publish_283488_rc_2404Coding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 0
call fcn.0048ffd0
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
xor al, al
pop edi
pop ebx
call fcn.004cb998
mov esp, ebp
pop ebp
ret
Function at 0x46b0f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66b65b
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x718924]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x720a44], 0
jne 0x46b16a
push 0x110
lea eax, [ebp - 0x120]
mov dword [ebp - 0x124], 0x114
push 0
push eax
call fcn.004e30c0
add esp, 0xc
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x120], 6
mov byte [0x720a44], 1
setae al
mov byte [0x720a45], al
jmp 0x46b16f
mov al, byte [0x720a45]
test al, al
je 0x46b2c1
mov dword [ebp - 0x128], 0
lea eax, [ebp - 0x128]
mov dword [ebp - 4], 0
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x46b228
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x46b1b8
movzx eax, ax
or eax, 0x80070000
push eax
push str.Failed_OpenProcessToken:_0x_08x.
push str.kupdate::KProcessUtils::IsProcessInSplitToken
push 0x64
push str.D:publish_283488_rc_2404Coding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 0
call fcn.0048ffd0
mov eax, dword [ebp - 0x128]
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x46b1f1
cmp eax, 0xffffffff
je 0x46b1f1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0
push eax
push str.HKLMSoftwareMicrosoftWindowsCurrentVersionPoliciesSystemEnableLUA
call fcn.00467f80
add esp, 0xc
test eax, eax
js 0x46b2c1
cmp dword [ebp - 0x130], 0
setne al
jmp 0x46b2c3
lea eax, [ebp - 0x134]
mov dword [ebp - 0x12c], 1
push eax
push 4
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x134], 0
push eax
push 0x12
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x46b282
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x46b270
movzx eax, ax
or eax, 0x80070000
push eax
push str.Failed_GetTokenInformation:_0x_08x.
push str.kupdate::KProcessUtils::IsProcessInSplitToken
push 0x6e
jmp 0x46b1c5
mov eax, dword [ebp - 0x12c]
cmp eax, 2
je 0x46b296
cmp eax, 3
je 0x46b296
xor bl, bl
jmp 0x46b298
mov bl, 1
mov eax, dword [ebp - 0x128]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x46b2b5
cmp eax, 0xffffffff
je 0x46b2b5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x46b1f1
mov al, 1
jmp 0x46b2c3
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cb998
mov esp, ebp
pop ebp
ret
Function at 0x46b2e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x718924]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x720a44], 0
jne 0x46b34d
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call fcn.004e30c0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
mov byte [0x720a44], 1
setae al
mov byte [0x720a45], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb998
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [0x720a45]
xor ecx, ebp
call fcn.004cb998
mov esp, ebp
pop ebp
ret

Function at 0x46b360
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x718924]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x720a50], 0
jne 0x46b3f1
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call fcn.004e30c0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
ja 0x46b3d7
jne 0x46b3bd
cmp dword [ebp - 0x110], 2
jae 0x46b3d7
mov al, byte [0x720a51]
mov byte [0x720a50], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb998
mov esp, ebp
pop ebp
ret
mov al, 1
mov byte [0x720a51], al
mov byte [0x720a50], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb998
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [0x720a51]
xor ecx, ebp
call fcn.004cb998
mov esp, ebp
pop ebp
ret

Function at 0x46c840
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46c899
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x46c899
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x46c88a
cmp esi, edx
jae 0x46c899
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x46c878
cmp esi, edx
jae 0x46c899
cmp word [esi], 0
je 0x46c899
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x46d020
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66b8eb
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x718924]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
mov ebx, dword [ebp + 0xc]
push 0x20a
push 0
mov dword [ebp - 0x220], esi
push eax
mov dword [ebp - 0x220], ebx
call fcn.004e30c0
add esp, 0xc
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x46d080
mov eax, dword [ebx]
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, eax
mov dword [ebp - 0x238], ecx
test ecx, ecx
je 0x46d1d7
cmp ecx, 0x104
ja 0x46d0e3
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x21c]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46d0c7
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
jmp 0x46d1f0
lea eax, [ecx + 1]
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], ebx
test eax, eax
je 0x46d157
cmp eax, 0x7fffffff
ja 0x46d215
push eax
lea ecx, [ebp - 0x22c]
call fcn.0044e740
mov ecx, dword [ebp - 0x230]
mov edi, eax
xor eax, eax
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x22c], edi
lea ebx, [edi + ecx*2]
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
mov dword [ebp - 0x224], ebx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x228], ebx
mov eax, dword [ebp - 0x220]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x46d16c
mov eax, dword [eax]
push ecx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, edi
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46d190
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.0044e920
test edi, edi
je 0x46d1f7
sub ebx, edi
mov eax, edi
and ebx, 0xfffffffe
cmp ebx, 0x1000
jb 0x46d1cb
mov edi, dword [edi - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46d21a
push ebx
push edi
call fcn.004cb4db
add esp, 8
jmp 0x46d1f7
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x674944
mov ecx, esi
call fcn.0044e920
mov eax, esi
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.004cb998
mov esp, ebp
pop ebp
ret
call fcn.0044e280
call fcn.004e6589
int3
Function at 0x475760
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66ad98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x718924]
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 ebx, ecx
mov edi, dword [ebp + 8]
test edi, edi
jne 0x4757b8
push str.Invalid_args.
push str.kupdate::KCommandLine::ParseCommandLine
push 0x7a
push str.D:publish_283488_rc_2404Coding_supportwpsupdateUpdateClient_srcmiscKCommandLine.cpp
push edi
call fcn.0048ffd0
add esp, 0x14
mov eax, 0x80070057
jmp 0x4758e1
push edi
push str.Command_line:__s.
push str.kupdate::KCommandLine::ParseCommandLine
push 0x7e
push str.D:publish_283488_rc_2404Coding_supportwpsupdateUpdateClient_srcmiscKCommandLine.cpp
push 7
call fcn.0048ffd0
mov esi, dword [ebx]
add esp, 0x18
mov ecx, ebx
push dword [esi + 4]
push ebx
call fcn.0044fbb0
mov ecx, edi
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [ebx + 4], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4757f5
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebx + 8]
call fcn.0044e920
mov ecx, edi
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x475827
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.0044e920
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push 0x20
push eax
call fcn.0046f7f0
add esp, 8
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push dword [ebp - 0x2c]
mov esi, eax
push str.argc_d.
push str.kupdate::KCommandLine::_DoParseCmdLine
push 0x70
push str.D:publish_283488_rc_2404Coding_supportwpsupdateUpdateClient_srcmiscKCommandLine.cpp
push 7
call fcn.0048ffd0
add esp, 0x18
mov ecx, ebx
push dword [ebp + 0xc]
push esi
push dword [ebp - 0x2c]
call fcn.00475ab0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4758df
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4758d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4758ff
push edx
push ecx
call fcn.004cb4db
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.004cb998
mov esp, ebp
pop ebp
ret 8
call fcn.004e6589
int3
Function at 0x477cc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66a4a2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x718924]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x21c], 1
call fcn.004e30c0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
jne 0x477d81
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x477d8f
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e30c0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x477d8f
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00472510
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cb998
mov esp, ebp
pop ebp
ret
Function at 0x484b40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1128
call fcn.004cba10
mov eax, dword [0x718924]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x720b68]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
mov esi, dword [ebp + 8]
test eax, eax
je 0x484b7e
push 0x3e9
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [0x720b68]
inc eax
cmp dword [0x718628], 0
mov dword [0x720b68], eax
je 0x484d05
mov eax, dword fs:[0x2c]
mov ecx, dword [0x72249c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x720bd0]
cmp eax, dword [ecx + 4]
jg 0x484d23
push edi
push 0xa
push 0x10
push 0x720b6c
push dword [0x720bcc]
call fcn.004e6aa1
push 0xa
push 0x10
push 0x720bac
push esi
call fcn.004e6aa1
add esp, 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xa
push 0x10
push 0x720b8c
push eax
call fcn.004e6aa1
cmp dword [0x71862c], 8
lea edi, [ebp - 0x28]
mov ecx, 8
mov dword [0x720bdc], 1
mov esi, str.kcrashdumper.exe
mov dword [0x720bd8], 0
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x28]
mov dword [0x720bd4], 0xc
push ecx
mov eax, 0x718618
cmovae eax, dword [0x718618]
push eax
push 0x680080
push 0x720be0
movsw word es:[edi], word [esi]
call fcn.00484ae0
push 0x1100
lea eax, [ebp - 0x1128]
push 0
push eax
call fcn.004e30c0
cmp dword [0x718644], 8
mov eax, 0x718630
cmovae eax, dword [0x718630]
push eax
push 0x720bac
push 0x720b8c
push 0x720b6c
push 0x720be0
lea eax, [ebp - 0x1128]
push str._s__pid_s__tid_s__exp_s__callfrom1__module_s__upload1
push eax
call fcn.00484b10
add esp, 0x48
mov dword [0x7213e0], 0x44
mov eax, 0xa
mov dword [0x72140c], 1
mov word [0x721410], ax
lea eax, [ebp - 0x1128]
push 0x721424
push 0x7213e0
push 0
push 0
push 1
push 0
push eax
push 0x720be0
call fcn.004b3310
add esp, 0x20
mov dword [0x721434], eax
pop edi
test eax, eax
je 0x484d05
push 0xffffffffffffffff
push dword [0x721424]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x721428]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [0x721424]
call esi
push 0x3e9
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004cb998
mov esp, ebp
pop ebp
ret
push 0x720bd0
call fcn.004cb872
add esp, 4
cmp dword [0x720bd0], 0xffffffff
jne 0x484bb1
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push 0x720bd0
mov dword [0x720bcc], eax
call fcn.004cb828
add esp, 4
jmp 0x484bb1
Function at 0x485db0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66d631
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x718924]
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
lea eax, [ebp - 0x248]
mov esi, 1
push eax
call fcn.004857e0
push str.kingsoftoffice6
lea eax, [ebp - 0x248]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.0044f530
push eax
mov byte [ebp - 4], 1
call fcn.00486330
mov edx, dword [ebp - 0x21c]
add esp, 0x14
mov byte [ebp - 4], 0
mov bl, al
cmp edx, 8
jb 0x485e61
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x485e57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x485fa7
push edx
push ecx
call fcn.004cb4db
add esp, 8
test bl, bl
jne 0x485f4b
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e30c0
push 0
lea eax, [ebp - 0x218]
push eax
push str.HKEY_CURRENT_USERSoftwareKingsoftOffice6.0pluginsminisite_address
call fcn.00468860
test eax, eax
mov edi, 2
push str.kingsoftoffice6minisite
lea eax, [ebp - 0x248]
cmovne esi, edi
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.0044f530
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0x676fec
cmovae eax, dword [ebp - 0x230]
push eax
mov byte [ebp - 4], 2
call fcn.00485280
test eax, eax
lea eax, [ebp - 0x248]
push str.kingsoftoffice6updatedownwps_minisite.zip
push eax
lea eax, [ebp - 0x260]
cmovne esi, edi
push eax
call fcn.0044f530
add esp, 0x38
lea eax, [ebp - 0x260]
cmp dword [ebp - 0x24c], 8
cmovae eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x485f33
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
je 0x485f33
cmp eax, 3
je 0x485f33
test eax, eax
jle 0x485f30
movzx eax, ax
or eax, 0x80070000
test eax, eax
cmovne esi, edi
lea ecx, [ebp - 0x260]
call fcn.00448fb0
lea ecx, [ebp - 0x230]
call fcn.00448fb0
jmp 0x485f4d
xor esi, esi
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x485f89
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x485f7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x485fac
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov eax, esi
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.004cb998
mov esp, ebp
pop ebp
ret
call fcn.004e6589
call fcn.004e6589
int3
Function at 0x48d950
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66e080
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x718924]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x80
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.004e30c0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x681cb0
lea eax, [ebp - 0x90]
push 0x3f
push eax
call fcn.00451170
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0044f530
add esp, 0x1c
lea ecx, [ebp - 0xa8]
cmp dword [ebp - 0x94], 8
lea eax, [ebp + 0x20]
cmovae ecx, dword [ebp - 0xa8]
cmp dword [ebp + 0x34], 8
push 1
cmovae eax, dword [ebp + 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
test esi, esi
je 0x48da43
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 0x20]
push 1
cmovae ecx, dword [ebp + 0x20]
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
test esi, esi
je 0x48da43
cmp dword [ebp - 0x94], 8
lea eax, [ebp - 0xa8]
push 4
cmovae eax, dword [ebp - 0xa8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
mov edx, dword [ebp - 0x94]
cmp edx, 8
jb 0x48da83
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48da79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48db3c
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
cmp edx, 8
jb 0x48dad6
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48dacc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48db3c
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x48db20
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48db16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48db3c
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cb998
mov esp, ebp
pop ebp
ret
call fcn.004e6589
int3
Function at 0x48eb50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x48eb6c
mov eax, dword [ebp - 4]
jmp 0x48ec47
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x48ec22
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
mov edi, edi
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x683640]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x683640]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x683640]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x683640]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x683640]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x683640]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x683640]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x683640]
dec ebp
jne 0x48eb8c
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x48ec3e
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x683640]
dec ecx
jne 0x48ec2c
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret