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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b069b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4d897c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], vtable.ICompressSetFinishMode.0
mov dword [esi + 8], vtable.ICompressSetInStream2.0
mov dword [esi + 0xc], vtable.ISequentialInStream.0
mov dword [esi + 0x10], vtable.ICompressSetOutStreamSize.0
mov dword [esi + 0x14], vtable.ICompressSetBufSize.0
xor ebx, ebx
mov dword [esi + 0x18], ebx
mov eax, 0x40000
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x44], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x48], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x4c], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x50], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x54], eax
push 0x48b0f7
push 0x45f840
push 4
push 4
lea eax, [esi + 0x98]
push eax
mov dword [ebp - 4], ebx
mov dword [esi], vtable.NCompress::NBcj2::CDecoder.5.0
mov dword [esi + 4], vtable.NCompress::NBcj2::CDecoder.4.0
mov dword [esi + 8], vtable.NCompress::NBcj2::CDecoder.3.0
mov dword [esi + 0xc], vtable.NCompress::NBcj2::CDecoder.2.0
mov dword [esi + 0x10], vtable.NCompress::NBcj2::CDecoder.1.0
mov dword [esi + 0x14], vtable.NCompress::NBcj2::CDecoder.0
call fcn.0049d27f
mov word [esi + 0xa8], bx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x473510
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
pop ebp
ret
Function at 0x474050
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x20]
and edi, 0x3f
mov byte [edi + esi + 0x28], 0x80
inc edi
xor ebx, ebx
cmp edi, 0x38
je 0x474088
lea esp, [esp]
and edi, 0x3f
jne 0x47407e
push esi
call fcn.00473560
add esp, 4
mov byte [esi + edi + 0x28], bl
inc edi
cmp edi, 0x38
jne 0x474070
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
bswap ecx
bswap eax
push esi
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], eax
call fcn.00473560
mov edx, dword [ebp + 0xc]
add esp, 4
xor eax, eax
mov ecx, dword [esi + eax*4 + 4]
mov edi, dword [esi + eax*4]
bswap edi
bswap ecx
mov dword [edx], edi
mov dword [edx + 4], ecx
add eax, 2
add edx, 8
cmp eax, 8
jb 0x4740b0
pop edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
pop esi
pop ebx
pop ebp
ret

Function at 0x478fb7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
push ebx
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
lea ebx, [edi + ecx*4 + 8]
je 0x47903a
push esi
mov esi, dword [ebp + 0xc]
cmp eax, 0x10
je 0x478fe3
mov cl, byte [ebx + eax]
xor byte [esi], cl
inc eax
inc esi
dec dword [ebp + 0x10]
jne 0x478fd2
cmp dword [ebp + 0x10], 0x10
jb 0x479009
mov edi, dword [ebp + 0x10]
shr edi, 4
push edi
lea ecx, [ebx + 0x10]
mov edx, esi
call dword [0x4df0c8]
shl edi, 4
add esi, edi
sub dword [ebp + 0x10], edi
mov edi, dword [ebp + 8]
push 0x10
pop eax
cmp dword [ebp + 0x10], 0
je 0x479037
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 1
lea ecx, [ebx + 0x10]
mov edx, ebx
stosd dword es:[edi], eax
call dword [0x4df0c8]
xor eax, eax
sub ebx, esi
mov cl, byte [ebx + esi]
xor byte [esi], cl
inc eax
inc esi
dec dword [ebp + 0x10]
jne 0x479028
mov edi, dword [ebp + 8]
mov dword [edi], eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x479240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x4d897c]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [ebp + 8]
push edi
push 0x40
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.0049ac70
mov edi, esi
lea edx, [ebp - 0x44]
add esp, 0xc
xor ecx, ecx
sub edi, edx
lea eax, [ebp + ecx - 0x44]
movzx edx, byte [edi + eax]
xor byte [eax], dl
movzx edx, byte [esi + ecx + 1]
xor byte [eax + 1], dl
movzx edx, byte [esi + ecx + 2]
xor byte [eax + 2], dl
movzx edx, byte [esi + ecx + 3]
xor byte [eax + 3], dl
movzx edx, byte [esi + ecx + 4]
xor byte [eax + 4], dl
add ecx, 5
cmp ecx, 0x14
jb 0x479270
lea eax, [ebp - 0xa4]
push eax
call fcn.00484400
push 0x40
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0xa4]
push edx
call fcn.00484cb0
lea eax, [ebp - 0xa4]
push ebx
push eax
call fcn.00484de0
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
call fcn.00494bb0
mov esp, ebp
pop ebp
ret

Function at 0x479760
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0x4797cc
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
push ebx
lea esp, [esp]
mov ebx, dword [ebp + 0xc]
movzx ebx, byte [edi + ebx]
xor ebx, eax
and ebx, 0xff
shr eax, 8
xor eax, dword [ebx*4 + 0x4df0e0]
inc edi
movzx ebx, al
add ecx, ebx
imul ecx, ecx, 0x8088405
inc ecx
mov ebx, ecx
shr ebx, 0x18
xor ebx, edx
and ebx, 0xff
shr edx, 8
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
xor edx, dword [ebx*4 + 0x4df0e0]
mov dword [esi + 0x10], edx
cmp edi, dword [ebp + 0x10]
jb 0x479780
pop ebx
pop edi
mov dword [esi + 0x14], 0x12345678
mov dword [esi + 0x18], 0x23456789
mov dword [esi + 0x1c], 0x34567890
xor eax, eax
pop esi
pop ebp
ret 0xc
Function at 0x479870
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [ecx + 0xc]
mov dword [ebp - 8], edx
mov edx, dword [ebp + 0x10]
push edi
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x14]
xor edi, edi
mov dword [ebp - 0xc], eax
test edx, edx
je 0x479910
mov eax, dword [ebp + 0xc]
push ebx
push esi
lea ebx, [ebx]
mov bl, byte [edi + eax]
mov edx, dword [ecx + 0x14]
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
shr eax, 8
xor al, bl
mov dl, al
mov eax, dword [ebp + 0xc]
mov byte [edi + eax], dl
mov edx, dword [ecx + 0xc]
movzx esi, bl
xor esi, edx
shr edx, 8
and esi, 0xff
mov ebx, dword [esi*4 + 0x4df0e0]
mov esi, dword [ecx + 0x14]
xor ebx, edx
movzx edx, bl
add edx, dword [ecx + 0x10]
mov dword [ecx + 0xc], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 0x10], edx
shr edx, 0x18
xor edx, esi
and edx, 0xff
shr esi, 8
xor esi, dword [edx*4 + 0x4df0e0]
mov edx, dword [ebp + 0x10]
inc edi
mov dword [ecx + 0x14], esi
cmp edi, edx
jb 0x4798a0
pop esi
pop ebx
mov eax, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0x14], eax
mov eax, edx
pop edi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x479980
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x10]
push edi
mov dword [ebp + 8], eax
mov eax, dword [edx + 0x14]
xor edi, edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [ebp + 0x10], edi
jbe 0x479a12
push ebx
push esi
mov ecx, dword [edx + 0x14]
mov esi, ecx
or esi, 2
mov eax, esi
xor eax, 1
imul eax, esi
mov esi, dword [ebp + 0xc]
shr eax, 8
xor al, byte [edi + esi]
mov esi, dword [edx + 0xc]
movzx ebx, al
xor ebx, esi
shr esi, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4df0e0]
xor ebx, esi
movzx esi, bl
add esi, dword [edx + 0x10]
mov dword [edx + 0xc], ebx
imul esi, esi, 0x8088405
inc esi
mov dword [edx + 0x10], esi
shr esi, 0x18
xor esi, ecx
shr ecx, 8
and esi, 0xff
xor ecx, dword [esi*4 + 0x4df0e0]
inc edi
mov dword [edx + 0x14], ecx
mov ecx, dword [ebp + 0xc]
mov byte [edi + ecx - 1], al
cmp edi, dword [ebp + 0x10]
jb 0x4799a5
pop esi
pop ebx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 8]
mov dword [edx + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x10], ecx
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47dad0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [eax]
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
and esi, 7
cmp eax, 5
jae 0x47daf0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
add dword [ebp + 0x10], 5
push ebx
mov ebx, dword [ebp + 8]
sub eax, 4
add ebx, eax
mov dword [ebp - 4], ebx
mov edx, dword [ebp + 8]
add edx, edi
cmp edx, ebx
jae 0x47db1d
lea esp, [esp]
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x47db1d
inc edx
cmp edx, ebx
jb 0x47db10
mov eax, dword [ebp + 8]
mov ecx, edx
sub ecx, edi
mov edi, edx
sub ecx, eax
sub edi, eax
cmp edx, ebx
jae 0x47dbf5
cmp ecx, 2
jbe 0x47db74
xor esi, esi
movzx ecx, byte [edx + 4]
lea eax, [ecx + 1]
test al, 0xfe
jne 0x47db92
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or eax, ecx
mov ecx, dword [ebp + 0x10]
add ecx, edi
add edi, 5
cmp dword [ebp + 0x18], 0
mov dword [ebp + 0xc], ecx
je 0x47db9d
add eax, ecx
jmp 0x47db9f
shr esi, cl
test esi, esi
je 0x47db39
cmp esi, 4
ja 0x47db92
cmp esi, 3
je 0x47db92
mov ecx, esi
shr ecx, 1
movzx eax, byte [ecx + edx + 1]
inc eax
test al, 0xfe
jne 0x47db39
or esi, 8
shr esi, 1
inc edi
jmp 0x47db00
sub eax, ecx
test esi, esi
je 0x47dbd3
and esi, 6
add esi, esi
add esi, esi
mov ebx, eax
mov ecx, esi
shr ebx, cl
inc ebx
test bl, 0xfe
jne 0x47dbce
mov ebx, pe_nt_image_headers32
shl ebx, cl
dec ebx
xor eax, ebx
cmp dword [ebp + 0x18], 0
je 0x47dbcb
add eax, dword [ebp + 0xc]
jmp 0x47dbce
sub eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
xor esi, esi
mov ecx, eax
shr ecx, 8
mov byte [edx + 1], al
mov byte [edx + 2], cl
mov ecx, eax
shr eax, 0x18
shr ecx, 0x10
and al, 1
neg al
mov byte [edx + 3], cl
mov byte [edx + 4], al
jmp 0x47db00
pop ebx
cmp ecx, 2
jbe 0x47dc0a
mov edx, dword [ebp + 0x14]
xor esi, esi
mov eax, edi
pop edi
mov dword [edx], esi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x14]
shr esi, cl
mov eax, edi
pop edi
mov dword [edx], esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x47ec60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call fcn.00497480
mov ecx, dword [ebp + 8]
push eax
mov dword [ecx], eax
call fcn.0047ec09
add esp, 0x1c
leave
ret
Function at 0x47ed90
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
lea ebx, [eax + 0x1c]
shr eax, 2
mov esi, eax
shr esi, 1
add esi, 3
mov dword [ecx], esi
xor esi, esi
push edi
mov dword [ebp - 8], ebx
mov dword [ebp + 8], eax
test eax, eax
je 0x47edc5
mov edi, dword [edx]
mov dword [ecx + esi*4 + 0x10], edi
inc esi
add edx, 4
cmp esi, eax
jb 0x47edb7
cmp esi, ebx
jae 0x47eeb2
mov edx, esi
sub edx, eax
lea eax, [ecx + edx*4 + 0x10]
mov dword [ebp - 4], eax
xor edx, edx
mov eax, esi
div dword [ebp + 8]
mov edi, dword [ecx + esi*4 + 0xc]
test edx, edx
jne 0x47ee41
movzx eax, byte [eax + 0x4baf40]
mov edx, edi
and edx, 0xff
movzx edx, byte [edx + str.cw]
mov ebx, edi
shr ebx, 0x18
movzx ebx, byte [ebx + str.cw]
shl edx, 8
or edx, ebx
mov ebx, edi
shr ebx, 0x10
shr edi, 8
and ebx, 0xff
movzx ebx, byte [ebx + str.cw]
and edi, 0xff
movzx edi, byte [edi + str.cw]
shl edx, 8
or edx, ebx
mov ebx, dword [ebp - 8]
shl edx, 8
xor edi, eax
or edi, edx
jmp 0x47ee98
cmp dword [ebp + 8], 6
jbe 0x47ee98
cmp edx, 4
jne 0x47ee98
mov edx, edi
shr edx, 0x10
and edx, 0xff
movzx eax, byte [edx + str.cw]
mov edx, edi
shr edx, 0x18
movzx edx, byte [edx + str.cw]
shl edx, 8
or eax, edx
mov edx, edi
shr edx, 8
and edx, 0xff
movzx edx, byte [edx + str.cw]
shl eax, 8
and edi, 0xff
movzx edi, byte [edi + str.cw]
or eax, edx
shl eax, 8
or edi, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
xor edx, edi
mov dword [ecx + esi*4 + 0x10], edx
inc esi
add eax, 4
mov dword [ebp - 4], eax
cmp esi, ebx
jb 0x47edd8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47ff64
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, eax
xor eax, eax
cmp esi, 8
jb 0x47ff85
mov edx, esi
shr edx, 3
push edi
mov edi, dword [ecx + 4]
xor edi, dword [ecx]
add ecx, 8
xor eax, edi
sub esi, 8
dec edx
jne 0x47ff74
pop edi
cmp esi, 4
jb 0x47ff8f
xor eax, dword [ecx]
add ecx, 4
and esi, 3
cmp esi, 2
jbe 0x47ffa0
movzx edx, byte [ecx]
shl edx, 0x10
xor eax, edx
inc ecx
cmp esi, 1
jbe 0x47ffae
movzx edx, byte [ecx]
shl edx, 8
xor eax, edx
inc ecx
test esi, esi
pop esi
je 0x47ffb8
movzx ecx, byte [ecx]
xor eax, ecx
ret

Function at 0x484400
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
pop ebp
ret
Function at 0x484de0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x18]
and edi, 0x3f
mov eax, edi
and eax, 3
xor ebx, ebx
shr edi, 2
xor edx, edx
cmp eax, ebx
je 0x484e03
mov edx, dword [esi + edi*4 + 0x20]
lea ecx, [eax*8]
mov eax, SysReAllocStringLen
shr eax, cl
inc edi
or eax, edx
mov dword [esi + edi*4 + 0x1c], eax
cmp edi, 0xe
je 0x484e3d
lea ecx, [ecx]
and edi, 0xf
jne 0x484e33
push esi
lea ecx, [esi + 0x20]
push ecx
push esi
call fcn.00484440
add esp, 0xc
mov dword [esi + edi*4 + 0x20], ebx
inc edi
cmp edi, 0xe
jne 0x484e20
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
shld ecx, eax, 3
add eax, eax
push esi
lea edx, [esi + 0x20]
add eax, eax
push edx
add eax, eax
push esi
mov dword [esi + 0x58], ecx
mov dword [esi + 0x5c], eax
call fcn.00484440
mov ecx, dword [ebp + 0xc]
add esp, 0xc
xor eax, eax
mov edx, dword [esi + eax*4]
bswap edx
mov dword [ecx], edx
inc eax
add ecx, 4
cmp eax, 5
jb 0x484e66
pop edi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
pop ebx
pop ebp
ret

Function at 0x484f50
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x18]
and edi, 0xf
mov dword [esi + edi*4 + 0x20], SysReAllocStringLen
inc edi
xor ebx, ebx
cmp edi, 0xe
je 0x484f8d
nop
and edi, 0xf
jne 0x484f83
push esi
lea eax, [esi + 0x20]
push eax
push esi
call fcn.00484440
add esp, 0xc
mov dword [esi + edi*4 + 0x20], ebx
inc edi
cmp edi, 0xe
jne 0x484f70
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
shld ecx, eax, 5
mov dword [esi + 0x58], ecx
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [esi + 0x20]
push edx
shl eax, 5
push esi
mov dword [esi + 0x5c], eax
call fcn.00484440
add esp, 0xc
pop edi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
pop ebx
pop ebp
ret
Function at 0x484fe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4d897c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
mov edi, ecx
call fcn.0049ac70
mov esi, dword [ebp + 0xc]
add esp, 0xc
cmp esi, 0x40
jbe 0x48502d
push edi
call fcn.00484400
push esi
push ebx
push edi
call fcn.00484cb0
lea ecx, [ebp - 0x44]
push ecx
push edi
call fcn.00484de0
add esp, 0x18
jmp 0x48503f
test esi, esi
je 0x48503f
push esi
lea edx, [ebp - 0x44]
push ebx
push edx
call fcn.00498220
add esp, 0xc
xor eax, eax
xor byte [ebp + eax - 0x44], 0x36
inc eax
cmp eax, 0x40
jb 0x485041
push edi
call fcn.00484400
push 0x40
lea eax, [ebp - 0x44]
push eax
push edi
call fcn.00484cb0
add esp, 0x10
xor eax, eax
xor byte [ebp + eax - 0x44], 0x6a
inc eax
cmp eax, 0x40
jb 0x485063
add edi, 0x60
push edi
call fcn.00484400
push 0x40
lea ecx, [ebp - 0x44]
push ecx
push edi
call fcn.00484cb0
mov ecx, dword [ebp - 4]
add esp, 0x10
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00494bb0
mov esp, ebp
pop ebp
ret 8

Function at 0x485110
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x4d897c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
cmp esi, 0x40
jbe 0x4851b4
lea eax, [ebp - 0xb8]
push eax
call fcn.00484400
push esi
lea ecx, [ebp - 0xb8]
push edi
push ecx
call fcn.00484cb0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0xb8]
push eax
call fcn.00484de0
add esp, 0x18
xor eax, eax
lea ebx, [ebx]
mov ecx, dword [ebp + eax - 0x18]
bswap ecx
mov dword [ebp + eax - 0x58], ecx
add eax, 4
cmp eax, 0x14
jb 0x4851a0
jmp 0x4851ee
xor eax, eax
test esi, esi
je 0x4851ee
lea ebx, [ebx]
mov ebx, eax
and ebx, 3
mov ecx, 3
sub ecx, ebx
movzx ebx, byte [edi + eax]
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov edx, eax
shl ebx, cl
shr edx, 2
lea edx, [ebp + edx*4 - 0x58]
inc eax
or dword [edx], ebx
cmp eax, esi
jb 0x4851c0
mov ebx, dword [ebp - 0xbc]
xor eax, eax
xor dword [ebp + eax*4 - 0x58], 0x36363636
inc eax
cmp eax, 0x10
jb 0x4851f0
push ebx
call fcn.00484400
push 0x10
lea eax, [ebp - 0x58]
push eax
push ebx
call fcn.00484f00
add esp, 0x10
xor eax, eax
jmp 0x485220
xor dword [ebp + eax*4 - 0x58], 0x6a6a6a6a
inc eax
cmp eax, 0x10
jb 0x485220
lea esi, [ebx + 0x60]
push esi
call fcn.00484400
push 0x10
lea ecx, [ebp - 0x58]
push ecx
push esi
call fcn.00484f00
mov ecx, dword [ebp - 4]
add esp, 0x10
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00494bb0
mov esp, ebp
pop ebp
ret 8
Function at 0x4852c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x4d897c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 5
lea eax, [ebp - 0x44]
mov edi, ecx
push eax
push edi
call fcn.00484eb0
push 5
lea ecx, [ebp - 0x84]
push ecx
lea ebx, [edi + 0x60]
push ebx
call fcn.00484eb0
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], edx
mov edx, dword [esi + 0xc]
add esp, 0x18
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
test eax, eax
je 0x485370
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0x44]
push edx
push edi
call fcn.00484440
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x84]
push ecx
push ebx
call fcn.00484440
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
xor dword [esi], edx
xor dword [esi + 4], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
xor dword [esi + 8], ecx
xor dword [esi + 0xc], edx
xor dword [esi + 0x10], eax
add esp, 0x18
dec dword [ebp - 0x88]
jne 0x485326
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00494bb0
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi + 0x18]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0xc], eax
xor eax, eax
push ebx
xor ebx, ebx
mov word [esi], ax
cmp byte [edi + 1], bl
je 0x487b74
mov al, byte [edi + 2]
mov byte [ebp - 1], al
lea eax, [edi + 0x20]
push eax
lea ecx, [esi + 0x20]
call fcn.00465135
movzx eax, byte [edi + 4]
push eax
mov ecx, esi
call fcn.00487ae2
mov eax, dword [edi + 0x10]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x64], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x6c], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x74], eax
mov al, byte [edi + 3]
mov byte [esi + 0x78], al
jmp 0x487b7e
mov ecx, esi
call fcn.00478967
mov byte [ebp - 1], al
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [esi + 0x40], ecx
mov eax, dword [eax + 0x3c]
mov dword [esi + 0x44], eax
mov byte [esi + 5], bl
mov dword [esi + 0x38], 0x3f
cmp byte [ebp - 1], bl
jne 0x487baa
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x24], bl
je 0x487baa
or word [esi], 1
jmp 0x487bd0
mov eax, 0xfffe
and word [esi], ax
cmp byte [ebp - 1], bl
je 0x487bd0
xor eax, eax
mov byte [esi + 4], 0x14
mov word [esi + 2], ax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x1c], ebx
pop ebx
leave
ret
Function at 0x487bd3
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 8]
cmp dword [eax], 0
jne 0x487be9
push eax
call fcn.0047ecf2
pop ecx
test eax, eax
jne 0x487bfc
lea eax, [esi + 0xc]
cmp dword [eax], 0
je 0x487bf5
xor eax, eax
pop esi
ret
push eax
call fcn.0047ecf2
pop ecx
pop esi
ret