Function at 0x40e540
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, 0x2b0
mov esi, esp
mov dword [esi + 0x198], 0x43be0c
mov dword [esi + 0x2c], 0
mov eax, dword [str.72dcdaf15dd1f72018dbb230c04a0ee9]
mov dword [esi + 0x13c], eax
mov al, byte [esi + 0x28]
mov byte [esi + 0x30], al
mov byte [esi + 0x100], 0x26
mov byte [esi + 0x101], 0x6b
mov byte [esi + 0x102], 0x3f
mov byte [esi + 0x103], 3
mov dword [esi + 0x10c], 0
mov dword [esi + 0x108], 0
mov dword [esi + 0x104], 0
mov dword [esi + 8], 0
mov eax, dword [esi + 8]
cmp eax, 0x10
jae 0x40e5e8
jmp 0x40e5be
mov eax, dword [esi + 8]
mov ecx, dword [esi + 8]
mov cl, byte [esi + ecx + 0x100]
xor cl, al
mov eax, dword [esi + 8]
mov byte [esi + eax + 0x100], cl
mov eax, dword [esi + 8]
inc eax
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
cmp eax, 0x10
jb 0x40e5be
jmp 0x40e5e8
mov edi, dword [str.WpRU8v__]
mov al, byte [esi + 0x24]
mov byte [esi + 0x34], al
mov byte [esi + 0xc0], 0x29
mov byte [esi + 0xc1], 0x28
mov byte [esi + 0xc2], 0x38
mov byte [esi + 0xc3], 0x70
mov byte [esi + 0xc4], 0x3c
mov byte [esi + 0xc5], 0x2a
mov byte [esi + 0xc6], 0x2d
mov byte [esi + 0xc7], 0x38
mov byte [esi + 0xc8], 0x24
mov byte [esi + 0xc9], 0x36
mov byte [esi + 0xca], 0xd
mov byte [esi + 0xcb], 0x38
mov byte [esi + 0xcc], 0x31
mov byte [esi + 0xcd], 0x24
mov byte [esi + 0xce], 0x25
mov byte [esi + 0xcf], 0x38
mov byte [esi + 0xd0], 0x3f
mov byte [esi + 0xd1], 0x3e
mov byte [esi + 0xd2], 0x7e
mov byte [esi + 0xd3], 0x29
mov byte [esi + 0xd4], 0x39
mov byte [esi + 0xd5], 0x2f
mov byte [esi + 0xd6], 0x63
mov byte [esi + 0xd7], 0x53
mov byte [esi + 0xd8], 0x4c
mov byte [esi + 0xd9], 0x4d
mov byte [esi + 0xda], 0x46
mov byte [esi + 0xdb], 0xf
mov byte [esi + 0xdc], 0xd
mov byte [esi + 0xdd], 5
mov byte [esi + 0xde], 0x5b
mov byte [esi + 0xdf], 0x97
mov byte [esi + 0xe2], 0
mov word [esi + 0xe0], 0
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0xc]
cmp eax, 0x23
jae 0x40e72d
jmp 0x40e6f5
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0xc]
movzx ecx, byte [esi + ecx + 0xc0]
mov edx, eax
add edx, 0x49
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add al, 0x4a
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, 0x23
jb 0x40e6f5
jmp 0x40e72d
sub esp, 8
lea eax, [esi + 0xc0]
mov dword [esp + 4], eax
lea ebx, [esi + 0x19c]
mov dword [esp], ebx
call fcn.004091e0
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004091e0
lea ecx, [esi + 0x100]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004091e0
mov ecx, dword [esi + 0x13c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004091e0
add esp, 8
mov dword [esi + 0x190], eax
mov eax, dword [esi + 0x190]
sub eax, ebx
mov dword [esi + 0x18c], eax
mov eax, dword [esi + 0x18c]
mov cl, byte [esi + 0x20]
mov byte [esi + 0x38], cl
mov byte [esi + 0x40], 0x2b
mov byte [esi + 0x41], 0x6d
mov byte [esi + 0x42], 0xc1
mov byte [esi + 0x43], 0x73
mov byte [esi + 0x44], 0xc2
mov byte [esi + 0x45], 0x71
mov byte [esi + 0x46], 0xc2
mov byte [esi + 0x47], 0x77
mov byte [esi + 0x48], 0xd1
mov byte [esi + 0x49], 0x75
mov byte [esi + 0x4a], 0xc8
mov byte [esi + 0x4b], 0x7b
mov byte [esi + 0x4c], 0xcc
mov byte [esi + 0x4d], 0x79
mov byte [esi + 0x4e], 0x13
mov byte [esi + 0x4f], 0x7f
mov byte [esi + 0x50], 0x28
mov byte [esi + 0x51], 0x7d
mov byte [esi + 0x52], 0xfb
mov byte [esi + 0x53], 0x43
mov byte [esi + 0x54], 0xf0
mov byte [esi + 0x55], 0x41
mov byte [esi + 0x56], 0xe3
mov byte [esi + 0x57], 0x47
mov byte [esi + 0x58], 0x3a
mov byte [esi + 0x59], 0x45
mov byte [esi + 0x5a], 0x2a
mov byte [esi + 0x5b], 0x4b
mov byte [esi + 0x5c], 0xe9
mov byte [esi + 0x5d], 0x49
mov byte [esi + 0x5e], 0xfe
mov byte [esi + 0x5f], 0x4f
mov byte [esi + 0x60], 0xfc
mov byte [esi + 0x61], 0x4d
mov byte [esi + 0x62], 0xfe
mov byte [esi + 0x63], 0x53
mov byte [esi + 0x64], 0xf9
mov byte [esi + 0x65], 0x51
mov byte [esi + 0x66], 0xf1
mov byte [esi + 0x67], 0x57
mov byte [esi + 0x68], 0xf5
mov byte [esi + 0x69], 0x55
mov byte [esi + 0x6a], 0xee
mov byte [esi + 0x6b], 0x5b
mov byte [esi + 0x6c], 0xf1
mov byte [esi + 0x6d], 0x59
mov byte [esi + 0x6e], 0xed
mov byte [esi + 0x6f], 0x5f
mov byte [esi + 0x70], 0xee
mov byte [esi + 0x71], 0x5d
mov byte [esi + 0x72], 0xd1
mov byte [esi + 0x73], 0xa3
mov byte [esi + 0x74], 0x18
mov byte [esi + 0x75], 0xa1
mov byte [esi + 0x76], 0xcb
mov byte [esi + 0x77], 0xa7
mov byte [esi + 0x78], 0x1f
mov byte [esi + 0x79], 0xa5
mov byte [esi + 0x7a], 0x11
mov byte [esi + 0x7b], 0xab
mov byte [esi + 0x7c], 0x13
mov byte [esi + 0x7d], 0xa9
mov byte [esi + 0x7e], 0xc3
mov byte [esi + 0x7f], 0xaf
mov byte [esi + 0x80], 6
mov byte [esi + 0x81], 0xad
mov byte [esi + 0x82], 1
mov byte [esi + 0x83], 0xb3
mov byte [esi + 0x84], 6
mov byte [esi + 0x85], 0xb1
mov byte [esi + 0x86], 0x1b
mov byte [esi + 0x87], 0xb7
mov byte [esi + 0x88], 0xd9
mov byte [esi + 0x89], 0xb5
mov byte [esi + 0x8a], 0xf
mov byte [esi + 0x8b], 0xbb
mov byte [esi + 0x8c], 0xe
mov byte [esi + 0x8d], 0xb9
mov byte [esi + 0x8e], 0x12
mov byte [esi + 0x8f], 0xbf
mov byte [esi + 0x90], 0x19
mov byte [esi + 0x91], 0xbd
mov byte [esi + 0x92], 0x30
mov byte [esi + 0x93], 0x83
mov byte [esi + 0x94], 0x27
mov byte [esi + 0x95], 0x81
mov byte [esi + 0x96], 0x35
mov byte [esi + 0x97], 0x87
mov byte [esi + 0x98], 0x20
mov byte [esi + 0x99], 0x85
mov byte [esi + 0x9a], 0x2f
mov byte [esi + 0x9b], 0x8b
mov byte [esi + 0x9c], 0x2c
mov byte [esi + 0x9d], 0x89
mov byte [esi + 0x9e], 0x83
mov byte [esi + 0x9f], 0x8f
mov byte [esi + 0xa0], 0x82
mov byte [esi + 0xa1], 0x8d
mov byte [esi + 0xa2], 0x92
mov byte [esi + 0xa3], 0x93
mov dword [esi + 0xaf], 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, 0x73
jae 0x40ea0b
jmp 0x40e9d0
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x10]
movzx edx, byte [esi + edx + 0x40]
mov edi, ecx
add edi, 0xd806e24e
lea ecx, [ecx + edx - 0x27f91db2]
and edi, edx
add edi, edi
sub ecx, edi
add cl, 0xde
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, 0x73
jb 0x40e9d0
jmp 0x40ea0b
mov cl, byte [esi + 0x1c]
mov byte [esi + 0x3c], cl
mov byte [esi + 0x110], 0x4f
mov byte [esi + 0x111], 0x99
mov byte [esi + 0x112], 0x3b
mov byte [esi + 0x113], 0x9b
mov byte [esi + 0x114], 0x14
mov byte [esi + 0x115], 0x85
mov byte [esi + 0x116], 0x2f
mov byte [esi + 0x117], 0x87
mov byte [esi + 0x118], 0x80
mov byte [esi + 0x119], 0x81
mov word [esi + 0x122], 0
mov dword [esi + 0x11e], 0
mov dword [esi + 0x11a], 0
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x14]
cmp ecx, 0x14
jae 0x40eac6
jmp 0x40ea85
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x14]
movzx edx, byte [esi + edx + 0x110]
mov edi, ecx
add edi, 0xe0f76cec
lea ecx, [ecx + edx - 0x1f089314]
and edi, edx
add edi, edi
sub ecx, edi
add cl, 0x8c
mov edx, dword [esi + 0x14]
mov byte [esi + edx + 0x110], cl
mov ecx, dword [esi + 0x14]
inc ecx
mov dword [esi + 0x14], ecx
mov ecx, dword [esi + 0x14]
cmp ecx, 0x14
jb 0x40ea85
jmp 0x40eac6
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], ebx
lea eax, [esi + 0x40]
mov dword [esp + 8], eax
lea eax, [esi + 0x110]
mov dword [esp + 4], eax
mov dword [esp], 0x44466c
call fcn.0040b210
add esp, 0x1c
movzx eax, al
mov dword [esi + 0x194], eax
mov eax, dword [esi + 0x198]
mov ecx, dword [esi + 0x194]
mov eax, dword [eax + ecx*4]
mov ecx, dword [0x43be14]
xor ecx, 0xffa2200b
sub eax, ecx
push eax
mov ecx, esp
mov dword [esi + 0x138], ecx
mov dword [ecx], 0x43be18
push eax
mov dword [esi + 0x134], esp
push eax
mov ecx, esp
mov dword [esi + 0x154], ecx
mov dword [ecx], 0x43be24
push eax
mov dword [esi + 0x148], esp
push eax
mov ecx, esp
mov dword [esi + 0x144], ecx
mov dword [ecx], 0x43b440
mov ecx, dword [0x43be30]
mov dword [esi + 0x140], ecx
push eax
mov ecx, esp
mov dword [esi + 0x15c], ecx
mov dword [ecx], 0x43b440
mov ecx, dword [0x43be38]
mov dword [esi + 0x158], ecx
push eax
mov ecx, esp
mov dword [esi + 0x164], ecx
mov dword [ecx], 0x43be40
push eax
mov dword [esi + 0x160], esp
push eax
mov ecx, esp
mov dword [esi + 0x184], ecx
mov dword [ecx], 0x43be4c
push eax
mov dword [esi + 0x178], esp
push eax
mov edx, esp
mov dword [edx], 0x43b440
mov ecx, dword [0x43be58]
mov dword [esi + 0x168], ecx
push eax
mov ecx, esp
mov dword [esi + 0x180], ecx
mov dword [ecx], 0x43be60
push eax
mov dword [esi + 0x170], esp
push eax
mov ecx, esp
mov dword [esi + 0x188], ecx
mov dword [ecx], 0x43be6c
push eax
mov ebx, esp
push eax
mov edi, esp
mov dword [edi], 0x43b440
mov ecx, dword [0x43be78]
mov dword [esi + 0x130], ecx
push eax
mov ecx, esp
mov dword [esi + 0x150], ecx
mov dword [ecx], 0x43b440
mov ecx, dword [0x43be80]
mov dword [esi + 0x14c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x17c], ecx
mov dword [ecx], 0x43b440
mov ecx, dword [0x43be88]
mov dword [esi + 0x174], ecx
jmp eax