joyce8/EMBER2024-capa huggingface dataset:
Function at 0x732e8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 8
mov edi, dword [ebp + 0x10]
movzx esi, word [ebp + 0x14]
cmp edi, 0x1f
jbe 0x732f2a
lea eax, [ebp + 8]
mov ebx, esi
mov dword [esp + 4], 0x20
shl esi, 8
sub edi, 0x20
mov dword [esp], eax
call fcn.00732de5
movzx edx, bh
mov ecx, eax
shr ecx, 0x18
xor edx, ecx
mov ecx, eax
movzx ebx, word [edx + edx + 0xb5ea20]
shr ecx, 0x10
xor ebx, esi
mov edx, ebx
shr edx, 8
xor edx, ecx
and edx, 0xff
movzx ecx, word [edx + edx + 0xb5ea20]
shl ebx, 8
mov edx, eax
xor ecx, ebx
xor edx, ecx
movzx edx, dh
movzx ebx, word [edx + edx + 0xb5ea20]
shl ecx, 8
xor ebx, ecx
mov edx, ebx
shr edx, 8
xor edx, eax
and edx, 0xff
movzx esi, word [edx + edx + 0xb5ea20]
shl ebx, 8
xor esi, ebx
cmp edi, 0x1f
ja 0x732ea5
mov eax, edi
shr eax, 3
cmp eax, 2
je 0x732f71
cmp eax, 3
je 0x732f44
cmp eax, 1
jne 0x732ff9
jmp 0x732f9e
lea eax, [ebp + 8]
mov dword [esp + 4], 8
mov dword [esp], eax
call fcn.00732de5
mov edx, esi
shr edx, 8
shl esi, 8
xor edx, eax
and edx, 0xff
movzx eax, word [edx + edx + 0xb5ea20]
xor esi, eax
lea ebx, [ebp + 8]
mov dword [esp + 4], 8
mov dword [esp], ebx
call fcn.00732de5
mov edx, esi
shr edx, 8
shl esi, 8
xor edx, eax
and edx, 0xff
movzx eax, word [edx + edx + 0xb5ea20]
xor esi, eax
lea eax, [ebp + 8]
and edi, 7
mov dword [esp + 4], 8
mov dword [esp], eax
call fcn.00732de5
mov edx, esi
shr edx, 8
shl esi, 8
xor edx, eax
and edx, 0xff
movzx eax, word [edx + edx + 0xb5ea20]
xor esi, eax
jmp 0x732ff9
lea ebx, [ebp + 8]
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.00732de5
mov edx, esi
add esi, esi
shr edx, 0xf
xor edx, eax
mov eax, esi
xor eax, 0x8005
test dl, 1
cmovne esi, eax
sub edi, 1
cmp edi, 0xffffffff
jne 0x732fd0
add esp, 8
movzx eax, si
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x733be0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, edx
sub esp, 0x2c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
movzx edi, byte [edx + 2]
mov eax, edi
test al, al
je 0x733c31
movzx eax, byte [edx + 3]
mov ecx, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00732de5
movzx esi, word [ebx]
mov ecx, 1
mov edx, 0
div esi
mov dword [ebp + ecx*4 - 0x1c], edx
add ecx, 1
cmp ecx, 4
jne 0x733c16
and edi, 0xff
jmp 0x733c55
movzx edi, byte [edx + 3]
mov esi, 1
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00732de5
mov dword [ebp + esi*4 - 0x1c], eax
add esi, 1
cmp esi, 4
jne 0x733c3a
lea ecx, [edi - 1]
mov esi, 1
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x2c], 0x1d
shl dword [ebp - 0x28], cl
sub dword [ebp - 0x2c], edi
lea edi, [esi*4]
mov edx, dword [ebp - 0x28]
add esi, 1
mov eax, dword [ebp - 0x28]
xor edx, dword [ebp + edi - 0x1c]
movzx ecx, byte [ebp - 0x2c]
and eax, edx
neg eax
or eax, edx
shl eax, cl
mov ecx, dword [ebp - 0x24]
add eax, dword [ebx + 8]
imul dword [ebx + 4]
shrd eax, edx, 0x1c
cmp esi, 4
mov dword [ecx + edi - 4], eax
jne 0x733c71
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x7f09a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
add eax, 0xf4
mov dword [esp], edx
mov dword [ebp - 0x14], eax
add edi, 0x9f4
call fcn.007f9d20
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 8]
movsx edx, word [ecx + 0xf4]
mov ecx, 0xffffffff
mov dword [ebp - 0x10], eax
mov eax, edx
sar eax, 0x1f
mov ebx, eax
xor ebx, edx
movsx edx, word [esi + 0x9f4]
sub ebx, eax
cmovs ebx, ecx
mov eax, edx
sar eax, 0x1f
mov esi, eax
xor esi, edx
sub esi, eax
cmovs esi, ecx
mov ecx, 2
mov edx, dword [ebp - 0x14]
movsx eax, word [edx + ecx*2 - 2]
mov edx, eax
sar edx, 0x1f
xor eax, edx
sub eax, edx
cmp ebx, eax
cmovl ebx, eax
movsx eax, word [edi + ecx*2 - 2]
mov edx, eax
sar edx, 0x1f
xor eax, edx
sub eax, edx
cmp esi, eax
cmovl esi, eax
add ecx, 1
cmp ecx, 0x481
jne 0x7f0a05
mov ecx, dword [ebp + 0xc]
mov edi, 0x7fff
cmp ebx, 0x7fff
mov eax, edi
cmovle eax, ebx
mov ebx, dword [ebp - 0x10]
test eax, eax
mov ecx, dword [ecx]
lea edx, [eax + 0xff]
cmovns edx, eax
shr ebx, 3
sar edx, 8
mov dword [ebp - 0x18], ecx
mov byte [ebx + ecx - 1], al
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov byte [ebx + eax - 2], dl
mov eax, dword [ecx]
mov byte [ebx + eax - 3], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 3
je 0x7f0aaa
cmp esi, 0x7fff
mov eax, edi
cmovle eax, esi
mov esi, dword [ebp + 0xc]
test eax, eax
lea edx, [eax + 0xff]
cmovns edx, eax
mov ecx, dword [esi]
sar edx, 8
mov byte [ebx + ecx - 4], al
mov eax, dword [esi]
mov byte [ebx + eax - 5], dl
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x8274d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebp, dword [esp + 0x30]
mov eax, dword [ebp]
test eax, eax
je 0x82750e
lea edx, [ebp + 4]
mov esi, ebp
xor ebx, ebx
xor ecx, ecx
nop
lea esi, [esi]
mov ebx, dword [ebp + ebx*4 + 4]
add ecx, 1
mov dword [esi], ebx
mov edi, dword [edx]
mov esi, edx
add edx, 4
mov ebx, ecx
test edi, edi
jne 0x8274f0
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0x281
mov dword [esp + 4], str.common_frame.c
mov dword [esp], str.frame
call sub.msvcrt.dll__assert
lea esi, [esi]

