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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6e70
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x64b9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0xd0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [esi + 0x9c]
mov dword [esi + 0xd0], 0xffffffff
push edi
lea edx, [esi + 0x6c]
lea ecx, [ebp - 0x40]
call fcn.0047e010
push 0x665dc0
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0047dfc0
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x47d446
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00408b70
xor eax, eax
mov dword [ebp - 0x2c], 7
push edi
lea edx, [esi + 0x6c]
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
mov word [ebp - 0x40], ax
call fcn.0047e010
add esp, 4
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.005a8a83
mov eax, dword [ebp - 0x14]
add esp, 8
cmp eax, 8
jb 0x47d4b0
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00408b70
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x47d4d9
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00408b70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057b967
mov esp, ebp
pop ebp
ret

Function at 0x47e580
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov eax, esi
mov dword [ebp - 4], eax
push edi
test edx, edx
je 0x47e5cf
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test edi, edi
jne 0x47e5e6
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x47e5c9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x47e5f4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4831b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bfa16
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x64b9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0057bbbe
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0057a7cc
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x486830
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d10
call fcn.0057ca60
mov eax, dword [0x64b9b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x2d10], eax
test eax, eax
je 0x486996
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
nop
push esi
push str..PhysicalDrive_d
lea eax, [ebp - 0x204]
push 0x200
push eax
call fcn.004863f0
add esp, 0x10
lea eax, [ebp - 0x204]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x486979
push 0x2710
xorps xmm0, xmm0
mov dword [ebp - 0x2d0c], 0
lea eax, [ebp - 0x2cfc]
movq qword [ebp - 0x2d08], xmm0
push 0
push eax
mov dword [ebp - 0x2d00], 0
mov dword [ebp - 0x2d08], 0
mov dword [ebp - 0x2d04], 0
call fcn.005949a0
add esp, 0xc
lea eax, [ebp - 0x2d0c]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2cfc]
push eax
push 0xc
lea eax, [ebp - 0x2d08]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x48696e
push 0x3e8
lea eax, [ebp - 0x5ec]
push 0
push eax
call fcn.005949a0
mov edx, dword [ebp - 0x2ce4]
lea eax, [ebp - 0x5ec]
add esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0x2cfc]
call fcn.0048c710
add esp, 8
lea eax, [ebp - 0x5ec]
mov edx, 0x64
push SysReAllocString
push eax
push ecx
mov ecx, dword [ebp - 0x2d10]
call fcn.00477390
test eax, eax
mov eax, 1
cmove ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x486983
inc esi
cmp esi, 0x10
jl 0x486860
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057b967
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0057b967
mov esp, ebp
pop ebp
ret
Function at 0x486c60
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f4
mov eax, dword [0x64b9b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x4f4], esi
test esi, esi
je 0x486e33
push ebx
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.005949a0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x4e0]
add esp, 0xc
push eax
push 8
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x486e02
push edi
xor esi, esi
mov dword [ebp - 0x4e4], 0x104
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x4e4]
push eax
lea eax, [ebp - 0x2d4]
push eax
push esi
push dword [ebp - 0x4e0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x486df3
lea eax, [ebp - 0x4e8]
push eax
push 1
push 0
lea eax, [ebp - 0x2d4]
push eax
push dword [ebp - 0x4e0]
call ebx
test eax, eax
jne 0x486dbd
lea eax, [ebp - 0x4ec]
mov dword [ebp - 0x4f0], 1
push eax
lea eax, [ebp - 0x4dc]
mov dword [ebp - 0x4ec], 0x208
push eax
lea eax, [ebp - 0x4f0]
push eax
push 0
push str.ServiceName
push dword [ebp - 0x4e8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x486db5
push 0x64
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.005949a0
add esp, 8
lea edx, [ebp - 0xcc]
lea ecx, [ebp - 0x4dc]
call fcn.00486b40
add esp, 4
test eax, eax
je 0x486db5
cmp byte [ebp - 0x68], 0
je 0x486d9b
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jns 0x486db5
push SysReAllocString
lea eax, [ebp - 0xcc]
mov edx, 0x64
push eax
push ecx
lea ecx, [ebp - 0x68]
call fcn.00477390
push dword [ebp - 0x4e8]
call edi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x4e4]
mov dword [ebp - 0x4e4], 0x104
push eax
lea eax, [ebp - 0x2d4]
inc esi
push eax
push esi
push dword [ebp - 0x4e0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x486cf4
push dword [ebp - 0x4e0]
call edi
mov esi, dword [ebp - 0x4f4]
pop edi
cmp byte [ebp - 0x68], 0
pop ebx
je 0x486e33
push SysReAllocString
lea eax, [ebp - 0x68]
mov edx, 0x64
push eax
push ecx
mov ecx, esi
call fcn.00477390
not eax
shr eax, 0x1f
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057b967
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0057b967
mov esp, ebp
pop ebp
ret
Function at 0x487cd0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c7d18
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x64b9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
test eax, eax
je 0x487e84
push 0x653838
push 0x100
call fcn.0057bfee
xor ebx, ebx
mov dword [ebp - 0x34], vtable.CxAutoArray_unsigned_char_.0
add esp, 8
mov dword [ebp - 0x30], ebx
test eax, eax
je 0x487d36
mov ebx, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
je 0x487d4b
mov esi, dword [edi + 4]
sub esi, dword [edi]
jmp 0x487d4d
xor esi, esi
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], 0
call fcn.004785f0
mov ecx, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x487d6c
test eax, eax
je 0x487d78
test edi, edi
je 0x487d78
push eax
mov ecx, edi
call fcn.00476c50
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push ecx
push 0x100
push ebx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x487e5a
mov edx, dword [ebp + 0xc]
nop
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x487e7d
test edi, edi
je 0x487dfd
mov edx, dword [edi + 4]
xor eax, eax
sub edx, dword [edi]
mov dword [ebp - 0x18], ecx
add dword [ebp - 0x18], esi
adc eax, dword [ebp - 0x1c]
test eax, eax
jb 0x487de8
ja 0x487dda
cmp dword [ebp - 0x18], edx
jbe 0x487de8
lea eax, [esi + ecx]
mov ecx, edi
push eax
call fcn.00476c50
mov ecx, dword [ebp - 0x10]
mov eax, dword [edi]
push ecx
add eax, esi
push ebx
push eax
call fcn.00594b00
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
add esi, ecx
adc eax, 0
mov dword [ebp - 0x1c], eax
test edx, edx
je 0x487e29
push ecx
push eax
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x28]
call edx
add esp, 0x24
test eax, eax
je 0x487e5a
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push ecx
push 0x100
push ebx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edx, dword [ebp + 0xc]
test eax, eax
jne 0x487db0
xor esi, esi
test ebx, ebx
je 0x487e69
push ebx
call fcn.0057bf80
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 1
jmp 0x487e5c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x487ea0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c7d4e
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x64b9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov eax, ecx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x487fd1
test ebx, ebx
je 0x487fd1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.00487b10
or edi, 0xffffffff
test eax, eax
je 0x487f8f
mov ecx, dword [ebp - 0x20]
test ecx, ecx
setne al
test al, al
je 0x487f8f
push 0x13
lea eax, [ebp - 0x14]
push eax
call fcn.004784a0
mov esi, dword [ebp - 0x14]
push esi
call fcn.0059cd99
add esp, 4
mov dword [ebp - 0x14], eax
add esi, 0xfffffff0
mov ecx, edi
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x487f44
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 0x51eb851f
mul dword [ebp - 0x14]
shr edx, 5
cmp edx, 3
je 0x487f65
cmp edx, 4
je 0x487f8f
cmp edx, 5
je 0x487f8f
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x487f75
lea eax, [ebp - 0x20]
push eax
call fcn.0047aad0
mov edx, dword [ebp - 0x20]
sub esp, 8
push dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x18]
push ebx
call fcn.00487ff0
add esp, 0x14
mov ebx, eax
jmp 0x487f91
xor ebx, ebx
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x487fbd
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x487fbd
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x487fbd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4888b0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [ebp - 0xc], edx
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 8], eax
push ecx
push eax
mov dword [ebp - 4], 0
xor ebx, ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x4888e0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
call fcn.005981d6
mov esi, eax
add esp, 4
test esi, esi
jne 0x4888f7
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0
push dword [ebp - 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x488938
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x621c28
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x488938
mov ecx, dword [ebp - 8]
mov ebx, 1
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
push esi
call fcn.005981d1
add esp, 4
mov eax, ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x488950
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x64b9b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
lea eax, [ebp - 0x20c]
push 0x208
push ebx
push eax
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x214], ebx
call fcn.005949a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4889a3
push esi
mov ecx, 0xb
lea eax, [ebp - 0x214]
mov esi, str._system32Shell32.dll
lea edx, [ebp - 0x210]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x20c]
call fcn.004888b0
add esp, 4
pop esi
test eax, eax
je 0x4889fa
cmp dword [ebp - 0x210], 0x60002
jb 0x4889fa
cmp dword [ebp - 0x214], 0x295a01c8
mov eax, 1
cmovae ebx, eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.0057b967
mov esp, ebp
pop ebp
ret
Function at 0x488a80
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x63d218
push 0x595470
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x64b9b0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, edx
mov eax, ecx
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3c], ebx
test eax, eax
je 0x488c19
test ebx, ebx
je 0x488c19
test edi, edi
je 0x488c19
xor esi, esi
mov byte [ebp - 0x34], 0
xorps xmm0, xmm0
movq qword [ebp - 0x33], xmm0
mov dword [ebp - 0x2b], esi
mov word [ebp - 0x27], si
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x23], ecx
mov word [ebp - 0x1f], cx
mov byte [ebp - 0x1d], cl
mov dword [ebp - 4], ecx
push ecx
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
call fcn.00488a10
add esp, 8
test eax, eax
je 0x488c0e
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
mov edx, edi
mov ecx, dword [ebp - 0x40]
call fcn.00415a90
add esp, 8
test eax, eax
je 0x488c0e
xor eax, eax
mov dword [ebp - 0x38], eax
xor edi, edi
mov dword [ebp - 0x44], edi
mov cl, byte [ebp + eax - 0x24]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, 8
jb 0x488b56
xor bh, bh
jmp 0x488b5e
mov bh, byte [ebp + eax - 0x24]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, 8
jb 0x488b67
xor bl, bl
jmp 0x488b6f
mov bl, byte [ebp + eax - 0x24]
inc eax
mov dword [ebp - 0x38], eax
movzx edx, cl
mov ecx, edx
shr ecx, 2
movzx ecx, word [ecx*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov esi, dword [ebp - 0x3c]
mov word [esi + edi*2], cx
movzx esi, bh
mov ecx, esi
shr ecx, 4
and edx, 3
shl edx, 4
or ecx, edx
movzx ecx, word [ecx*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edx, dword [ebp - 0x3c]
mov word [edx + edi*2 + 2], cx
movzx edx, bl
mov ecx, edx
shr ecx, 6
and esi, 0xf
shl esi, 2
or ecx, esi
movzx ecx, word [ecx*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ebx, dword [ebp - 0x3c]
mov word [ebx + edi*2 + 4], cx
and edx, 0x3f
movzx ecx, word [edx*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ebx + edi*2 + 6], cx
add edi, 4
mov dword [ebp - 0x44], edi
cmp eax, 8
jb 0x488b45
mov dword [ebx + edi*2 - 2], 0x3d
mov esi, 1
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x488c1b
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x488c1b
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0057b967
mov esp, ebp
pop ebp
ret
Function at 0x488e90
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx], vtable.MD5_CTX.0
xorps xmm0, xmm0
mov dword [ecx + 0x18], 0
mov eax, ecx
mov dword [ecx + 0x14], 0
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
movups xmmword [ecx + 0x5c], xmm0
movups xmmword [ecx + 0x6c], xmm0
movups xmmword [ecx + 0x7c], xmm0
movups xmmword [ecx + 0x8c], xmm0
mov byte [ecx + 0x5c], 0x80
ret

Function at 0x488fe0
Capabilities:
Encrypt data using rc4 prga
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x64b9b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor edx, edx
push edi
mov edi, dword [ebp + 8]
lea eax, [esi + 0x16]
nop dword [eax]
movzx ecx, byte [eax - 2]
lea eax, [eax + 4]
mov byte [ebp + edx - 0xc], cl
movzx ecx, byte [eax - 5]
mov byte [ebp + edx - 0xb], cl
movzx ecx, byte [eax - 4]
mov byte [ebp + edx - 0xa], cl
movzx ecx, byte [eax - 3]
mov byte [ebp + edx - 9], cl
add edx, 4
cmp edx, 8
jb 0x489000
mov edx, dword [esi + 0x14]
lea ebx, [esi + 0x5c]
shr edx, 3
mov ecx, 0x38
and edx, 0x3f
mov eax, 0x78
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovb eax, ecx
mov ecx, esi
push eax
push ebx
call fcn.00488f10
push 8
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.00488f10
lea ecx, [edi + 1]
mov edi, 4
lea edx, [esi + 6]
nop dword [eax]
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
mov byte [ecx - 1], al
lea ecx, [ecx + 4]
movzx eax, byte [edx - 5]
mov byte [ecx - 4], al
movzx eax, byte [edx - 4]
mov byte [ecx - 3], al
movzx eax, byte [edx - 3]
mov byte [ecx - 2], al
sub edi, 1
jne 0x489070
xor eax, eax
mov edi, esi
xorps xmm0, xmm0
mov ecx, 0x27
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 4]
mov dword [esi + 0x18], eax
xor ecx, ebp
mov dword [esi + 0x14], eax
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
movups xmmword [ebx], xmm0
pop edi
movups xmmword [ebx + 0x10], xmm0
pop esi
movups xmmword [ebx + 0x20], xmm0
movups xmmword [ebx + 0x30], xmm0
mov byte [ebx], 0x80
pop ebx
call fcn.0057b967
mov esp, ebp
pop ebp
ret 4
Function at 0x48a280
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c80ee
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x64b9b0]
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, ecx
lea eax, [ebp - 0x5c]
push eax
call fcn.0048a750
mov dword [ebp - 4], 0
push dword [ebp - 0x5c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48a2fa
and dword [ebp - 0x70], 0xfffffe00
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x78]
mov ecx, dword [ebp - 0x5c]
call fcn.0046ce50
mov eax, dword [ebp - 0x70]
test al, al
je 0x48a33c
cmp al, 7
je 0x48a33c
lea ecx, [ebp - 0x78]
call fcn.0046e350
xor esi, esi
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x48a31e
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
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.0057b967
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
push ecx
push str.send_date
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.0046e9b0
lea edx, [ebp - 0x68]
mov ecx, eax
call fcn.0048b540
mov eax, dword [ebp - 0x64]
mov edi, dword [ebp - 0x68]
sub eax, edi
sar eax, 2
cmp eax, 3
jb 0x48a3bf
mov ecx, dword [edi]
cmp ecx, 0x7d0
jb 0x48a3bf
mov eax, dword [edi + 4]
cmp eax, 1
jb 0x48a3bf
cmp eax, 0xc
ja 0x48a3bf
mov eax, dword [edi + 8]
cmp eax, 1
jb 0x48a3bf
cmp eax, 0x1f
ja 0x48a3bf
sub esp, 0x10
push eax
push dword [edi + 4]
push ecx
lea ecx, [ebp - 0x88]
call fcn.00475dc0
mov ecx, dword [eax]
mov dword [esi + 0x3c], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x40], eax
lea ecx, [ebp - 0x80]
call fcn.0041a0a0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x80]
call fcn.0041a0c0
test eax, eax
je 0x48a3dc
mov ebx, dword [eax + 0xc]
jmp 0x48a3de
xor ebx, ebx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [esi + 0x3c]
call fcn.0041a0c0
test eax, eax
je 0x48a3f3
mov eax, dword [eax + 0xc]
jmp 0x48a3f5
xor eax, eax
cmp ebx, eax
je 0x48a431
mov eax, dword [ebp - 0x80]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x7c]
mov dword [esi + 0x40], eax
mov byte [ebp - 4], 4
lea ecx, [esi + 0x34]
mov eax, dword [esi + 0x34]
push dword [eax + 4]
call fcn.00407d30
mov eax, dword [esi + 0x34]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x34]
mov dword [eax], eax
mov eax, dword [esi + 0x34]
mov dword [eax + 8], eax
mov dword [esi + 0x38], 0
jmp 0x48a449
push ecx
push str.reports
lea ecx, [ebp - 0x78]
call fcn.0046e9b0
lea edx, [esi + 0x34]
mov ecx, eax
call fcn.0048b6e0
test edi, edi
je 0x48a45c
mov eax, dword [ebp - 0x60]
sub eax, edi
sar eax, 2
push eax
push edi
call fcn.004088f0
lea ecx, [ebp - 0x78]
call fcn.0046e350
mov esi, 1
jmp 0x48a2fc