joyce8/EMBER2024-capa huggingface dataset:
Function at 0x492984
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff9d8
mov ebp, eax
xor eax, eax
mov esi, 0x730988
mov dword [esp], eax
lea edi, [esp + 4]
mov ecx, pe_nt_image_headers32
mov ebx, edx
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x404]
mov ecx, 4
mov esi, 0x730d88
mov edx, 0x1f0
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x618]
mov ecx, 4
mov esi, 0x730d98
mov eax, ebx
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x1f0]
call fcn.00495360
mov esi, ebx
lea edi, [esp + 4]
lea edx, [ebx + 0x74]
lea eax, [esp + 0x414]
mov ecx, 0x80
call fcn.0049580c
push edi
push 0x200
lea edx, [esp + 0x620]
lea eax, [esp + 0x41c]
mov ecx, esi
call fcn.00498038
lea edx, [esp + 4]
mov ecx, 0x200
mov eax, ebx
call fcn.00498d88
mov edx, 0x200
mov eax, ebx
call fcn.004923ac
mov dword [ebx + 0x200], eax
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ebp
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
jne 0x492a5c
mov eax, 1
jmp 0x492a82
push 0
lea edx, [esp + 4]
push edx
push 0x204
push ebx
push esi
call sub.KERNEL32.DLL_WriteFile_1
test eax, eax
jne 0x492a7a
mov eax, 2
jmp 0x492a82
push esi
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
add esp, 0x628
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x492a90
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffff7d0
mov esi, edx
xor edx, edx
mov dword [esp], ecx
mov dword [esp + 4], edx
push esi
lea edi, [esp + 0x210]
mov esi, 0x730da8
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop esi
mov ecx, pe_nt_image_headers32
push esi
lea edi, [esp + 0x220]
mov esi, 0x730db8
rep movsd dword es:[edi], dword [esi]
pop esi
mov ecx, 4
push esi
lea edi, [esp + 0x824]
mov esi, 0x7311b8
rep movsd dword es:[edi], dword [esi]
pop esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x492b0c
mov eax, 1
jmp 0x492c1a
push 0
lea edx, [esp + 8]
push edx
push 0x204
lea ecx, [esp + 0x14]
push ecx
push ebx
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0x492b31
mov eax, 2
jmp 0x492c1a
push ebx
call sub.KERNEL32.DLL_CloseHandle
lea eax, [esp + 8]
mov edx, 0x200
call fcn.004923ac
cmp eax, dword [esp + 0x208]
je 0x492b58
mov eax, 3
jmp 0x492c1a
lea ebx, [esp + 8]
lea edi, [esp + 0x21c]
lea eax, [esp + 0x61c]
mov ecx, 0x80
mov edx, esi
call fcn.0049580c
push edi
push 0x200
lea edx, [esp + 0x828]
lea eax, [esp + 0x624]
mov ecx, ebx
call fcn.004980a4
lea edx, [esp + 0x21c]
lea eax, [esp + 8]
mov ecx, 0x200
call fcn.00498d88
lea ecx, [esp + 0x20c]
lea eax, [esp + 8]
mov edx, 0x1f0
call fcn.00495360
lea edx, [esp + 0x20c]
lea eax, [esp + 0x1f8]
mov ecx, 0x10
call fcn.00498d54
test eax, eax
je 0x492bde
mov eax, 4
jmp 0x492c1a
lea eax, [esp + 0x4c]
mov ecx, 0x10
mov edx, esi
call fcn.00498d54
test eax, eax
je 0x492bf9
mov eax, 5
jmp 0x492c1a
lea edx, [esp + 8]
mov ecx, 0x204
mov eax, dword [esp]
call fcn.00498d88
lea eax, [esp + 8]
mov edx, 0x204
call fcn.004989c8
xor eax, eax
add esp, 0x830
pop edi
pop esi
pop ebx
ret
Function at 0x492f00
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
xor edx, edx
test eax, eax
je 0x492f0e
cmp esi, 2
jge 0x492f12
xor eax, eax
pop esi
ret
xor ecx, ecx
cmp esi, ecx
jle 0x492f20
xor dl, byte [eax]
inc ecx
inc eax
cmp esi, ecx
jg 0x492f18
not dl
mov eax, edx
pop esi
ret

Function at 0x494610
Capabilities:
Hash data with md5

Disassembly:
xor edx, edx
xor ecx, ecx
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x498038
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jle 0x49809b
xor esi, esi
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov bl, byte [eax]
inc eax
xor bl, byte [edx]
inc edx
mov byte [ecx], bl
inc ecx
inc esi
cmp esi, 0x10
jl 0x49805c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00495d48
mov ecx, 0x10
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
call fcn.00498d88
add dword [ebp - 0xc], 0x10
add dword [ebp + 0xc], 0x10
sub dword [ebp + 8], 0x10
cmp dword [ebp + 8], 0
jg 0x49804f
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4980a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jle 0x498110
lea eax, [ebp - 0x1c]
mov ecx, 0x10
mov edx, dword [ebp - 0xc]
call fcn.00498d88
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00496ed8
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov edx, eax
mov eax, dword [ebp - 8]
mov bl, byte [eax]
xor byte [edx], bl
inc ecx
inc edx
inc eax
cmp ecx, 0x10
jl 0x4980e2
lea edx, [ebp - 0x1c]
mov ecx, 0x10
mov eax, dword [ebp - 8]
call fcn.00498d88
add dword [ebp - 0xc], 0x10
add dword [ebp + 0xc], 0x10
sub dword [ebp + 8], 0x10
cmp dword [ebp + 8], 0
jg 0x4980ba
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4981c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
push edi
mov edi, 0x737d38
push edi
call sub.KERNEL32.DLL_LoadLibraryA
mov ebx, eax
test ebx, ebx
jne 0x4981e7
mov eax, 2
call fcn.00492f28
mov ax, 1
jmp 0x49834d
lea edx, [edi + 8]
push edx
call sub.KERNEL32.DLL_LoadLibraryA
mov esi, eax
test esi, esi
jne 0x498209
mov eax, 3
call fcn.00492f28
mov ax, 2
jmp 0x49834d
lea edx, [edi + 0x15]
push edx
push ebx
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x744288], eax
lea ecx, [edi + 0x2b]
push ecx
push ebx
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x74428c], eax
lea eax, [edi + 0x3b]
push eax
push ebx
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x744290], eax
lea edx, [edi + 0x4b]
push edx
push ebx
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x744294], eax
lea ecx, [edi + 0x5e]
push ecx
push ebx
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x744298], eax
lea eax, [edi + 0x6b]
push eax
push ebx
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x74429c], eax
lea edx, [edi + 0x82]
push edx
push ebx
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x7442a0], eax
lea ecx, [edi + 0x92]
push ecx
push esi
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x7442a4], eax
lea eax, [edi + 0xa7]
push eax
push esi
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x7442a8], eax
lea edx, [edi + 0xc8]
push edx
push esi
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x7442ac], eax
lea ecx, [edi + 0xe5]
push ecx
push esi
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x7442b0], eax
mov eax, dword [0x744288]
test eax, eax
je 0x498300
test eax, eax
je 0x498300
cmp dword [0x74428c], 0
je 0x498300
cmp dword [0x744290], 0
je 0x498300
cmp dword [0x744294], 0
je 0x498300
cmp dword [0x744298], 0
je 0x498300
cmp dword [0x74429c], 0
je 0x498300
cmp dword [0x7442a0], 0
jne 0x498310
mov eax, 4
call fcn.00492f28
mov ax, 3
jmp 0x49834d
cmp dword [0x7442a4], 0
je 0x498334
cmp dword [0x7442a8], 0
je 0x498334
cmp dword [0x7442ac], 0
je 0x498334
cmp dword [0x7442b0], 0
jne 0x498344
mov eax, 5
call fcn.00492f28
mov ax, 4
jmp 0x49834d
xor eax, eax
call fcn.00492f28
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x49ce40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042f774
cmp ebx, dword [ebp - 8]
jge 0x49cea3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042fbc8
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042fbc8
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042fbf4
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x49ce69
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x49ceac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042f774
cmp ebx, dword [ebp - 8]
jge 0x49cf0f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042fbc8
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042fbc8
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042fbf4
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x49ced5
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4aae64
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ab0c4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4aaec7
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004aab0c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040e730
cmp al, 1
jne 0x4aaec7
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004aadd4
test al, al
je 0x4ab053
cmp dword [ebp - 8], 0
jge 0x4aaee5
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004aab0c
mov eax, dword [ebp - 0x210]
call fcn.00404bbc
cmp ebx, eax
jge 0x4aaf2f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004aab0c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x73e8f8]
and eax, 0xff
bt dword [edx], eax
jae 0x4aaf2f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4aaf43
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004aae40
cmp ebx, dword [ebp - 8]
je 0x4ab045
lea eax, [ebp - 0x108]
push eax
call sub.USER32.DLL_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4aaf6f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403ba4
and eax, 0x7f
movzx eax, word [eax*2 + 0x739060]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.USER32.DLL_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4ab032
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403ba4
and eax, 0x7f
movzx eax, word [eax*2 + 0x739060]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00476d64
push eax
call sub.USER32.DLL_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403ba4
and eax, 0x7f
movzx eax, word [eax*2 + 0x739060]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00476d64
push eax
call sub.USER32.DLL_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab039
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4ab0a6
cmp dword [ebp - 8], 0
jge 0x4ab05e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004aab0c
mov eax, dword [ebp - 0x218]
call fcn.00404bbc
cmp eax, dword [ebp - 8]
jg 0x4ab098
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004aab0c
mov eax, dword [ebp - 0x21c]
call fcn.00404bbc
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004aae40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab0cb
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404910
ret
Function at 0x4c6958
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41bc84]
call fcn.00405400
xor eax, eax
push ebp
push 0x4c6a9c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x739370], 0
jne 0x4c69ab
mov ecx, dword [0x73d9dc]
mov dl, 1
mov eax, dword [0x408878]
call fcn.0040dde0
call fcn.00404240
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0040328c
mov eax, ebx
call fcn.004051b4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4c6aac
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004068c8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004051c4
test eax, eax
jle 0x4c6a43
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
test eax, eax
je 0x4c6a3c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404b84
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404b6c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409780
test eax, eax
jne 0x4c6a3c
mov ebx, 0x15
jmp 0x4c6a48
mov ebx, 0x10
jmp 0x4c6a48
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x739370]
call fcn.004c68b0
mov eax, dword [ebp - 8]
call fcn.004c68b0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004068e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6aa3
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404910
lea eax, [ebp - 0x10]
mov edx, dword [0x41bc84]
call fcn.004054d0
ret
Function at 0x4c779c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4c7853
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404dbc
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x4c77de
call fcn.004042ec
jmp 0x4c785a
mov eax, ebx
call fcn.00402b6c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, esi
call fcn.00404dbc
push eax
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
jne 0x4c7807
call fcn.004042ec
jmp 0x4c785a
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4c7864
mov eax, dword [ebp - 8]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
jne 0x4c7828
call fcn.004042ec
jmp 0x4c785a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [edi], eax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c785a
mov eax, dword [ebp - 8]
call fcn.00402b9c
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ceb38
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x739530]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x4ceb74
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x4ceb8c
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4ceb85
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.0040328c
xor edx, edx
mov eax, 0x739730
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x4cebf6
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x4cebaa
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x4cee34
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x4cee4d
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4cee46
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x4cee5f
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4cee58
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.004cea28
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4cee79
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.004ceb38
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x4ceefe
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4cef1b
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.004ceab8
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4cef44
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4cef5c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x4cef75
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4cef6e
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x4cef89
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004ce920
test bl, bl
jne 0x4cf05c
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x74441c
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4cefc0
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4cefd4
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004cee34
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x4cf006
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x4cefb5
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4cf029
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x4cf03a
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4cf04e
jmp 0x4cf117
cmp bl, 1
jne 0x4cf117
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x744476
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4cf07c
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4cf090
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004cee34
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x4cf0c2
sub ebx, 6
inc dword [ebp - 8]
jne 0x4cf071
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x4cf0e9
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x4cf0fa
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x4cf10e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004ce9a4
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x4d1030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404dac
xor eax, eax
push ebp
push 0x4d1146
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x4d10ec
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov dword [ebp - 8], 0x76
mov eax, dword [ebp - 4]
call fcn.00404bbc
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x4d100c]
call fcn.00405ffc
add esp, 4
mov eax, dword [ebp - 4]
call fcn.00404bbc
mov ecx, eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004081d0
mov eax, dword [ebp - 0xc]
call fcn.00405e28
test eax, eax
jl 0x4d10bb
inc eax
xor edx, edx
mov ecx, dword [ebp - 0xc]
xor byte [ecx + edx], bl
inc edx
dec eax
jne 0x4d10b1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404bbc
push eax
mov ax, word [ebp - 8]
push eax
mov eax, dword [0x7444dc]
push eax
call sub.GENFUNCTION.DLL_swr_24c64
lea eax, [ebp - 0xc]
push eax
call fcn.004069f4
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d1122
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d114d
lea eax, [ebp - 0xc]
mov edx, dword [0x4d100c]
call fcn.00406128
lea eax, [ebp - 4]
call fcn.004048ec
ret

Function at 0x4d1180
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404dac
xor eax, eax
push ebp
push 0x4d1296
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x4d123c
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
call fcn.00404bbc
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x4d115c]
call fcn.00405ffc
add esp, 4
mov eax, dword [ebp - 4]
call fcn.00404bbc
mov ecx, eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004081d0
mov eax, dword [ebp - 0xc]
call fcn.00405e28
test eax, eax
jl 0x4d120b
inc eax
xor edx, edx
mov ecx, dword [ebp - 0xc]
xor byte [ecx + edx], bl
inc edx
dec eax
jne 0x4d1201
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404bbc
push eax
mov ax, word [ebp - 8]
push eax
mov eax, dword [0x7444dc]
push eax
call sub.GENFUNCTION.DLL_swr_24c64
lea eax, [ebp - 0xc]
push eax
call fcn.004069f4
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d1272
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d129d
lea eax, [ebp - 0xc]
mov edx, dword [0x4d115c]
call fcn.00406128
lea eax, [ebp - 4]
call fcn.004048ec
ret