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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xac
cmp dword [ecx + 0x20], 0
je 0x40e213
mov esi, ecx
movzx eax, byte [ecx]
lea ecx, [esp + 0xa8]
push 0xa
push 4
push ecx
push eax
call fcn.0040e230
add esp, 0x10
mov dword [esp + 0x14], eax
lea eax, [esi + 0x10]
push eax
call fcn.0040aa20
add esp, 4
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
lea eax, [ecx + 0x400]
push eax
call fcn.0040cbc0
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 0x272b3628
mov byte [esp + 0x24], 0x84
mov word [esp + 0x25], 0
mov byte [esp + 0x27], 0
mov eax, 0x23726460
mov edi, 0xdc8d9b9f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebp, byte [esp + eax - 0x23726440]
mov edx, eax
and edx, ebp
add edx, edx
lea ebx, [eax + ebp]
mov ecx, edi
sub ecx, ebp
and ecx, edx
not edx
and edx, ebx
sub edx, ecx
add dl, 0x20
mov byte [esp + eax - 0x23726440], dl
inc eax
dec edi
cmp eax, 0x23726468
jne 0x40de20
lea ebx, [esp + 0x20]
mov ecx, esi
push 0x4519e4
push ebx
mov ebp, dword [esp + 0x18]
push ebp
call fcn.0040d710
mov dword [esp + 0x20], 0x970a0008
mov byte [esp + 0x24], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, eax
and edi, 0xc
mov edx, ecx
xor edx, 0xe6
add edx, edi
xor dl, byte [esp + ecx + 0x20]
add dl, 0x82
mov byte [esp + ecx + 0x20], dl
inc ecx
add eax, 2
cmp ecx, 5
jne 0x40de80
mov ecx, esi
push dword [esp + 0x14]
push ebx
push ebp
call fcn.0040d710
mov eax, dword [str.tLYMe5__testtesttest]
mov dword [esp + 0x20], 0x812a2c30
mov byte [esp + 0x24], 0
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ecx
add dl, 0xa1
xor dl, byte [esp + ecx + 0x20]
add dl, 0xdb
mov byte [esp + ecx + 0x20], dl
inc ecx
cmp ecx, 5
jne 0x40ded0
mov ecx, esi
push eax
push ebx
push ebp
call fcn.0040d710
mov dword [esp + 0x20], 0x35003809
mov dword [esp + 0x24], 0x350c31
mov dword [esp + 0x28], 0x2e0f3401
mov byte [esp + 0x2c], 0x88
mov dword [esp + 0x2d], 0
mov dword [esp + 0x30], 0
xor eax, eax
nop
movzx edi, byte [esp + eax + 0x20]
lea ecx, [eax + eax]
mov edx, ecx
and edx, 0x20
or edx, eax
xor edx, 0x51823ad0
lea ebx, [edx + 0x55]
and ebx, edi
add edx, edi
add ebx, ebx
sub edx, ebx
add dl, 0x9c
mov byte [esp + eax + 0x20], dl
and ecx, 2
xor eax, 1
add eax, ecx
cmp eax, 0x14
jb 0x40df20
mov dword [esp], 0x21aaba47
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov eax, 0x39
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x39]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0xe3
mov byte [esp + eax - 0x39], cl
inc eax
cmp eax, 0x40
jne 0x40df70
mov eax, esp
mov ecx, esi
lea ebx, [esp + 0x20]
push ebx
push eax
push ebp
call fcn.0040d710
mov dword [esp + 0x20], 0xb2aeacb6
mov byte [esp + 0x24], 0x18
mov word [esp + 0x25], 0
mov byte [esp + 0x27], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
mov edi, eax
and edi, 6
mov edx, ecx
xor edx, 0x3b
add edx, edi
xor dl, byte [esp + ecx + 0x20]
add dl, 0xd9
mov byte [esp + ecx + 0x20], dl
inc ecx
add eax, 2
cmp ecx, 8
jne 0x40dfc0
mov ecx, esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push ebx
push ebp
call fcn.0040d990
mov eax, dword [esi + 0x60]
mov dword [esp + 0x20], 0x93059153
mov dword [esp + 0x24], 0x9f029d0a
mov dword [esp + 0x28], 0x9b0c9935
mov dword [esp + 0x2c], 0x87538518
mov dword [esp + 0x30], 0x831b813c
mov dword [esp + 0x34], 0x8f238d1c
mov dword [esp + 0x38], 0x8b6a8952
mov dword [esp + 0x3c], 0x77eb75e1
mov dword [esp + 0x40], 0x73ee71e4
mov dword [esp + 0x44], 0x7fee7dd5
mov dword [esp + 0x48], 0x7be879d9
mov dword [esp + 0x4c], 0x67b165f8
mov dword [esp + 0x50], 0x63f561ce
mov dword [esp + 0x54], 0x6ffb6dfe
mov dword [esp + 0x58], 0x6bc669bd
mov dword [esp + 0x5c], 0x57ca55f5
mov dword [esp + 0x60], 0x538951f1
mov dword [esp + 0x64], 0x5ffc5dbc
mov dword [esp + 0x68], 0x5bc759cf
mov dword [esp + 0x6c], 0x47ea45d2
mov dword [esp + 0x70], 0x43d041e1
mov dword [esp + 0x74], 0x4f8b4dd5
mov dword [esp + 0x78], 0x4be749ea
mov dword [esp + 0x7c], 0x37eb35ec
mov dword [esp + 0x80], 0x339f319c
mov dword [esp + 0x84], 0x3f973de1
mov dword [esp + 0x88], 0x3b9639a8
mov dword [esp + 0x8c], 0x278525b3
mov dword [esp + 0x90], 0x238f2189
mov dword [esp + 0x94], 0x2fbc2dbe
mov dword [esp + 0x98], 0x2bfb2985
mov dword [esp + 0x9c], 0x171c15e1
mov word [esp + 0xa0], 0x1110
mov byte [esp + 0xa4], 0
mov word [esp + 0xa2], 0
mov ecx, 0xe4
mov edx, 0x2a32311b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + ecx - 0xc4]
lea edi, [ecx - 0x2a323200]
mov ebp, edx
and ebp, 0x221001b8
and edi, 0xc0450847
or edi, ebp
mov ebp, edi
xor ebp, 0x47
add edi, edi
xor edi, 0x8f
sub ebp, edi
and ebp, ebx
or ebx, ecx
xor ebx, ebp
add bl, 0x8c
mov byte [esp + ecx - 0xc4], bl
inc ecx
dec edx
cmp ecx, 0x169
jne 0x40e140
mov dword [esp], 0xc3a3c1ef
mov dword [esp + 4], 0xc7afc554
mov word [esp + 8], 0xc9c8
mov dword [esp + 0xa], 0
xor ecx, ecx
mov edx, 0xaf
nop
nop
nop
nop
movzx ebp, byte [esp + ecx]
mov ebx, ebp
not ebx
or ebx, edx
or ebp, ecx
or ebp, 0x50
lea edi, [ebx + ebx]
or edi, 0x41
not ebx
add ebx, edi
and ebx, ebp
add bl, 0x70
mov byte [esp + ecx], bl
inc ecx
dec edx
cmp ecx, 0xe
jne 0x40e1b0
push 0x493e0
push eax
mov edi, dword [esp + 0x18]
push edi
push 0
push 0
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00410510
add esp, 0x1c
mov ebx, eax
push edi
call fcn.0040cbd0
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 4], eax
mov dword [esi + 0x60], 0
jmp 0x40e215
mov bl, 1
mov eax, ebx
add esp, 0xac
pop esi
pop edi
pop ebx
pop ebp
ret