joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4af500
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov edx, dword [ecx]
and esi, 0xff
mov eax, edx
and eax, 0xff
xor eax, esi
shr edx, 8
mov eax, dword [eax*4 + 0x4c0870]
xor eax, edx
mov edx, dword [ecx + 4]
mov dword [ecx], eax
and eax, 0xff
add eax, edx
mov edx, dword [ecx + 8]
imul eax, eax, 0x8088405
inc eax
mov esi, edx
mov dword [ecx + 4], eax
and esi, 0xff
shr eax, 0x18
xor eax, esi
pop esi
shr edx, 8
mov eax, dword [eax*4 + 0x4c0870]
xor eax, edx
mov dword [ecx + 8], eax
pop ebp
ret

Function at 0x4af5b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
mov al, byte [ebx + 0x2d]
push edi
test al, al
je 0x4af639
mov eax, dword [ebx + 0x3c]
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x4af5e1
cmp dword [ebx + 0x40], edi
jae 0x4af5e1
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebx + 0x3c], 0
mov eax, dword [ebx + 0x3c]
test eax, eax
jne 0x4af5fa
lea eax, [edi + edi]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], edi
mov ecx, edi
mov edi, dword [ebx + 0x3c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
jbe 0x4af634
mov eax, dword [ebx + 0x3c]
mov cl, byte [esi + eax]
lea eax, [ebx + 0x30]
push ecx
push eax
call fcn.004af560
mov edx, dword [ebx + 0x3c]
add esp, 8
mov byte [esi + edx], al
inc esi
cmp esi, edi
jb 0x4af616
mov esi, dword [ebx + 0x3c]
jmp 0x4af63c
mov edi, dword [ebp + 0xc]
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x4af683
mov eax, dword [ebx + 0x24]
lea ecx, [eax + edi]
cmp ecx, dword [ebx + 0x28]
jb 0x4af65e
pop edi
mov dword [ebx + 0x14], 0x30000
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
mov ecx, edi
lea edi, [eax + edx]
mov edx, ecx
mov eax, dword [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x24]
pop edi
add ecx, eax
pop esi
mov dword [ebx + 0x24], ecx
pop ebx
pop ebp
ret 8
mov eax, dword [ebx + 4]
test eax, eax
je 0x4af6a3
lea ecx, [ebp + 0xc]
push 0
push ecx
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 8
pop edi
mov dword [ebx + 0x14], 0x1000000
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x4b18b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x4b18be
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
cmp esi, 8
not eax
jb 0x4b19bf
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x4c2044]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4c2044]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4c2044]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4c2044]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4c2044]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4c2044]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4c2044]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4c2044]
xor eax, edx
inc ecx
dec edi
jne 0x4b18d7
pop edi
test esi, esi
je 0x4b19e1
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4c2044]
xor eax, edx
inc ecx
dec esi
jne 0x4b19c3
pop esi
pop ebx
not eax
pop ebp
ret

Function at 0x4b19f0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov edx, dword [ecx]
and esi, 0xff
mov eax, edx
and eax, 0xff
xor eax, esi
shr edx, 8
mov eax, dword [eax*4 + 0x4c2044]
xor eax, edx
mov edx, dword [ecx + 4]
mov dword [ecx], eax
and eax, 0xff
add eax, edx
mov edx, dword [ecx + 8]
imul eax, eax, 0x8088405
inc eax
mov esi, edx
mov dword [ecx + 4], eax
and esi, 0xff
shr eax, 0x18
xor eax, esi
pop esi
shr edx, 8
mov eax, dword [eax*4 + 0x4c2044]
xor eax, edx
mov dword [ecx + 8], eax
pop ebp
ret
Function at 0x4b2420
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
mov cl, byte [ebx]
mov eax, esi
imul eax, dword [ebp + 0x10]
test cl, cl
je 0x4b245f
mov edx, dword [ebp + 8]
lea ecx, [ebp + 8]
push 0
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4b2454
mov byte [ebx + 8], 1
mov eax, dword [ebp + 8]
xor edx, edx
div esi
pop esi
pop ebx
pop ebp
ret
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
lea esi, [edx + eax]
cmp esi, ecx
jbe 0x4b2470
sub ecx, edx
mov eax, ecx
mov esi, dword [ebx + 0x14]
mov ecx, eax
add esi, edx
mov edx, ecx
push edi
mov edi, dword [ebp + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x1c]
pop edi
add ecx, eax
pop esi
div dword [ebp + 0xc]
mov dword [ebx + 0x1c], ecx
pop ebx
pop ebp
ret

