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

Disassembly:
mov eax, 0x50
call fcn.100d6420
mov eax, dword [0x10151618]
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]
test edi, edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], eax
je 0x1001b2d7
test esi, esi
je 0x1001b2d7
test eax, eax
je 0x1001b2d7
mov ebp, dword [esp + 0x78]
test ebp, ebp
jne 0x1001b2f2
jmp 0x1001b2db
mov ebp, dword [esp + 0x78]
push str.in__out__key__ivec
push 0xde
push str..crypto_aes_aes_ige.c
call sym.LIBEAY32.dll_OpenSSLDie
add esp, 0xc
mov eax, dword [esp + 0x7c]
cmp eax, 1
je 0x1001b316
test eax, eax
je 0x1001b316
push str._AES_ENCRYPT__enc____AES_DECRYPT__enc_
push 0xdf
push str..crypto_aes_aes_ige.c
call sym.LIBEAY32.dll_OpenSSLDie
add esp, 0xc
test bl, 0xf
je 0x1001b332
push str._length___AES_BLOCK_SIZE___0
push pe_nt_image_headers32
push str..crypto_aes_aes_ige.c
call sym.LIBEAY32.dll_OpenSSLDie
add esp, 0xc
cmp dword [esp + 0x7c], 1
jne 0x1001b53f
cmp ebx, 0x10
lea ecx, [ebp + 0x10]
mov eax, ebp
mov dword [esp + 0x10], ecx
jb 0x1001b443
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 0x1001b380
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 0x1001b380
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 0x1001b3e0
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 0x1001b356
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x78]
lea edx, [ebp + 0x20]
add ebp, 0x30
cmp ebx, 0x10
mov dword [esp + 0x10], ebp
jb 0x1001b759
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 0x1001b490
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 0x1001b4d4
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 0x1001b460
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.100d6528
add esp, 0x50
ret
lea ecx, [ebp + 0x20]
add ebp, 0x30
add edi, ebx
add esi, ebx
cmp ebx, 0x10
mov dword [esp + 0x10], ecx
jb 0x1001b65e
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 0x1001b5b0
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 0x1001b5b0
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 0x1001b600
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 0x1001b560
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x10], edi
add edi, 0x10
cmp ebx, 0x10
jb 0x1001b759
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 0x1001b6b3
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 0x1001b700
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 0x1001b680
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100d6528
add esp, 0x50
ret