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.H:pub_9aqe_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.H:pub_9aqe_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.H:pub_9aqe_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.H:pub_9aqe_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 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.H:pub_9aqe_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.H:pub_9aqe_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.H:pub_9aqe_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 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 0x680028
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 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 0x681c50
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 + 0x6835e0]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x6835e0]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x6835e0]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x6835e0]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x6835e0]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x6835e0]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x6835e0]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x6835e0]
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 + 0x6835e0]
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
Function at 0x48ede0
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66e18b
mov eax, dword fs:[0]
push eax
sub esp, 0x4d4
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, dword [ebp + 8]
xor edi, edi
mov esi, dword [ebp + 0xc]
mov edx, 7
xor eax, eax
mov dword [ebp - 0x4e0], ebx
mov dword [ebp - 0x4dc], ebx
mov dword [ebp - 0x45c], edi
mov dword [ebp - 0x458], edx
mov word [ebp - 0x46c], ax
mov dword [ebp - 4], eax
test esi, esi
jne 0x48ee77
mov ecx, dword [ebp - 0x468]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x46c]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0x464]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x460]
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], edx
jmp 0x48efff
push 0x400
lea eax, [ebp - 0x454]
push 0
push eax
call fcn.004e30c0
push 0x67e1fc
push esi
call fcn.004f545d
mov esi, eax
add esp, 0x14
test esi, esi
je 0x48efc2
push esi
push 0x400
lea eax, [ebp - 0x454]
mov byte [ebp - 0x470], 0
push 1
push eax
mov dword [ebp - 0x4c4], 0
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 0x4d8], 0x67452301
mov dword [ebp - 0x4d4], 0xefcdab89
mov dword [ebp - 0x4d0], 0x98badcfe
mov dword [ebp - 0x4cc], 0x10325476
call fcn.004f6a2f
add esp, 0x10
test eax, eax
je 0x48ef2e
push eax
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x4d8]
call fcn.0048f860
push esi
push 0x400
lea eax, [ebp - 0x454]
push 1
push eax
call fcn.004f6a2f
add esp, 0x10
test eax, eax
jne 0x48ef00
push esi
call fcn.004f67c5
add esp, 4
lea ecx, [ebp - 0x4d8]
call fcn.0048ec50
push 0x42
mov dword [ebp - 0x4dc], eax
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.004e30c0
add esp, 0xc
lea ebx, [ebp - 0x54]
xor edi, edi
xor esi, esi
nop
mov eax, dword [ebp - 0x4dc]
movzx eax, byte [edi + eax]
push eax
push 0x683a20
mov eax, 0x21
push 2
sub eax, esi
push eax
push ebx
call fcn.0048f9b0
add esi, 2
lea edi, [edi + 1]
add esp, 0x14
add ebx, 4
cmp esi, 0x20
jl 0x48ef60
lea ecx, [ebp - 0x54]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48ef97
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x46c]
call fcn.0044e920
mov edi, dword [ebp - 0x45c]
mov ebx, dword [ebp - 0x4e0]
mov eax, dword [ebp - 0x46c]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx], eax
mov eax, dword [ebp - 0x468]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x464]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x460]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x458]
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], eax
mov eax, ebx
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
Function at 0x48f020
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x718924]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
push ebx
push esi
push edi
test ecx, ecx
jne 0x48f05d
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48f054
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xb4]
mov byte [ebp - 0x4c], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xb4], 0x67452301
mov dword [ebp - 0xb0], 0xefcdab89
mov dword [ebp - 0xac], 0x98badcfe
mov dword [ebp - 0xa8], 0x10325476
call fcn.0048f860
lea ecx, [ebp - 0xb4]
call fcn.0048ec50
push 0x42
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.004e30c0
add esp, 0xc
lea ebx, [ebp - 0x48]
xor edi, edi
xor esi, esi
mov eax, dword [ebp - 0xb8]
movzx eax, byte [edi + eax]
push eax
push 0x683a20
mov eax, 0x21
push 2
sub eax, esi
push eax
push ebx
call fcn.0048f9b0
add esi, 2
lea edi, [edi + 1]
add esp, 0x14
add ebx, 4
cmp esi, 0x20
jl 0x48f0d2
mov ebx, dword [ebp - 0xbc]
lea ecx, [ebp - 0x48]
xor eax, eax
lea edx, [ecx + 2]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f122
sub ecx, edx
lea eax, [ebp - 0x48]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.0044e920
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cb998
mov esp, ebp
pop ebp
ret
Function at 0x4909a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x718924]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x7217b0]
inc eax
mov dword [0x7217b0], eax
cmp eax, 0x64
jl 0x490a01
push esi
lea esi, [ecx + 0x18]
mov dword [0x7217b0], 0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4909d8
mov eax, dword [esi]
lea ecx, [ebp - 0x28]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x490a00
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jbe 0x490a00
cmp dword [esi + 0x14], 8
jb 0x4909f9
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb998
mov esp, ebp
pop ebp
ret 4

Function at 0x491050
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66e333
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x718924]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
lea ecx, [esi + 0x48]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x64], 0xffffffff
push 0
push 0x67cae8
mov byte [ebp - 4], 1
mov dword [esi + 0x60], 4
mov byte [esi + 0x6c], 0
mov byte [esi + 0x40], 0
mov dword [esi + 0x44], 0
call fcn.0045d850
mov dword [esi + 0x68], 0
mov eax, esi
mov dword [esi + 0x64], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x49c870
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov ebx, ebp
imul ebx, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
cmp byte [edi], 0
je 0x49c8b0
push 0
lea eax, [esp + 0x18]
push eax
push ebx
push dword [esp + 0x1c]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x49c8a4
mov byte [edi + 8], 1
mov eax, dword [esp + 0x14]
xor edx, edx
pop edi
div ebp
pop ebp
pop ebx
ret
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x14]
push esi
mov esi, dword [edi + 0x18]
lea eax, [edx + ebx]
sub esi, edx
cmp eax, dword [edi + 0x18]
cmovbe esi, ebx
add ecx, edx
push esi
push ecx
push dword [esp + 0x1c]
call fcn.004e25c0
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebp
pop esi
pop edi
pop ebp
pop ebx
ret

Function at 0x49c8f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x49c8fb
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
not eax
cmp esi, 8
jb 0x49c9bc
push edi
mov edi, esi
shr edi, 3
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x685b78]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x685b78]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x685b78]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x685b78]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x685b78]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x685b78]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x685b78]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x685b78]
sub edi, 1
jne 0x49c915
pop edi
test esi, esi
je 0x49c9da
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x685b78]
sub esi, 1
jne 0x49c9c0
not eax
pop esi
ret