Function at 0x40a780
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 [0x4413c0]
test eax, eax
jne 0x40a93a
movzx eax, byte [0x438474]
xor al, 0xad
mov byte [0x43847d], al
movzx eax, byte [0x438475]
xor al, 0xa2
mov byte [0x43847e], al
movzx eax, byte [0x438476]
xor al, 0x32
mov byte [0x43847f], al
movzx eax, byte [0x438477]
xor al, 6
mov byte [str.__1_], al
movzx eax, byte [0x438478]
xor al, 0x60
mov byte [0x438481], al
movzx eax, byte [0x438479]
xor al, 0x95
mov byte [0x438482], al
movzx eax, byte [0x43847a]
xor al, 0x13
mov byte [0x438483], al
movzx eax, byte [0x43847b]
xor al, 0xd9
mov byte [0x438484], al
movzx eax, byte [0x43847c]
xor al, 0x4e
mov byte [0x438485], al
movzx eax, byte [0x438440]
xor al, 0x96
mov byte [0x438460], al
movzx eax, byte [0x438441]
xor al, 0xfa
mov byte [0x438461], al
movzx eax, byte [0x438442]
xor al, 0xcd
mov byte [0x438462], al
movzx eax, byte [0x438443]
xor al, 0xee
mov byte [0x438463], al
movzx eax, byte [0x438444]
xor al, 0x2a
mov byte [0x438464], al
movzx eax, byte [0x438445]
xor al, 0xf7
mov byte [0x438465], al
movzx eax, byte [0x438446]
xor al, 0xc1
mov byte [0x438466], al
movzx eax, byte [0x438447]
xor al, 0x74
mov byte [0x438467], al
movzx eax, byte [0x438448]
xor al, 0x4e
mov byte [0x438468], al
movzx eax, byte [0x438449]
xor al, 5
mov byte [0x438469], al
movzx eax, byte [0x43844a]
xor al, 0x82
mov byte [0x43846a], al
movzx eax, byte [0x43844b]
mov ecx, eax
add cl, al
and cl, 0xf0
sub al, cl
add al, 0x78
mov byte [0x43846b], al
movzx eax, byte [0x43844c]
xor al, 0x7c
mov byte [0x43846c], al
movzx eax, byte [0x43844d]
xor al, 0xe8
mov byte [0x43846d], al
movzx eax, byte [0x43844e]
xor al, 0x85
mov byte [0x43846e], al
movzx eax, byte [0x43844f]
xor al, 0x8f
mov byte [0x43846f], al
movzx eax, byte [0x438450]
xor al, 0xc4
mov byte [0x438470], al
movzx eax, byte [0x438451]
xor al, 0x6e
mov byte [0x438471], al
movzx eax, byte [0x438452]
xor al, 0xf2
mov byte [0x438472], al
movzx eax, byte [0x438453]
xor al, 0x8e
mov byte [0x438473], al
mov dword [0x4413c0], 1
push eax
mov ebx, esp
push eax
mov ecx, esp
sub esp, 0xc
mov edi, esp
push eax
mov dword [esi + 0x14], esp
sub esp, 0x80
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 + 8], edx
mov esp, edx
push eax
sub esp, 0x1c
mov edx, esp
and edx, 0xfffffff0
mov dword [esi + 0x18], edx
mov esp, edx
push eax
sub esp, 0x10
mov dword [esi + 0x24], esp
push eax
mov dword [esi + 0x1c], esp
sub esp, 0x20
mov edx, esp
and edx, 0xfffffff0
mov dword [esi + 0x20], edx
mov esp, edx
mov dword [esi + 0x2c], ebx
mov edx, dword [ebp + 8]
mov dword [ebx], edx
mov dword [esi + 0x10], ecx
mov byte [ecx], 0
movzx edx, byte [0x438485]
mov byte [edi + 8], dl
mov edx, dword [0x438481]
mov dword [edi + 4], edx
mov edx, dword [0x43847d]
mov dword [esi + 0x28], edi
mov dword [edi], edx
mov dword [eax], 0xdb2dd91b
mov dword [eax + 4], 0xe71ae512
mov dword [eax + 8], 0xe314e10d
mov dword [eax + 0xc], 0xefdbed10
mov dword [eax + 0x10], 0xeb13e934
mov dword [eax + 0x14], 0xf71bf504
mov dword [eax + 0x18], 0xf3d2f1ca
mov dword [eax + 0x1c], 0xff0efd1d
mov dword [eax + 0x20], 0xfb0ef908
mov dword [eax + 0x24], 0x8765856d
mov dword [eax + 0x28], 0x837e8161
mov dword [eax + 0x2c], 0x8f798d65
mov dword [eax + 0x30], 0x8bbd897e
mov dword [eax + 0x34], 0x97a3956c
mov dword [eax + 0x38], 0x936d916f
mov dword [eax + 0x3c], 0x9fab9d63
mov dword [eax + 0x40], 0x9b6d9976
mov dword [eax + 0x44], 0xa753a556
mov dword [eax + 0x48], 0xa35fa195
mov dword [eax + 0x4c], 0xaf5aad5e
mov dword [eax + 0x50], 0xab5ca945
mov dword [eax + 0x54], 0xb741b557
mov dword [eax + 0x58], 0xb35fb15c
mov dword [eax + 0x5c], 0xbfabbd50
mov dword [eax + 0x60], 0xbbbab9b2
mov dword [eax + 0x73], 0
mov dword [eax + 0x70], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 0x68], 0
mov dword [eax + 0x64], 0
mov dword [esi + 4], 0
mov edx, dword [esi + 4]
cmp edx, 0x76
ja 0x40aae3
nop
nop
mov edi, dword [esi + 4]
mov edx, dword [esi + 4]
movzx ebx, byte [eax + edx]
lea edx, [edi + ebx]
add edx, 0x59cfe21c
add edi, 0x59cfe21c
and edi, ebx
add edi, edi
sub edx, edi
add dl, 0x3c
mov edi, dword [esi + 4]
mov byte [eax + edi], dl
inc dword [esi + 4]
mov edx, dword [esi + 4]
cmp edx, 0x77
jb 0x40aab0
mov ebx, dword [esi + 0xc]
mov dword [ebx], 0xf313cd1f
mov dword [ebx + 4], 0xf71ff160
mov word [ebx + 8], 0xf5f4
mov dword [ebx + 0xa], 0
mov dword [ebx + 0xe], 0
mov dword [ebx + 0x12], 0
mov dword [ebx + 0x16], 0
mov dword [ebx + 0x1a], 0
mov byte [ebx + 0x1e], 0
mov dword [esi + 4], 0
mov edx, dword [esi + 4]
cmp edx, 0x1e
ja 0x40ab60
nop
mov edx, dword [esi + 4]
mov edi, dword [esi + 4]
movzx ecx, byte [ebx + edi]
lea ebx, [edx + 0x1e]
mov edi, ecx
not edi
or edi, ebx
and ebx, ecx
add ebx, edi
sub edx, ebx
mov ebx, dword [esi + 0xc]
add dl, 0x4b
mov ecx, dword [esi + 4]
mov byte [ebx + ecx], dl
inc dword [esi + 4]
mov ecx, dword [esi + 4]
cmp ecx, 0x1f
jb 0x40ab30
push 0
mov edi, dword [esi + 0x14]
push edi
push 8
push dword [esi + 0x28]
push eax
push ebx
mov eax, dword [esi + 0x2c]
push dword [eax]
call fcn.0040aeb0
add esp, 0x1c
test al, al
mov ebx, dword [esi + 8]
je 0x40ae5d
mov dword [ebx], 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], 0xfaff
mov byte [ebx + 2], 0x6a
mov dword [esi + 4], 0
mov eax, dword [esi + 4]
cmp eax, 0x17
ja 0x40ac14
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi + 4]
mov ecx, dword [esi + 4]
movzx ecx, byte [ebx + ecx]
mov edx, eax
and edx, 0xe9544c32
xor eax, 0x69544c32
lea edx, [eax + edx*2]
lea eax, [edx + ecx]
and edx, ecx
add edx, edx
sub eax, edx
add al, 0xa2
mov ecx, dword [esi + 4]
mov byte [ebx + ecx], al
mov eax, dword [esi + 4]
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
cmp eax, 0x18
jb 0x40abd0
mov eax, dword [edi]
xor ecx, ecx
mov ebx, dword [esi + 0x18]
mov edi, dword [esi + 8]
nop
nop
movzx edx, byte [eax + ecx]
mov dh, byte [edi + ecx]
test dl, dl
je 0x40ac30
inc ecx
cmp dl, dh
je 0x40ac20
cmp dl, dh
jne 0x40ac3f
mov ecx, dword [esi + 0x10]
mov byte [ecx], 1
jmp 0x40ae54
mov dword [ebx], 0xf70104f3
mov dword [ebx + 4], 0x67080a0d
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov byte [ebx + 0x10], 0
mov dword [esi + 4], 0
mov eax, dword [esi + 4]
cmp eax, 0x10
ja 0x40aca1
nop
nop
nop
mov ecx, dword [esi + 4]
mov eax, dword [esi + 4]
movzx edx, byte [ebx + eax]
mov eax, 0x8f
sub eax, ecx
add ecx, 0x70
and ecx, edx
or eax, edx
not eax
add eax, edx
sub eax, ecx
add al, 0xf0
mov ecx, dword [esi + 4]
mov byte [ebx + ecx], al
inc dword [esi + 4]
mov eax, dword [esi + 4]
cmp eax, 0x11
jb 0x40ac70
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
movzx ecx, byte [ebx]
mov edi, eax
test cl, cl
je 0x40acdf
mov edx, dword [esi + 0x18]
mov ebx, eax
mov edi, eax
jmp 0x40accd
inc edi
mov ebx, edi
mov edx, dword [esi + 0x18]
movzx ecx, byte [edx]
test cl, cl
je 0x40acdf
mov ch, byte [ebx]
test ch, ch
je 0x40ae54
cmp ch, cl
jne 0x40acc0
inc ebx
inc edx
jmp 0x40acc6
test edi, edi
je 0x40ae54
mov ecx, dword [0x438470]
mov edx, dword [esi + 0x24]
mov dword [edx + 0x10], ecx
mov ecx, dword [0x43846c]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x438468]
mov dword [edx + 8], ecx
mov ecx, dword [0x438464]
mov dword [edx + 4], ecx
mov ebx, dword [0x438460]
mov dword [edx], ebx
test bl, bl
je 0x40ad40
mov edi, eax
jmp 0x40ad2d
inc edi
mov eax, edi
mov edx, dword [esi + 0x24]
movzx ebx, byte [edx]
test bl, bl
je 0x40ad42
movzx ecx, byte [eax]
test cl, cl
je 0x40ae4f
cmp cl, bl
jne 0x40ad20
inc eax
inc edx
jmp 0x40ad26
mov edi, eax
test edi, edi
je 0x40ae4f
add edi, 0x13
mov eax, dword [esi + 0x1c]
mov dword [eax], edi
mov edx, dword [esi + 0x20]
mov dword [edx], 0
mov dword [edx + 0xf], 0
mov dword [edx + 0xc], 0
mov dword [edx + 8], 0
mov dword [edx + 4], 0
mov word [edx], 0x1f3a
mov byte [edx + 2], 0xda
mov dword [esi + 4], 0
mov eax, dword [esi + 4]
cmp eax, 0x12
ja 0x40adae
nop
mov eax, dword [esi + 4]
mov ecx, dword [esi + 4]
add al, 0xa4
xor al, byte [edx + ecx]
add al, 0x84
mov ecx, dword [esi + 4]
mov byte [edx + ecx], al
inc dword [esi + 4]
mov eax, dword [esi + 4]
cmp eax, 0x13
jb 0x40ad90
mov eax, edx
movzx edx, byte [edx]
test dl, dl
je 0x40addc
mov ebx, edi
jmp 0x40adcd
inc ebx
mov edi, ebx
mov eax, dword [esi + 0x20]
movzx edx, byte [eax]
test dl, dl
je 0x40ade0
movzx ecx, byte [edi]
test cl, cl
je 0x40ae4f
cmp cl, dl
jne 0x40adc0
inc edi
inc eax
jmp 0x40adc6
mov ebx, edi
jmp 0x40ade4
test ebx, ebx
je 0x40ae4f
mov byte [0x4417d4], 1
mov eax, dword [esi + 0x1c]
mov edi, dword [eax]
mov dword [esi + 4], 0
mov ecx, 0x4417d6
mov dword [esi + 0xc], ebx
cmp ebx, edi
jbe 0x40ae44
mov ebx, dword [esi + 0xc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp byte [edi], 0
je 0x40ae44
lea eax, [esi + 4]
push eax
push ebx
push edi
mov dword [esi + 8], ecx
call fcn.004102b0
add esp, 0xc
movzx ecx, word [esi + 4]
mov edx, dword [esi + 8]
mov word [edx], cx
mov ecx, dword [esi + 8]
add ecx, 2
cmp ecx, 0x4419d4
jae 0x40ae44
add edi, eax
cmp edi, ebx
jb 0x40ae10
mov word [ecx], 0
mov eax, dword [esi + 0x10]
mov byte [eax], 1
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
push eax
call fcn.0042f050
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