joyce8/EMBER2024-capa huggingface dataset:
Function at 0x56c8bc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push ebx
push eax
mov eax, dword [eax]
mov esi, edx
xor ebx, ebx
or ecx, ecx
je 0x56c8ea
mov edx, eax
shr edx, 8
and edx, 0xffffff
mov bl, byte [esi]
xor eax, ebx
and eax, 0xff
mov eax, dword [eax*4 + 0x6198d4]
xor eax, edx
inc esi
dec ecx
jne 0x56c8c9
mov ecx, eax
pop eax
mov dword [eax], ecx
pop ebx
pop esi
ret

Function at 0x570860
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffea8
mov dword [esp], eax
lea edi, [esp + 4]
mov edx, edi
mov eax, dword [esp]
mov ecx, 0x14
call fcn.00402a00
xor esi, esi
lea ebx, [esp + 0x18]
mov eax, dword [esp]
add eax, 0x30
mov edx, esi
shl edx, 2
add eax, edx
mov eax, dword [eax]
call fcn.0056b568
mov dword [ebx], eax
inc esi
add ebx, 4
cmp esi, 0x10
jne 0x570886
mov esi, 0x40
lea ebx, [esp + 0x4c]
mov eax, dword [ebx]
xor eax, dword [ebx - 0x14]
xor eax, dword [ebx - 0x2c]
xor eax, dword [ebx - 0x34]
mov dl, 1
call fcn.0056b510
mov dword [ebx + 0xc], eax
add ebx, 4
dec esi
jne 0x5708ae
xor esi, esi
lea ebp, [esp + 0x18]
mov eax, dword [edi + 0xc]
push eax
mov ebx, esi
mov eax, ebx
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
call fcn.005707f8
push eax
mov dl, 5
mov eax, dword [edi]
call fcn.0056b510
pop edx
add edx, eax
add edx, dword [edi + 0x10]
push edx
mov eax, ebx
call fcn.0057083c
pop edx
add edx, eax
add edx, dword [ebp]
mov ebx, edx
mov eax, dword [edi + 0xc]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 8]
mov dword [edi + 0xc], eax
mov dl, 0x1e
mov eax, dword [edi + 4]
call fcn.0056b510
mov dword [edi + 8], eax
mov eax, dword [edi]
mov dword [edi + 4], eax
mov dword [edi], ebx
inc esi
add ebp, 4
cmp esi, 0x50
jne 0x5708cf
mov esi, 5
mov eax, edi
mov edx, dword [esp]
mov ecx, dword [eax]
add dword [edx], ecx
add edx, 4
add eax, 4
dec esi
jne 0x570935
add esp, 0x158
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x570c44
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret

Function at 0x570c84
Capabilities:
Hash data using sha256

Disassembly:
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret
Function at 0x570cd8
Capabilities:
Hash data using sha224

Disassembly:
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
ret

Function at 0x570d64
Capabilities:
Hash data using sha256

Disassembly:
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
ret
Function at 0x571304
Capabilities:
Hash data using tiger

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
xor eax, dword [ebp + 0x10]
xor edx, dword [ebp + 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [esi]
mov edx, dword [esi + 4]
push edx
push eax
mov eax, dword [ecx]
and eax, 0xff
mov edx, dword [eax*8 + 0x61b4d8]
mov eax, dword [eax*8 + 0x61b4d4]
push edx
push eax
mov eax, dword [ecx]
shr eax, 0x10
and eax, 0xff
mov edx, dword [eax*8 + 0x61bcd8]
mov eax, dword [eax*8 + 0x61bcd4]
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ecx + 4]
xor edx, edx
and eax, 0xff
mov edx, dword [eax*8 + 0x61c4d8]
mov eax, dword [eax*8 + 0x61c4d4]
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ecx + 4]
xor edx, edx
shr eax, 0x10
and eax, 0xff
mov edx, dword [eax*8 + 0x61ccd8]
mov eax, dword [eax*8 + 0x61ccd4]
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [esi], eax
mov dword [esi + 4], edx
mov eax, dword [ecx]
shr eax, 8
and eax, 0xff
mov edx, dword [eax*8 + 0x61ccd8]
mov eax, dword [eax*8 + 0x61ccd4]
push edx
push eax
mov eax, dword [ecx]
shr eax, 0x18
and eax, 0xff
mov edx, dword [eax*8 + 0x61c4d8]
mov eax, dword [eax*8 + 0x61c4d4]
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ecx + 4]
xor edx, edx
shr eax, 8
and eax, 0xff
mov edx, dword [eax*8 + 0x61bcd8]
mov eax, dword [eax*8 + 0x61bcd4]
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ecx + 4]
xor edx, edx
shrd eax, edx, 0x18
shr edx, 0x18
and eax, 0xff
mov edx, dword [eax*8 + 0x61b4d8]
mov eax, dword [eax*8 + 0x61b4d4]
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
add eax, dword [ebx]
adc edx, dword [ebx + 4]
mov dword [ebx], eax
mov dword [ebx + 4], edx
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
call fcn.00405e84
mov dword [ebx], eax
mov dword [ebx + 4], edx
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x571fbc
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x574800
Capabilities:
Get file size

Disassembly:
push ebx
push esi
mov ebx, eax
or esi, 0xffffffff
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.00405258
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x57483a
push 0
push ebx
call sub.KERNEL32.DLL_GetFileSize
mov esi, eax
push ebx
call sub.KERNEL32.DLL_CloseHandle
mov eax, esi
pop esi
pop ebx
ret
Function at 0x574840
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffe0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405248
xor eax, eax
push ebp
push 0x57497b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00405258
push eax
call sub.KERNEL32.DLL_CreateFileA
mov edi, eax
cmp edi, 0xffffffff
je 0x574965
push 0
push 0
push ebx
push edi
call sub.KERNEL32.DLL_SetFilePointer
cmp eax, 0xffffffff
jne 0x5748b4
push edi
call sub.KERNEL32.DLL_CloseHandle
jmp 0x574965
mov eax, dword [ebp + 8]
sub eax, ebx
xor edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jne 0x5748d2
cmp dword [ebp - 0x20], 0
jae 0x5748d8
jmp 0x574965
jl 0x574965
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jmp 0x57493f
cmp dword [ebp - 0xc], 1
jae 0x5748f6
push edi
call sub.KERNEL32.DLL_CloseHandle
jmp 0x574965
mov eax, dword [ebp - 0xc]
xor edx, edx
add eax, dword [ebp - 0x18]
adc edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x1c]
jne 0x57490d
cmp eax, dword [ebp - 0x20]
jb 0x574924
jmp 0x57490f
jl 0x574924
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x1020]
mov eax, esi
call fcn.005742a8
jmp 0x57495b
lea edx, [ebp - 0x1020]
mov ecx, dword [ebp - 0xc]
mov eax, esi
call fcn.005742a8
mov eax, dword [ebp - 0xc]
xor edx, edx
add dword [ebp - 0x18], eax
adc dword [ebp - 0x14], edx
push 0
lea eax, [ebp - 0xc]
push eax
push 0x1000
lea eax, [ebp - 0x1020]
push eax
push edi
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0x5748e8
push edi
call sub.KERNEL32.DLL_CloseHandle
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x574982
lea eax, [ebp - 4]
call fcn.00404d98
ret
Function at 0x575a0c
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, eax
mov ebp, edx
xor ebx, ebx
xor edi, edi
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
test eax, eax
jle 0x575aaa
xor edx, edx
mov dl, byte [esi + ebx]
shr edx, 2
mov dl, byte [edx + 0x61d5dc]
mov byte [ebp + edi], dl
mov dl, byte [esi + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
xor ecx, ecx
mov cl, byte [esi + ebx + 1]
shr ecx, 4
add edx, ecx
mov dl, byte [edx + 0x61d5dc]
push edx
pop edx
mov byte [ebp + edi + 1], dl
mov dl, byte [esi + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
xor ecx, ecx
mov cl, byte [esi + ebx + 2]
shr ecx, 6
add edx, ecx
mov dl, byte [edx + 0x61d5dc]
push edx
pop edx
mov byte [ebp + edi + 2], dl
mov dl, byte [esi + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x61d5dc]
mov byte [ebp + edi + 3], dl
add edi, 4
add ebx, 3
dec eax
jne 0x575a2b
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x575ac0
dec edx
je 0x575af5
jmp 0x575b46
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x61d5dc]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [eax + 0x61d5dc]
mov byte [ebp + edi + 1], al
mov byte [ebp + edi + 2], 0x3d
mov byte [ebp + edi + 3], 0x3d
jmp 0x575b46
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x61d5dc]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
xor edx, edx
mov dl, byte [esi + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [eax + 0x61d5dc]
mov byte [ebp + edi + 1], al
mov al, byte [esi + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [eax + 0x61d5dc]
mov byte [ebp + edi + 2], al
mov byte [ebp + edi + 3], 0x3d
mov eax, dword [esp]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5765bc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x5765dc
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x5765ca
pop edi
pop esi
pop ebx
ret
Function at 0x57b3fc
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp + 0x18], pe_nt_image_headers32
mov esi, 0x61f6fc
mov ebx, 0x637420
movzx edi, byte [esi]
mov dword [esp], edi
mov eax, edi
call fcn.0057a35c
mov dword [esp + 8], eax
mov eax, edi
call fcn.0057a36c
mov dword [esp + 0x10], eax
movzx edi, byte [esi + 0x100]
mov dword [esp + 4], edi
mov eax, edi
call fcn.0057a35c
mov dword [esp + 0xc], eax
mov eax, edi
call fcn.0057a36c
mov ebp, eax
mov dword [esp + 0x14], ebp
mov eax, edi
mov edx, dword [esp + 0xc]
shl edx, 8
or eax, edx
mov edx, ebp
shl edx, 0x10
or eax, edx
mov edx, ebp
shl edx, 0x18
or eax, edx
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov edx, eax
mov ecx, eax
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x10
or edx, ecx
mov ecx, dword [esp]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x400], edx
mov edx, dword [esp + 0xc]
shl ebp, 8
or edx, ebp
shl edi, 0x10
or edx, edi
mov ecx, dword [esp + 0x14]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x800], edx
mov edx, dword [esp + 8]
mov ecx, dword [esp]
shl ecx, 8
or edx, ecx
shl eax, 0x10
or edx, eax
mov eax, dword [esp + 8]
shl eax, 0x18
or edx, eax
mov dword [ebx + 0xc00], edx
add ebx, 4
inc esi
dec dword [esp + 0x18]
jne 0x57b415
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x57e788
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
xor ebp, ebp
mov ebx, 0x638434
mov eax, ebp
shr eax, 1
and eax, 0xff
mov dword [esp], eax
mov esi, ebp
and esi, 1
mov eax, ebp
and eax, 0x200
shr eax, 8
or esi, eax
mov edx, dword [esi*4 + 0x622a04]
mov eax, dword [esi*4 + 0x622a44]
xor eax, dword [esp]
call fcn.0057e72c
mov edi, eax
shl edi, 0x18
mov eax, edi
call fcn.0057e768
mov dword [ebx], eax
mov edx, dword [esi*4 + 0x622a14]
mov eax, dword [esi*4 + 0x622a54]
xor eax, dword [esp]
call fcn.0057e72c
mov edi, eax
shl edi, 0x10
mov eax, edi
call fcn.0057e768
mov dword [ebx + 0x1000], eax
mov edx, dword [esi*4 + 0x622a24]
mov eax, dword [esi*4 + 0x622a64]
xor eax, dword [esp]
call fcn.0057e72c
mov edi, eax
shl edi, 8
mov eax, edi
call fcn.0057e768
mov dword [ebx + 0x2000], eax
mov edx, dword [esi*4 + 0x622a34]
mov eax, dword [esi*4 + 0x622a74]
xor eax, dword [esp]
call fcn.0057e72c
mov edi, eax
mov eax, edi
call fcn.0057e768
mov dword [ebx + 0x3000], eax
inc ebp
add ebx, 4
cmp ebp, 0x400
jne 0x57e794
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x57e8ec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
lea eax, [edx + eax*4 + 0x4c]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov dword [eax + edx*4], ecx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jne 0x57e926
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, 3
xor edx, edx
div ecx
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + edx*4]
xor edx, edx
mov eax, dword [ebp - 0x18]
add eax, edx
and eax, 3
mov ebx, dword [ebp - 8]
lea eax, [ebx + eax*2]
mov bx, word [eax]
and bx, 1
movzx ebx, bx
mov esi, dword [ecx]
add esi, esi
or esi, ebx
mov dword [ecx], esi
movzx esi, word [eax]
shr esi, 1
xor bx, 1
shl ebx, 0xf
or si, bx
mov word [eax], si
inc edx
cmp edx, 4
jne 0x57e953
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xf
jne 0x57e93f
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 8
jne 0x57e902
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x590ed8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push esp
push 0x104
call sub.KERNEL32.DLL_GetTempPathA
mov edx, ebx
mov eax, esp
call fcn.0040a64c
add esp, 0x108
pop ebx
ret

Function at 0x590f00
Capabilities:
Read file on windows
Read file via mapping

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, edx
mov ebx, eax
xor edi, edi
cmp ebx, 0xffffffff
je 0x590f58
push 0
push 0
push 0
push 2
push 0
push ebx
call sub.KERNEL32.DLL_CreateFileMappingA
mov dword [esi], eax
push 0
push 0
push 0
push ebx
call sub.KERNEL32.DLL_SetFilePointer
push 0
lea eax, [esp + 4]
push eax
push 0x40
push 0x63c4b0
push ebx
call sub.KERNEL32.DLL_ReadFile
cmp dword [esi], 0
je 0x590f58
push 0
push 0
push 0
push 4
mov eax, dword [esi]
push eax
call sub.KERNEL32.DLL_MapViewOfFile
mov edi, eax
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x590f60
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405248
xor eax, eax
push ebp
push 0x590ff9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00405258
push eax
call sub.KERNEL32.DLL_CreateFileA
mov dword [0x63c49c], eax
mov edx, 0x63c468
mov eax, dword [0x63c49c]
call fcn.00590f00
mov dword [0x63c4a4], eax
cmp dword [0x63c4a4], 0
je 0x590fd6
push 0
mov eax, dword [0x63c49c]
push eax
call sub.KERNEL32.DLL_GetFileSize
mov dword [0x63c494], eax
mov bl, 1
jmp 0x590fd8
xor ebx, ebx
mov eax, dword [0x63c49c]
push eax
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x591000
lea eax, [ebp - 4]
call fcn.00404d98
ret
Function at 0x5961e8
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.KERNEL32.DLL_GetPriorityClass
mov ebx, eax
call sub.KERNEL32.DLL_GetCurrentThread
push eax
call sub.KERNEL32.DLL_GetThreadPriority
mov esi, eax
push pe_nt_image_headers32
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.KERNEL32.DLL_SetPriorityClass
push 0xf
call sub.KERNEL32.DLL_GetCurrentThread
push eax
call sub.KERNEL32.DLL_SetThreadPriority
push 0xa
call sub.KERNEL32.DLL_Sleep_1
rdtsc
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push 0x1f4
call sub.KERNEL32.DLL_Sleep_1
rdtsc
sub eax, dword [ebp - 4]
sbb edx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push esi
call sub.KERNEL32.DLL_GetCurrentThread
push eax
call sub.KERNEL32.DLL_SetThreadPriority
push ebx
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.KERNEL32.DLL_SetPriorityClass
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fdiv dword [0x596288]
fstp qword [ebp - 0x10]
wait
fld qword [ebp - 0x10]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x59628c
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5962f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xfd
lea eax, [ebp - 4]
mov edx, 0xfe
call fcn.004053e4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00405258
push eax
call sub.advapi32.dll_GetUserNameA
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004053e4
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404dec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x596300
lea eax, [ebp - 4]
call fcn.00404d98
ret

