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

Disassembly:
push ebp
sub esp, 0x3c
mov ebp, eax
call fcn.00449da4
mov byte [esp + 0xc], 1
lea eax, [esp + 0x10]
mov edx, ebp
mov ecx, 1
call fcn.0045169d
test eax, eax
jne 0x449d8b
mov edx, dword [esp + 0x14]
mov dword [0x7d4680], edx
mov eax, dword [edx + 8]
mov dword [0x7d466c], eax
mov ebp, dword [edx + 0xc]
mov dword [0x7d4670], ebp
mov ecx, dword [edx + 0x10]
mov dword [0x7d4674], ecx
mov ecx, dword [edx + 0x14]
mov dword [0x7d4678], ecx
mov ecx, dword [edx + 0x18]
mov dword [0x7d467c], ecx
lea ecx, [edx + 0x20]
mov dword [0x7d4684], ecx
lea ecx, [eax + eax]
add ecx, ecx
lea ebp, [edx + ecx + 0x20]
mov dword [0x7d4688], ebp
lea ecx, [eax + eax]
add ecx, ecx
add ecx, ecx
lea edx, [edx + ecx + 0x20]
mov dword [0x7d468c], edx
test eax, eax
jle 0x449d84
xor eax, eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
jmp 0x449cf9
mov ebp, dword [0x7d4688]
lea ecx, [eax + eax]
mov edi, dword [ebp + eax*4]
test edi, edi
jle 0x449d34
xor ebp, ebp
mov esi, dword [0x7d4680]
mov edi, dword [0x7d4684]
add esi, dword [edi + ecx*2]
mov edx, ebp
and edx, 0xf
add edx, 0x10
xor byte [esi + ebp], dl
mov edx, dword [0x7d4688]
mov edi, dword [edx + ecx*2]
inc ebp
cmp ebp, edi
jl 0x449d06
mov edx, dword [0x7d468c]
cmp dword [edx + ecx*2], 0
jle 0x449d6f
xor ebp, ebp
jmp 0x449d47
mov edx, dword [0x7d4688]
mov edi, dword [edx + ecx*2]
mov esi, dword [0x7d4680]
mov edx, dword [0x7d4684]
add esi, dword [edx + ecx*2]
add esi, edi
mov edx, ebp
and edx, 0xf
add edx, 0x10
xor byte [esi + ebp], dl
mov edx, dword [0x7d468c]
inc ebp
cmp ebp, dword [edx + ecx*2]
jl 0x449d3e
inc eax
cmp eax, dword [0x7d466c]
jl 0x449cf3
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
xor eax, eax
add esp, 0x3c
pop ebp
ret
push ebp
push 1
push 0x1964a
call fcn.00456770
mov eax, 0xffffffff
add esp, 0x48
pop ebp
ret
Function at 0x44ead8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push ebx
push esi
mov ecx, edx
mov edx, eax
mov esi, ecx
shr esi, 2
and ecx, 3
test esi, esi
je 0x44eb5f
je 0x44eb8e
mov eax, 0xffffffff
xor ebx, ebx
mov dword [esp], edi
movzx edi, byte [edx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5861a0]
movzx edi, byte [edx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5861a0]
movzx edi, byte [edx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5861a0]
movzx edi, byte [edx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5861a0]
add edx, 4
inc ebx
cmp ebx, esi
jb 0x44eafb
mov edi, dword [esp]
jmp 0x44eb64
mov eax, 0xffffffff
test ecx, ecx
je 0x44eb88
je 0x44eb88
xor ebx, ebx
inc edx
movzx esi, byte [edx - 1]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x5861a0]
inc ebx
cmp ebx, ecx
jb 0x44eb6c
not eax
pop ecx
pop ebx
pop esi
ret
mov eax, 0xffffffff
jmp 0x44eb64
Function at 0x4502fc
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x108
lea eax, [esp]
push eax
push 0
push 0x7d9aec
push 0x64ec60
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x45032c
mov byte [0x7d3fa0], 1
xor eax, eax
add esp, 0x108
ret
lea eax, [esp]
push 0x7d9af0
push eax
call fcn.00459852
add esp, 8
test eax, eax
je 0x45035b
push eax
call fcn.00459bb8
pop ecx
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
add esp, 0x108
ret
mov byte [0x7d3fa0], 1
xor eax, eax
add esp, 0x108
ret
Function at 0x453640
Capabilities:
Get system information on windows

