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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x118
cmp dword [ecx + 0x20], 0
je 0x40a343
mov ebx, ecx
lea eax, [ecx + 0x10]
push eax
call fcn.00406630
add esp, 4
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 4], eax
movzx eax, byte [ebx]
imul ecx, eax, 0xcd
shr ecx, 0xa
and ecx, 0xfffffffe
lea ecx, [ecx + ecx*4]
sub al, cl
movzx eax, al
movzx eax, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
mov byte [esp + 2], al
mov byte [esp + 3], 0
mov dword [esp + 8], edx
lea eax, [edx + 0x400]
push eax
call fcn.00408730
add esp, 4
mov ebp, eax
mov dword [esp + 0x7c], 0xd5c5f6c4
mov byte [esp + 0x80], 0x70
mov dword [esp + 0x81], 0
mov byte [esp + 0x85], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx + 0x7c]
mov edi, eax
and edi, 0xa
mov esi, ecx
xor esi, 0xed57795
add esi, edi
lea edi, [edx + edx]
not edi
add edi, edx
and edi, 0x74415d83
and edx, 0x7c
or edx, edi
xor edx, esi
xor edx, 0x74415d83
mov esi, edx
and esi, 1
or edx, 1
add edx, esi
add dl, 0x16
mov byte [esp + ecx + 0x7c], dl
inc ecx
add eax, 2
cmp ecx, 0xa
jne 0x409e90
lea eax, [esp + 0x7c]
mov ecx, ebx
push 0x44bae8
push eax
push ebp
call fcn.004096b0
mov dword [esp + 0x7c], 0x11fa848c
mov dword [esp + 0x80], 0
xor eax, eax
nop
mov ecx, eax
add cl, 0xc5
xor cl, byte [esp + eax + 0x7c]
add cl, 0x27
mov byte [esp + eax + 0x7c], cl
inc eax
cmp eax, 8
jne 0x409f00
lea eax, [esp + 2]
mov ecx, ebx
push eax
lea eax, [esp + 0x80]
push eax
push ebp
call fcn.004096b0
mov eax, dword [str.yau6Na__7661518663]
mov dword [esp + 0x7c], 0x3f9a9094
mov word [esp + 0x80], 0
mov byte [esp + 0x82], 0
xor ecx, ecx
nop
nop
nop
nop
movzx edx, byte [esp + ecx + 0x7c]
mov esi, ecx
and esi, 6
xor esi, 0x35e63776
mov edi, ecx
and edi, 1
sub edi, esi
xor edi, edx
mov esi, edi
mov edx, edi
xor edx, 0x4d
add edx, edi
and edi, 0x4d
and esi, 0xb2
sub edx, esi
add edx, edi
inc dl
mov byte [esp + ecx + 0x7c], dl
inc ecx
cmp ecx, 7
jne 0x409f50
mov dword [esp + 0x10], ebx
mov ecx, ebx
push eax
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x14], ebp
push ebp
call fcn.004096b0
mov dword [esp + 0x7c], 0x71c0413
mov dword [esp + 0x80], 0x1403180b
mov dword [esp + 0x84], 0x1e1d180b
mov byte [esp + 0x88], 0x7c
mov dword [esp + 0x89], 0
mov byte [esp + 0x8d], 0
mov eax, 0x3d9b94a7
mov ecx, 0x7b37294e
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0x3d9b942b]
mov edi, eax
xor edi, 0x603ac3bf
mov edx, ecx
and edx, 0x3b022880
sub edx, edi
xor edx, esi
mov ebx, edx
not ebx
or ebx, 0x77
add ebx, edx
add ebx, ebx
xor edx, 0x88
sub ebx, edx
add bl, 2
mov byte [esp + eax - 0x3d9b942b], bl
inc eax
add ecx, 2
cmp eax, 0x3d9b94b9
jne 0x409ff0
mov dword [esp + 0x1c], 0xffaeee9
mov byte [esp + 0x20], 0
mov edx, 0x3568d13e
mov edi, 0xca972ec3
mov esi, 0x4a972ec2
movzx ebp, byte [esp + esi - 0x4a972ea6]
mov dword [esp + 0x14], ebp
lea ecx, [edx - 1]
mov eax, ecx
mov ebx, ecx
mov dword [esp + 0x18], ecx
and eax, 0x1128012b
mov ecx, esi
and ecx, 0x4a150084
or ecx, eax
xor ecx, ebp
xor ecx, 0x6e55d094
or ecx, ebx
lea eax, [esi + ecx]
add eax, 0x80000001
mov ebx, eax
not ebx
mov ebp, eax
and ebp, 0xfffffffd
and ebx, 2
imul ebx, ebp
or eax, 2
add ecx, edi
shr ecx, 1
and ecx, 1
imul ecx, eax
lea ecx, [ebx + ecx*2]
add edx, ecx
not ecx
add ecx, esi
mov eax, dword [esp + 0x14]
and ecx, eax
not eax
and eax, edx
sub ecx, eax
mov eax, ecx
and eax, 0x35
xor ecx, 0xb0c1635
lea eax, [ecx + eax*2]
and ecx, 1
or eax, 1
add eax, ecx
mov byte [esp + esi - 0x4a972ea6], al
inc edi
inc esi
mov eax, dword [esp + 0x18]
mov edx, eax
cmp eax, 0x3568d139
jne 0x40a050
lea eax, [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, edi
lea ebx, [esp + 0x7c]
push ebx
push eax
mov ebp, dword [esp + 0x14]
push ebp
call fcn.004096b0
mov dword [esp + 0x7c], 0xfe86f8fe
mov byte [esp + 0x80], 0x1c
mov dword [esp + 0x81], 0
xor ecx, ecx
mov eax, 0xffffffff
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, eax
or esi, 0x44
mov edx, ecx
or edx, 0x44
add edx, esi
add edx, ecx
inc dl
xor dl, byte [esp + ecx + 0x7c]
add dl, 0xac
mov byte [esp + ecx + 0x7c], dl
lea edx, [ecx + 1]
dec eax
mov ecx, edx
cmp edx, 9
jne 0x40a130
mov ecx, edi
push dword [esp + 8]
push dword [esp + 8]
push ebx
push ebp
call fcn.00409970
mov dword [esp + 0x1c], 0x13a511d3
mov dword [esp + 0x20], 0xef62ed5a
mov dword [esp + 0x24], 0xeb5ce955
mov dword [esp + 0x28], 0xe713e568
mov dword [esp + 0x2c], 0xe36be14c
mov dword [esp + 0x30], 0xff43fd4c
mov dword [esp + 0x34], 0xfb1af932
mov dword [esp + 0x38], 0xf77bf541
mov dword [esp + 0x3c], 0xf37ef144
mov dword [esp + 0x40], 0xcf7ecd75
mov dword [esp + 0x44], 0xcb78c969
mov dword [esp + 0x48], 0xc731c548
mov dword [esp + 0x4c], 0xc375c17e
mov dword [esp + 0x50], 0xdf6bdd6e
mov dword [esp + 0x54], 0xdb66d92d
mov dword [esp + 0x58], 0xd75ad575
mov dword [esp + 0x5c], 0xd319d171
mov dword [esp + 0x60], 0xaf0cad4c
mov dword [esp + 0x64], 0xab27a91f
mov dword [esp + 0x68], 0xa71aa512
mov dword [esp + 0x6c], 0xa310a101
mov dword [esp + 0x70], 0xbf7bbd35
mov word [esp + 0x74], 0xb9b8
mov dword [esp + 0x76], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xfc
xor cl, byte [esp + eax + 0x1c]
add cl, 0x14
mov byte [esp + eax + 0x1c], cl
mov ecx, eax
not ecx
or ecx, 1
add ecx, eax
inc ecx
mov edx, ecx
and edx, 0xfffffffd
mov esi, ecx
and esi, 2
or ecx, 2
imul ecx, esi
xor esi, 2
imul esi, edx
xor eax, 1
add eax, ecx
add eax, esi
cmp eax, 0x5e
jb 0x40a230
movzx eax, word [esp + 0x1c]
test ax, ax
je 0x40a291
lea ebx, [esp + 0x7c]
lea ecx, [esp + 0x1e]
nop
nop
mov word [ebx], ax
add ebx, 2
movzx eax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a280
mov word [ebx], 0
movzx ecx, byte [edi + 0x60]
test cl, cl
je 0x40a2c1
lea eax, [edi + 0x61]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx ecx, cl
mov word [ebx], cx
add ebx, 2
movzx ecx, byte [eax]
inc eax
test cl, cl
jne 0x40a2b0
mov dword [ebx], 0xa000d
mov word [ebx + 4], 0
mov eax, dword [edi + 0x80]
mov dword [esp + 0x1c], 0x6303615f
mov dword [esp + 0x20], 0x671f6514
mov dword [esp + 0x24], 0x7978
xor ecx, ecx
nop
nop
nop
mov edx, ecx
add dl, 0xe8
xor dl, byte [esp + ecx + 0x1c]
add dl, 0x78
mov byte [esp + ecx + 0x1c], dl
inc ecx
cmp ecx, 0xc
jne 0x40a2f0
lea ecx, [esp + 0x7c]
push 0x493e0
push eax
push ebp
push 0
push 0
push ecx
lea eax, [esp + 0x34]
push eax
call fcn.0040c960
add esp, 0x1c
mov ebx, eax
push ebp
call fcn.00408740
add esp, 4
mov eax, dword [edi + 0x80]
add dword [edi + 4], eax
mov dword [edi + 0x80], 0
jmp 0x40a345
mov bl, 1
mov eax, ebx
add esp, 0x118
pop esi
pop edi
pop ebx
pop ebp
ret