joyce8/EMBER2024-capa huggingface dataset:
Function at 0x489dd0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x114
mov eax, dword [0x599274]
xor eax, esp
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x118]
lea ecx, [esp + 8]
push ecx
push 0x104
push eax
push edx
mov dword [esp + 0x14], 0x200
call fcn.00489cb0
add esp, 0x10
test eax, eax
jne 0x489eff
push ebx
push esi
push edi
call fcn.00478840
lea ebx, [esp + 0x14]
test eax, eax
je 0x489e28
call fcn.004788a0
mov esi, eax
jmp 0x489e48
call fcn.004788a0
mov edi, eax
test edi, edi
je 0x489ec6
push edi
call fcn.004789d0
push edi
mov esi, eax
call fcn.0051258a
add esp, 8
test esi, esi
je 0x489ec6
call fcn.00478840
test eax, eax
mov eax, esi
je 0x489e8d
cmp word [esi], 0
je 0x489e76
lea ecx, [ecx]
cmp word [eax], 0x5c
je 0x489e71
add eax, 2
cmp word [eax], 0
jne 0x489e60
jmp 0x489e76
xor ecx, ecx
mov word [eax], cx
lea edx, [esp + 0xc]
push edx
mov eax, edx
push eax
lea ecx, [esp + 0x18]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x489eb7
cmp byte [esi], 0
je 0x489ea2
cmp byte [eax], 0x5c
je 0x489e9f
inc eax
cmp byte [eax], 0
jne 0x489e92
jmp 0x489ea2
mov byte [eax], 0
lea eax, [esp + 0xc]
push eax
mov ecx, eax
push ecx
lea edx, [esp + 0x18]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push esi
mov edi, eax
call fcn.0051258a
add esp, 4
test edi, edi
jne 0x489ee3
pop edi
pop esi
mov eax, 0x200
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00512298
add esp, 0x114
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00512298
add esp, 0x114
ret
mov ecx, dword [esp + 0x110]
mov eax, dword [esp + 4]
xor ecx, esp
call fcn.00512298
add esp, 0x114
ret
Function at 0x48ba80
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
test ebx, ebx
jne 0x48ba8d
xor eax, eax
pop ebx
ret
push esi
mov esi, dword [esp + 0xc]
push edi
mov ecx, 0x44
call fcn.004823d0
mov edi, eax
test edi, edi
jne 0x48baa7
pop edi
pop esi
pop ebx
ret
mov eax, dword [ebx]
push ebp
mov ebp, dword [esp + 0x1c]
push ebp
push eax
push esi
call fcn.00485b90
mov dword [edi], eax
mov ecx, dword [ebx + 8]
push ebp
push ecx
push esi
call fcn.0048b830
push 0
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
push ebp
push eax
push esi
call fcn.00492680
mov dword [edi + 0xc], eax
mov edx, dword [ebx + 0x10]
push ebp
push edx
push esi
call fcn.00485b90
push 0
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
push ebp
push eax
push esi
call fcn.00492680
add esp, 0x44
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
push ebp
push eax
push esi
call fcn.00485b90
mov dword [edi + 0x18], eax
mov cl, byte [ebx + 4]
mov byte [edi + 4], cl
mov edx, dword [ebx + 0x1c]
push ebp
push edx
push esi
call fcn.0048ba80
push 0
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x28]
push ebp
push eax
push esi
call fcn.00492680
push 0
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
push ebp
push eax
push esi
call fcn.00492680
mov dword [edi + 0x2c], eax
xor eax, eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov cx, word [ebx + 6]
add esp, 0x38
mov edx, 0xfff7
mov dword [edi + 0x24], eax
and cx, dx
or eax, 0xffffffff
pop ebp
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov word [edi + 6], cx
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x493f70
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esi]
xor ebp, ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebp
jmp 0x493f90
mov al, byte [ebp + 0x55d048]
mov byte [esp + 0x10], al
test edi, edi
je 0x494015
cmp byte [edi], 0
mov eax, edi
je 0x493fab
inc eax
cmp byte [eax], 0
jne 0x493fa5
mov ecx, dword [esp + 0x20]
sub eax, edi
and eax, 0x3fffffff
add ecx, 0x17c
cmp dword [ecx + 0xc], 0
mov ebx, eax
je 0x493ffd
xor eax, eax
mov esi, ebx
mov edx, edi
test ebx, ebx
jle 0x493ff3
mov edi, edi
movzx edi, byte [edx]
movzx edi, byte [edi + 0x55c920]
lea ebp, [eax*8]
xor edi, ebp
dec esi
xor eax, edi
inc edx
test esi, esi
jg 0x493fd0
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
xor edx, edx
div dword [ecx]
jmp 0x493fff
xor edx, edx
push edi
call fcn.00478760
add esp, 4
test eax, eax
je 0x494011
mov eax, dword [eax + 8]
jmp 0x49401c
xor eax, eax
jmp 0x49401c
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x49402c
movzx ecx, byte [esp + 0x10]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4 - 0x14]
cmp dword [eax + 0xc], 0
jne 0x49404d
inc ebp
cmp ebp, 3
mov dword [esp + 0x14], ebp
jl 0x493f90
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [eax + 0x10]
pop edi
mov dword [esi + 0x10], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x4a9d30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x1b4
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov edx, dword [esi + 4]
push edi
mov edi, dword [eax + 0x18]
mov eax, dword [edx]
xor ebx, ebx
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x38], edi
jle 0x4a9d70
add edx, 4
lea esp, [esp]
cmp dword [edx], edi
je 0x4a9e2c
inc ecx
add edx, 4
cmp ecx, eax
jl 0x4a9d60
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edi + ecx*8]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], edi
cmp edi, eax
jae 0x4a9f29
mov ebx, dword [ebp + 0x18]
jmp 0x4a9da0
fldz
mov edx, 0x100
cmp word [edi + 0x10], dx
jne 0x4a9f16
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
not eax
and eax, dword [edi + 0x20]
not ecx
and ecx, dword [edi + 0x24]
and eax, dword [ebp + 0x14]
and ecx, ebx
or eax, ecx
jne 0x4a9f16
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + 0x160]
mov edx, dword [ecx + 0x164]
and eax, dword [esp + 0x10]
and edx, dword [esp + 0x14]
or eax, edx
je 0x4a9f16
mov esi, dword [ecx + 0x1c]
fld st(0)
mov ecx, dword [ecx + 0x14]
fst qword [esp + 0x30]
lea eax, [ecx + ecx*4]
fxch st(1)
lea eax, [esi + eax*8]
fst qword [esp + 0x20]
mov dword [esp + 0x2c], eax
cmp esi, eax
jae 0x4a9ece
mov ecx, 0x200
cmp word [esi + 0x10], cx
jne 0x4a9e45
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov edi, dword [esi + 0xc]
push ebx
push edx
push eax
jmp 0x4a9e7f
mov eax, 1
xor edx, edx
call fcn.00517b90
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x4a9d78
mov ecx, dword [esp + 0x38]
cmp dword [esi + 8], ecx
jne 0x4a9ec3
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x14]
mov eax, dword [eax + 4]
push ebx
mov dword [esp + 0x64], edx
mov edx, dword [ebp + 8]
push ecx
mov dword [esp + 0x6c], eax
mov byte [esp + 0x78], 0x43
mov dword [esp + 0x84], esi
mov dword [esp + 0x7c], 1
push edx
lea edi, [esp + 0x6c]
mov eax, dword [ebp + 0x10]
fstp st(1)
lea ecx, [esp + 0x4c]
fstp st(0)
xor edx, edx
call fcn.004a26d0
fld qword [esp + 0x5c]
fadd qword [esp + 0x3c]
mov ecx, dword [ebp + 0x20]
mov edi, dword [esp + 0x28]
add esp, 0xc
fst qword [esp + 0x30]
fld qword [esp + 0x58]
fadd qword [esp + 0x20]
fst qword [esp + 0x20]
fld qword [ecx + 0x10]
fcomp st(2)
fnstsw ax
test ah, 0x41
jnp 0x4a9ed1
mov eax, dword [esp + 0x2c]
add esi, 0x28
cmp esi, eax
jb 0x4a9e13
mov ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 0
je 0x4a9ef5
fstp st(1)
sub esp, 8
fstp qword [esp]
call fcn.0047fea0
fld qword [esp + 0x28]
add esp, 8
fmul st(1), st(0)
fxch st(1)
fadd qword [esp + 0x30]
fxch st(1)
fld qword [ecx + 0x10]
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x4a9f14
fxch st(1)
mov dword [ecx], 0x10000000
fstp qword [ecx + 0x10]
mov dword [ecx + 8], edi
fstp qword [ecx + 0x18]
jmp 0x4a9f18
fstp st(1)
fstp st(0)
add edi, 0x28
mov dword [esp + 0x1c], edi
cmp edi, dword [esp + 0x3c]
jb 0x4a9da0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c8e30
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x59f090]
push esi
test eax, eax
je 0x4c8e6a
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call esi
test eax, eax
je 0x4c8e6a
mov eax, dword [0x59f090]
test eax, eax
je 0x4c8e53
push eax
call esi
mov eax, dword [eax + 0xc]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4c8e6a
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x4c9060
Capabilities:
Get thread local storage value