Disassembly:
push edi
sub esp, 0x24
call fcn.0044e0b0
mov byte [0x7d3fdc], al
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movsx eax, byte [esp + 0x14]
mov byte [0x5866f8], al
movsx edi, byte [0x5866f0]
cmp edi, eax
jg 0x45366f
mov edi, eax
movsx edx, byte [0x5866ec]
cmp edx, edi
jl 0x45367c
mov edx, edi
mov byte [0x5866f4], dl
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 8
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x7d407c], eax
push 0xa
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x7d4080], eax
push 0xc
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x7d4084], eax
push 0x74
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x7d4088], eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x7d4088]
cmp eax, 0x3c
jae 0x4536e1
mov dword [0x7d4088], 0xffffffff
call fcn.00411f18
xor eax, eax
add esp, 0x24
pop edi
ret

Function at 0x45653c
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
call dword [sym.imp.WINMM.dll_joyGetNumDevs]
test eax, eax
jg 0x456550
mov dword [0x7d3df8], eax
xor eax, eax
pop ecx
ret
mov edx, 0x10
cmp eax, 0x10
jl 0x45655c
mov eax, edx
mov dword [0x7d3df8], eax
xor eax, eax
mov dword [esp], ebx
mov ebx, eax
lea edx, [ebx + 0x779a40]
push 0x34
push edx
call dword [0x5a3440]
add esp, 8
mov dword [ebx + 0x779a40], 0x34
mov dword [ebx + 0x779a44], 0x83
add ebx, 0x34
cmp ebx, 0x340
jl 0x456568
mov ebx, dword [esp]
mov dword [0x779d80], 1
mov dword [0x779d84], 2
mov dword [0x779d88], 4
mov dword [0x779d8c], 8
mov dword [0x779d90], 0x10
mov dword [0x779d94], 0x20
mov dword [0x779d98], 0x40
mov dword [0x779d9c], 0x80
mov dword [0x779da0], 0x100
mov dword [0x779da4], 0x200
mov dword [0x779da8], 0x400
mov dword [0x779dac], 0x800
mov dword [0x779db0], 0x1000
mov dword [0x779db4], 0x2000
mov dword [0x779db8], 0x4000
mov dword [0x779dbc], 0x8000
mov dword [0x779dc0], 0x10000
mov dword [0x779dc4], 0x20000
mov dword [0x779dc8], 0x40000
mov dword [0x779dcc], 0x80000
mov dword [0x779dd0], 0x100000
mov dword [0x779dd4], 0x200000
mov dword [0x779dd8], 0x400000
mov dword [0x779ddc], 0x800000
mov dword [0x779de0], 0x1000000
mov dword [0x779de4], 0x2000000
mov dword [0x779de8], 0x4000000
mov dword [0x779dec], 0x8000000
mov dword [0x779df0], 0x10000000
mov dword [0x779df4], 0x20000000
mov dword [0x779df8], 0x40000000
mov dword [0x779dfc], 0x80000000
mov eax, 1
pop ecx
ret