Function at 0x596308
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, eax
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
mov edx, ebx
lea eax, [esp + 4]
call fcn.0040a64c
add esp, 0x18
pop ebx
ret

Function at 0x596330
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5963bb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x105
push 0
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404f80
lea eax, [ebp - 0x10]
mov edx, 0x5963d0
call fcn.00405060
mov eax, dword [ebp - 0x10]
call fcn.00405258
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
push esi
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, 0x5963dc
call fcn.0040ab3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5963c2
lea eax, [ebp - 0x10]
call fcn.00404d98
ret
Function at 0x5963e4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x596485
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x104
push 0
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404f80
lea eax, [ebp - 0x118]
mov edx, 0x59649c
call fcn.00405060
mov eax, dword [ebp - 0x118]
call fcn.00405258
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
test eax, eax
je 0x59646c
mov eax, esi
lea edx, [ebp - 0x111]
mov ecx, 0x105
call fcn.00405008
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59648c
lea eax, [ebp - 0x118]
call fcn.00404d98
ret

Function at 0x5964a0
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
mov eax, ebx
call fcn.00404d98
push 0x105
lea eax, [esp + 4]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
test eax, eax
je 0x5964d1
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00405008
add esp, 0x108
pop ebx
ret

Function at 0x5964dc
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe28
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x1d8], eax
xor eax, eax
push ebp
push 0x59658d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1d4]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov dl, 1
mov eax, dword [0x418bec]
call fcn.00403f20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
push 0x40
lea eax, [ebp - 0x44]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x44]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x596574
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x596568
push dword [edi]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x1d8]
call fcn.00404f90
mov edx, dword [ebp - 0x1d8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x596545
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x596594
lea eax, [ebp - 0x1d8]
call fcn.00404d98
ret
Function at 0x5973a8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405248
xor eax, eax
push ebp
push 0x5974f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
mov eax, dword [0x62cebc]
mov byte [eax], 0
mov eax, dword [ebp - 4]
call fcn.0040a0e8
test al, al
je 0x5974e3
xor eax, eax
push ebp
push 0x5974c0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x418dec]
call fcn.0041da18
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5974af
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x59747f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x4c]
mov ecx, 0x40
mov eax, dword [ebp - 0xc]
call fcn.0041d72c
cmp word [ebp - 0x4c], 0x5a4d
je 0x597445
mov byte [ebp - 5], 0
jmp 0x597475
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x144]
mov ecx, 0xf8
mov eax, dword [ebp - 0xc]
call fcn.0041d72c
cmp dword [ebp - 0x144], 0x4550
je 0x597475
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x597499
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5974b6
mov eax, dword [ebp - 0xc]
call fcn.00403f50
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x597500
lea eax, [ebp - 4]
call fcn.00404d98
ret