Function at 0x4b34c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
cmp dword [esi], 0
jne 0x4b35aa
cmp dword [esi + 4], 0xffffffff
jne 0x4b35aa
lea ebx, [esi + 0x140]
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov cl, byte [ecx + esi + 0x13f]
cmp cl, 0x5c
je 0x4b353b
cmp cl, 0x2f
je 0x4b353b
mov edi, 0x4c26f4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
cmp ebx, 1
jne 0x4b3566
push 1
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4b3566
pop edi
pop esi
mov eax, 0x2000000
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
push ebx
push ecx
push edi
call fcn.004b21e0
add esp, 0x10
test eax, eax
jne 0x4b3588
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push eax
call fcn.004b26f0
add esp, 4
mov dword [esi], eax
neg eax
sbb eax, eax
pop edi
and eax, 0xfffffe00
pop esi
add eax, 0x200
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
mov eax, 0x1000000
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b3b60
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4b3b87
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4b3b87
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebx, dword [ebp + 0xc]
mov cl, byte [ebx]
test cl, cl
je 0x4b3c66
mov eax, ebx
mov edx, ebx
cmp cl, 0x2f
je 0x4b3ba2
cmp cl, 0x5c
jne 0x4b3ba4
mov eax, edx
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x4b3b98
cmp eax, ebx
push esi
je 0x4b3be9
sub eax, ebx
mov esi, ebx
mov ecx, eax
lea edi, [ebp - 0x208]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
mov byte [ebp + eax - 0x208], 0
lea eax, [ebp - 0x208]
push eax
push ecx
call fcn.004b3b60
mov edi, dword [ebp + 8]
add esp, 8
test edi, edi
mov byte [ebp - 0x104], 0
je 0x4b3c17
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x104]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x104]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [ebp - 0x104]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
pop esi
jne 0x4b3c66
lea ecx, [ebp - 0x104]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x7730879d
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebx
push edi
mov edi, ecx
xor ebx, ebx
lea eax, [edi + 0x350]
push eax
push ebx
push edi
push 0x77305bc0
push ebx
push ebx
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov dword [edi + 0x2e8], eax
test eax, eax
je 0x7730887e
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventA]
push 0xf
push dword [edi + 0x2e8]
mov dword [edi + 0x2e0], eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_SetThreadPriority]
lea eax, [edi + 0x34c]
push eax
push ebx
push edi
push 0x77306220
push ebx
push ebx
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov dword [edi + 0x2e4], eax
test eax, eax
je 0x77308863
push esi
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventA]
push 1
push dword [edi + 0x2e4]
mov dword [edi + 0x2dc], eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_SetThreadPriority]
mov ecx, dword [edi + 0x18]
lea eax, [edi + 0x20]
push eax
push ebx
push ecx
mov esi, dword [ecx]
mov ecx, dword [esi + 0x1c]
call dword [0x77331150]
call dword [esi + 0x1c]
mov ecx, edi
call fcn.773068d4
mov dword [edi + 0x2f0], eax
mov dword [edi + 0x310], eax
mov eax, edx
mov dword [edi + 0x314], eax
xor eax, eax
mov dword [edi + 0x2f4], edx
pop esi
jmp 0x77308883
mov eax, dword [edi + 0x2e0]
mov dword [edi + 0x35c], 1
test eax, eax
je 0x7730887e
push eax
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov eax, 0x8007000e
pop edi
pop ebx
ret

Function at 0x7731b78a
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x7732d004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, edx
test edi, edi
je 0x7731b7ed
push ecx
push ecx
push ecx
mov edx, 0x400
lea ecx, [ebp - 0x404]
call fcn.7731b533
push 0x77302cd4
mov edx, 0x400
lea ecx, [ebp - 0x404]
call fcn.7731b4a5
push edi
mov edx, 0x400
lea ecx, [ebp - 0x404]
call fcn.7731b4a5
lea ecx, [ebp - 0x404]
xor edi, edi
lea eax, [ebp - 0x40c]
push edi
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push ecx
push 0x80000000
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExA]
test eax, eax
jne 0x7731b867
mov eax, edi
mov dword [ebp - 0x408], eax
test esi, esi
je 0x7731b839
lea eax, [ebp - 0x408]
mov edx, 0x7fffffff
push eax
mov ecx, esi
call fcn.7731b4f3
mov ecx, eax
mov eax, dword [ebp - 0x408]
jmp 0x7731b83e
mov ecx, 0x80070057
test ecx, ecx
jns 0x7731b844
mov eax, edi
inc eax
push eax
push esi
push 1
push edi
push ebx
push dword [ebp - 0x40c]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExA]
push dword [ebp - 0x40c]
mov esi, eax
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.7732c080
leave
ret 8
Function at 0x7731b878
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x7732d004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x108]
mov edi, edx
push eax
push 0xf003f
push 0
mov esi, ecx
push edi
push esi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExA]
test eax, eax
jne 0x7731b8f2
jmp 0x7731b8c0
mov ecx, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
call fcn.7731b878
push 0x100
lea eax, [ebp - 0x104]
push eax
push 0
push dword [ebp - 0x108]
call dword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegEnumKeyA]
test eax, eax
je 0x7731b8af
push dword [ebp - 0x108]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
push edi
push esi
call dword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.7732c080
leave
ret
Function at 0x7732c2a0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x7732c2de
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x7732c2d6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x7732c2e0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x7732c2c6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x7732c3b0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x7732c3e1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x7732c3e1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x7732c3e1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x77337373
Capabilities:
Encode data using xor

Disassembly:
call 0x773372ec
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x7733731c
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x77337338
xor edx, 0
jmp 0x77337343
xor edx, edx
jmp 0x7733735a
jmp 0x77337366
xor eax, eax
push 0x8427d7c0
call 0x77337373
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x773373af
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x77337388
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x773373c6
add eax, 0
jno 0x773373cb
add esi, 0
ret 0x10
Function at 0x77338134
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x77338156
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x773382f8
cmp edi, dword [ebp + 0x10]
jb 0x773382f8
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.77337c20
inc edi
jmp 0x773381df
jmp 0x773381ec
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77337c20
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77337c20
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x77338240
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x77338224
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.7733826e
add dword [eax], 0x39
jle 0x7733824a
sub al, 0xf5
mov ch, al
call fcn.77338283
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x77339f5b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x77339f71
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x77339f82
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.77339fc3
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x7733c32f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x7733c278
add ebx, 0
push ecx
call 0x7733c28d
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x7391a017
sub ebx, dword [0x73939856]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x73939846
call fcn.77337d57
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.77337265
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x7733c3eb
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x7733c3eb
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x7733c3a2
mov eax, 1
lock xchg dword [0x73939852], eax
push 0x3dd1fc71
call 0x7733c32f
push esi
add esp, 8
cmp eax, 0
jne 0x7733c318
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x7733c33e
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x7733c353
cmp ecx, edx
cmp eax, 0
je 0x7733c378
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x7733c362
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.7733c391
dec eax
loope 0x7733c394
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x73939852], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x7733c3c8
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x7733c3dd
jmp 0x7733c3e8
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x7733c2d6
Function at 0x77343450
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x77343726
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x739264ca
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x7391d490
push 0xffffffffffffffff
call fcn.7733a650
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x773434ba
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.773434d2
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x7734371a
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x773436ee
Function at 0x77352f20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x77352f42
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x77352f42
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x77352f42
ret
cmp word [ebx + 4], 0x14c
jne 0x77352f42
test word [ebx + 0x16], 2
je 0x77352f42
test word [ebx + 0x16], 0x100
je 0x77352f42
cmp word [ebx + 0x18], 0x10b
jne 0x77352f42
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x77352f42
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x77352fce
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x77352f62
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.77339ead
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x77352f42
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x77352fce
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x77352f42
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x77352f42
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x77352f42
ret
cmp word [ebx + 4], 0x14c
jne 0x77352f42
test word [ebx + 0x16], 2
je 0x77352f42
test word [ebx + 0x16], 0x100
je 0x77352f42
cmp word [ebx + 0x18], 0x10b
jne 0x77352f42
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x77352f42
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x77352fce
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x77352f62
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.77339ead
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x77352f42
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8