joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4018c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x403464], eax
mov edi, 0
mov ecx, 0xa
push edi
loop 0x4018dd
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [0x403464]
mov dword [ebp - 0x1c], edx
lea ecx, str.contents
mov dword [ebp - 8], ecx
lea eax, section..text
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_RegisterClassA]
push 0x67
push dword [0x403464]
call dword [sym.imp.USER32.dll_LoadBitmapA]
push 0x66
push dword [0x403464]
call dword [sym.imp.USER32.dll_LoadBitmapA]
xor eax, eax
push eax
push dword [0x403464]
push eax
push eax
push 0x1f4
push 0x2f4
push 0x578
push 0xce4
push 0
mov ecx, str.frantically
push eax
push str.contents
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403474], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403474]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4019a6
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x40198d
pop ebp
ret 0x10
Function at 0x408df0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x408015
lea edi, [esi - 0x7015]
push edi
jmp 0x408e0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x408e11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x408e00
mov eax, 1
add ebx, ebx
jne 0x408e23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x408e18
jne 0x408e34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408e18
xor ecx, ecx
sub eax, 3
jb 0x408e48
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408eba
mov ebp, eax
add ebx, ebx
jne 0x408e53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x408e60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x408e84
inc ecx
add ebx, ebx
jne 0x408e70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x408e65
jne 0x408e81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408e65
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x408ea4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x408e95
jmp 0x408e06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x408ea4
add edi, ecx
jmp 0x408e06
pop esi
mov edi, esi
mov ecx, 0x73
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x408ec2
cmp byte [edi], 1
jne 0x408ec2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x408ec7
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x408f36
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8080]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x408ef4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8088]
or eax, eax
je 0x408f30
mov dword [ebx], eax
add ebx, 4
jmp 0x408f11
call dword [esi + 0x8084]
mov ebp, dword [esi + 0x808c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x408f6a
sub esp, 0xffffff80
jmp 0x401240

Function at 0x4019ac
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4019eb
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4019eb
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4019eb
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4019eb
cmp dword [ecx + 0x74], 0xe
jbe 0x4019eb
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1003b11
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100624c]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
je 0x1003ba6
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1003b2f
sub eax, edx
sar eax, 1
mov ecx, 0x104
cmp eax, ecx
ja 0x1003ba6
push esi
push ecx
lea eax, [ebp - 0x20c]
push eax
call sub.msvcrt.dll_wcscpy_s
lea eax, [ebp - 0x20c]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1003b60
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2 - 0x20c]
dec eax
dec eax
movzx ecx, word [eax]
cmp cx, 0x5c
je 0x1003b86
cmp cx, 0x2f
jne 0x1003b8d
xor ecx, ecx
mov word [eax], cx
jmp 0x1003b75
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
jmp 0x1003ba8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0100456f
leave
ret
Function at 0x1003bb9
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x768
mov eax, dword [0x100624c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push dword [edi + 4]
mov dword [ebp - 0x768], eax
mov ebx, 0x104
lea eax, [ebp - 0x20c]
push ebx
push eax
call sub.msvcrt.dll_wcscpy_s
mov ecx, dword [edi + 4]
mov eax, ecx
add esp, 0xc
lea edx, [eax + 2]
mov si, word [eax]
inc eax
inc eax
test si, si
jne 0x1003bf9
sub eax, edx
sar eax, 1
sub ebx, eax
mov eax, ecx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x1003c0e
sub eax, ecx
sar eax, 1
push 0x1001e14
lea eax, [ebp + eax*2 - 0x20c]
push ebx
push eax
mov dword [ebp - 0x764], eax
call sub.msvcrt.dll_wcscpy_s
add esp, 0xc
lea eax, [ebp - 0x75c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x760], eax
cmp eax, 0xffffffff
jne 0x1003c69
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x12
neg eax
sbb eax, eax
jmp 0x1003df4
mov ecx, 0x10013ac
lea eax, [ebp - 0x730]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1003c9a
test dx, dx
je 0x1003c96
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1003c9a
add eax, 4
add ecx, 4
test dx, dx
jne 0x1003c74
xor eax, eax
jmp 0x1003c9f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1003dba
mov ecx, 0x1001e0c
lea eax, [ebp - 0x730]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1003cd8
test dx, dx
je 0x1003cd4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1003cd8
add eax, 4
add ecx, 4
test dx, dx
jne 0x1003cb2
xor eax, eax
jmp 0x1003cdd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1003dba
lea eax, [ebp - 0x730]
push eax
call dword [sym.imp.msvcrt.dll__wcslwr]
push eax
push ebx
push dword [ebp - 0x764]
call sub.msvcrt.dll_wcscpy_s
mov eax, dword [edi + 0xc]
add esp, 0x10
test eax, eax
je 0x1003d1e
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call sub.msvcrt.dll_wcscat_s
add esp, 0xc
push 0x104
lea eax, [ebp - 0x730]
push eax
push dword [edi + 8]
call fcn.01004078
test eax, eax
je 0x1003dba
cmp dword [edi + 0xc], 0
je 0x1003d97
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x50c]
push eax
lea eax, [ebp - 0x30c]
push eax
lea edx, [ebp - 0x20c]
call fcn.01003a3e
test eax, eax
je 0x1003d97
test byte [ebp - 0x75c], 0x10
je 0x1003dba
lea esi, [ebp - 0x30c]
call fcn.01003b11
test eax, eax
je 0x1003dba
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x50c]
push eax
mov eax, esi
push eax
mov eax, dword [ebp + 8]
call fcn.01003883
jmp 0x1003dba
lea esi, [ebp - 0x20c]
call fcn.01003b11
test eax, eax
je 0x1003dba
mov eax, esi
push eax
mov eax, dword [ebp - 0x768]
call fcn.0100395c
mov esi, eax
test esi, esi
jne 0x1003dd7
lea eax, [ebp - 0x75c]
push eax
push dword [ebp - 0x760]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, eax
test esi, esi
jne 0x1003c69
push dword [ebp - 0x760]
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
jne 0x1003df2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x1003df2
mov eax, esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0100456f
leave
ret 8
Function at 0x1004555
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1004a58
call fcn.01004784
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x1007acc
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x100436a
cmp eax, esi
jne 0x100435d
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x100436d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1004344
xor esi, esi
inc esi
mov eax, dword [0x1007ac8]
cmp eax, esi
jne 0x1004380
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x10043bb
mov eax, dword [0x1007ac8]
test eax, eax
jne 0x10043b5
mov dword [0x1007ac8], esi
push 0x10011a0
push 0x1001194
call fcn.010042c1
pop ecx
pop ecx
test eax, eax
je 0x10043bb
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x1004485
mov dword [0x1006314], esi
mov eax, dword [0x1007ac8]
cmp eax, esi
jne 0x10043df
push 0x1001190
push 0x1001188
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1007ac8], 2
cmp dword [ebp - 0x1c], ebx
jne 0x10043ec
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1007ad0], ebx
je 0x100440d
push 0x1007ad0
call fcn.010046f9
pop ecx
test eax, eax
je 0x100440d
push ebx
push 2
push ebx
call dword [0x1007ad0]
push dword [0x10062fc]
push dword [0x1006300]
push dword [0x10062f8]
call fcn.0100233d
add esp, 0xc
mov dword [0x1006310], eax
cmp dword [0x1006304], ebx
jne 0x100446b
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x1006314], ebx
jne 0x1004479
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1006310]
call fcn.010047c9
ret
call fcn.010048d1
jmp 0x1004322
Function at 0x1001413
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1001898
call fcn.010015a4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x1002378
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1001228
cmp eax, esi
jne 0x100121b
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x100122b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1001202
xor esi, esi
inc esi
mov eax, dword [0x1002374]
cmp eax, esi
jne 0x100123e
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1001279
mov eax, dword [0x1002374]
test eax, eax
jne 0x1001273
mov dword [0x1002374], esi
push 0x1001094
push 0x1001088
call fcn.0100117f
pop ecx
pop ecx
test eax, eax
je 0x1001279
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x1001343
mov dword [0x1002038], esi
mov eax, dword [0x1002374]
cmp eax, esi
jne 0x100129d
push 0x1001084
push 0x100107c
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1002374], 2
cmp dword [ebp - 0x1c], ebx
jne 0x10012aa
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100237c], ebx
je 0x10012cb
push 0x100237c
call fcn.01001519
pop ecx
test eax, eax
je 0x10012cb
push ebx
push 2
push ebx
call dword [0x100237c]
push dword [0x1002020]
push dword [0x1002024]
push dword [0x100201c]
call fcn.01001175
add esp, 0xc
mov dword [0x1002034], eax
cmp dword [0x1002028], ebx
jne 0x1001329
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x1002038], ebx
jne 0x1001337
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1002034]
call fcn.010015e9
ret
call fcn.010016f1
jmp 0x10011e0
Function at 0x5d5e5a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 8
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
not esi
mov edx, 0xff
jb 0x5d5f34
mov eax, dword [ebp + 0x10]
push ebx
shr eax, 3
push edi
xor ebx, ebx
mov bl, byte [ecx]
mov edi, esi
shr edi, 8
sub dword [ebp + 0x10], 8
xor ebx, esi
and ebx, edx
mov esi, dword [ebx*4 + reloc.MSVCRT.dll___dllonexit]
xor ebx, ebx
xor esi, edi
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
mov edi, dword [ebx*4 + reloc.MSVCRT.dll___dllonexit]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc ecx
mov bl, byte [ecx]
xor ebx, edi
and ebx, edx
mov esi, dword [ebx*4 + reloc.MSVCRT.dll___dllonexit]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
mov edi, dword [ebx*4 + reloc.MSVCRT.dll___dllonexit]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc ecx
mov bl, byte [ecx]
xor ebx, edi
and ebx, edx
mov esi, dword [ebx*4 + reloc.MSVCRT.dll___dllonexit]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
mov edi, dword [ebx*4 + reloc.MSVCRT.dll___dllonexit]
shr esi, 8
xor edi, esi
xor ebx, ebx
inc ecx
mov bl, byte [ecx]
xor ebx, edi
and ebx, edx
mov esi, dword [ebx*4 + reloc.MSVCRT.dll___dllonexit]
shr edi, 8
xor esi, edi
xor ebx, ebx
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
mov edi, dword [ebx*4 + reloc.MSVCRT.dll___dllonexit]
shr esi, 8
xor esi, edi
inc ecx
dec eax
jne 0x5d5e7d
pop edi
pop ebx
cmp dword [ebp + 0x10], 0
je 0x5d5f54
xor eax, eax
mov al, byte [ecx]
xor eax, esi
and eax, edx
mov eax, dword [eax*4 + reloc.MSVCRT.dll___dllonexit]
shr esi, 8
xor esi, eax
inc ecx
dec dword [ebp + 0x10]
jne 0x5d5f3a
mov eax, esi
not eax
pop esi
pop ebp
ret 0xc

Function at 0x5d5f5d
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x58]
add dword [esi + 0x5c], ecx
test ecx, ecx
not eax
jbe 0x5d5fa1
push ebx
push edi
mov edi, dword [esp + 0x14]
mov edx, ecx
mov ecx, dword [esp + 0x18]
mov bl, byte [ecx]
mov byte [edi], bl
xor ebx, ebx
mov bl, byte [ecx]
inc edi
xor ebx, eax
and ebx, 0xff
mov ebx, dword [ebx*4 + reloc.MSVCRT.dll___dllonexit]
shr eax, 8
xor eax, ebx
inc ecx
dec edx
jne 0x5d5f7e
pop edi
pop ebx
not eax
mov dword [esi + 0x58], eax
pop esi
ret 0x10
Function at 0x5dcfb7
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], reloc.MSVCRT.dll___dllonexit
xor edx, edx
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], edx
ret
Function at 0x5e27df
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, 0x449d68
mov dword [ebp - 4], edx
mov esi, ecx
cmp dword [edi + 4], 0
mov ebx, eax
jne 0x5e27ff
call fcn.005e27a7
mov eax, dword [ebp - 4]
jmp 0x5e2818
mov edx, ebx
xor ecx, ecx
xor dl, byte [eax]
dec esi
mov cl, dl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
inc eax
mov ebx, edx
test esi, esi
jbe 0x5e2820
test al, 7
jne 0x5e2804
cmp esi, 8
jb 0x5e28a9
xor ebx, dword [eax]
xor ecx, ecx
mov cl, bl
sub esi, 8
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
xor ebx, dword [eax + 4]
add eax, 8
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
cmp esi, 8
mov ebx, edx
jae 0x5e2829
xor ecx, ecx
mov dword [ebp - 8], ecx
jmp 0x5e28cb
mov ecx, dword [ebp - 8]
mov edx, ebx
shr ebx, 8
xor dl, byte [eax + ecx]
and edx, 0xff
mov ecx, dword [edi + edx*4]
xor ecx, ebx
mov ebx, ecx
inc dword [ebp - 8]
cmp esi, dword [ebp - 8]
ja 0x5e28b0
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x5e2957
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
xor edx, dword [eax + reloc.MSVCRT.dll___dllonexit]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
xor edx, dword [eax + reloc.MSVCRT.dll___dllonexit]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ecx + 8]
mov edx, dword [edx + 0xc]
xor ebx, dword [eax + reloc.MSVCRT.dll___dllonexit]
xor edx, dword [eax + reloc.MSVCRT.dll___dllonexit]
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov ecx, edx
mov esi, edx
shr esi, 0x15
shl ecx, 0xb
or ecx, esi
mov esi, dword [ebp - 0x18]
and esi, 3
add ecx, ebx
xor ecx, dword [eax + esi*4 + reloc.MSVCRT.dll___dllonexit]
mov edi, ecx
mov esi, ecx
shr edi, 8
and esi, 0xff
and edi, 0xff
movzx esi, byte [eax + esi + 0x104]
movzx edi, byte [eax + edi + 0x104]
shl edi, 8
or esi, edi
mov edi, ecx
shr edi, 0x10
shr ecx, 0x18
and edi, 0xff
and ecx, 0xff
movzx edi, byte [eax + edi + 0x104]
movzx ecx, byte [eax + ecx + 0x104]
shl edi, 0x10
shl ecx, 0x18
or esi, edi
or esi, ecx
mov ecx, ebx
xor esi, dword [ebp - 8]
mov dword [ebp - 0x10], esi
mov esi, ebx
shr esi, 0xf
shl ecx, 0x11
or ecx, esi
mov esi, dword [ebp - 0x18]
and esi, 3
xor ecx, edx
add ecx, dword [eax + esi*4 + reloc.MSVCRT.dll___dllonexit]
mov edi, ecx
mov esi, ecx
shr edi, 8
and esi, 0xff
and edi, 0xff
movzx esi, byte [eax + esi + 0x104]
movzx edi, byte [eax + edi + 0x104]
shl edi, 8
or esi, edi
mov edi, ecx
shr edi, 0x10
shr ecx, 0x18
and edi, 0xff
and ecx, 0xff
movzx edi, byte [eax + edi + 0x104]
movzx ecx, byte [eax + ecx + 0x104]
shl edi, 0x10
shl ecx, 0x18
or esi, edi
or esi, ecx
xor esi, dword [ebp - 0xc]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], edx
mov ecx, esi
mov edx, ecx
mov ebx, dword [ebp - 0x10]
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x20
jl 0x5e29a3
mov ecx, dword [ebp - 0x14]
xor ebx, dword [eax + reloc.MSVCRT.dll___dllonexit]
mov dword [ecx], ebx
xor edx, dword [eax + reloc.MSVCRT.dll___dllonexit]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
xor edx, dword [eax + reloc.MSVCRT.dll___dllonexit]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
xor edx, dword [eax + reloc.MSVCRT.dll___dllonexit]
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 4]
call fcn.005e2c9b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5e2aef
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov ebx, eax
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx]
xor ecx, dword [ebx + reloc.MSVCRT.dll___dllonexit]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 4]
xor edx, dword [ebx + reloc.MSVCRT.dll___dllonexit]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov esi, dword [ecx + 8]
mov edi, dword [eax + 0xc]
xor esi, dword [ebx + reloc.MSVCRT.dll___dllonexit]
xor edi, dword [ebx + reloc.MSVCRT.dll___dllonexit]
push 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 4]
push eax
call fcn.00611097
add esp, 0xc
mov dword [ebp - 0x18], 0x1f
mov eax, edi
mov edx, edi
mov ecx, dword [ebp - 0x18]
shr edx, 0x15
and ecx, 3
shl eax, 0xb
or eax, edx
add eax, esi
xor eax, dword [ebx + ecx*4 + reloc.MSVCRT.dll___dllonexit]
xor ecx, ecx
mov edx, eax
and edx, 0xff
mov cl, byte [ebx + edx + 0x104]
mov edx, eax
shr edx, 8
and edx, 0xff
movzx edx, byte [ebx + edx + 0x104]
shl edx, 8
or ecx, edx
mov edx, eax
shr edx, 0x10
shr eax, 0x18
and edx, 0xff
and eax, 0xff
movzx edx, byte [ebx + edx + 0x104]
movzx eax, byte [ebx + eax + 0x104]
shl edx, 0x10
shl eax, 0x18
or ecx, edx
or ecx, eax
mov eax, esi
xor ecx, dword [ebp - 8]
mov edx, esi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x18]
shr edx, 0xf
and ecx, 3
shl eax, 0x11
or eax, edx
xor eax, edi
add eax, dword [ebx + ecx*4 + reloc.MSVCRT.dll___dllonexit]
xor ecx, ecx
mov edx, eax
and edx, 0xff
mov cl, byte [ebx + edx + 0x104]
mov edx, eax
shr edx, 8
and edx, 0xff
movzx edx, byte [ebx + edx + 0x104]
shl edx, 8
or ecx, edx
mov edx, eax
shr edx, 0x10
shr eax, 0x18
and edx, 0xff
and eax, 0xff
movzx edx, byte [ebx + edx + 0x104]
movzx eax, byte [ebx + eax + 0x104]
shl edx, 0x10
shl eax, 0x18
or ecx, edx
or ecx, eax
xor ecx, dword [ebp - 0xc]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
mov eax, ecx
mov edi, eax
mov esi, dword [ebp - 0x10]
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0
jge 0x5e2b50
mov eax, dword [ebp - 0x14]
xor esi, dword [ebx + reloc.MSVCRT.dll___dllonexit]
mov dword [eax], esi
xor edi, dword [ebx + reloc.MSVCRT.dll___dllonexit]
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], edi
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
xor ecx, dword [ebx + reloc.MSVCRT.dll___dllonexit]
mov dword [eax + 8], ecx
mov eax, ebx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
xor edx, dword [ebx + reloc.MSVCRT.dll___dllonexit]
mov dword [ecx + 0xc], edx
lea edx, [ebp - 0x28]
call fcn.005e2c9b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5e2c9b
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ebx, 0x449d68
xor ecx, ecx
movzx esi, byte [edx + ecx]
mov esi, dword [ebx + esi*4]
xor dword [eax + reloc.MSVCRT.dll___dllonexit], esi
movzx esi, byte [edx + ecx + 1]
mov esi, dword [ebx + esi*4]
xor dword [eax + reloc.MSVCRT.dll___dllonexit], esi
movzx esi, byte [edx + ecx + 2]
mov esi, dword [ebx + esi*4]
xor dword [eax + reloc.MSVCRT.dll___dllonexit], esi
movzx esi, byte [edx + ecx + 3]
mov esi, dword [ebx + esi*4]
xor dword [eax + reloc.MSVCRT.dll___dllonexit], esi
add ecx, 4
cmp ecx, 0x10
jl 0x5e2ca4
pop esi
pop ebx
ret

Function at 0x5e357f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
mov ebx, dword [ebp + 8]
jg 0x5e359f
xor eax, eax
jmp 0x5e3660
mov edx, dword [ebp - 0xc]
test edx, edx
jns 0x5e35a9
add edx, 0xf
sar edx, 4
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
add eax, 4
mov ecx, dword [eax]
xor ecx, dword [edx]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 4]
xor ecx, dword [edx + 4]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 8]
xor ecx, dword [edx + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, ebx
mov eax, dword [eax + 0xc]
xor eax, dword [edx + 0xc]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
call fcn.005e39e3
add dword [ebp - 8], 0x10
mov edx, dword [ebp - 0x14]
dec edx
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jle 0x5e363c
mov eax, ebx
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
xor ecx, dword [edx]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 4]
xor ecx, dword [edx + 4]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 8]
xor ecx, dword [edx + 8]
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + 0xc]
xor eax, dword [edx + 0xc]
mov dword [ebp - 0x18], eax
add ebx, 0x10
lea edx, [ebp - 0x24]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.005e39e3
add dword [ebp - 8], 0x10
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0
jg 0x5e35f8
mov eax, dword [ebp - 4]
add eax, 4
mov edx, ebx
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x14]
shl eax, 4
pop ebx
mov esp, ebp
pop ebp
ret 4