Function at 0x1001c4e0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x50
call fcn.100bff40
mov eax, dword [0x10116c70]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x60]
push ebx
mov ebx, dword [esp + 0x60]
push ebp
push esi
mov esi, dword [esp + 0x64]
push edi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], eax
test edi, edi
je 0x1001c527
test esi, esi
je 0x1001c527
test eax, eax
je 0x1001c527
mov ebp, dword [esp + 0x78]
test ebp, ebp
jne 0x1001c542
jmp 0x1001c52b
mov ebp, dword [esp + 0x78]
push str.in__out__key__ivec
push 0xe3
push str..crypto_aes_aes_ige.c
call sym.LIBEAY32.dll_OpenSSLDie
add esp, 0xc
mov eax, dword [esp + 0x7c]
cmp eax, 1
je 0x1001c566
test eax, eax
je 0x1001c566
push str._AES_ENCRYPT__enc__AES_DECRYPT__enc_
push 0xe4
push str..crypto_aes_aes_ige.c
call sym.LIBEAY32.dll_OpenSSLDie
add esp, 0xc
test bl, 0xf
je 0x1001c582
push str._length_AES_BLOCK_SIZE___0
push 0xe5
push str..crypto_aes_aes_ige.c
call sym.LIBEAY32.dll_OpenSSLDie
add esp, 0xc
cmp dword [esp + 0x7c], 1
jne 0x1001c78f
lea ecx, [ebp + 0x10]
mov eax, ebp
mov dword [esp + 0x10], ecx
cmp ebx, 0x10
jb 0x1001c693
shr ebx, 4
mov dword [esp + 0x18], ebx
mov edx, edi
sub edx, eax
mov dword [esp + 0x24], edx
mov edx, esi
mov ebx, edi
sub edx, eax
sub ebx, esi
lea ebp, [edi + 3]
lea ecx, [esi + 1]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], 4
jmp 0x1001c5d0
mov ebx, dword [esp + 0x24]
movzx ebx, byte [ebx + eax]
xor bl, byte [eax]
add eax, 4
mov byte [edx + eax - 4], bl
mov ebx, dword [esp + 0x28]
movzx ebx, byte [ebx + ecx]
xor bl, byte [eax - 3]
add ecx, 4
mov byte [ecx - 4], bl
movzx ebx, byte [eax - 2]
xor bl, byte [ebp - 1]
add ebp, 4
mov byte [ecx - 3], bl
movzx ebx, byte [eax - 1]
xor bl, byte [ebp - 4]
sub dword [esp + 0x20], 1
mov byte [ecx - 2], bl
jne 0x1001c5d0
mov edx, dword [esp + 0x1c]
push edx
push esi
push esi
call sym.LIBEAY32.dll_AES_encrypt
mov ebp, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [ebp + 2]
mov eax, esi
sub ebp, esi
mov edx, 4
nop
movzx ebx, byte [eax + ebp]
xor byte [eax], bl
movzx ebx, byte [ecx - 1]
xor byte [eax + 1], bl
movzx ebx, byte [ecx]
xor byte [eax + 2], bl
movzx ebx, byte [ecx + 1]
xor byte [eax + 3], bl
add eax, 4
add ecx, 4
sub edx, 1
jne 0x1001c630
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x30], edx
mov edx, dword [edi + 0xc]
mov eax, esi
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x2c]
add edi, 0x10
add esi, 0x10
sub dword [esp + 0x18], 1
mov dword [esp + 0x38], edx
mov dword [esp + 0x10], ecx
jne 0x1001c5a6
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x78]
lea edx, [ebp + 0x20]
add ebp, 0x30
mov dword [esp + 0x10], ebp
cmp ebx, 0x10
jb 0x1001c9a9
shr ebx, 4
lea esp, [esp]
mov eax, dword [esi - 0x10]
mov ecx, dword [esi - 0xc]
sub esi, 0x10
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x40], ecx
mov ecx, dword [esi + 0xc]
mov ebp, edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
lea ecx, [edx + 2]
mov eax, esi
sub ebp, esi
mov edi, 4
lea ecx, [ecx]
movzx edx, byte [eax + ebp]
xor byte [eax], dl
movzx edx, byte [ecx - 1]
xor byte [eax + 1], dl
movzx edx, byte [ecx]
xor byte [eax + 2], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 3], dl
add eax, 4
add ecx, 4
sub edi, 1
jne 0x1001c6e0
mov eax, dword [esp + 0x1c]
push eax
push esi
push esi
call sym.LIBEAY32.dll_AES_encrypt
mov edi, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [edi + 2]
mov eax, esi
sub edi, esi
mov ebp, 4
movzx edx, byte [eax + edi]
xor byte [eax], dl
movzx edx, byte [ecx - 1]
xor byte [eax + 1], dl
movzx edx, byte [ecx]
xor byte [eax + 2], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 3], dl
add eax, 4
add ecx, 4
sub ebp, 1
jne 0x1001c724
sub ebx, 1
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x10], eax
jne 0x1001c6b0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.100bff70
add esp, 0x50
ret
lea ecx, [ebp + 0x20]
add ebp, 0x30
add edi, ebx
add esi, ebx
mov dword [esp + 0x10], ecx
cmp ebx, 0x10
jb 0x1001c8ae
shr ebx, 4
mov dword [esp + 0x18], ebx
lea ecx, [ecx]
mov edx, dword [edi - 0x10]
mov eax, dword [edi - 0xc]
mov ecx, dword [edi - 8]
sub edi, 0x10
mov dword [esp + 0x3c], edx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [edi]
mov dword [esp + 0x48], edx
mov edx, dword [edi + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x44], ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ecx
mov edx, ebp
lea eax, [esp + 0x3c]
sub esi, 0x10
xor ecx, ecx
sub edx, eax
jmp 0x1001c800
lea eax, [esp + ecx + 0x3c]
movzx ebx, byte [edx + eax]
xor byte [eax], bl
movzx ebx, byte [ecx + ebp + 1]
xor byte [eax + 1], bl
movzx ebx, byte [ecx + ebp + 2]
xor byte [eax + 2], bl
movzx ebx, byte [ecx + ebp + 3]
xor byte [eax + 3], bl
add ecx, 4
cmp ecx, 0x10
jb 0x1001c800
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x40]
push esi
push edx
call sym.LIBEAY32.dll_AES_decrypt
mov ebp, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [ebp + 2]
mov eax, esi
sub ebp, esi
mov edx, 4
lea ecx, [ecx]
movzx ebx, byte [eax + ebp]
xor byte [eax], bl
movzx ebx, byte [ecx - 1]
xor byte [eax + 1], bl
movzx ebx, byte [ecx]
xor byte [eax + 2], bl
movzx ebx, byte [ecx + 1]
xor byte [eax + 3], bl
add eax, 4
add ecx, 4
sub edx, 1
jne 0x1001c850
sub dword [esp + 0x18], 1
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x10], ecx
mov ebp, esi
jne 0x1001c7b0
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x10], edi
add edi, 0x10
cmp ebx, 0x10
jb 0x1001c9a9
shr ebx, 4
mov dword [esp + 0x14], ebx
lea esp, [esp]
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov ebx, dword [esi]
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ecx
mov ebp, edi
lea eax, [esp + 0x3c]
xor ecx, ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x38], edx
sub ebp, eax
lea eax, [esp + ecx + 0x3c]
movzx edx, byte [eax + ebp]
xor byte [eax], dl
movzx edx, byte [edi + ecx + 1]
xor byte [eax + 1], dl
movzx edx, byte [edi + ecx + 2]
xor byte [eax + 2], dl
movzx edx, byte [edi + ecx + 3]
xor byte [eax + 3], dl
add ecx, 4
cmp ecx, 0x10
jb 0x1001c903
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x40]
push esi
push ecx
call sym.LIBEAY32.dll_AES_decrypt
mov edi, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [edi + 2]
mov eax, esi
sub edi, esi
mov ebp, 4
movzx edx, byte [edi + eax]
xor byte [eax], dl
movzx edx, byte [ecx - 1]
xor byte [eax + 1], dl
movzx edx, byte [ecx]
xor byte [eax + 2], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 3], dl
add eax, 4
add ecx, 4
sub ebp, 1
jne 0x1001c950
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x50], eax
mov edi, esi
lea eax, [esp + 0x4c]
add esi, 0x10
sub dword [esp + 0x14], 1
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x10], eax
jne 0x1001c8d0
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100bff70
add esp, 0x50
ret