Function at 0x456a5c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x5b4800], eax
mov eax, 1
mov ecx, dword [eax*4 + 0x5b47fc]
mov edx, ecx
shr edx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x5b4800], edx
inc eax
cmp eax, 0x270
jl 0x456a6a
mov dword [0x5866d8], eax
ret
Function at 0x4618f2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x589d40
cmp edx, dword [eax]
je 0x461914
add eax, 8
inc ecx
cmp eax, 0x589dd0
jl 0x461905
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x589d40]
jne 0x461a42
mov eax, dword [0x7d4938]
cmp eax, 1
je 0x461a1c
test eax, eax
jne 0x461945
cmp dword [0x587314], 1
je 0x461a1c
cmp edx, 0xfc
je 0x461a42
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x46197c
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00462f00
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0045ed60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4619bf
lea eax, [ebp - 0x1a4]
push eax
call fcn.0045ed60
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x562be8
push edi
call fcn.00462d80
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00462f00
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00462f10
lea eax, [ebp - 0xa0]
push 0x562bc8
push eax
call fcn.00462f10
push dword [esi + 0x589d44]
lea eax, [ebp - 0xa0]
push eax
call fcn.00462f10
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0046615b
add esp, 0x2c
pop edi
jmp 0x461a42
lea eax, [ebp + 8]
lea esi, [esi + 0x589d44]
push 0
push eax
push dword [esi]
call fcn.0045ed60
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x478e2c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push ebx
not eax
test ecx, ecx
je 0x478e53
test dl, 3
je 0x478e53
movzx ebx, byte [edx]
xor ebx, eax
movzx ebx, bl
shr eax, 8
add edx, 1
xor eax, dword [ebx*4 + 0x5640e0]
add ecx, 0xffffffff
jne 0x478e34
cmp ecx, 0x20
jb 0x47903a
xor eax, dword [edx]
movzx ebx, al
mov ebx, dword [ebx*4 + 0x564ce0]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [esi*4 + 0x5648e0]
mov esi, eax
shr esi, 0x10
and esi, 0xff
xor ebx, dword [esi*4 + 0x5644e0]
shr eax, 0x18
add ecx, 0xffffffe0
xor ebx, dword [eax*4 + 0x5640e0]
xor ebx, dword [edx + 4]
movzx eax, bl
mov eax, dword [eax*4 + 0x564ce0]
mov esi, ebx
shr esi, 8
and esi, 0xff
xor eax, dword [esi*4 + 0x5648e0]
mov esi, ebx
shr esi, 0x10
and esi, 0xff
shr ebx, 0x18
xor eax, dword [esi*4 + 0x5644e0]
xor eax, dword [ebx*4 + 0x5640e0]
xor eax, dword [edx + 8]
movzx ebx, al
mov esi, eax
shr esi, 8
mov ebx, dword [ebx*4 + 0x564ce0]
and esi, 0xff
xor ebx, dword [esi*4 + 0x5648e0]
mov esi, eax
shr esi, 0x10
and esi, 0xff
xor ebx, dword [esi*4 + 0x5644e0]
shr eax, 0x18
xor ebx, dword [eax*4 + 0x5640e0]
xor ebx, dword [edx + 0xc]
movzx eax, bl
mov eax, dword [eax*4 + 0x564ce0]
mov esi, ebx
shr esi, 8
and esi, 0xff
xor eax, dword [esi*4 + 0x5648e0]
mov esi, ebx
shr esi, 0x10
and esi, 0xff
shr ebx, 0x18
xor eax, dword [esi*4 + 0x5644e0]
xor eax, dword [ebx*4 + 0x5640e0]
xor eax, dword [edx + 0x10]
movzx ebx, al
mov esi, dword [ebx*4 + 0x564ce0]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x5648e0]
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
shr eax, 0x18
xor esi, dword [ebx*4 + 0x5644e0]
xor esi, dword [eax*4 + 0x5640e0]
xor esi, dword [edx + 0x14]
mov eax, esi
and eax, 0xff
mov ebx, esi
shr ebx, 8
mov eax, dword [eax*4 + 0x564ce0]
movzx ebx, bl
xor eax, dword [ebx*4 + 0x5648e0]
mov ebx, esi
shr ebx, 0x10
movzx ebx, bl
xor eax, dword [ebx*4 + 0x5644e0]
shr esi, 0x18
xor eax, dword [esi*4 + 0x5640e0]
xor eax, dword [edx + 0x18]
movzx ebx, al
mov ebx, dword [ebx*4 + 0x564ce0]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [esi*4 + 0x5648e0]
mov esi, eax
shr esi, 0x10
and esi, 0xff
shr eax, 0x18
xor ebx, dword [esi*4 + 0x5644e0]
xor ebx, dword [eax*4 + 0x5640e0]
xor ebx, dword [edx + 0x1c]
movzx eax, bl
mov esi, ebx
shr esi, 8
mov eax, dword [eax*4 + 0x564ce0]
and esi, 0xff
xor eax, dword [esi*4 + 0x5648e0]
mov esi, ebx
shr esi, 0x10
and esi, 0xff
xor eax, dword [esi*4 + 0x5644e0]
shr ebx, 0x18
add edx, 0x20
xor eax, dword [ebx*4 + 0x5640e0]
cmp ecx, 0x20
jae 0x478e5c
cmp ecx, 4
jb 0x479088
xor eax, dword [edx]
movzx esi, al
mov ebx, dword [esi*4 + 0x564ce0]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [esi*4 + 0x5648e0]
mov esi, eax
shr esi, 0x10
and esi, 0xff
xor ebx, dword [esi*4 + 0x5644e0]
shr eax, 0x18
mov esi, eax
mov eax, ebx
xor eax, dword [esi*4 + 0x5640e0]
add ecx, 0xfffffffc
add edx, 4
cmp ecx, 4
jae 0x47903f
test ecx, ecx
je 0x4790a6
movzx ebx, byte [edx]
xor ebx, eax
movzx ebx, bl
shr eax, 8
add edx, 1
xor eax, dword [ebx*4 + 0x5640e0]
add ecx, 0xffffffff
jne 0x47908c
not eax
pop ebx
pop esi
ret
Function at 0x47e8e8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x14]
cmp eax, 0xca
je 0x47e996
cmp eax, 0xcb
je 0x47e92b
cmp eax, 0xcc
je 0x47e921
push ebx
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [ebx]
call dword [eax]
pop ecx
mov eax, ebx
call fcn.0047e9c8
pop ecx
pop ebx
ret
mov edx, dword [ebx + 0x190]
movzx ecx, byte [edx + 0x10]
test ecx, ecx
jne 0x47e944
mov edx, dword [ebx + 0x7c]
mov dword [ebx + 0x84], edx
jmp 0x47e921
mov edx, dword [ebx + 8]
test edx, edx
je 0x47e94f
push ebx
call dword [edx]
pop ecx
push ebx
mov edx, dword [ebx + 0x190]
call dword [edx]
pop ecx
test eax, eax
je 0x47e9c0
cmp eax, 2
je 0x47e939
mov edx, dword [ebx + 8]
test edx, edx
je 0x47e94f
cmp eax, 3
je 0x47e973
cmp eax, 1
jne 0x47e94b
mov ecx, dword [edx + 4]
add ecx, 1
mov dword [edx + 4], ecx
mov edx, dword [ebx + 8]
mov eax, dword [edx + 8]
cmp ecx, eax
jl 0x47e947
mov ecx, dword [ebx + 0x11c]
add eax, ecx
mov dword [edx + 8], eax
mov edx, dword [ebx + 8]
jmp 0x47e947
push ebx
call fcn.00481720
pop ecx
movzx edx, byte [ebx + 0x40]
test edx, edx
jne 0x47e9b1
mov dword [ebx + 0x14], 0xcb
jmp 0x47e92b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ecx
pop ebx
ret
xor eax, eax
pop ecx
pop ebx
ret

Function at 0x47e9c8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
sub esp, 8
mov ebx, eax
mov edx, dword [ebx + 0x14]
cmp edx, 0xcc
je 0x47e9f1
push ebx
mov edx, dword [ebx + 0x180]
call dword [edx]
pop ecx
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x14], 0xcc
mov edx, dword [ebx + 0x180]
movzx ecx, byte [edx + 8]
test ecx, ecx
je 0x47ea8a
mov eax, dword [ebx + 0x78]
mov dword [esp], esi
mov dword [esp + 4], edi
lea ecx, [ebx + 0x78]
mov esi, ecx
jmp 0x47ea16
xor eax, eax
cmp eax, dword [ebx + 0x60]
jae 0x47ea5e
mov edx, dword [ebx + 8]
test edx, edx
je 0x47ea38
push ebx
mov dword [edx + 4], eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0x60]
mov dword [edx + 8], eax
mov edi, dword [ebx + 8]
call dword [edi]
pop ecx
mov eax, dword [ebx + 0x78]
mov edx, dword [ebx + 0x184]
mov edi, eax
xor eax, eax
push eax
push esi
push eax
push ebx
call dword [edx + 4]
add esp, 0x10
mov eax, dword [ebx + 0x78]
cmp eax, edi
je 0x47eaab
cmp eax, dword [ebx + 0x60]
jb 0x47ea1b
mov edx, dword [ebx + 0x180]
push ebx
call dword [edx + 4]
push ebx
mov eax, dword [ebx + 0x180]
call dword [eax]
add esp, 8
mov edx, dword [ebx + 0x180]
mov dword [ebx + 0x78], 0
movzx eax, byte [edx + 8]
test eax, eax
jne 0x47ea14
mov esi, dword [esp]
mov edi, dword [esp + 4]
movzx edx, byte [ebx + 0x41]
test edx, edx
je 0x47ea99
mov edx, 0xce
jmp 0x47ea9e
mov edx, 0xcd
mov dword [ebx + 0x14], edx
mov eax, 1
add esp, 8
pop ebx
ret
mov esi, dword [esp]
mov edi, dword [esp + 4]
xor eax, eax
add esp, 8
pop ebx
ret
Function at 0x4834fc
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push edi
push esi
push ebp
sub esp, 0x20
mov edi, eax
mov esi, dword [edi + 0x1a8]
mov edx, dword [edi + 0x4c]
cmp edx, 1
je 0x483651
mov byte [esi + 0x1c], 0
xor ebp, ebp
push dword [edi + 0x64]
mov ecx, dword [edi + 4]
lea edx, [ebp + 0x100]
push edx
push 1
push edi
call dword [ecx + 8]
add esp, 0x10
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov edx, dword [edi + 0x64]
test edx, edx
jle 0x48364a
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp], ebx
xor edx, edx
mov ebx, eax
mov dword [esp + 4], edx
jmp 0x483563
mov edx, dword [esp + 0xc]
mov ebx, dword [edx + 0x18]
mov edi, dword [esp + 0xc]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 8]
mov edi, dword [edi + ebp*4 + 0x20]
mov eax, ecx
cdq
idiv edi
lea ebp, [ebp + ebp]
test esi, esi
mov ecx, eax
je 0x483590
mov edx, dword [esp + 0xc]
add dword [ebx + ebp*2], 0xff
mov ebx, dword [edx + 0x18]
mov ebp, dword [ebx + ebp*2]
lea ebx, [edi + edi - 2]
mov dword [esp + 0x1c], ebx
lea eax, [edi + 0xfe]
cdq
idiv ebx
xor esi, esi
mov edx, eax
xor eax, eax
mov ebx, eax
mov eax, edi
mov edi, edx
cmp esi, edi
jle 0x4835ec
mov dword [esp + 0x18], eax
mov edx, ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
shl edx, 9
sub edx, ebx
sub edx, ebx
lea edi, [eax + edx + 0xfe]
add edi, 0x1fe
add ebx, 1
mov eax, edi
cdq
idiv ecx
cmp esi, eax
jg 0x4835d0
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x18]
mov edx, ecx
imul edx, ebx
mov byte [esi + ebp], dl
add esi, 1
cmp esi, 0xff
jle 0x4835b0
mov edx, dword [esp + 8]
test edx, edx
je 0x48362f
mov ebx, 1
movzx edx, byte [ebp]
mov esi, ebp
sub esi, ebx
mov byte [esi], dl
movzx edx, byte [ebp + 0xff]
mov byte [ebx + ebp + 0xff], dl
add ebx, 1
cmp ebx, 0xff
jle 0x48360c
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x10]
add edx, 1
cmp edx, dword [ebx + 0x64]
mov dword [esp + 4], edx
jl 0x48355c
mov ebx, dword [esp]
add esp, 0x20
pop ebp
pop esi
pop edi
ret
mov byte [esi + 0x1c], 1
mov ebp, 0x1fe
jmp 0x48351c
Function at 0x4cf48e
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
xor eax, eax
mov edi, edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, dword [ecx + 4]
test esi, esi
je 0x4cf4af
mov eax, dword [ecx]
mov eax, dword [eax + 8]
add eax, esi
jmp 0x4cf4b1
xor eax, eax
mov dword [edx], eax
movzx eax, word [ecx + 8]
mov dword [edx + 4], eax
movzx eax, word [ecx + 0xa]
mov dword [edx + 8], eax
movzx eax, word [ecx + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 0x18]
movzx eax, word [eax]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0x18]
movzx eax, word [eax + 2]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 0x18]
movzx eax, word [eax + 4]
mov dword [edx + 0x18], eax
mov eax, dword [ecx + 0x18]
movzx eax, word [eax + 6]
mov dword [edx + 0x1c], eax
mov eax, dword [ecx + 0x18]
movzx eax, word [eax + 8]
mov dword [edx + 0x20], eax
mov eax, dword [ecx + 0x18]
movzx eax, word [eax + 0xa]
mov dword [edx + 0x24], eax
mov eax, dword [edx + 0x20]
imul eax, dword [edx + 0x18]
imul eax, dword [edx + 0x1c]
shl eax, 2
mov dword [edx + 0x28], eax
mov esi, dword [ecx + 0x14]
test esi, esi
je 0x4cf524
mov eax, dword [ecx]
mov eax, dword [eax + 8]
add eax, esi
jmp 0x4cf526
xor eax, eax
pop edi
mov dword [edx + 0x2c], eax
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x4d30d3
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4d312c
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4d312c
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x4d312c
xor eax, eax
inc eax
jmp 0x4d312e
xor eax, eax
leave
ret 0x10