Disassembly:
push ecx
mov eax, dword [0x59f090]
test eax, eax
je 0x4c90e8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call esi
test eax, eax
je 0x4c90e7
mov ecx, dword [0x59f090]
test ecx, ecx
jne 0x4c9086
xor eax, eax
jmp 0x4c908f
push ecx
call esi
mov ecx, dword [0x59f090]
cmp byte [eax + 0x18], 0
je 0x4c90e7
test ecx, ecx
je 0x4c90e7
push ecx
call esi
test eax, eax
je 0x4c90e7
mov eax, dword [0x59f090]
test eax, eax
je 0x4c90ac
push eax
call esi
mov eax, dword [eax + 0xc]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4c90e7
mov eax, dword [0x59f090]
test eax, eax
je 0x4c90c8
push eax
call esi
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x587990
lea ecx, [esp + 0xb]
xor al, al
push ecx
mov byte [esp + 0xf], al
call fcn.00511e66
pop esi
pop ecx
ret

Function at 0x4c9810
Capabilities:
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x547fd8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x599274]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
push 0x4c8e10
push 0x59f088
call fcn.004c9150
mov eax, dword [0x59f090]
add esp, 8
test eax, eax
je 0x4c986a
mov ecx, dword [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
add esp, 0x1c
ret
lea ecx, [esp + 4]
call fcn.0051012c
mov dword [esp + 0x10], 0
mov dword [esp + 4], vtable.boost::thread_resource_error.0
lea edx, [esp + 4]
push edx
mov dword [esp + 0x20], 0
call fcn.00465480
int3
Function at 0x4c98a0
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x548008
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x599274]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x59f090]
test eax, eax
jne 0x4c98d2
xor esi, esi
jmp 0x4c98db
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [esp + 0x14], esi
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x20], 0
test esi, esi
je 0x4c9907
cmp dword [esi + 0x14], 0
jne 0x4c9949
cmp dword [esi + 0x10], 0
jne 0x4c9950
push 0
call fcn.004c9810
add esp, 4
mov dword [esp + 0x20], 0xffffffff
test esi, esi
je 0x4c9935
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4c9935
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp dword [esi + 0x10], 0
je 0x4c9990
nop
mov ebx, dword [esi + 0x10]
mov eax, dword [ebx + 4]
mov dword [esi + 0x10], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x4c997e
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebx]
mov edx, dword [edi]
mov eax, dword [edx]
push 0
mov ecx, edi
call eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
cmp dword [esi + 0x10], 0
jne 0x4c9950
cmp dword [esi + 0x14], 0
je 0x4c98f7
mov edi, dword [esi + 0x14]
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x14], ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4c99b5
mov edx, dword [ecx]
mov eax, dword [edi + 0xc]
mov edx, dword [edx + 4]
push eax
call edx
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x4c99e6
lea eax, [ebx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4c99e6
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
lea ecx, [ebx + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4c99e6
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
cmp dword [esi + 0x14], 0
jne 0x4c999a
jmp 0x4c98f1
Function at 0x4c9a80
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x548058
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x599274]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x1c]
push ecx
push 4
push eax
push 0x4c9a00
push 0
push 0
call fcn.00518182
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x4c9aeb
lea ecx, [esp + 0x10]
call fcn.0051012c
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], vtable.boost::thread_resource_error.0
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x2c], ebx
call fcn.00465480
mov eax, dword [edi]
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov esi, dword [edi]
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
je 0x4c9b11
cmp eax, 0xffffffff
je 0x4c9b11
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebx
mov edx, dword [edi]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x4cb87d
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x44]
mov ecx, dword [esi]
xor ebx, ebx
cmp ecx, ebx
je 0x4cb8ea
call fcn.004c9540
push dword [edi + 0x5c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [edi + 4]
call fcn.004cb369
push ebx
push ebx
push 3
push ebx
push ebx
call fcn.00421525
mov ecx, dword [esi]
mov dword [ebp - 8], eax
add esp, 0x14
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], edx
call fcn.004cb848
test al, al
jne 0x4cb8da
mov ecx, dword [esi]
push ebx
call fcn.004c95d0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, esi
call fcn.00415483
push dword [edi + 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [esi], ebx
pop edi
pop esi
sete al
pop ebx
leave
ret

Function at 0x4cc1f1
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x24]
mov ecx, dword [ebx]
push edi
xor edi, edi
cmp ecx, edi
jne 0x4cc20e
mov al, 1
jmp 0x4cc2c3
call fcn.004c9540
push dword [esi + 0x64]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push edi
push edi
push 3
push edi
push edi
call fcn.00421525
mov ecx, dword [ebx]
mov dword [ebp - 0x10], eax
add esp, 0x14
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0xc], edx
call fcn.004cb848
test al, al
jne 0x4cc24e
mov ecx, dword [ebx]
push edi
call fcn.004c95d0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, ebx
call fcn.00415483
push dword [esi + 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x64], edi
lea edi, [esi + 4]
mov eax, dword [edi + 0x18]
push edi
push dword [eax]
lea ecx, [ebp - 8]
call fcn.004ca930
push edi
push dword [edi + 0x18]
jmp 0x4cc295
lea ecx, [ebp - 8]
call fcn.004cba09
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 8]
call fcn.004cba38
push edi
push dword [edi + 0x18]
lea ecx, [ebp - 0x10]
call fcn.004ca930
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.0045133d
test al, al
je 0x4cc278
mov ecx, edi
call fcn.004cbb23
lea ecx, [esi + 0x74]
call fcn.00415483
xor eax, eax
cmp dword [ebx], eax
sete al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4ccf9c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 1
push dword [ebp + 8]
call fcn.004ccf60
pop ecx
pop ecx
test al, al
je 0x4cd00f
push 1
push dword [ebp + 0xc]
call fcn.004ccf60
pop ecx
pop ecx
test al, al
je 0x4cd00f
mov esi, dword [ebp + 0x10]
push 1
push esi
call fcn.004ccf60
pop ecx
pop ecx
test al, al
je 0x4cd00f
mov edi, dword [ebp + 0x14]
push ebx
shr edi, 2
xor ebx, ebx
test edi, edi
jbe 0x4ccffb
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
sub ecx, esi
mov eax, esi
sub edx, esi
mov ebx, edi
mov esi, dword [ecx + eax]
xor esi, dword [eax]
mov dword [edx + eax], esi
add eax, 4
dec edi
jne 0x4ccfed
mov eax, ebx
shl eax, 2
sub dword [ebp + 0x14], eax
pop ebx
je 0x4cd031
add dword [ebp + 8], eax
add dword [ebp + 0xc], eax
add dword [ebp + 0x10], eax
cmp dword [ebp + 0x14], 0
jbe 0x4cd031
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
sub ecx, eax
sub esi, eax
mov dl, byte [eax + ecx]
xor dl, byte [eax]
mov byte [eax + esi], dl
inc eax
dec edi
jne 0x4cd025
pop edi
pop esi
pop ebp
ret

Function at 0x4cd035
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push ebx
push esi
mov esi, dword [ecx + 0x64]
mov dword [ebp + 8], eax
mov eax, dword [ecx + 0x1074]
mov ecx, dword [esi]
xor ecx, dword [edx]
push edi
lea edi, [esi + 8]
mov dword [ebp - 4], 8
mov edx, ecx
shr edx, 0x10
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x400]
mov ebx, ecx
shr ebx, 0x18
add edx, dword [eax + ebx*4]
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
xor edx, dword [eax + ebx*4 + 0x800]
movzx ebx, cl
add edx, dword [eax + ebx*4 + 0xc00]
xor edx, dword [edi - 4]
xor dword [ebp + 8], edx
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 8]
shr edx, 0x10
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x400]
shr ebx, 0x18
add edx, dword [eax + ebx*4]
mov ebx, dword [ebp + 8]
shr ebx, 8
movzx ebx, bl
xor edx, dword [eax + ebx*4 + 0x800]
movzx ebx, byte [ebp + 8]
add edx, dword [eax + ebx*4 + 0xc00]
xor edx, dword [edi]
add edi, 8
xor ecx, edx
dec dword [ebp - 4]
jne 0x4cd05c
mov edx, dword [esi + 0x44]
xor edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], edx
mov dword [eax + 4], ecx
pop ebx
leave
ret 8
Function at 0x4cd0e7
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x48
mov esi, ecx
xor edi, edi
push 0x562eb8
push dword [esi + 0x64]
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call fcn.00513600
push 0x1000
push 0x562f00
push dword [esi + 0x1074]
call fcn.00513600
add esp, 0x18
push 4
xor ecx, ecx
pop ebx
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0xc]
mov eax, dword [ebp + 8]
shl ecx, 8
movzx eax, byte [edx + eax]
or ecx, eax
inc dword [ebp - 4]
dec ebx
jne 0x4cd129
mov eax, dword [esi + 0x64]
add eax, edi
xor dword [eax], ecx
add edi, 4
cmp edi, 0x48
jb 0x4cd124
push dword [esi + 0x64]
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
call fcn.004cd035
xor ecx, ecx
mov eax, dword [esi + 0x64]
lea edi, [ecx + 8]
lea edx, [edi + eax]
add ecx, eax
push edx
push ecx
mov ecx, esi
call fcn.004cd035
mov ecx, edi
cmp ecx, 0x40
jb 0x4cd162
mov eax, dword [esi + 0x64]
push dword [esi + 0x1074]
add eax, 0x40
push eax
mov ecx, esi
call fcn.004cd035
xor ecx, ecx
mov eax, dword [esi + 0x1074]
lea edi, [ecx + 8]
lea edx, [edi + eax]
add ecx, eax
push edx
push ecx
mov ecx, esi
call fcn.004cd035
mov ecx, edi
cmp ecx, 0xff8
jb 0x4cd193
lea ecx, [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x1c]
test al, al
jne 0x4cd1e1
push 0x44
xor edi, edi
pop ebx
mov eax, dword [esi + 0x64]
lea ecx, [ebx + eax]
push ecx
add eax, edi
push eax
call fcn.0046bef0
add edi, 4
pop ecx
sub ebx, 4
pop ecx
cmp edi, 0x24
jb 0x4cd1c5
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4cd231
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
push edi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
mov esi, ecx
push eax
lea ecx, [ebp - 4]
call fcn.004cd1e8
mov ecx, eax
call fcn.004cd1e8
mov eax, dword [esi + 0x1070]
mov esi, dword [esi + 0x60]
mov ecx, dword [ebp - 8]
xor ecx, dword [esi]
lea edi, [esi + 8]
mov dword [ebp - 4], 8
mov edx, ecx
shr edx, 0x10
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x400]
mov ebx, ecx
shr ebx, 0x18
add edx, dword [eax + ebx*4]
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
xor edx, dword [eax + ebx*4 + 0x800]
movzx ebx, cl
add edx, dword [eax + ebx*4 + 0xc00]
xor edx, dword [edi - 4]
xor dword [ebp + 8], edx
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 8]
shr edx, 0x10
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x400]
shr ebx, 0x18
add edx, dword [eax + ebx*4]
mov ebx, dword [ebp + 8]
shr ebx, 8
movzx ebx, bl
xor edx, dword [eax + ebx*4 + 0x800]
movzx ebx, byte [ebp + 8]
add edx, dword [eax + ebx*4 + 0xc00]
xor edx, dword [edi]
add edi, 8
xor ecx, edx
dec dword [ebp - 4]
jne 0x4cd271
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
xor eax, dword [esi + 0x44]
push ecx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], edx
call fcn.004cd204
mov ecx, eax
call fcn.004cd204
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4cef10
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4cf02b
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x4cf02b
mov edi, dword [ebp + 0xc]
xor edx, edx
push 3
lea eax, [edi + 2]
pop ebx
div ebx
shl eax, 2
inc eax
cmp dword [ecx], eax
jae 0x4cef4b
mov dword [ecx], eax
push 2
pop eax
jmp 0x4cf02e
mov ecx, dword [ebp + 0x10]
push 3
test ecx, ecx
je 0x4cef45
xor edx, edx
mov eax, edi
pop ebx
div ebx
xor edx, edx
imul eax, eax, 3
test eax, eax
jbe 0x4cefcc
dec eax
push 3
pop edi
div edi
mov edi, eax
inc edi
mov edx, edi
imul edx, edx, 3
movzx eax, byte [esi]
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_Basic]
mov byte [ecx], al
movzx eax, byte [esi]
movzx ebx, byte [esi + 1]
and eax, 3
shl eax, 4
shr ebx, 4
mov al, byte [eax + ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_Basic]
inc ecx
mov byte [ecx], al
movzx eax, byte [esi + 1]
movzx ebx, byte [esi + 2]
and eax, 0xf
shr ebx, 6
mov al, byte [ebx + eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_Basic]
inc ecx
mov byte [ecx], al
movzx eax, byte [esi + 2]
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_Basic]
inc ecx
mov byte [ecx], al
inc ecx
add esi, 3
dec edi
jne 0x4cef72
mov edi, dword [ebp + 0xc]
cmp edx, edi
jae 0x4cf01c
movzx eax, byte [esi]
inc edx
cmp edx, edi
jae 0x4cefde
movzx esi, byte [esi + 1]
jmp 0x4cefe0
xor esi, esi
mov ebx, eax
shr ebx, 2
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_Basic]
mov byte [ecx], bl
and eax, 3
shl eax, 4
mov ebx, esi
shr ebx, 4
mov al, byte [eax + ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_Basic]
inc ecx
mov byte [ecx], al
inc ecx
cmp edx, edi
jae 0x4cf013
and esi, 0xf
mov al, byte [esi*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_Basic]
jmp 0x4cf015
mov al, 0x3d
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov eax, dword [ebp + 0x14]
mov byte [ecx], 0
sub ecx, dword [ebp + 0x10]
mov dword [eax], ecx
xor eax, eax
jmp 0x4cf02e
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret