joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420294
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x11298af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4202cf
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4202e8
lea eax, [ebp - 0x10]
mov edx, dword [0x1146348]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4202fb
lea eax, [ebp - 0x10]
mov edx, dword [0x1146348]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x420307
adc edx, 0
mov edx, dword [edx*4 + 0x1145178]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420481
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420474
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420474
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420412
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420412
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420412
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420412
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420474
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420474
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420499
inc ebx
cmp ebx, 0x19
jne 0x4202c1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x11298b6
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0xbeb058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00beb1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xbeb07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbeb06a
add dl, dl
jne 0xbeb089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbeb0dc
xor eax, eax
add dl, dl
jne 0xbeb096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbeb17d
add dl, dl
jne 0xbeb0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbeb0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbeb0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbeb0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xbeb0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xbeb075
mov eax, 1
add dl, dl
jne 0xbeb0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbeb0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbeb0e1
sub eax, ebx
mov ebx, 1
jne 0xbeb128
mov ecx, 1
add dl, dl
jne 0xbeb10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbeb119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbeb105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbeb075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xbeb13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbeb14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbeb136
cmp eax, 0x7d00
jae 0xbeb16d
cmp eax, 0x500
jb 0xbeb168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbeb075
cmp eax, 0x7f
ja 0xbeb170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbeb075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xbeb19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xbeb075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
xor eax, eax
push 0x44
push eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x64]
add esp, 0xc
lea ecx, [esp]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
mov dword [esp + 0x38], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40107f
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x60]
push 0xffffffffffffffff
push eax
mov dword [edx], ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov al, 1
add esp, 0x54
ret
xor al, al
add esp, 0x54
ret

Function at 0x401090
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x130
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
mov ebx, dword [sym.imp.MSVCR90.dll_fread]
push ebp
mov ebp, dword [esp + 0x13c]
push esi
push edi
push 1
lea eax, [esp + 0x1c]
push 4
push eax
mov esi, ecx
call ebx
push edi
push 1
lea ecx, [esp + 0x28]
push 4
push ecx
call ebx
mov edx, dword [esp + 0x30]
push edi
push edx
lea eax, [esp + 0x5c]
push 1
push eax
call ebx
mov eax, dword [esp + 0x40]
mov ecx, dword [0x40b37c]
lea edx, [ecx + eax + 8]
mov byte [esp + eax + 0x64], 0
lea eax, [esp + 0x64]
push eax
push ebp
push str._s_s
push 0x104
push esi
mov dword [0x40b37c], edx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x44
push 0x40218c
lea ecx, [esp + 0x10]
push esi
push ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.MSVCR90.dll_fopen_s]
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ebp, eax
test eax, eax
jbe 0x401210
lea ebx, [ebx]
mov eax, ebp
cmp ebp, 0x8000
jb 0x40114f
mov eax, 0x8000
push edi
push eax
push 1
push 0x403370
call ebx
mov esi, eax
add esp, 0x10
sub ebp, esi
cmp dword [0x40b370], 0
je 0x4011f2
mov eax, dword [0x40b37c]
mov edx, dword [0x40b374]
push 0
add eax, esi
push eax
push 0x402
push edx
mov dword [0x40b37c], eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [0x40b374]
push 0x200
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [0x40b370]
push 1
push 0
push 0
push ecx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4011f2
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov edx, dword [0x40b370]
push 1
push 0
push 0
push edx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x4011c0
mov ecx, dword [esp + 0xc]
push ecx
push esi
push 1
push 0x403370
call dword [sym.imp.MSVCR90.dll_fwrite]
add esp, 0x10
test ebp, ebp
ja 0x401140
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.MSVCR90.dll_fclose]
mov ecx, dword [esp + 0x13c]
add esp, 4
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00401600
add esp, 0x130
ret
Function at 0x401240
Capabilities:
Copy file
Delete file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20
push ebx
push ebp
push esi
push edi
lea edx, [eax + 1]
xor ebx, ebx
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401250
sub eax, edx
mov edi, eax
lea ebp, [edi + 2]
push ebp
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov eax, dword [esp + 0x38]
push eax
push ebp
push esi
call dword [sym.imp.MSVCR90.dll_strcpy_s]
mov byte [esi + edi], bl
mov byte [esi + edi + 1], bl
add esp, 0x10
lea edx, [esp + 0x10]
mov ecx, 0x14
push edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
mov word [esp + 0x24], cx
mov dword [esp + 0x26], ebx
mov dword [esp + 0x2e], ebx
mov dword [esp + 0x2a], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
push esi
mov edi, eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
cmp edi, ebx
pop edi
pop esi
pop ebp
sete al
pop ebx
add esp, 0x20
ret
Function at 0x401600
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x40160a
repz ret
jmp fcn.00401930
Function at 0x401434
Capabilities:
Copy file
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Get file attributes
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Set current directory
Set file attributes
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [0x434ee8]
push 7
pop ecx
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov edi, section..ndata
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
xor ebx, ebx
shl ecx, 0xb
add ecx, edi
mov esi, eax
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x28]
shl esi, 0xb
mov dword [0x40ce2c], ecx
lea ecx, [edx - 2]
add esi, edi
cmp ecx, 0x43
mov dword [ebp - 4], ebx
ja case.0x40148a.65
jmp dword [ecx*4 + 0x402ad7]
push ebx
push eax
call fcn.00405322
jmp 0x4022f7
inc dword [0x433eac]
cmp dword [ebp - 8], ebx
je 0x4022f7
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4022f7
push eax
call fcn.0040136d
dec eax
push ebx
push eax
invalid
Function at 0x40420a
Capabilities:
Hash data using murmur3

Disassembly:
push eax
rol ecx, 0x19
dec eax
call fcn.004014c2
sub eax, 0x2e87ca
call fcn.004056e4
xor ecx, 0x2aac2937
add esi, ecx
inc ecx
xor esi, esp
call fcn.004014c2
add eax, ebx

Function at 0x404231
Capabilities:
Hash data using murmur3

Disassembly:
xor eax, 0xb8348045
add edi, 0xceeae2
sub edi, 0xceeae2
xor eax, 0xb8348045
sub eax, ebx
xor esi, esp
dec ecx
sub esi, ecx
xor ecx, 0x2aac2937
call fcn.0040607f
add eax, 0x2e87ca
call fcn.0040218a

Function at 0x404266
Capabilities:
Hash data using murmur3

Disassembly:
inc eax
ror ecx, 0x19
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edi, esp
rol edi, 3
sub esi, 0xd8bccd66
xor edi, esi
Function at 0x4057f1
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x4083f0
and byte [ebp - 0x1f], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov byte [ebp - 0x20], 1
push dword [ebp + 8]
mov word [ebp - 0x1e], 4
mov dword [ebp - 0x10], 0x4083e0
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405842
xor eax, eax
jmp 0x405869
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x405869
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
test eax, eax
jne 0x40583e
call esi
pop esi
leave
ret 4

Function at 0x4058a3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x430250], 0x44
push eax
xor eax, eax
push 0x430250
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4058e2
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x4058e6
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret 4

Function at 0x405984
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00405d8b
mov edi, eax
cmp edi, 0xffffffff
je 0x4059c5
test byte [esp + 0x10], 1
push esi
je 0x4059a7
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x4059ad
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4059b6
xor eax, eax
inc eax
jmp 0x4059c7
test byte [esp + 0x10], 4
jne 0x4059c5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
ret 8

Function at 0x4059cc
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
invalid

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

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x42fa50
push esi
call fcn.004062ba
push esi
call fcn.00405c3a
mov edi, eax
test edi, edi
jne 0x405cb8
xor eax, eax
jmp 0x405d10
push edi
call fcn.0040654e
test byte [0x434efc], 0x80
je 0x405cd5
mov ax, word [edi]
test ax, ax
je 0x405cb4
cmp ax, 0x5c
je 0x405cb4
sub edi, esi
sar edi, 1
jmp 0x405cef
call fcn.004065fd
test eax, eax
je 0x405ce9
test byte [eax], 0x10
je 0x405cb4
push esi
call fcn.00405bdb
push esi
call sub.KERNEL32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405cdb
call fcn.00405b8f
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..wixburn
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x65ba4b92
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
mov eax, section..pdata
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5754031c
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x778ebac0
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 0x778ebafe
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x778ebaf6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x778ebb00
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x778ebae6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x778ebbd0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x778ebbe6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x778ebc01
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x779162b5
Capabilities:
Encode data using xor

Disassembly:
call 0x7791622e
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 0x7791625e
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 0x7791627a
xor edx, 0
jmp 0x77916285
xor edx, edx
jmp 0x7791629c
jmp 0x779162a8
xor eax, eax
push 0x8427d7c0
call 0x779162b5
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x779162f1
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 0x779162ca
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 0x77916308
add eax, 0
jno 0x7791630d
add esi, 0
ret 0x10
Function at 0x77917076
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 0x77917098
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 0x7791723a
cmp edi, dword [ebp + 0x10]
jb 0x7791723a
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.77916b62
inc edi
jmp 0x77917121
jmp 0x7791712e
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77916b62
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77916b62
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 0x77917182
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 0x77917166
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.779171b0
add dword [eax], 0x39
jle 0x7791718c
sub al, 0xf5
mov ch, al
call fcn.779171c5
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x77918e9d
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 0x77918eb3
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 0x77918ec4
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.77918f05
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 0x7791b271
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 0x7791b1ba
add ebx, 0
push ecx
call 0x7791b1cf
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, 0x6c167181
sub ebx, dword [0x6c1869c0]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c1869b0
call fcn.77916c99
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.779161a7
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x7791b32d
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x7791b32d
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 0x7791b2e4
mov eax, 1
lock xchg dword [0x6c1869bc], eax
push 0x3dd1fc71
call 0x7791b271
push esi
add esp, 8
cmp eax, 0
jne 0x7791b25a
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x7791b280
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x7791b295
cmp ecx, edx
cmp eax, 0
je 0x7791b2ba
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 0x7791b2a4
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.7791b2d3
dec eax
loope 0x7791b2d6
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c1869bc], 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 0x7791b30a
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x7791b31f
jmp 0x7791b32a
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x7791b218
Function at 0x77922392
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 0x77922668
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c173634
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c16a5fa
push 0xffffffffffffffff
call fcn.77919592
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 0x779223fc
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.77922414
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 0x7792265c
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x77922630