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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov esi, esp
mov eax, dword [0x440f44]
test eax, eax
jne 0x40abc5
movzx eax, byte [0x438450]
xor al, 0x95
mov byte [0x438470], al
movzx eax, byte [0x438451]
xor al, 0xf
mov byte [0x438471], al
movzx eax, byte [0x438452]
xor al, 0x35
mov byte [str.S_b_], al
movzx eax, byte [0x438453]
xor al, 0xc9
mov byte [0x438473], al
movzx eax, byte [0x438454]
mov ecx, eax
add cl, al
and cl, 0x4a
sub al, cl
add al, 0xa5
mov byte [0x438474], al
movzx eax, byte [0x438455]
xor al, 0xba
mov byte [0x438475], al
movzx eax, byte [0x438456]
mov ecx, eax
add cl, al
and cl, 0x7e
sub al, cl
add al, 0xbf
mov byte [0x438476], al
movzx eax, byte [0x438457]
mov ecx, eax
add cl, al
and cl, 0xd6
sub al, cl
add al, 0xeb
mov byte [0x438477], al
movzx eax, byte [0x438458]
xor al, 0x49
mov byte [0x438478], al
movzx eax, byte [0x438459]
xor al, 0x28
mov byte [0x438479], al
movzx eax, byte [0x43845a]
xor al, 0xd8
mov byte [0x43847a], al
movzx eax, byte [0x43845b]
xor al, 0xe5
mov byte [0x43847b], al
movzx eax, byte [0x43845c]
xor al, 0xee
mov byte [0x43847c], al
movzx eax, byte [0x43845d]
xor al, 0xaa
mov byte [0x43847d], al
movzx eax, byte [0x43845e]
xor al, 0xb2
mov byte [0x43847e], al
movzx eax, byte [0x43845f]
xor al, 0x4f
mov byte [0x43847f], al
movzx eax, byte [0x438460]
xor al, 0xc4
mov byte [0x438480], al
movzx eax, byte [0x438461]
xor al, 0x55
mov byte [0x438481], al
movzx eax, byte [0x438462]
xor al, 0x53
mov byte [0x438482], al
movzx eax, byte [0x438463]
mov ecx, eax
add cl, al
and cl, 0xbc
sub al, cl
add al, 0x5e
mov byte [0x438483], al
movzx eax, byte [0x438438]
xor al, 0xf8
mov byte [0x438441], al
movzx eax, byte [0x438439]
xor al, 0xd3
mov byte [0x438442], al
movzx eax, byte [0x43843a]
xor al, 0xb4
mov byte [0x438443], al
movzx eax, byte [0x43843b]
xor al, 0x7d
mov byte [0x438444], al
movzx eax, byte [0x43843c]
xor al, 0x1b
mov byte [0x438445], al
movzx eax, byte [0x43843d]
xor al, 0x2d
mov byte [0x438446], al
movzx eax, byte [0x43843e]
xor al, 0xa0
mov byte [0x438447], al
movzx eax, byte [0x43843f]
xor al, 0x8c
mov byte [0x438448], al
movzx eax, byte [0x438440]
xor al, 0xd
mov byte [0x438449], al
mov dword [0x440f44], 1
push eax
mov ecx, esp
push eax
mov dword [esi + 0x10], esp
sub esp, 0xc
mov ebx, esp
push eax
mov dword [esi + 0x24], esp
sub esp, 0x80
mov edi, esp
and edi, 0xfffffff0
mov esp, edi
push eax
sub esp, 0x1c
mov eax, esp
and eax, 0xfffffff0
mov esp, eax
push eax
sub esp, 0x1c
mov edx, esp
and edx, 0xfffffff0
mov dword [esi + 0xc], edx
mov esp, edx
push eax
sub esp, 0x1c
mov edx, esp
and edx, 0xfffffff0
mov dword [esi + 0x14], edx
mov esp, edx
push eax
sub esp, 0x10
mov dword [esi + 0x20], esp
push eax
mov dword [esi + 0x18], esp
sub esp, 0x20
mov edx, esp
and edx, 0xfffffff0
mov dword [esi + 0x1c], edx
mov esp, edx
mov dword [esi + 0x2c], ecx
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov ecx, dword [esi + 0x10]
mov byte [ecx], 0
movzx ecx, byte [0x438449]
mov byte [ebx + 8], cl
mov ecx, dword [0x438445]
mov dword [ebx + 4], ecx
mov ecx, dword [0x438441]
mov dword [esi + 0x28], ebx
mov dword [ebx], ecx
mov dword [edi], 0x4bc55513
mov dword [edi + 4], 0x4fdc49d8
mov dword [edi + 8], 0x43de4dd5
mov dword [edi + 0xc], 0x471341d6
mov dword [edi + 0x10], 0x7bcb4532
mov dword [edi + 0x14], 0x7fe379ea
mov dword [edi + 0x18], 0x735c7d30
mov dword [edi + 0x1c], 0x77e07115
mov dword [edi + 0x20], 0x6be875e6
mov dword [edi + 0x24], 0x6f0d69f5
mov dword [edi + 0x28], 0x63f86d09
mov dword [edi + 0x2c], 0x67f161fd
mov dword [edi + 0x30], 0x9b3565f4
mov dword [edi + 0x34], 0x9fcb9912
mov dword [edi + 0x38], 0x93159d17
mov dword [edi + 0x3c], 0x97c3911b
mov dword [edi + 0x40], 0x8b05950c
mov dword [edi + 0x44], 0x8f1b891c
mov dword [edi + 0x48], 0x83078ddd
mov dword [edi + 0x4c], 0x871c8114
mov dword [edi + 0x50], 0xbb16851d
mov dword [edi + 0x54], 0xbf29b9df
mov dword [edi + 0x58], 0xb327bdda
mov dword [edi + 0x5c], 0xb783b1d6
mov dword [edi + 0x60], 0xabb4b588
mov dword [edi + 0x7b], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x64], 0
mov dword [esi + 8], 0
mov ecx, dword [esi + 8]
cmp ecx, 0x7e
ja 0x40ad83
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esi + 8]
mov ecx, dword [esi + 8]
movzx ecx, byte [edi + ecx]
mov ebx, 0x32
sub ebx, edx
add edx, 0xcd
and edx, ecx
or ebx, ecx
add ebx, edx
sub ecx, ebx
add cl, 0x64
mov edx, dword [esi + 8]
mov byte [edi + edx], cl
inc dword [esi + 8]
mov ecx, dword [esi + 8]
cmp ecx, 0x7f
jb 0x40ad50
mov dword [eax], 0xb6b0d3f
mov dword [eax + 4], 0x77f0978
mov word [eax + 8], 0x504
mov dword [eax + 0xa], 0
mov dword [eax + 0xd], 0
mov dword [esi + 8], 0
mov ecx, dword [esi + 8]
cmp ecx, 0x10
ja 0x40ade0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esi + 8]
mov edx, dword [esi + 8]
add cl, 2
xor cl, byte [eax + edx]
add cl, 0xf2
mov edx, dword [esi + 8]
mov byte [eax + edx], cl
inc dword [esi + 8]
mov ecx, dword [esi + 8]
cmp ecx, 0x11
jb 0x40adc0
push 0
mov ebx, dword [esi + 0x24]
push ebx
push 8
push dword [esi + 0x28]
push edi
push eax
mov eax, dword [esi + 0x2c]
push dword [eax]
call fcn.0040b130
add esp, 0x1c
test al, al
je 0x40b0dd
mov edx, dword [esi + 0xc]
mov dword [edx], 0
mov word [edx + 0x14], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0xc], 0
mov dword [edx + 8], 0
mov dword [edx + 4], 0
mov word [edx], 0x7a7f
mov byte [edx + 2], 0xa
mov dword [esi + 8], 0
mov eax, dword [esi + 8]
cmp eax, 0x15
ja 0x40ae6e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi + 8]
mov ecx, dword [esi + 8]
add al, 0x82
xor al, byte [edx + ecx]
add al, 0x72
mov ecx, dword [esi + 8]
mov byte [edx + ecx], al
inc dword [esi + 8]
mov eax, dword [esi + 8]
cmp eax, 0x16
jb 0x40ae50
mov edi, dword [ebx]
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [edi + eax]
mov edx, dword [esi + 0xc]
movzx edx, byte [edx + eax]
test cl, cl
je 0x40ae94
inc eax
cmp cl, dl
je 0x40ae80
cmp cl, dl
jne 0x40aea3
mov eax, dword [esi + 0x10]
mov byte [eax], 1
jmp 0x40b0d4
mov edx, dword [esi + 0x14]
mov dword [edx], 0x3f090e3b
mov dword [edx + 4], 0x8f020005
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov byte [edx + 0x14], 0
mov dword [esi + 8], 0
mov eax, dword [esi + 8]
cmp eax, 0x14
ja 0x40af12
nop
nop
nop
nop
nop
mov eax, dword [esi + 8]
mov ecx, dword [esi + 8]
movzx ecx, byte [edx + ecx]
lea edx, [eax + 0x242d9099]
mov edi, ecx
not edi
or edi, edx
and edx, ecx
add edx, edi
sub eax, edx
mov edx, dword [esi + 0x14]
add al, 0x69
mov ecx, dword [esi + 8]
mov byte [edx + ecx], al
inc dword [esi + 8]
mov eax, dword [esi + 8]
cmp eax, 0x15
jb 0x40aee0
mov edi, dword [ebx]
movzx ebx, byte [edx]
mov eax, edi
test bl, bl
je 0x40af4f
mov eax, edi
mov ecx, edi
mov edx, dword [esi + 0x14]
jmp 0x40af3d
inc eax
mov edx, dword [esi + 0x14]
mov ecx, eax
movzx ebx, byte [edx]
test bl, bl
je 0x40af4f
mov bh, byte [ecx]
test bh, bh
je 0x40b0d4
cmp bh, bl
jne 0x40af30
inc ecx
inc edx
jmp 0x40af36
test eax, eax
je 0x40b0d4
mov eax, dword [0x438480]
mov ecx, dword [esi + 0x20]
mov dword [ecx + 0x10], eax
mov eax, dword [0x43847c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x438478]
mov dword [ecx + 8], eax
mov eax, dword [0x438474]
mov dword [ecx + 4], eax
mov edx, dword [0x438470]
mov dword [ecx], edx
test dl, dl
je 0x40afb0
mov eax, edi
jmp 0x40af9d
inc edi
mov ecx, dword [esi + 0x20]
mov eax, edi
movzx edx, byte [ecx]
test dl, dl
je 0x40afb0
movzx ebx, byte [eax]
test bl, bl
je 0x40b0cf
cmp bl, dl
jne 0x40af90
inc eax
inc ecx
jmp 0x40af96
test edi, edi
je 0x40b0cf
add edi, 0x13
mov eax, dword [esi + 0x18]
mov dword [eax], edi
mov ebx, dword [esi + 0x1c]
mov dword [ebx], 0
mov word [ebx + 0x18], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
mov dword [ebx + 4], 0
mov word [ebx], 0xa788
mov byte [ebx + 2], 0x64
mov dword [esi + 8], 0
mov eax, dword [esi + 8]
cmp eax, 0x19
ja 0x40b038
nop
nop
nop
nop
nop
nop
mov eax, dword [esi + 8]
mov ecx, dword [esi + 8]
movzx ecx, byte [ebx + ecx]
lea edx, [eax + 0x11]
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add al, 0x9a
mov ecx, dword [esi + 8]
mov byte [ebx + ecx], al
inc dword [esi + 8]
mov eax, dword [esi + 8]
cmp eax, 0x1a
jb 0x40b010
movzx edx, byte [ebx]
test dl, dl
je 0x40b06f
mov eax, edi
mov ecx, ebx
jmp 0x40b05d
inc edi
mov ecx, dword [esi + 0x1c]
mov eax, edi
movzx edx, byte [ecx]
test dl, dl
je 0x40b06b
mov dh, byte [eax]
test dh, dh
je 0x40b0cf
cmp dh, dl
jne 0x40b050
inc eax
inc ecx
jmp 0x40b056
test edi, edi
je 0x40b0cf
mov byte [0x441358], 1
mov eax, dword [esi + 0x18]
mov ebx, dword [eax]
mov dword [esi + 8], 0
mov ecx, 0x44135a
cmp edi, ebx
jbe 0x40b0c4
nop
nop
nop
nop
nop
cmp byte [ebx], 0
je 0x40b0c4
lea eax, [esi + 8]
push eax
push edi
push ebx
mov dword [esi + 0xc], ecx
call fcn.00410bc0
add esp, 0xc
movzx ecx, word [esi + 8]
mov edx, dword [esi + 0xc]
mov word [edx], cx
mov ecx, dword [esi + 0xc]
add ecx, 2
cmp ecx, 0x441558
jae 0x40b0c4
add ebx, eax
cmp ebx, edi
jb 0x40b090
mov word [ecx], 0
mov eax, dword [esi + 0x10]
mov byte [eax], 1
mov eax, dword [esi + 0x24]
mov edi, dword [eax]
push edi
call fcn.0042f370
add esp, 4
mov eax, dword [esi + 0x10]
movzx eax, byte [eax]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret