Function at 0x40d1b0
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, 0x290
mov esi, esp
mov dword [esi + 0x14c], 0x43e96c
mov dword [esi + 0x2c], 0
mov eax, dword [str.default]
mov dword [esi + 0x134], eax
mov al, byte [esi + 0x28]
mov byte [esi + 0x30], al
mov dword [esi + 0x164], 0
mov dword [esi + 0x160], 0
mov dword [esi + 0x15c], 0
mov dword [esi + 0x158], 0
mov dword [esi + 0x154], 0
mov dword [esi + 0x150], 0
mov byte [esi + 0x150], 0x16
mov byte [esi + 0x151], 0x53
mov byte [esi + 0x152], 0x6f
mov byte [esi + 0x153], 0x23
mov dword [esi + 8], 0
mov eax, dword [esi + 8]
cmp eax, 0x18
jae 0x40d28d
jmp 0x40d24c
mov eax, dword [esi + 8]
mov ecx, dword [esi + 8]
movzx ecx, byte [esi + ecx + 0x150]
mov edx, eax
add edx, 0x28ba7526
mov edi, ecx
not edi
mov ebx, edx
or ebx, edi
and edx, ecx
add ebx, edx
sub eax, ebx
add al, 0x1b
mov ecx, dword [esi + 8]
mov byte [esi + ecx + 0x150], al
mov eax, dword [esi + 8]
inc eax
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
cmp eax, 0x18
jb 0x40d24c
jmp 0x40d28d
mov edi, dword [str.P6Mk0M__superstar]
mov al, byte [esi + 0x24]
mov byte [esi + 0x34], al
mov byte [esi + 0xc0], 0xe1
mov byte [esi + 0xc1], 0xe0
mov byte [esi + 0xc2], 0x90
mov byte [esi + 0xc3], 0xc8
mov byte [esi + 0xc4], 0x9c
mov byte [esi + 0xc5], 0xe2
mov byte [esi + 0xc6], 0xed
mov byte [esi + 0xc7], 0xe0
mov byte [esi + 0xc8], 0x94
mov byte [esi + 0xc9], 0xe6
mov byte [esi + 0xca], 0xed
mov byte [esi + 0xcb], 0xa0
mov byte [esi + 0xcc], 0xd9
mov byte [esi + 0xcd], 0xa4
mov byte [esi + 0xce], 0xa5
mov byte [esi + 0xcf], 0xd0
mov byte [esi + 0xd0], 0xdf
mov byte [esi + 0xd1], 0xde
mov byte [esi + 0xd2], 0x1e
mov byte [esi + 0xd3], 0xa1
mov byte [esi + 0xd4], 0xd1
mov byte [esi + 0xd5], 0xaf
mov byte [esi + 0xd6], 0xfb
mov byte [esi + 0xd7], 0xeb
mov byte [esi + 0xd8], 0xec
mov byte [esi + 0xd9], 0xed
mov byte [esi + 0xda], 0x16
mov byte [esi + 0xdb], 0xcf
mov byte [esi + 0xdc], 0xcd
mov byte [esi + 0xdd], 0xc5
mov byte [esi + 0xde], 0xe3
mov byte [esi + 0xdf], 0x27
mov byte [esi + 0xe4], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0xc]
cmp eax, 0x25
jae 0x40d3db
jmp 0x40d39b
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0xc]
movzx ecx, byte [esi + ecx + 0xc0]
mov edx, eax
add edx, 0x7d1843d5
lea eax, [eax + ecx + 0x7d1843d5]
and edx, ecx
add edx, edx
sub eax, edx
add al, 0x2d
mov ecx, dword [esi + 0xc]
mov byte [esi + ecx + 0xc0], al
mov eax, dword [esi + 0xc]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
cmp eax, 0x25
jb 0x40d39b
jmp 0x40d3db
sub esp, 8
lea eax, [esi + 0xc0]
mov dword [esp + 4], eax
lea ebx, [esi + 0x17c]
mov dword [esp], ebx
call fcn.00408d10
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00408d10
lea ecx, [esi + 0x150]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00408d10
mov ecx, dword [esi + 0x134]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00408d10
add esp, 8
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x144]
mov ecx, eax
not ecx
and ecx, ebx
mov edx, ebx
not edx
and eax, edx
sub eax, ecx
mov dword [esi + 0x140], eax
mov eax, dword [esi + 0x140]
mov dword [esi + 0x138], eax
mov cl, byte [esi + 0x1c]
mov byte [esi + 0x38], cl
mov byte [esi + 0x40], 0xd3
mov byte [esi + 0x41], 0x6d
mov byte [esi + 0x42], 0xf9
mov byte [esi + 0x43], 0x6b
mov byte [esi + 0x44], 0xfa
mov byte [esi + 0x45], 0x69
mov byte [esi + 0x46], 0xea
mov byte [esi + 0x47], 0x67
mov byte [esi + 0x48], 0xf9
mov byte [esi + 0x49], 0x65
mov byte [esi + 0x4a], 0xf0
mov byte [esi + 0x4b], 0x63
mov byte [esi + 0x4c], 0xec
mov byte [esi + 0x4d], 0x61
mov byte [esi + 0x4e], 0xb
mov byte [esi + 0x4f], 0x5f
mov byte [esi + 0x50], 0xf0
mov byte [esi + 0x51], 0x5d
mov byte [esi + 0x52], 0xd3
mov byte [esi + 0x53], 0x5b
mov byte [esi + 0x54], 0xc8
mov byte [esi + 0x55], 0x59
mov byte [esi + 0x56], 0xcb
mov byte [esi + 0x57], 0x57
mov byte [esi + 0x58], 0x12
mov byte [esi + 0x59], 0x55
mov byte [esi + 0x5a], 0x32
mov byte [esi + 0x5b], 0x53
mov byte [esi + 0x5c], 0xf1
mov byte [esi + 0x5d], 0x51
mov byte [esi + 0x5e], 0xde
mov byte [esi + 0x5f], 0x4f
mov byte [esi + 0x60], 0xdc
mov byte [esi + 0x61], 0x4d
mov byte [esi + 0x62], 0xde
mov byte [esi + 0x63], 0x4b
mov byte [esi + 0x64], 0xd1
mov byte [esi + 0x65], 0x49
mov byte [esi + 0x66], 0xd9
mov byte [esi + 0x67], 0x47
mov byte [esi + 0x68], 0xe5
mov byte [esi + 0x69], 0x45
mov byte [esi + 0x6a], 0xce
mov byte [esi + 0x6b], 0x43
mov byte [esi + 0x6c], 0xd9
mov byte [esi + 0x6d], 0x41
mov byte [esi + 0x6e], 0x2d
mov byte [esi + 0x6f], 0xbf
mov byte [esi + 0x70], 0x2e
mov byte [esi + 0x71], 0xbd
mov byte [esi + 0x72], 0xe9
mov byte [esi + 0x73], 0xbb
mov byte [esi + 0x74], 0x30
mov byte [esi + 0x75], 0xb9
mov byte [esi + 0x76], 0xe3
mov byte [esi + 0x77], 0xb7
mov byte [esi + 0x78], 0x3f
mov byte [esi + 0x79], 0xb5
mov byte [esi + 0x7a], 0x39
mov byte [esi + 0x7b], 0xb3
mov byte [esi + 0x7c], 0x3b
mov byte [esi + 0x7d], 0xb1
mov byte [esi + 0x7e], 0xfb
mov byte [esi + 0x7f], 0xaf
mov byte [esi + 0x80], 0x36
mov byte [esi + 0x81], 0xad
mov byte [esi + 0x82], 0x39
mov byte [esi + 0x83], 0xab
mov byte [esi + 0x84], 0x26
mov byte [esi + 0x85], 0xa9
mov byte [esi + 0x86], 0x33
mov byte [esi + 0x87], 0xa7
mov byte [esi + 0x88], 0xf1
mov byte [esi + 0x89], 0xa5
mov byte [esi + 0x8a], 0x2f
mov byte [esi + 0x8b], 0xa3
mov byte [esi + 0x8c], 0x2e
mov byte [esi + 0x8d], 0xa1
mov byte [esi + 0x8e], 0xa
mov byte [esi + 0x8f], 0x9f
mov byte [esi + 0x90], 1
mov byte [esi + 0x91], 0x9d
mov byte [esi + 0x92], 8
mov byte [esi + 0x93], 0x9b
mov byte [esi + 0x94], 7
mov byte [esi + 0x95], 0x99
mov byte [esi + 0x96], 5
mov byte [esi + 0x97], 0x97
mov byte [esi + 0x98], 8
mov byte [esi + 0x99], 0x95
mov byte [esi + 0x9a], 0xf
mov byte [esi + 0x9b], 0x93
mov byte [esi + 0x9c], 0xc
mov byte [esi + 0x9d], 0x91
mov byte [esi + 0x9e], 0xfb
mov byte [esi + 0x9f], 0x8f
mov byte [esi + 0xa0], 0xfa
mov byte [esi + 0xa1], 0x8d
mov byte [esi + 0xa2], 0x8a
mov byte [esi + 0xa3], 0x8b
mov byte [esi + 0xb4], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0x10], 0
mov ecx, dword [esi + 0x10]
cmp ecx, 0x75
jae 0x40d6e9
jmp 0x40d697
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x10]
movzx edx, byte [esi + edx + 0x40]
mov edi, ecx
and edi, 0xf89efcd2
xor ecx, 0x789efcd2
lea edi, [ecx + edi*2]
mov ecx, edi
and ecx, edx
mov ebx, edi
xor ebx, edx
or edi, edx
mov eax, ebx
xor eax, edi
lea edx, [ebx + ecx*2]
add ecx, eax
sub edx, ecx
add dl, 0x42
mov eax, dword [esi + 0x10]
mov byte [esi + eax + 0x40], dl
mov eax, dword [esi + 0x10]
inc eax
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
cmp eax, 0x75
jb 0x40d697
lea ebx, [esi + 0x17c]
jmp 0x40d6e9
mov al, byte [esi + 0x18]
mov byte [esi + 0x3c], al
mov byte [esi + 0xf0], 0x6f
mov byte [esi + 0xf1], 0xb1
mov byte [esi + 0xf2], 0x13
mov byte [esi + 0xf3], 0xb3
mov byte [esi + 0xf4], 0x24
mov byte [esi + 0xf5], 0xb5
mov byte [esi + 0xf6], 0x2f
mov byte [esi + 0xf7], 0xb7
mov byte [esi + 0xf8], 0xa8
mov byte [esi + 0xf9], 0xa9
mov dword [esi + 0x101], 0
mov dword [esi + 0xfe], 0
mov dword [esi + 0xfa], 0
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x14]
cmp eax, 0x15
jae 0x40d7a5
jmp 0x40d764
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x14]
movzx edx, byte [esi + ecx + 0xf0]
mov edi, eax
add edi, 0x7df5e248
lea ecx, [eax + edx + 0x7df5e248]
and edi, edx
add edi, edi
sub ecx, edi
add cl, 8
mov eax, dword [esi + 0x14]
mov byte [esi + eax + 0xf0], cl
mov eax, dword [esi + 0x14]
inc eax
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
cmp eax, 0x15
jb 0x40d764
jmp 0x40d7a5
sub esp, 0x1c
lea eax, [esi + 0x13c]
mov dword [esp + 0x18], eax
lea eax, [esi + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x138]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
lea eax, [esi + 0x40]
mov dword [esp + 8], eax
lea eax, [esi + 0xf0]
mov dword [esp + 4], eax
mov dword [esp], 0x4470e4
call fcn.0040b070
add esp, 0x1c
movzx eax, al
mov dword [esi + 0x148], eax
mov eax, dword [esi + 0x14c]
mov ecx, dword [esi + 0x148]
mov eax, dword [eax + ecx*4]
mov ecx, dword [0x43e974]
xor ecx, 0x646f84ee
sub eax, ecx
push eax
mov edx, esp
mov dword [edx], 0x43e440
mov ecx, dword [0x43e978]
mov dword [esi + 0x120], ecx
push eax
mov ecx, esp
mov dword [esi + 0x128], ecx
mov dword [ecx], 0x43e980
push eax
mov dword [esi + 0x124], esp
push eax
mov edi, esp
mov dword [edi], 0x43e98c
push eax
mov ebx, esp
push eax
mov ecx, esp
mov dword [esi + 0x130], ecx
mov dword [ecx], 0x43e440
mov ecx, dword [0x43e998]
mov dword [esi + 0x12c], ecx
jmp eax