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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10c
cmp dword [ecx + 0x20], 0
je 0x409f0d
mov esi, ecx
lea eax, [ecx + 0x10]
push eax
call fcn.00406120
add esp, 4
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 8], eax
movzx eax, byte [esi]
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 + 0xc], edx
lea eax, [edx + 0x400]
push eax
call fcn.004082d0
add esp, 4
mov edi, eax
mov dword [esp + 0x70], 0x7f7b8e78
mov byte [esp + 0x74], 0x1c
mov dword [esp + 0x75], 0
mov word [esp + 0x79], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 4
xor cl, byte [esp + eax + 0x70]
add cl, 0xec
mov byte [esp + eax + 0x70], cl
inc eax
cmp eax, 0xb
jne 0x409ae0
lea ebx, [esp + 0x70]
mov ecx, esi
push 0x447e78
push ebx
push edi
call fcn.00409340
mov dword [esp + 0x70], 0x812a2c34
mov eax, 0xb5ff1521
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x4a00eb4f]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0x5b
mov byte [esp + eax + 0x4a00eb4f], cl
inc eax
cmp eax, 0xb5ff1525
jne 0x409b20
lea eax, [esp + 2]
mov ecx, esi
push eax
push ebx
push edi
call fcn.00409340
mov eax, dword [str.yJEcaG__aaaa1]
mov dword [esp + 0x70], 0x23c6b8bc
mov word [esp + 0x74], 0
xor ecx, ecx
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx + 0x70]
xor dl, cl
xor dl, 0xf8
add dl, 0x28
mov byte [esp + ecx + 0x70], dl
inc ecx
cmp ecx, 6
jne 0x409b70
mov ecx, esi
push eax
push ebx
push edi
call fcn.00409340
mov dword [esp + 0x70], 0xd5a0a899
mov dword [esp + 0x74], 0xe0d5dcd1
mov dword [esp + 0x78], 0xdedfd4e1
mov byte [esp + 0x7c], pe_nt_image_headers32
mov dword [esp + 0x7d], 0
mov dword [esp + 0x80], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xbd
xor cl, byte [esp + eax + 0x70]
add cl, 0x4f
mov byte [esp + eax + 0x70], cl
inc eax
cmp eax, 0x14
jne 0x409bd0
mov dword [esp + 0x10], 0x57eae6e9
mov dword [esp + 0x14], 0
lea eax, [esp + 0x10]
mov ecx, 0xc959691
nop
movzx edx, byte [eax]
lea ebp, [ecx - 0xc959600]
and ebp, edx
or edx, ecx
not edx
or edx, ebp
add edx, 0x3eebf0d9
mov ebp, edx
and ebp, 1
xor edx, 1
lea edx, [edx + ebp*2]
mov byte [eax], dl
inc eax
dec ecx
cmp ecx, 0xc959689
jne 0x409c00
lea eax, [esp + 0x10]
mov ecx, esi
push ebx
push eax
mov dword [esp + 0xc], edi
push edi
call fcn.00409340
mov dword [esp + 0x70], 0x7682847a
mov byte [esp + 0x74], 0x10
mov dword [esp + 0x75], 0
xor eax, eax
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + edi + 0x70]
mov ebp, eax
and ebp, 0xa
mov ecx, edi
xor ecx, ebp
and ebp, edi
xor ecx, 0xb6643805
lea ecx, [ecx + ebp*2]
xor ecx, edx
mov edx, ecx
and edx, 0x66
add edx, edx
xor ecx, 0x19
sub edx, ecx
mov byte [esp + edi + 0x70], dl
inc edi
add eax, 2
cmp edi, 9
jne 0x409c60
mov ecx, esi
push dword [esp + 0xc]
push dword [esp + 0xc]
push ebx
push dword [esp + 0x10]
call fcn.004095f0
mov dword [esp + 0x10], 0x813787c9
mov dword [esp + 0x14], 0x8d3e8336
mov dword [esp + 0x18], 0x89388f23
mov dword [esp + 0x1c], 0x95fd8b34
mov dword [esp + 0x20], 0x912d97c8
mov dword [esp + 0x24], 0x9d3d9320
mov dword [esp + 0x28], 0x99fe9fe6
mov dword [esp + 0x2c], 0xe5259b2f
mov dword [esp + 0x30], 0xe15ae750
mov dword [esp + 0x34], 0xed52e34b
mov dword [esp + 0x38], 0xe95cef4f
mov dword [esp + 0x3c], 0xf59beb54
mov dword [esp + 0x40], 0xf147f75a
mov dword [esp + 0x44], 0xfd45f342
mov dword [esp + 0x48], 0xf952ff8b
mov dword [esp + 0x4c], 0xc546fb5b
mov dword [esp + 0x50], 0xc183c767
mov dword [esp + 0x54], 0xcd60c3a0
mov dword [esp + 0x58], 0xc971cf7d
mov dword [esp + 0x5c], 0xd566cb7e
mov dword [esp + 0x60], 0xd164d777
mov dword [esp + 0x64], 0xdd95d36b
mov word [esp + 0x68], 0xdfdc
mov word [esp + 0x6e], 0
mov dword [esp + 0x6a], 0
mov eax, 0xb221421
mov ecx, 0xd4ddebde
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0xb221411]
mov edi, edx
and edi, 0xffffffb6
xor edi, 0xf35122b6
mov ebp, edx
xor ebp, 0xf35122b6
or edx, 0x49
and edx, ebp
or edx, edi
mov edi, ecx
and edi, 0xd05122b6
mov ebp, eax
and ebp, 0x8221449
or ebp, edi
xor ebp, edx
mov edx, ebp
and edx, 0x5a
xor ebp, 0x5a
lea edx, [edx*2]
add edx, ebp
inc dl
mov byte [esp + eax - 0xb221411], dl
inc eax
dec ecx
cmp eax, 0xb221481
jne 0x409d80
movzx eax, word [esp + 0x10]
test ax, ax
je 0x409e01
lea ebx, [esp + 0x70]
lea ecx, [esp + 0x12]
nop
nop
nop
nop
nop
mov word [ebx], ax
add ebx, 2
movzx eax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409df0
mov word [ebx], 0
movzx ecx, byte [esi + 0x60]
test cl, cl
je 0x409e31
lea eax, [esi + 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 0x409e20
mov dword [ebx], 0xa000d
mov word [ebx + 4], 0
mov eax, dword [esi + 0x80]
mov dword [esp + 0x10], 0x21852755
mov dword [esp + 0x14], 0x3d992390
mov word [esp + 0x18], 0x3f3c
mov dword [esp + 0x1a], 0
mov ecx, 0x234a0189
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + ecx - 0x234a0179]
lea ebx, [ecx - 0x234a0100]
and ebx, edi
mov edx, ecx
and edx, edi
xor edi, ecx
lea edx, [edi + edx*2]
add ebx, ebx
sub edx, ebx
mov ebp, 1
sub ebp, edi
mov ebx, ebp
not ebx
add ebx, ebx
and ebx, 2
and edx, 0x234bfffe
and ebp, 1
lea edi, [edx + ebp]
add edi, 0x4f8df852
add edx, 0x4f8df852
and edx, ebx
xor edi, ebx
lea edx, [edi + edx*2]
mov byte [esp + ecx - 0x234a0179], dl
inc ecx
cmp ecx, 0x234a0197
jne 0x409e70
lea ecx, [esp + 0x70]
push 0x493e0
push eax
mov edi, dword [esp + 0xc]
push edi
push 0
push 0
push ecx
lea eax, [esp + 0x28]
push eax
call fcn.0040c400
add esp, 0x1c
mov ebx, eax
push edi
call fcn.004082e0
add esp, 4
mov eax, dword [esi + 0x80]
add dword [esi + 4], eax
mov dword [esi + 0x80], 0
jmp 0x409f0f
mov bl, 1
mov eax, ebx
add esp, 0x10c
pop esi
pop edi
pop ebx
pop ebp
ret