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

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push ebx
push ebp
mov eax, dword [edx]
mov ebp, dword [edx + 0x4694]
push esi
mov esi, 0x296
mov ebx, dword [0x100fdd48]
mov eax, dword [ecx + eax*4]
mov ecx, dword [0x100fdd14]
mov dword [esp + 0x10], eax
inc ecx
mov eax, dword [0x100fdd04]
mov dword [0x100fdd14], ecx
push edi
mov edi, dword [0x100fdd08]
mov eax, dword [eax + ecx*4]
mov cl, byte [0x100fdd02]
mov dword [esp + 0x18], eax
movzx eax, cl
mov eax, dword [edx + eax*4 + 0x60]
cdq
idiv esi
mov esi, dword [0x100fdd30]
inc cl
mov dword [esp + 0x10], eax
xor edx, edx
mov byte [0x100fdd02], cl
movzx eax, cl
movzx ecx, byte [ebx + 0x860]
xor eax, esi
div ecx
dec esi
mov dword [0x100fdd30], esi
mov esi, dword [esp + 0x2c]
mov byte [0x100fdd1c], al
mov eax, dword [esp + 0x28]
mov ecx, dword [esi]
mov edx, dword [eax + ecx*4]
movzx ecx, word [0x100fdd44]
mov eax, dword [esp + 0x24]
movzx eax, byte [ecx + eax]
mov ecx, dword [esp + 0x20]
sub ecx, eax
mov eax, dword [0x100fdd10]
movzx eax, word [eax + ebx*4 - 4]
push eax
push ecx
push edx
call fcn.1000aba0
mov dword [esi + ebx*4 + 0x18], eax
movzx ecx, byte [0x100fdd02]
mov eax, dword [0x100fdd54]
mov esi, dword [ebp + ebx*8]
and esi, ebx
mov edx, dword [eax + ecx*4 + 0x48]
movzx eax, word [ebp + 0x404]
movzx ecx, word [ebp + ebx*4]
imul ecx, eax
movzx eax, cx
push eax
push edx
push esi
call fcn.1000aba0
mov edx, dword [esp + 0x2c]
mov dword [ebp + ebx*4 + 0x20], eax
mov eax, dword [esp + 0x44]
movzx ecx, byte [edi + 0xc7e]
mov edi, dword [esp + 0x4c]
movzx esi, word [0x100fdd38]
mov eax, dword [eax]
add ecx, dword [edi + eax*4]
mov ax, word [0x100fdd44]
inc ax
mov word [0x100fdd44], ax
movzx eax, ax
movzx eax, word [edx + eax*2]
cdq
idiv ebx
movzx eax, ax
push eax
push ecx
push esi
call fcn.1000aba0
mov dword [ebp + ebx*8 + 0xa0], eax
add esp, 0x24
mov eax, dword [esp + 0x2c]
movzx ebp, word [0x100fdd44]
mov ebx, dword [esp + 0x18]
mov eax, dword [eax]
mov edi, dword [edi + eax*4]
movzx eax, word [ebx + ebp*2]
cmp edi, eax
jne 0x1000ca23
mov edx, dword [0x100fdd30]
mov si, word [0x100fdd34]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
dec eax
or ecx, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
movzx ecx, cx
movzx eax, word [eax + 0x952]
imul ecx, eax
and cx, dx
xor si, cx
dec edx
mov word [0x100fdd34], si
inc edi
mov dword [0x100fdd30], edx
movzx eax, word [ebx + ebp*2]
cmp edi, eax
je 0x1000c9e6
movzx eax, word [0x100fdd38]
pop edi
pop esi
pop ebp
xor eax, 0x1b13
pop ebx
add esp, 0xc
ret
Function at 0x1000cf7b
Capabilities:
Create pipe

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
lea ebp, [eax - 0x406]
lea esi, [eax + 0xb6f]
mov ebx, edi
xor ebx, 0xfa6
lea eax, [edi - 0x2d6]
mov dword [esp + 0x24], eax
lea ecx, [edi + 0x5ad]
lea eax, [ebp + 0xed5]
mov dword [esp + 0x14], ecx
cmp ebx, eax
jg 0x1000d027
mov edx, dword [esp + 0x30]
lea eax, [ebx + 0x9c2]
cmp esi, eax
jl 0x1000d014
mov eax, dword [edx + 0x14]
add dword [edx + 0xa0], eax
mov ecx, dword [edx + 0xf4]
mov eax, dword [edx + 0x60]
add ecx, 0xffef319a
add eax, ecx
mov dword [edx + 0x1c], eax
mov ecx, dword [0x100fdc00]
cmp ecx, dword [0x100fdc7c]
je 0x1000d001
sub dword [0x100fdc1c], 0x18c1
jmp 0x1000d014
mov eax, dword [0x100e4da4]
mov eax, dword [eax + 0xf4]
sub eax, ecx
or dword [edx + 0xd0], eax
mov eax, 0x1fbb44
sub eax, dword [edx + 0x84]
add dword [edx + 0x1c], eax
jmp 0x1000d180
mov eax, dword [0x100fdca4]
mov edx, ebp
add eax, 0xfffff824
mov dword [esp + 0x10], edx
add eax, edi
cmp ebp, eax
ja 0x1000d180
mov eax, dword [0x100fdca4]
xor ecx, 0x315c
add ecx, 0x2427
mov dword [esp + 0x18], ecx
cmp ebp, ecx
jge 0x1000d167
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
add edx, 0xffffd3d9
mov ecx, dword [eax + 0xb0]
mov eax, dword [esp + 0x14]
add eax, edx
mov edx, dword [0x100e4da4]
push eax
mov eax, dword [edx + 0x7c]
sub eax, 0x2427
imul eax, dword [edi + 0xb8]
mov edi, dword [esp + 0x24]
push eax
lea eax, [edi - 0x2c1a]
push eax
mov eax, ecx
sub eax, dword [edx + 0x28]
sub eax, ebx
push eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x78]
sub eax, dword [esp + 0x34]
add eax, ebx
push eax
mov eax, dword [edx + 0x98]
or eax, ecx
mov ecx, dword [esp + 0x44]
push eax
mov eax, dword [edx + 0xd0]
or eax, dword [ecx + 0x78]
sub eax, ebx
push eax
mov eax, dword [edx + 0x64]
sub eax, dword [edx + 0x68]
and eax, dword [edx + 0xe4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov eax, dword [0x100fdccc]
lea edx, [edi - 0x2d6]
mov ecx, dword [esp + 0x30]
and eax, 0x254c
imul eax, dword [0x100fdce4]
push eax
mov eax, dword [ecx + 0x9c]
add eax, esi
push eax
mov eax, edx
or eax, 0x3071
and eax, dword [ecx + 0x74]
push eax
mov eax, dword [ecx + 0x6c]
xor eax, 0x2b98
push eax
mov eax, dword [0x100fdca4]
or eax, edx
lea edx, [edi + 0x5ad]
push eax
lea eax, [edi + 0x1c45]
push eax
mov eax, dword [0x100e4da4]
mov eax, dword [eax + 0xdc]
and eax, edx
xor eax, dword [ecx + 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0x453
push 0x337
call fcn.1000c619
mov edx, dword [esp + 0x18]
pop ecx
mov dword [0x100fdd4c], eax
mov eax, dword [0x100fdca4]
pop ecx
lea ecx, [edi - 0x7dc]
inc edx
add ecx, eax
mov dword [esp + 0x10], edx
cmp edx, ecx
mov ecx, dword [esp + 0x18]
jbe 0x1000d056
xor esi, 0x1e0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x1000d414
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
xor dword [esp + 0x18], 0x2168
mov edx, dword [esp + 0x10]
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
mov ebx, ebp
push esi
mov esi, dword [esp + 0x28]
xor ebx, 0xdcc
push edi
mov edi, dword [esp + 0x30]
xor ebp, 0x800
xor edi, 0x2c21
lea eax, [esi + 0x532]
mov dword [esp + 0x30], edi
xor esi, 0x25e5
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], esi
cmp eax, ebx
je 0x1000d46d
mov eax, dword [edx + 0x34]
sub eax, 0x2605
mov dword [edx], eax
lea eax, [ebp - 0xdc0]
cmp esi, eax
je 0x1000d4b1
mov eax, dword [0x100fdc48]
add eax, 0xfff9c2e2
imul eax, dword [edx + 0xa8]
mov dword [edx + 0xa8], eax
cmp eax, 0x1612c
je 0x1000d4a6
mov eax, dword [0x100fdc84]
lea eax, [eax*2 - 0x9e369]
mov dword [0x100fdc84], eax
add esi, 0x254c
jmp 0x1000d55b
and ebx, edi
mov ecx, edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], ebx
cmp edi, ebx
jne 0x1000d55b
mov esi, dword [esp + 0x24]
mov eax, dword [edx + 0xcc]
sub eax, 0x254c
mov dword [esp + 0x24], edi
cmp edi, eax
jb 0x1000d548
mov ebx, dword [esp + 0x28]
mov ecx, edi
mov eax, dword [edx + 0xa8]
add eax, esi
mov dword [esp + 0x14], edi
cmp edi, eax
jbe 0x1000d52a
mov eax, dword [0x100fdc98]
mov ecx, dword [0x100e4da4]
imul eax, ebx
xor esi, eax
mov eax, dword [edx + 0xd8]
sub eax, 0x1e67
or eax, ebp
sub dword [ecx + 0x84], eax
inc edi
mov eax, dword [edx + 0xa8]
add eax, esi
cmp edi, eax
ja 0x1000d4f2
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov eax, dword [edx + 0xcc]
add ecx, 2
sub eax, 0x254c
mov dword [esp + 0x24], ecx
cmp ecx, eax
jae 0x1000d4e2
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
add ecx, 2
mov dword [esp + 0x10], ecx
cmp ecx, ebx
je 0x1000d4c9
mov esi, dword [esp + 0x2c]
pop edi
lea eax, [esi + 0xf6e]
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x411c32
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x423a28
call fcn.004143e4
xor esi, esi
cmp dword [0x42a1b8], esi
jne 0x411aea
push esi
push esi
push 1
push esi
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x411afd
mov dword [ebp - 0x1c], esi
jmp 0x411b33
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x411af8
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x411af8
cmp dword [eax + 0x400074], 0xe
jbe 0x411af8
xor ecx, ecx
cmp dword [eax + 0x4000e8], esi
setne cl
mov dword [ebp - 0x1c], ecx
call fcn.004143c6
test eax, eax
jne 0x411b44
push 0x1c
call fcn.00417a68
pop ecx
call fcn.0041424b
test eax, eax
jne 0x411b55
push 0x10
call fcn.00417a68
pop ecx
call fcn.00413f00
mov dword [ebp - 4], esi
call fcn.00417a68
test eax, eax
jns 0x411b70
push 0x1b
call fcn.00417a68
jmp 0x411b6f
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x42a1b4], eax
call fcn.00417a68
mov dword [0x4283d0], eax
call fcn.00417a68
test eax, eax
jns 0x411b98
push 8
call fcn.00417a68
jmp 0x411b97
pop ecx
call fcn.004138f3
test eax, eax
jns 0x411bab
push 9
call fcn.00417a68
jmp 0x411baa
pop ecx
push 1
call fcn.00417a68
pop ecx
cmp eax, esi
je 0x411bc0
push eax
call fcn.00417a68
jmp 0x411bbf
pop ecx
mov eax, dword [0x4283ec]
mov dword [0x4283f0], eax
push eax
push dword [0x4283e8]
push dword [0x4283e4]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], esi
jne 0x411bed
push eax
call fcn.00417a68
call fcn.0041355f
jmp 0x411c22
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.00414429
ret
call fcn.00417a68
jmp 0x411ac9

Function at 0x4122f2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x426fa0]
jne 0x414d44
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x428c58], eax
mov dword [0x428c54], ecx
mov dword [0x428c50], edx
mov dword [0x428c4c], ebx
mov dword [0x428c48], esi
mov dword [0x428c44], edi
mov word [0x428c70], ss
mov word [0x428c64], cs
mov word [0x428c40], ds
mov word [0x428c3c], es
mov word [0x428c38], fs
mov word [0x428c34], gs
pushfd
pop dword [0x428c68]
mov eax, dword [ebp]
mov dword [0x428c5c], eax
mov eax, dword [ebp + 4]
mov dword [0x428c60], eax
lea eax, [ebp + 8]
mov dword [0x428c6c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x428ba8], 0x10001
mov eax, dword [0x428c60]
mov dword [0x428b5c], eax
mov dword [0x428b50], 0xc0000409
mov dword [0x428b54], 1
mov eax, dword [0x426fa0]
mov dword [ebp - 0x328], eax
mov eax, dword [0x426fa4]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x428ba0], eax
push 1
call fcn.00416f22
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x405c7c
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x428ba0], 0
jne 0x414e30
push 1
call fcn.00416f22
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x417a68
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x417a77
pop dword [ebp - 0x1c]
mov eax, 0xaa395c5b
add eax, 0x56081e1c
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x358cea80
add dword [ebp - 0x2c], 0x18c55acb
mov dword [ebp - 0x28], 0xb2bccabc
sub dword [ebp - 0x28], 0x80897e77
mov dword [ebp - 0x24], 0x3eb09d63
sub dword [ebp - 0x24], 0xf2645935
mov dword [ebp - 0x20], 0x3165b40a
add dword [ebp - 0x20], 0xce9a4bf6
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x158e8fe4
sub eax, 0x154e7e30
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xdcb8966
sub dword [ebp - 0x2c], 0x99592010
mov dword [ebp - 0x28], 0xd6cc5411
sub dword [ebp - 0x28], 0x955ff29c
mov dword [ebp - 0x24], 0xd1756562
sub dword [ebp - 0x24], 0x6e05f8f6
mov dword [ebp - 0x20], 0x4ba677cb
add dword [ebp - 0x20], 0xb4598835
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x6500cf18
sub eax, 0x64c0be10
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x38784
push 0
call eax
mov ecx, 0xe8758318
add ecx, 0x178ab018
xor esi, esi
add esi, eax
mov edi, 0x9b5a6d71
sub edi, 0x9b151171
add edi, dword [ebp - 0x1c]
mov ebx, 0xd5efe0e0
mov edx, dword [edi]
add dword [ebp - 8], esi
xor edx, ebx
mov dword [esi], edx
sub dword [ebp - 0x14], 0xefa9b291
add esi, 0xb4ce2b93
sub esi, 0xb4ce2b8f
add edi, 4
loop 0x417b95
add eax, 0xa152664
sub eax, 0xa1466d1
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xe88f7fc0
sub ecx, 0xe84f7fc0
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x41d692
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push 0x4072c8
xor ebx, ebx
push ebx
push 0x100000
call dword [sym.imp.kernel32.dll_OpenMutexW]
mov esi, eax
test esi, esi
jne 0x41d6b8
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 5
jne 0x41d6c5
mov bl, 1
test esi, esi
je 0x41d6c5
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
ret
Function at 0x40d5b8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040803b
mov dword [ebp - 0x14], eax
cmp dword [0x813c60], esi
jne 0x40d6ab
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d638
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d78b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d78b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d78b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x813c60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x813c64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x813c68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x813c70], eax
test eax, eax
je 0x40d6a8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x813c6c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d6d0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d6c3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d6e5
push 4
pop eax
jmp 0x40d78d
cmp dword [ebp - 0x14], esi
je 0x40d6e5
push dword [0x813c60]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d6ca
mov eax, dword [0x813c6c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d743
cmp dword [0x813c70], edi
je 0x40d743
push eax
call ebx
push dword [0x813c70]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d743
test eax, eax
je 0x40d743
call ecx
test eax, eax
je 0x40d738
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d738
test byte [ebp - 8], 1
jne 0x40d743
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d773
mov eax, dword [0x813c64]
cmp eax, edi
je 0x40d770
push eax
call ebx
test eax, eax
je 0x40d770
call eax
mov esi, eax
test esi, esi
je 0x40d770
mov eax, dword [0x813c68]
cmp eax, edi
je 0x40d770
push eax
call ebx
test eax, eax
je 0x40d770
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x813c60]
call ebx
test eax, eax
je 0x40d78b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d78d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040433c
mov esp, ebp
pop ebp
ret
Function at 0x10010980
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.10032340
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x64]
add ebp, 1
test byte [ecx + 0x38], 1
je 0x100109ca
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 4]
lea edx, [ecx + ebp]
cmp edx, eax
jbe 0x100109bd
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
add dword [esi + 0xc], ecx
add dword [esi + 0x10], ecx
sub eax, ecx
mov dword [esi + 4], eax
jmp 0x100109d5
mov eax, dword [esp + 0x18]
cmp ebp, dword [eax + 4]
ja 0x100109b6
mov esi, eax
test dword [edi + 0x100], 0x200
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push ebx
movzx ebx, byte [ecx + edx - 1]
je 0x10010a2a
cmp dword [edi + 0x88], 0
jne 0x10010a2a
mov eax, dword [edi + 0x58]
push 8
add eax, 8
push 0x10040480
push eax
call sub.LIBEAY32.dll_Ordinal_3906
add esp, 0xc
test eax, eax
jne 0x10010a1b
test bl, 1
jne 0x10010a1b
mov eax, dword [edi + 0x58]
or dword [eax], 8
mov ecx, dword [edi + 0x58]
test byte [ecx], 8
je 0x10010a2a
test ebx, ebx
jbe 0x10010a2a
sub ebx, 1
mov edx, dword [edi + 0x80]
mov eax, dword [edx]
push eax
call sub.LIBEAY32.dll_Ordinal_3857
add esp, 4
test eax, 0x200000
je 0x10010a55
or ecx, 0xffffffff
sub ecx, ebx
add dword [esi + 4], ecx
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret
mov edi, dword [esi + 4]
lea eax, [ebx + ebp]
mov esi, edi
sub esi, eax
xor esi, eax
mov edx, edi
xor edx, eax
or esi, edx
xor esi, edi
shr esi, 0x1f
mov ecx, 0xff
lea eax, [edi - 1]
sub esi, 1
cmp eax, ecx
mov dword [esp + 0x18], ecx
jae 0x10010a85
mov ecx, eax
mov dword [esp + 0x18], eax
xor ebp, ebp
test ecx, ecx
jbe 0x10010ade
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0xc]
mov ecx, ebx
shr ecx, 0x1f
lea eax, [edi + edx - 1]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
mov edx, ebx
sub edx, ebp
shr edx, 0x1f
mov eax, ebp
shr eax, 0x1f
xor dl, al
xor cl, al
or dl, cl
mov ecx, dword [esp + 0x10]
xor dl, cl
sub dl, 1
movzx eax, dl
mov edx, dword [esp + 0x24]
movzx edx, byte [edx]
sub dword [esp + 0x24], 1
xor edx, ebx
and eax, edx
not eax
add ebp, 1
and esi, eax
cmp ebp, dword [esp + 0x18]
jb 0x10010aa3
mov edx, dword [esp + 0x1c]
not esi
and esi, 0xff
lea ecx, [esi - 1]
shr ecx, 0x1f
not esi
shr esi, 0x1f
and ecx, esi
neg ecx
lea eax, [ebx + 1]
and eax, ecx
sub edi, eax
shl eax, 8
or dword [edx], eax
pop ebx
mov dword [edx + 4], edi
mov eax, ecx
pop edi
and eax, 1
not ecx
pop esi
or eax, ecx
pop ebp
pop ecx
ret
Function at 0x10010b20
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa4
call fcn.10032340
mov eax, dword [0x1004fd40]
xor eax, esp
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
push ebx
mov ebx, dword [esp + 0xb8]
push ebp
push esi
mov esi, dword [ecx + 4]
push edi
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x18], esi
sub esi, edi
xor ebp, ebp
cmp ebx, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebp
jae 0x10010b8a
push str.orig_len___md_size
push 0xf8
push str.._ssl_s3_cbc.c
call sub.LIBEAY32.dll_Ordinal_3244
add esp, 0xc
cmp edi, 0x40
jbe 0x10010ba6
push str.md_size___EVP_MAX_MD_SIZE
push 0xf9
push str.._ssl_s3_cbc.c
call sub.LIBEAY32.dll_Ordinal_3244
add esp, 0xc
lea ecx, [esp + 0x30]
neg ecx
and ecx, 0x3f
lea edx, [edi + 0x100]
cmp ebx, edx
lea ecx, [esp + ecx + 0x30]
mov dword [esp + 0x1c], ecx
jbe 0x10010bd0
mov eax, ebx
sub eax, edi
sub eax, 0x100
mov dword [esp + 0x10], eax
mov ebp, eax
mov eax, edi
and eax, 0xfffffffe
shl eax, 0x17
sub eax, ebp
add eax, esi
xor edx, edx
div edi
push edi
push 0
push ecx
mov ebx, edx
mov dword [esp + 0x30], ebx
call fcn.10032820
mov edx, dword [esp + 0x1c]
add esp, 0xc
xor esi, esi
cmp edx, dword [esp + 0xc4]
jae 0x10010cb5
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sub edx, ecx
mov ebx, ecx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0xc]
shr eax, 0x1f
shr ebx, 0x1f
sub ecx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
jmp 0x10010c48
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
add ecx, ebx
shr ecx, 0x1f
xor cl, al
mov edx, ebp
shr edx, 0x1f
xor al, dl
or cl, al
mov eax, ebx
mov bl, byte [esp + 0x2c]
shr eax, 0x1f
xor al, bl
xor bl, dl
or al, bl
xor al, dl
sub al, 1
xor cl, dl
mov edx, dword [esp + 0x14]
mov dl, byte [edx + ebp]
not al
add dword [esp + 0x10], 1
and al, dl
sub cl, 1
and al, cl
mov ecx, dword [esp + 0x1c]
or byte [esi + ecx], al
add esi, 1
mov eax, esi
sub eax, edi
xor eax, edi
mov ecx, esi
xor ecx, edi
or eax, ecx
xor eax, esi
shr eax, 0x1f
neg eax
add ebp, 1
and esi, eax
cmp ebp, dword [esp + 0xc4]
jb 0x10010c40
mov ebx, dword [esp + 0x24]
xor eax, eax
test edi, edi
jbe 0x10010cf5
jmp 0x10010cc0
mov esi, dword [esp + 0x1c]
mov edx, ebx
xor edx, 0x20
mov cl, byte [edx + esi]
mov dl, byte [ebx + esi]
mov ecx, dword [esp + 0x28]
mov byte [ecx + eax], dl
add ebx, 1
mov edx, ebx
sub edx, edi
xor edx, edi
mov ecx, ebx
xor ecx, edi
or edx, ecx
xor edx, ebx
shr edx, 0x1f
neg edx
add eax, 1
and ebx, edx
cmp eax, edi
jb 0x10010cc0
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10032804
add esp, 0xa4
ret
Function at 0x10018c70
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc
call fcn.10032340
push ebp
push esi
mov esi, dword [esp + 0x54]
push edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
xor ebp, ebp
push ebp
xor edi, edi
call fcn.10028b30
add esp, 0xc
test eax, eax
je 0x10018cd0
lea esp, [esp]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
shl edx, 0xa
test eax, edx
je 0x10018cb2
add edi, 1
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
add ebp, 1
push ebp
call fcn.10028b30
add esp, 0xc
test eax, eax
jne 0x10018ca0
test edi, edi
jne 0x10018cf4
push 0x109
push str.._ssl_t1_enc.c
push 0x44
push 0x11c
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret
mov eax, dword [esp + 0x4c]
cdq
idiv edi
cmp edi, 1
push ebx
mov ebx, eax
jne 0x10018d0b
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x4c]
push esi
push 0
push eax
call fcn.10032820
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
mov dword [esp + 0x30], 0
call fcn.10028b30
add esp, 0x18
test eax, eax
je 0x10018df3
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
shl eax, 0xa
test ecx, eax
je 0x10018dcd
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10018e00
mov ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push esi
push ebp
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x5c]
and edx, 1
add edx, ebx
push edx
mov edx, dword [esp + 0x68]
push edi
push eax
call fcn.10018870
add esp, 0x34
test eax, eax
je 0x10018e1e
add edi, ebx
test esi, esi
jle 0x10018dcd
mov eax, dword [esp + 0x54]
mov ecx, ebp
sub ecx, eax
mov ebp, esi
lea esp, [esp]
mov dl, byte [ecx + eax]
xor byte [eax], dl
add eax, 1
sub ebp, 1
jne 0x10018dc0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
add eax, 1
push edx
push eax
mov dword [esp + 0x24], eax
call fcn.10028b30
add esp, 0xc
test eax, eax
jne 0x10018d40
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0xc
ret
push 0x114
push str.._ssl_t1_enc.c
push 0x146
push 0x11c
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret