joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ae1c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret

Function at 0x41db52
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
and dword [eax + 0x6af78], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af70], 0
jne 0x41db86
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af78], 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af70], 0x10000
mov eax, dword [ebp + 8]
and dword [eax + 0x6af6c], 0
push 0x1fffc
push 0
mov eax, dword [ebp + 8]
add eax, 0x4af70
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [ebp + 0xc]
movzx eax, word [eax*8 + 0x42a5b2]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af98], eax
mov eax, dword [ebp + 0xc]
movzx eax, word [eax*8 + 0x42a5b0]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af9c], eax
mov eax, dword [ebp + 0xc]
movzx eax, word [eax*8 + 0x42a5b4]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6afa0], eax
mov eax, dword [ebp + 0xc]
movzx eax, word [eax*8 + 0x42a5b6]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af94], eax
cmp dword [ebp + 0xc], 2
jg 0x41dc0f
mov eax, dword [ebp + 0x10]
movzx eax, word [eax]
or eax, 4
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
jmp 0x41dc24
cmp dword [ebp + 0xc], 8
jl 0x41dc24
mov eax, dword [ebp + 0x10]
movzx eax, word [eax]
or eax, 2
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
mov eax, dword [ebp + 8]
and dword [eax + 0x6af84], 0
mov eax, dword [ebp + 8]
and dword [eax + 0x6af74], 0
mov dword [ebp - 4], 0x8000
mov eax, dword [ebp - 4]
shl eax, 1
mov dword [ebp - 4], eax
push dword [ebp - 4]
mov eax, dword [ebp + 8]
add eax, 0x1af70
push eax
push dword [ebp + 8]
mov eax, dword [ebp + 8]
call dword [eax + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af90], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af90], 0
je 0x41dc80
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af90], 0xffffffff
jne 0x41dc99
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af8c], 1
mov eax, dword [ebp + 8]
and dword [eax + 0x6af90], 0
jmp 0x41dd03
mov eax, dword [ebp + 8]
and dword [eax + 0x6af8c], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af90], 0x106
jae 0x41dcbb
push dword [ebp + 8]
call fcn.0041dfb5
pop ecx
mov eax, dword [ebp + 8]
and dword [eax + 0x6af7c], 0
and dword [ebp - 4], 0
jmp 0x41dcd2
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jae 0x41dd03
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x6af7c]
shl eax, 5
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movzx ecx, byte [ecx + 0x1af70]
xor eax, ecx
and eax, 0x7fff
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af7c], eax
jmp 0x41dccb
leave
ret
Function at 0x41f7f8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x41f808
xor eax, eax
jmp 0x41f98b
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x41f951
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42a600]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42a600]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42a600]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42a600]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42a600]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42a600]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42a600]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42a600]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x41f811
cmp dword [ebp + 0x10], 0
je 0x41f985
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42a600]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
dec eax
mov dword [ebp + 0x10], eax
jne 0x41f957
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x41f98d
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, dword [ecx]
and eax, 0xff
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42a600]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
and eax, 0xff
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 4]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
imul eax, eax, 0x8088405
inc eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
shr eax, 0x18
mov ecx, dword [ebp + 8]
xor eax, dword [ecx + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42a600]
mov eax, dword [ebp + 8]
mov dword [eax + 8], ecx
pop ebp
ret
Function at 0x420091
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x2d]
test eax, eax
je 0x420162
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x3c], 0
je 0x4200dc
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x40]
cmp eax, dword [ebp + 0xc]
jae 0x4200dc
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
call fcn.00412b80
pop ecx
mov eax, dword [ebp - 0x18]
and dword [eax + 0x3c], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x3c], 0
jne 0x420106
mov eax, dword [ebp + 0xc]
shl eax, 1
push eax
call fcn.00412b6b
pop ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x3c], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x40], ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ebp - 0x18]
push dword [eax + 0x3c]
call sub.msvcrt.dll_memcpy
add esp, 0xc
and dword [ebp - 8], 0
jmp 0x420127
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x420159
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 8]
movzx eax, byte [eax + ecx]
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x30
push eax
call fcn.0041fa30
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ebp - 8]
mov byte [ecx + edx], al
jmp 0x420120
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x20], 0
je 0x4201bb
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
cmp eax, dword [ecx + 0x28]
jb 0x42018a
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x14], 0x30000
xor eax, eax
jmp 0x4201ed
push dword [ebp + 0xc]
push dword [ebp - 4]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x20]
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx + 0x24]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp + 0xc]
jmp 0x4201ed
mov eax, dword [ebp - 0x18]
cmp dword [eax + 4], 0
je 0x4201e1
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
push dword [ebp - 4]
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0xc]
jmp 0x4201ed
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x14], 0x1000000
xor eax, eax
leave
ret 8
Function at 0x420708
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x84], 0
je 0x4207c5
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ecx + 0x88]
jb 0x42073c
xor eax, eax
jmp 0x42082f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + 0x88]
sub eax, dword [ecx + 0x8c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jbe 0x42075f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x84]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0x8c]
push eax
push dword [ebp + 8]
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x8c]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x8c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x74], eax
push dword [ebp - 4]
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push dword [eax + 0x78]
call fcn.0041f7f8
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x78], eax
mov eax, dword [ebp - 4]
jmp 0x42082f
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x7c], 0
je 0x420823
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push dword [eax + 0x7c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4207f3
xor eax, eax
jmp 0x42082f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x74], eax
push dword [ebp - 0xc]
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push dword [eax + 0x78]
call fcn.0041f7f8
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x78], eax
mov eax, dword [ebp - 0xc]
jmp 0x42082f
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], 0x1000000
xor eax, eax
leave
ret 8

Function at 0x42236f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42fb80]
jne 0x422379
repz ret
jmp fcn.00422c8b
Function at 0x42305b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42fb80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00422b07
and dword [ebp - 0x14], 0
cmp dword [0x642460], 0
mov dword [ebp - 0x18], eax
jne 0x42310e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4231b6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4231b6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x642460], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x642464], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x642468], eax
call edi
push eax
call esi
mov dword [0x642470], eax
test eax, eax
je 0x42310e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x64246c], eax
mov eax, dword [0x64246c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x423167
cmp dword [0x642470], ecx
je 0x423167
push eax
call esi
push dword [0x642470]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x423167
test ebx, ebx
je 0x423167
call edi
test eax, eax
je 0x42315e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42315e
test byte [ebp - 8], 1
jne 0x423167
or dword [ebp + 0x10], 0x200000
jmp 0x42319a
mov eax, dword [0x642464]
cmp eax, dword [ebp - 0x18]
je 0x42319a
push eax
call esi
test eax, eax
je 0x42319a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42319a
mov eax, dword [0x642468]
cmp eax, dword [ebp - 0x18]
je 0x42319a
push eax
call esi
test eax, eax
je 0x42319a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x642460]
call esi
test eax, eax
je 0x4231b6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4231b8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042236f
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x279e3850
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2e1202ea
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x1004d41c
Capabilities:
Encode data using xor

Disassembly:
call 0x1004d395
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 0x1004d3c5
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 0x1004d3e1
xor edx, 0
jmp 0x1004d3ec
xor edx, edx
jmp 0x1004d403
jmp 0x1004d40f
xor eax, eax
push 0x8427d7c0
call 0x1004d41c
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1004d458
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 0x1004d431
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 0x1004d46f
add eax, 0
jno 0x1004d474
add esi, 0
ret 0x10

Function at 0x1004e1dd
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 0x1004e1ff
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 0x1004e3a1
cmp edi, dword [ebp + 0x10]
jb 0x1004e3a1
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.1004dcc9
inc edi
jmp 0x1004e288
jmp 0x1004e295
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1004dcc9
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1004dcc9
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 0x1004e2e9
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 0x1004e2cd
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1004e317
add dword [eax], 0x39
jle 0x1004e2f3
sub al, 0xf5
mov ch, al
call fcn.1004e32c
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x10050004
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 0x1005001a
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 0x1005002b
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1005006c
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 0x100523d8
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 0x10052321
add ebx, 0
push ecx
call 0x10052336
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, 0x73626171
sub ebx, dword [0x736459b0]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x736459a0
call fcn.1004de00
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1004d30e
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x10052494
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x10052494
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 0x1005244b
mov eax, 1
lock xchg dword [0x736459ac], eax
push 0x3dd1fc71
call 0x100523d8
push esi
add esp, 8
cmp eax, 0
jne 0x100523c1
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100523e7
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100523fc
cmp ecx, edx
cmp eax, 0
je 0x10052421
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 0x1005240b
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1005243a
dec eax
loope 0x1005243d
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x736459ac], 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 0x10052471
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x10052486
jmp 0x10052491
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1005237f
Function at 0x100594f9
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 0x100597cf
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x73632624
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x736295ea
push 0xffffffffffffffff
call fcn.100506f9
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 0x10059563
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1005957b
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 0x100597c3
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x10059797
Function at 0x10068fc9
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 0x10068feb
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10068feb
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10068feb
ret
cmp word [ebx + 4], 0x14c
jne 0x10068feb
test word [ebx + 0x16], 2
je 0x10068feb
test word [ebx + 0x16], 0x100
je 0x10068feb
cmp word [ebx + 0x18], 0x10b
jne 0x10068feb
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10068feb
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10069077
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1006900b
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1004ff56
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10068feb
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 0x10069077
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 0x10068feb
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10068feb
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10068feb
ret
cmp word [ebx + 4], 0x14c
jne 0x10068feb
test word [ebx + 0x16], 2
je 0x10068feb
test word [ebx + 0x16], 0x100
je 0x10068feb
cmp word [ebx + 0x18], 0x10b
jne 0x10068feb
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10068feb
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10069077
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1006900b
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1004ff56
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10068feb
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