Function at 0x827530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
sub esp, 0x18
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx + 0x2ea0]
test eax, eax
jle 0x827582
sub eax, 1
test eax, eax
mov dword [ebx + 0x2ea0], eax
jne 0x82757d
movzx edx, byte [ebx + 0x80]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + edx*4 + 0x39b4]
mov edx, dword [ecx]
test edx, edx
je 0x82757b
lea eax, [ecx + 4]
lea esi, [esi]
mov edx, dword [eax]
mov ecx, eax
add eax, 4
test edx, edx
jne 0x827570
mov dword [ecx], ebx
add esp, 0x18
pop ebx
ret
mov dword [esp + 8], 0x287
mov dword [esp + 4], str.common_frame.c
mov dword [esp], str.frame__i_reference_count___0
call sub.msvcrt.dll__assert
nop
Function at 0x83c9e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x88]
mov ebp, esi
mov edx, dword [esp + 0x78]
and ebp, 0xfffffff8
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp], edi
call dword [eax + 0x150]
and esi, 7
mov dword [esp + 0x48], esi
jne 0x83ca55
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esp + 0x88]
test esi, esi
jle 0x83cb14
add ebx, ebp
xor esi, esi
lea ebp, [edi + ebp]
xor edi, edi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x4c], 0
lea esi, [esi]
xor eax, eax
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
movzx ecx, byte [ebx + eax*2]
movzx edx, byte [ebp + eax*2]
movzx ebp, byte [ebp + eax*2 + 1]
sub ecx, edx
movzx edx, byte [ebx + eax*2 + 1]
imul ecx, ecx
sub edx, ebp
mov ebx, ecx
sar ebx, 0x1f
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x40]
add dword [esp + 0x38], ecx
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x44]
adc dword [esp + 0x3c], ebx
imul edx, edx
mov ecx, edx
sar ecx, 0x1f
add esi, edx
adc edi, ecx
add eax, 1
cmp dword [esp + 0x48], eax
jg 0x83ca96
add dword [esp + 0x4c], 1
mov ebp, dword [esp + 0x88]
cmp dword [esp + 0x4c], ebp
mov ebx, dword [esp + 0x2c]
je 0x83cb28
mov eax, dword [esp + 0x78]
add dword [esp + 0x34], eax
add ebx, dword [esp + 0x80]
jmp 0x83ca90
xor esi, esi
xor edi, edi
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov ebx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
add dword [ebx], edx
adc dword [ebx + 4], ecx
add dword [ebp], esi
adc dword [ebp + 4], edi
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x8e3e70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], ebx
mov ebx, dword [sym.imp.msvcrt.dll__iob]
mov dword [ebp - 4], esi
lea esi, [ebp + 0xc]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
add ebx, 0x40
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov eax, dword [ebp + 8]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort

Function at 0x8e3ec0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x8e3ee6
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x8e3f7a
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x8e3f35
cmp eax, 0x40
je 0x8e3f35
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x8e3ed9
cmp eax, 0x40
je 0x8e3ed9
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
jmp 0x8e3ed9
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.008e3e70
lea esi, [esi]
lea edi, [edi]
Function at 0x8e6fd4
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [0xc96fe8], 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xffff
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.KERNEL32.dll_CreateSemaphoreA
sub esp, 0x10
mov dword [0xc96fec], eax
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x8e7038
mov dword [0xc96ff4], eax
mov dword [esp + 4], 0x8e7044
mov dword [esp], eax
call fcn.008f3230
test eax, eax
jne 0x8e703f
leave
ret
call sub.KERNEL32.dll_GetLastError
jmp 0x8e702f
call sub.msvcrt.dll_abort
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov esi, dword [ebp + 8]
mov edi, dword [esi]
test edi, edi
je 0x8e7070
xor ebx, ebx
mov eax, dword [esi + ebx*4 + 4]
test eax, eax
je 0x8e706b
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.008f2ba8
inc ebx
cmp edi, ebx
ja 0x8e7058
mov dword [ebp + 8], esi
add esp, 0x1c
pop ebx
pop esi
pop edi
leave
jmp fcn.008f2ba8
Function at 0x8e7080
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ecx, dword [0xc96f88]
test ecx, ecx
jne 0x8e70ac
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
test eax, eax
je 0x8e7146
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x8e7158
mov edi, dword [0xc96ff4]
call sub.KERNEL32.dll_GetLastError
mov esi, eax
mov dword [esp], edi
call sub.KERNEL32.dll_TlsGetValue
push edi
mov dword [esp], esi
mov dword [ebp - 0x1c], eax
call sub.KERNEL32.dll_SetLastError
push ecx
mov eax, dword [ebp - 0x1c]
mov esi, eax
test eax, eax
je 0x8e7106
mov edi, dword [eax]
cmp ebx, edi
ja 0x8e71db
dec ebx
mov eax, dword [esi + ebx*4 + 4]
test eax, eax
jne 0x8e70a1
mov eax, dword [ebp + 8]
call fcn.008e6f54
mov dword [esi + ebx*4 + 4], eax
jmp 0x8e70a1
lea edi, [ebx + 0x20]
mov dword [esp + 4], 4
lea eax, [ebx + 0x21]
mov dword [esp], eax
call sub.msvcrt.dll_calloc
mov esi, eax
test eax, eax
je 0x8e721e
mov dword [eax], edi
mov dword [esp + 4], esi
mov eax, dword [0xc96ff4]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsSetValue
push edx
push edx
test eax, eax
jne 0x8e70ef
call sub.KERNEL32.dll_GetLastError
jmp 0x8e70ef
mov eax, edx
call fcn.008e6f54
mov edi, dword [ebp + 8]
mov dword [edi + 8], eax
jmp 0x8e70a1
cmp dword [0x935c64], 0
je 0x8e7254
mov dword [esp], 0xc96fe8
call sub.KERNEL32.dll_InterlockedIncrement
push esi
test eax, eax
jne 0x8e7223
mov edx, dword [ebp + 8]
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x8e7194
mov ebx, dword [0xc96ff0]
inc ebx
mov dword [0xc96ff0], ebx
mov dword [edx + 8], ebx
cmp dword [0xc96f88], 0
je 0x8e70ba
mov dword [esp], 0xc96fe8
call sub.KERNEL32.dll_InterlockedDecrement
push edx
test eax, eax
js 0x8e70ba
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov eax, dword [0xc96fec]
mov dword [esp], eax
call sub.KERNEL32.dll_ReleaseSemaphore
sub esp, 0xc
jmp 0x8e70ba
lea edx, [edi + edi]
cmp ebx, edx
jbe 0x8e71e5
lea edx, [ebx + 0x20]
lea ecx, [edx*4 + 4]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [ebp - 0x1c], edx
call sub.msvcrt.dll_realloc
mov esi, eax
test eax, eax
mov edx, dword [ebp - 0x1c]
je 0x8e721e
mov dword [eax], edx
sub edx, edi
lea ecx, [edx*4]
lea edx, [eax + edi*4 + 4]
xor eax, eax
mov edi, edx
rep stosb byte es:[edi], al
jmp 0x8e7128
call sub.msvcrt.dll_abort
mov dword [esp + 4], 0xffffffff
mov eax, dword [0xc96fec]
mov dword [esp], eax
call sub.KERNEL32.dll_WaitForSingleObject
push ebx
push ebx
test eax, eax
je 0x8e717a
mov dword [esp], 0xc96fe8
call sub.KERNEL32.dll_InterlockedDecrement
push ecx
jmp 0x8e717a
mov dword [esp], 0x935c68
call sub.KERNEL32.dll_InterlockedIncrement
push edx
test eax, eax
je 0x8e727d
cmp dword [0x935c64], 0
jne 0x8e728c
mov dword [esp], 0
call sub.KERNEL32.dll_Sleep
push edi
jmp 0x8e7265
call fcn.008e6fd4
mov dword [0x935c64], 1
cmp dword [0xc96f88], 0
je 0x8e717a
jmp 0x8e7165
Function at 0x8ea360
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x14c
mov dword [esp + 0x13c], ebx
mov ebx, dword [esp + 0x150]
mov dword [esp + 0x140], esi
mov dword [esp + 0x144], edi
mov dword [esp + 0x148], ebp
call sub.msvcrt.dll__errno
test ebx, ebx
mov dword [eax], 0
je 0x8ea52d
cmp byte [ebx], 0
je 0x8ea502
mov dword [esp], ebx
call sub.KERNEL32.dll_GetFileAttributesA
sub esp, 4
cmp eax, 0xffffffff
je 0x8ea511
test al, 0x10
je 0x8ea502
lea ebp, [esp + 0x2c]
mov dword [esp + 8], 0x104
mov dword [esp + 4], ebx
mov dword [esp], ebp
call sub.msvcrt.dll__fullpath
mov edx, ebp
mov ecx, dword [edx]
add edx, 4
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x8ea3db
test eax, 0x8080
je 0x8ea4f7
add al, al
sbb edx, 3
sub edx, ebp
add edx, 0x233
mov dword [esp], edx
call sub.msvcrt.dll_malloc
test eax, eax
mov ebx, eax
mov esi, eax
je 0x8ea520
lea edi, [eax + 0x22c]
mov dword [esp + 4], ebp
mov dword [esp], edi
call sub.msvcrt.dll_strcpy
cmp byte [ebx + 0x22c], 0
je 0x8ea483
mov dword [esp + 4], 0x2f
mov dword [esp], edi
call sub.msvcrt.dll_strrchr
mov dword [esp], edi
mov dword [esp + 0x1c], eax
call sub.msvcrt.dll_strlen
lea ebp, [ebx + eax + 0x22b]
cmp dword [esp + 0x1c], ebp
je 0x8ea483
mov dword [esp + 4], 0x5c
mov dword [esp], edi
call sub.msvcrt.dll_strrchr
cmp ebp, eax
je 0x8ea483
mov dword [esp], edi
call sub.msvcrt.dll_strlen
mov word [edi + eax], 0x5c
mov dword [esp], edi
call sub.msvcrt.dll_strlen
lea edx, [esi + 0x120]
mov ecx, 0x41
mov word [edi + eax], 0x2a
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [esi + 0x224], 0xffffffff
mov dword [esi + 0x228], 0
mov dword [esi + 0x118], 0
mov word [esi + 0x11c], 0
mov word [esi + 0x11e], 0
mov eax, ebx
mov esi, dword [esp + 0x140]
mov ebx, dword [esp + 0x13c]
mov edi, dword [esp + 0x144]
mov ebp, dword [esp + 0x148]
add esp, 0x14c
ret
shr eax, 0x10
add edx, 2
jmp 0x8ea3fc
call sub.msvcrt.dll__errno
xor ebx, ebx
mov dword [eax], 0x14
jmp 0x8ea4d2
call sub.msvcrt.dll__errno
xor ebx, ebx
mov dword [eax], 2
jmp 0x8ea4d2
call sub.msvcrt.dll__errno
mov dword [eax], 0xc
jmp 0x8ea4d2
lea esi, [esi]
call sub.msvcrt.dll__errno
mov dword [eax], 0xe
jmp 0x8ea4d2
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x7d5867ad
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x377779b4
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x414420
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x78
mov eax, dword [0x51f164]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
mov esi, ecx
mov dword [esp + 0x34], 0x40
push edi
lea eax, [esp + 0x38]
mov dword [esp + 0x30], esi
push eax
mov dword [esp + 0x34], esi
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
call fcn.004914f0
xorps xmm1, xmm1
sub esp, 8
cvtsd2ss xmm1, xmm0
movss xmm0, dword [0x5055f8]
mulss xmm1, xmm0
mulss xmm1, xmm0
mulss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
push 0x4f8208
movsd qword [esp + 0x3c], xmm0
call fcn.00402120
add esp, 0xc
mov dword [esi + 0x10], 0
mov edi, eax
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov byte [esi], 0
push 0
push edi
call fcn.00436e70
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4144c0
mov eax, dword [esi]
movsd xmm0, qword [esp + 0x30]
lea ecx, [edi + 1]
sub esp, 8
movsd qword [esp], xmm0
push 0x4f8208
push ecx
push eax
call fcn.004020c0
mov ecx, dword [esp + 0x90]
add esp, 0x14
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.004905bb
mov esp, ebp
pop ebp
ret