Function at 0x4d3718
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x4d383b
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x4d381f
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x4d3771
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x4d374f
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x4d3af7
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x20]
push ebx
mov ebx, dword [edx + 0x20]
push esi
mov esi, dword [edx + 0x6c]
imul esi, dword [edx + 0x60]
add esi, ebx
cmp ebx, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], esi
jae 0x4d3c25
mov eax, 0xf81f
push edi
mov edi, dword [edx + 0x60]
mov edx, dword [edx + 0x68]
lea edx, [ebx + edx*2]
add edi, ebx
cmp ebx, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], edx
jae 0x4d3c05
movzx ecx, word [edi]
movzx edx, word [edi + 2]
movzx esi, word [ebx + 2]
mov dword [ebp - 4], ecx
movzx ecx, word [ebx]
mov ebx, ecx
and bx, ax
mov edi, edx
and di, ax
mov dword [ebp - 0x1c], ecx
and ecx, 0xffff07e0
add edi, ebx
mov ebx, dword [ebp - 4]
and bx, ax
add edi, ebx
mov ebx, esi
and bx, ax
lea edi, [edi + ebx + 0x1002]
mov ebx, edx
and ebx, 0xffff07e0
add ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, 0xffff07e0
add ebx, ecx
mov ecx, esi
and ecx, 0xffff07e0
lea ecx, [ebx + ecx + 0x40]
mov ebx, dword [ebp - 0xc]
shr ecx, 2
shr edi, 2
xor edi, ecx
mov ecx, dword [ebp - 0x1c]
and ecx, eax
and edx, eax
add edx, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add edx, ecx
and esi, eax
and edi, 0xffff07e0
lea ecx, [edx + esi + 0x1002]
shr ecx, 2
xor edi, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 2
mov word [ecx], di
mov edi, dword [ebp - 0x10]
add ebx, 4
add edi, 4
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
jb 0x4d3b50
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov edi, dword [edx + 4]
add ecx, dword [edi + 0x60]
mov edx, dword [edx]
mov edi, dword [edx + 0x60]
lea ebx, [ebx + edi*2]
cmp ebx, esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
jb 0x4d3b31
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x4d3d30
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ecx + 4]
push ebx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ecx]
mov ebx, dword [ecx + 0x20]
push esi
mov esi, dword [eax + 0x20]
mov eax, dword [ecx + 0x6c]
imul eax, dword [ecx + 0x60]
add eax, ebx
cmp ebx, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], eax
jae 0x4d3e53
mov eax, 0x83e0
mov edx, 0x7c1f
push edi
mov edi, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x68]
lea ecx, [ebx + ecx*2]
add edi, ebx
cmp ebx, ecx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], ecx
jae 0x4d3e2f
movzx ecx, word [ebx + 2]
movzx esi, word [edi + 2]
mov dword [ebp - 8], ecx
movzx ecx, word [edi]
movzx edi, word [ebx]
mov dword [ebp - 4], ecx
mov ebx, edi
and ebx, eax
mov ecx, esi
and ecx, eax
add ecx, ebx
mov ebx, dword [ebp - 4]
and ebx, eax
add ecx, ebx
mov ebx, dword [ebp - 8]
and ebx, eax
lea ebx, [ecx + ebx + 0x10040]
mov dword [ebp - 0x20], edi
and edi, edx
mov ecx, esi
and ecx, edx
add ecx, edi
mov edi, dword [ebp - 4]
and edi, edx
add ecx, edi
mov edi, dword [ebp - 8]
and edi, edx
lea ecx, [ecx + edi + 0x802]
shr ecx, 2
mov edi, dword [ebp - 0x14]
shr ebx, 2
xor ebx, ecx
mov ecx, dword [ebp - 0x20]
and ecx, eax
and esi, eax
add esi, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add esi, ecx
mov ecx, dword [ebp - 8]
and bx, dx
and ecx, eax
lea ecx, [esi + ecx + 0x10040]
shr ecx, 2
add edi, 4
mov dword [ebp - 0x14], edi
xor ebx, ecx
mov ecx, dword [ebp - 0xc]
add dword [ebp - 0xc], 2
mov word [ecx], bx
mov ebx, dword [ebp - 0x10]
add ebx, 4
cmp ebx, dword [ebp - 0x24]
mov dword [ebp - 0x10], ebx
jb 0x4d3d8c
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov edi, dword [ecx + 4]
mov esi, dword [ebp - 0x18]
add esi, dword [edi + 0x60]
mov ecx, dword [ecx]
mov edi, dword [ecx + 0x60]
lea ebx, [ebx + edi*2]
cmp ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
jb 0x4d3d6d
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret