Function at 0x40cb80
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, 0x210
mov esi, esp
mov dword [esi + 0x14c], 0x43f8b8
mov dword [esi + 0x1c], 0
mov eax, dword [str.8bac644166cdd2204d0fa306172b0254]
mov dword [esi + 0x13c], eax
mov al, byte [esi + 0x2c]
mov byte [esi + 0x30], al
mov dword [esi + 0x168], 0
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], 0x76
mov byte [esi + 0x151], 0xb3
mov byte [esi + 0x152], 0x9f
mov byte [esi + 0x153], 0x5b
mov dword [esi + 8], 0
mov eax, dword [esi + 8]
cmp eax, 0x1c
jae 0x40cc66
jmp 0x40cc26
mov eax, dword [esi + 8]
mov ecx, dword [esi + 8]
movzx ecx, byte [esi + ecx + 0x150]
mov edx, eax
add edx, 0x95447e8c
lea eax, [eax + ecx - 0x6abb8174]
and edx, ecx
add edx, edx
sub eax, edx
add al, 0x2c
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, 0x1c
jb 0x40cc26
jmp 0x40cc66
mov ebx, dword [str.swg5EG__]
mov al, byte [esi + 0x28]
mov byte [esi + 0x34], al
mov byte [esi + 0xc0], 0xc9
mov byte [esi + 0xc1], 0xc8
mov byte [esi + 0xc2], 0xb8
mov byte [esi + 0xc3], 0xf0
mov byte [esi + 0xc4], 0xbc
mov byte [esi + 0xc5], 0xca
mov byte [esi + 0xc6], 0xcd
mov byte [esi + 0xc7], 0x38
mov byte [esi + 0xc8], 0x44
mov byte [esi + 0xc9], 0x36
mov byte [esi + 0xca], 0x2d
mov byte [esi + 0xcb], 0x38
mov byte [esi + 0xcc], 0x31
mov byte [esi + 0xcd], 0x44
mov byte [esi + 0xce], 0x45
mov byte [esi + 0xcf], 0x38
mov byte [esi + 0xd0], 0x3f
mov byte [esi + 0xd1], 0x3e
mov byte [esi + 0xd2], 0xfe
mov byte [esi + 0xd3], 0x49
mov byte [esi + 0xd4], 0x39
mov byte [esi + 0xd5], 0x4f
mov byte [esi + 0xd6], 3
mov byte [esi + 0xd7], 0x13
mov byte [esi + 0xd8], 0xec
mov byte [esi + 0xd9], 0xed
mov byte [esi + 0xda], 0xe6
mov byte [esi + 0xdb], 0x2f
mov byte [esi + 0xdc], 0x2d
mov byte [esi + 0xdd], 0x25
mov byte [esi + 0xde], 0x1b
mov byte [esi + 0xdf], 0xd7
mov word [esi + 0xe8], 0
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0xc]
cmp eax, 0x2a
jae 0x40cdb8
jmp 0x40cd80
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0xc]
movzx ecx, byte [esi + ecx + 0xc0]
mov edx, eax
add edx, 0x79
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add al, 0x2a
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, 0x2a
jb 0x40cd80
jmp 0x40cdb8
sub esp, 8
lea eax, [esi + 0xc0]
mov dword [esp + 4], eax
lea edi, [esi + 0x17c]
mov dword [esp], edi
call fcn.00408f20
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00408f20
lea ecx, [esi + 0x150]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00408f20
mov ecx, dword [esi + 0x13c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00408f20
add esp, 8
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x144]
sub eax, edi
mov dword [esi + 0x140], eax
mov eax, dword [esi + 0x140]
mov cl, byte [esi + 0x24]
mov byte [esi + 0x38], cl
mov byte [esi + 0x40], 0x1b
mov byte [esi + 0x41], 0xa1
mov byte [esi + 0x42], 0x31
mov byte [esi + 0x43], 0xa3
mov byte [esi + 0x44], 0x34
mov byte [esi + 0x45], 0x9d
mov byte [esi + 0x46], 0x10
mov byte [esi + 0x47], 0x9f
mov byte [esi + 0x48], 1
mov byte [esi + 0x49], 0x99
mov byte [esi + 0x4a], 0xe
mov byte [esi + 0x4b], 0x9b
mov byte [esi + 0x4c], 0x16
mov byte [esi + 0x4d], 0x95
mov byte [esi + 0x4e], 0xc3
mov byte [esi + 0x4f], 0x97
mov byte [esi + 0x50], 0x3a
mov byte [esi + 0x51], 0x91
mov byte [esi + 0x52], 0x1b
mov byte [esi + 0x53], 0x93
mov byte [esi + 0x54], 2
mov byte [esi + 0x55], 0x8d
mov byte [esi + 0x56], 0x13
mov byte [esi + 0x57], 0x8f
mov byte [esi + 0x58], 0xc4
mov byte [esi + 0x59], 0x89
mov byte [esi + 0x5a], 0xe8
mov byte [esi + 0x5b], 0x8b
mov byte [esi + 0x5c], 0x29
mov byte [esi + 0x5d], 0x85
mov byte [esi + 0x5e], 0x14
mov byte [esi + 0x5f], 0x87
mov byte [esi + 0x60], 0x16
mov byte [esi + 0x61], 0x81
mov byte [esi + 0x62], 0x14
mov byte [esi + 0x63], 0x83
mov byte [esi + 0x64], 0x19
mov byte [esi + 0x65], 0xfd
mov byte [esi + 0x66], 0x61
mov byte [esi + 0x67], 0xff
mov byte [esi + 0x68], 0x5d
mov byte [esi + 0x69], 0xf9
mov byte [esi + 0x6a], 0x74
mov byte [esi + 0x6b], 0xfb
mov byte [esi + 0x6c], 0x61
mov byte [esi + 0x6d], 0xf5
mov byte [esi + 0x6e], 0x65
mov byte [esi + 0x6f], 0xf7
mov byte [esi + 0x70], 0x60
mov byte [esi + 0x71], 0xf1
mov byte [esi + 0x72], 0xa1
mov byte [esi + 0x73], 0xf3
mov byte [esi + 0x74], 0x7a
mov byte [esi + 0x75], 0xed
mov byte [esi + 0x76], 0xbb
mov byte [esi + 0x77], 0xef
mov byte [esi + 0x78], 0x67
mov byte [esi + 0x79], 0xe9
mov byte [esi + 0x7a], 0x61
mov byte [esi + 0x7b], 0xeb
mov byte [esi + 0x7c], 0x63
mov byte [esi + 0x7d], 0xe5
mov byte [esi + 0x7e], 0xb3
mov byte [esi + 0x7f], 0xe7
mov byte [esi + 0x80], pe_nt_image_headers32
mov byte [esi + 0x81], 0xe1
mov byte [esi + 0x82], 0x71
mov byte [esi + 0x83], 0xe3
mov byte [esi + 0x84], 0x70
mov byte [esi + 0x85], 0xdd
mov byte [esi + 0x86], 0x4b
mov byte [esi + 0x87], 0xdf
mov byte [esi + 0x88], 0x89
mov byte [esi + 0x89], 0xd9
mov byte [esi + 0x8a], 0x57
mov byte [esi + 0x8b], 0xdb
mov byte [esi + 0x8c], 0x48
mov byte [esi + 0x8d], 0xd5
mov byte [esi + 0x8e], 0x40
mov byte [esi + 0x8f], 0xd7
mov byte [esi + 0x90], 0x49
mov byte [esi + 0x91], 0xd1
mov byte [esi + 0x92], 0x46
mov byte [esi + 0x93], 0xd3
mov byte [esi + 0x94], 0x4f
mov byte [esi + 0x95], 0xcd
mov byte [esi + 0x96], 0x5d
mov byte [esi + 0x97], 0xcf
mov byte [esi + 0x98], 0x52
mov byte [esi + 0x99], 0xc9
mov byte [esi + 0x9a], 0x57
mov byte [esi + 0x9b], 0xcb
mov byte [esi + 0x9c], 0x56
mov byte [esi + 0x9d], 0xc5
mov byte [esi + 0x9e], 0xb3
mov byte [esi + 0x9f], 0xc7
mov byte [esi + 0xa0], 0xbc
mov byte [esi + 0xa1], 0xc1
mov byte [esi + 0xa2], 0xc0
mov byte [esi + 0xa3], 0xc3
mov word [esi + 0xbc], 0
mov dword [esi + 0xb8], 0
mov dword [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, 0x7e
jae 0x40d0a2
jmp 0x40d078
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x10]
mov dl, byte [esi + edx + 0x40]
add cl, 0x9b
xor cl, dl
add cl, 0xc3
mov edx, dword [esi + 0x10]
mov byte [esi + edx + 0x40], cl
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x10]
cmp ecx, 0x7e
jb 0x40d078
jmp 0x40d0a2
mov cl, byte [esi + 0x20]
mov byte [esi + 0x3c], cl
mov byte [esi + 0x100], 0xaf
mov byte [esi + 0x101], 0x99
mov byte [esi + 0x102], 0xfb
mov byte [esi + 0x103], 0x9b
mov byte [esi + 0x104], 0xe4
mov byte [esi + 0x105], 0x95
mov byte [esi + 0x106], 0xef
mov byte [esi + 0x107], 0x97
mov byte [esi + 0x108], 0x90
mov byte [esi + 0x109], 0x91
mov dword [esi + 0x116], 0
mov dword [esi + 0x112], 0
mov dword [esi + 0x10e], 0
mov dword [esi + 0x10a], 0
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x14]
cmp ecx, 0x1a
jae 0x40d157
jmp 0x40d127
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x14]
mov dl, byte [esi + edx + 0x100]
add cl, 0x94
xor cl, dl
add cl, 0xf4
mov edx, dword [esi + 0x14]
mov byte [esi + edx + 0x100], cl
mov ecx, dword [esi + 0x14]
inc ecx
mov dword [esi + 0x14], ecx
mov ecx, dword [esi + 0x14]
cmp ecx, 0x1a
jb 0x40d127
jmp 0x40d157
sub esp, 0x1c
lea ecx, [esi + 0xfc]
mov dword [esp + 0x18], ecx
lea ecx, [esi + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
lea eax, [esi + 0x40]
mov dword [esp + 8], eax
lea eax, [esi + 0x100]
mov dword [esp + 4], eax
mov dword [esp], 0x4478c8
call fcn.0040b090
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 [0x43f8c0]
xor ecx, 0x9611ea4c
sub eax, ecx
push eax
mov edi, esp
mov dword [edi], 0x43f8c4
push eax
mov dword [esi + 0x120], esp
push eax
mov ecx, esp
mov dword [esi + 0x138], ecx
mov dword [ecx], 0x43f8d0
push eax
mov dword [esi + 0x134], esp
push eax
mov ecx, esp
mov dword [ecx], 0x43f440
mov edx, dword [0x43f8dc]
push eax
mov ebx, esp
mov dword [esi + 0x128], ebx
mov dword [ebx], 0x43f440
mov ebx, dword [0x43f8e4]
mov dword [esi + 0x124], ebx
jmp eax