Function at 0x414500
Capabilities:
List user accounts

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d69b0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x51f164]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 0
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], 0
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], 0
push eax
xor edi, edi
push 2
push edi
push edi
mov dword [ebp - 0x2c], edi
call dword [sym.imp.NETAPI32.dll_NetUserEnum]
mov ebx, eax
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x414581
cmp ebx, 0xea
je 0x414581
mov ecx, dword [ebp - 0x24]
jmp 0x4145fb
mov ecx, dword [ebp - 0x24]
mov esi, ecx
test esi, esi
je 0x41460f
xor ebx, ebx
cmp ebx, dword [ebp - 0x18]
jae 0x4145f8
test esi, esi
je 0x4145f8
mov dword [ebp - 4], 0
mov edx, dword [esi]
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0x30], ecx
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4145b0
sub eax, dword [ebp - 0x30]
sar eax, 1
push eax
lea eax, [ebx + ebx*2]
push edx
lea ecx, [eax*8 + 0x5296c0]
call fcn.00436c20
inc edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
add esi, 4
mov dword [ebp - 0x2c], edi
inc ebx
jmp 0x414590
mov ebx, dword [ebp - 0x28]
test ecx, ecx
je 0x41460f
mov esi, dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
push ecx
call esi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
jmp 0x414615
mov esi, dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
cmp ebx, 0xea
je 0x414615
test ecx, ecx
je 0x414624
push ecx
call esi
push 7
lea eax, [edi + edi*2]
push 0x4ff9cc
lea ecx, [eax*8 + 0x5296c0]
call fcn.00436c20
lea eax, [edi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004905bb
mov esp, ebp
pop ebp
ret
Function at 0x415920
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6b98
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x51f164]
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 dword [ebp - 0x48], ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
lea eax, [edx + edx*2]
cmp dword [eax*8 + 0x51fde4], 8
lea edx, [eax*8 + 0x51fdd0]
mov ecx, edx
jb 0x41596f
mov ecx, dword [edx]
mov eax, dword [edx + 0x10]
lea eax, [ecx + eax*2]
jb 0x415979
mov edx, dword [edx]
push ecx
push eax
push edx
lea ecx, [ebp - 0x38]
call fcn.0043a4d0
push 0x4faac4
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
call fcn.00431940
cmp dword [ebp - 0x24], 0x10
lea ebx, [ebp - 0x38]
cmovae ebx, dword [ebp - 0x38]
push ebx
mov dword [ebp - 0x40], ebx
call dword [sym.imp.SHLWAPI.dll_PathIsNetworkPathA]
test eax, eax
setne byte [ebp - 0x39]
test ebx, ebx
je 0x4159ff
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4159c0
sub ecx, edx
lea ebx, [ecx + 1]
cmp ebx, 0x3fffffff
jg 0x4159ff
lea eax, [ebx + ebx]
call fcn.00491660
mov esi, esp
test esi, esi
je 0x4159ff
push ebx
push esi
push 0xffffffffffffffff
push dword [ebp - 0x40]
xor eax, eax
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x415a01
xor eax, eax
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 0x18]
test eax, eax
mov edx, dword [ebp - 0x14]
mov eax, ecx
setne bl
or eax, edx
je 0x415a5e
test edx, edx
jl 0x415a5e
jg 0x415a2d
test ecx, ecx
jb 0x415a5e
test bl, bl
je 0x415a5e
mov eax, dword [ebp - 0x20]
sub ecx, eax
mov esi, dword [ebp - 0x1c]
mov bl, byte [ebp - 0x39]
sbb edx, esi
test bl, bl
jne 0x415a54
mov ebx, dword [ebp - 0x44]
add dword [ebx], eax
mov eax, dword [ebp - 0x48]
adc dword [ebx + 4], esi
add dword [eax], ecx
adc dword [eax + 4], edx
jmp 0x415a5e
cmp bl, 1
jne 0x415a5e
add dword [edi], ecx
adc dword [edi + 4], edx
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x415a8e
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x415a84
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415aad
push edx
push ecx
call fcn.00490c3c
add esp, 8
lea esp, [ebp - 0x58]
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.004905bb
mov esp, ebp
pop ebp
ret
call fcn.004b5132
int3