Function at 0x40c770
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, 0xfffffff8
sub esp, 0x208
mov esi, esp
mov dword [esi + 0x180], 0x43d8fc
mov dword [esi + 0x14], 0
mov eax, dword [str.default]
mov dword [esi + 0x114], eax
mov al, byte [esi + 0x24]
mov byte [esi + 0x28], al
mov byte [esi + 0xf0], 0x90
mov byte [esi + 0xf1], 0x53
mov byte [esi + 0xf2], 0x67
mov byte [esi + 0xf3], 0xbb
mov dword [esi + 0xf8], 0
mov dword [esi + 0xf4], 0
mov word [esi + 0xfc], 0
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 0xe
jae 0x40c841
jmp 0x40c7eb
mov eax, dword [esi]
mov ecx, dword [esi]
movzx ecx, byte [esi + ecx + 0xf0]
mov edx, eax
add edx, 0x70a0bde7
mov edi, eax
add edi, 0xe7
mov ebx, edi
and ebx, ecx
or edi, edx
and edi, ecx
lea eax, [eax + ecx + 0x70a0bde7]
add ebx, edi
sub eax, ebx
mov ecx, eax
xor ecx, 0xae
and eax, 0x2e
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esi]
mov byte [esi + ecx + 0xf0], al
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, 0xe
jb 0x40c7eb
jmp 0x40c841
mov edi, dword [str.LGNDR1__]
mov al, byte [esi + 0x20]
mov byte [esi + 0x2c], al
mov byte [esi + 0xa8], 0x2d
mov byte [esi + 0xa9], 0x2a
mov byte [esi + 0xaa], 0x66
mov byte [esi + 0xab], 0x2e
mov byte [esi + 0xac], 0x66
mov byte [esi + 0xad], 0x14
mov byte [esi + 0xae], 0x11
mov byte [esi + 0xaf], 0x1e
mov byte [esi + 0xb0], 0x6e
mov byte [esi + 0xb1], 0x10
mov byte [esi + 0xb2], 0x19
mov byte [esi + 0xb3], 0x16
mov byte [esi + 0xb4], 0x1d
mov byte [esi + 0xb5], 0x6e
mov byte [esi + 0xb6], 0x69
mov byte [esi + 0xb7], 0x1e
mov byte [esi + 0xb8], 0x17
mov byte [esi + 0xb9], 0x18
mov byte [esi + 0xba], 0xc8
mov byte [esi + 0xbb], 0x79
mov byte [esi + 0xbc], 5
mov byte [esi + 0xbd], 0x77
mov byte [esi + 0xbe], 0x3b
mov byte [esi + 0xbf], 0x33
mov byte [esi + 0xc0], 0x36
mov byte [esi + 0xc1], 0x35
mov byte [esi + 0xc2], 0xc0
mov byte [esi + 0xc3], 7
mov byte [esi + 0xc4], 1
mov byte [esi + 0xc5], 0xd
mov byte [esi + 0xc6], 0x33
mov byte [esi + 0xc7], 0xef
mov byte [esi + 0xcc], 0
mov dword [esi + 0xc8], 0
mov dword [esi + 4], 0
mov eax, dword [esi + 4]
cmp eax, 0x25
jae 0x40c99d
jmp 0x40c94f
mov eax, dword [esi + 4]
mov ecx, dword [esi + 4]
movzx ecx, byte [esi + ecx + 0xa8]
mov edx, eax
add edx, 0x9e
add eax, ecx
and edx, ecx
add edx, edx
sub eax, edx
add eax, 0x671ea59e
mov ecx, eax
xor ecx, 0xad
and eax, 0x2d
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esi + 4]
mov byte [esi + ecx + 0xa8], al
mov eax, dword [esi + 4]
inc eax
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
cmp eax, 0x25
jb 0x40c94f
jmp 0x40c99d
sub esp, 8
lea eax, [esi + 0xa8]
mov dword [esp + 4], eax
lea ebx, [esi + 0x184]
mov dword [esp], ebx
call fcn.00408f90
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00408f90
lea ecx, [esi + 0xf0]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00408f90
mov ecx, dword [esi + 0x114]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00408f90
add esp, 8
mov dword [esi + 0x178], eax
mov eax, dword [esi + 0x178]
sub eax, ebx
mov dword [esi + 0x174], eax
mov eax, dword [esi + 0x174]
mov cl, byte [esi + 0x1c]
mov byte [esi + 0x30], cl
mov byte [esi + 0x38], 0xdb
mov byte [esi + 0x39], 0x19
mov byte [esi + 0x3a], 0xad
mov byte [esi + 0x3b], 0x1b
mov byte [esi + 0x3c], 0x52
mov byte [esi + 0x3d], 0xe5
mov byte [esi + 0x3e], 0x5a
mov byte [esi + 0x3f], 0xe7
mov byte [esi + 0x40], 0x4d
mov byte [esi + 0x41], 0xe1
mov byte [esi + 0x42], 0x54
mov byte [esi + 0x43], 0xe3
mov byte [esi + 0x44], 0x50
mov byte [esi + 0x45], 0xed
mov byte [esi + 0x46], 0x1b
mov byte [esi + 0x47], 0xef
mov byte [esi + 0x48], 0x34
mov byte [esi + 0x49], 0xe9
mov byte [esi + 0x4a], 0x53
mov byte [esi + 0x4b], 0xeb
mov byte [esi + 0x4c], 0x44
mov byte [esi + 0x4d], 0xf5
mov byte [esi + 0x4e], 0x5b
mov byte [esi + 0x4f], 0xf7
mov byte [esi + 0x50], 0xa
mov byte [esi + 0x51], 0xf1
mov byte [esi + 0x52], 0x12
mov byte [esi + 0x53], 0xf3
mov byte [esi + 0x54], 0x5d
mov byte [esi + 0x55], 0xfd
mov byte [esi + 0x56], 0x4e
mov byte [esi + 0x57], 0xff
mov byte [esi + 0x58], 0x48
mov byte [esi + 0x59], 0xf9
mov byte [esi + 0x5a], 0x4e
mov byte [esi + 0x5b], 0xfb
mov byte [esi + 0x5c], 0x6d
mov byte [esi + 0x5d], 0xc5
mov byte [esi + 0x5e], 0x65
mov byte [esi + 0x5f], 0xc7
mov byte [esi + 0x60], 0x61
mov byte [esi + 0x61], 0xc1
mov byte [esi + 0x62], 0x7e
mov byte [esi + 0x63], 0xc3
mov byte [esi + 0x64], 0x65
mov byte [esi + 0x65], 0xcd
mov byte [esi + 0x66], 0x79
mov byte [esi + 0x67], 0xcf
mov byte [esi + 0x68], 0x7e
mov byte [esi + 0x69], 0xc9
mov byte [esi + 0x6a], 0x3d
mov byte [esi + 0x6b], 0xcb
mov byte [esi + 0x6c], 0x6c
mov byte [esi + 0x6d], 0xd5
mov byte [esi + 0x6e], 0x23
mov byte [esi + 0x6f], 0xd7
mov byte [esi + 0x70], 0x6f
mov byte [esi + 0x71], 0xd1
mov byte [esi + 0x72], 0x6d
mov byte [esi + 0x73], 0xd3
mov byte [esi + 0x74], 0x63
mov byte [esi + 0x75], 0xdd
mov byte [esi + 0x76], 0x2b
mov byte [esi + 0x77], 0xdf
mov byte [esi + 0x78], 0x76
mov byte [esi + 0x79], 0xd9
mov byte [esi + 0x7a], 0x6d
mov byte [esi + 0x7b], 0xdb
mov byte [esi + 0x7c], 0x16
mov byte [esi + 0x7d], 0xa5
mov byte [esi + 0x7e], 0x13
mov byte [esi + 0x7f], 0xa7
mov byte [esi + 0x80], 0x55
mov byte [esi + 0x81], 0xa1
mov byte [esi + 0x82], 0x1f
mov byte [esi + 0x83], 0xa3
mov byte [esi + 0x84], 0x1e
mov byte [esi + 0x85], 0xad
mov byte [esi + 0x86], 0x1a
mov byte [esi + 0x87], 0xaf
mov byte [esi + 0x88], 5
mov byte [esi + 0x89], 0xa9
mov byte [esi + 0x8a], 0x1c
mov byte [esi + 0x8b], 0xab
mov byte [esi + 0x8c], 0x17
mov byte [esi + 0x8d], 0xb5
mov byte [esi + 0x8e], 1
mov byte [esi + 0x8f], 0xb7
mov byte [esi + 0x90], 0x1c
mov byte [esi + 0x91], 0xb1
mov byte [esi + 0x92], 0x1f
mov byte [esi + 0x93], 0xb3
mov byte [esi + 0x94], 0x10
mov byte [esi + 0x95], 0xbd
mov byte [esi + 0x96], 0xab
mov byte [esi + 0x97], 0xbf
mov byte [esi + 0x98], 0xb2
mov byte [esi + 0x99], 0xb9
mov byte [esi + 0x9a], 0xba
mov byte [esi + 0x9b], 0xbb
mov byte [esi + 0xa0], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 8], 0
mov ecx, dword [esi + 8]
cmp ecx, 0x69
jae 0x40cc46
jmp 0x40cc11
mov ecx, dword [esi + 8]
mov edx, dword [esi + 8]
movzx edx, byte [esi + edx + 0x38]
mov edi, ecx
add edi, 0x7c
and edi, edx
lea ecx, [ecx + edx + 0x7c]
add edi, edi
sub ecx, edi
add cl, 0x9c
mov edx, dword [esi + 8]
mov byte [esi + edx + 0x38], cl
mov ecx, dword [esi + 8]
inc ecx
mov dword [esi + 8], ecx
mov ecx, dword [esi + 8]
cmp ecx, 0x69
jb 0x40cc11
jmp 0x40cc46
mov cl, byte [esi + 0x18]
mov byte [esi + 0x34], cl
mov byte [esi + 0xd8], 0xbf
mov byte [esi + 0xd9], 0x6d
mov byte [esi + 0xda], 0x8b
mov byte [esi + 0xdb], 0x6b
mov byte [esi + 0xdc], 0xf8
mov byte [esi + 0xdd], 0x69
mov byte [esi + 0xde], 0xff
mov byte [esi + 0xdf], 0x67
mov byte [esi + 0xe0], 0x64
mov byte [esi + 0xe1], 0x65
mov dword [esi + 0xec], 0
mov dword [esi + 0xe8], 0
mov dword [esi + 0xe6], 0
mov dword [esi + 0xe2], 0
mov dword [esi + 0xc], 0
mov ecx, dword [esi + 0xc]
cmp ecx, 0x18
jae 0x40cd06
jmp 0x40cccb
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0xc]
movzx edx, byte [esi + edx + 0xd8]
mov edi, ecx
add edi, 0x32
lea ecx, [ecx + edx + 0x32]
and edi, edx
add edi, edi
sub ecx, edi
add cl, 0xa2
mov edx, dword [esi + 0xc]
mov byte [esi + edx + 0xd8], cl
mov ecx, dword [esi + 0xc]
inc ecx
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0xc]
cmp ecx, 0x18
jb 0x40cccb
jmp 0x40cd06
sub esp, 0x1c
lea ecx, [esi + 0xd4]
mov dword [esp + 0x18], ecx
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
lea eax, [esi + 0x38]
mov dword [esp + 8], eax
lea eax, [esi + 0xd8]
mov dword [esp + 4], eax
mov dword [esp], 0x445f8c
call fcn.0040a9d0
add esp, 0x1c
movzx eax, al
mov dword [esi + 0x17c], eax
mov eax, dword [esi + 0x180]
mov ecx, dword [esi + 0x17c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [0x43d904]
xor ecx, 0x471fdce9
sub eax, ecx
push eax
mov ecx, esp
mov dword [esi + 0x110], ecx
mov dword [ecx], 0x43d908
push eax
mov dword [esi + 0x108], esp
push eax
mov ecx, esp
mov dword [esi + 0x138], ecx
mov dword [ecx], 0x43d914
push eax
mov dword [esi + 0x128], esp
push eax
mov ecx, esp
mov dword [esi + 0x124], ecx
mov dword [ecx], 0x43d440
mov ecx, dword [0x43d920]
mov dword [esi + 0x120], ecx
push eax
mov edx, esp
mov dword [edx], 0x43d440
mov ecx, dword [0x43d928]
mov dword [esi + 0x12c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x13c], ecx
mov dword [ecx], 0x43d930
push eax
mov dword [esi + 0x134], esp
push eax
mov ecx, esp
mov dword [esi + 0x15c], ecx
mov dword [ecx], 0x43d93c
push eax
mov edi, esp
push eax
mov ecx, esp
mov dword [esi + 0x14c], ecx
mov dword [ecx], 0x43d440
mov ecx, dword [0x43d948]
mov dword [esi + 0x148], ecx
push eax
mov ecx, esp
mov dword [esi + 0x154], ecx
mov dword [ecx], 0x43d440
mov ecx, dword [0x43d950]
mov dword [esi + 0x150], ecx
push eax
mov ecx, esp
mov dword [esi + 0x160], ecx
mov dword [ecx], 0x43d440
mov ecx, dword [0x43d958]
mov dword [esi + 0x158], ecx
push eax
mov ecx, esp
mov dword [esi + 0x168], ecx
mov dword [ecx], 0x43d960
push eax
mov dword [esi + 0x164], esp
push eax
mov ecx, esp
mov dword [esi + 0x170], ecx
mov dword [ecx], 0x43d96c
push eax
mov dword [esi + 0x16c], esp
push eax
mov ebx, esp
mov dword [ebx], 0x43d440
mov ecx, dword [0x43d978]
mov dword [esi + 0x104], ecx
push eax
mov ecx, esp
mov dword [esi + 0x11c], ecx
mov dword [ecx], 0x43d440
mov ecx, dword [0x43d980]
mov dword [esi + 0x118], ecx
push eax
mov ecx, esp
mov dword [esi + 0x144], ecx
mov dword [ecx], 0x43d440
mov ecx, dword [0x43d988]
mov dword [esi + 0x140], ecx
jmp eax