Function at 0x40b7b0
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, 0x160
mov esi, esp
mov eax, dword [ebp + 8]
push eax
sub esp, 0xc
mov ecx, esp
and ecx, 0xfffffff8
mov dword [esi + 0x11c], ecx
mov esp, ecx
push eax
mov dword [esi + 0x114], esp
sub esp, 0x14
mov dword [esi + 0x124], esp
sub esp, 0x18
mov ecx, esp
and ecx, 0xfffffff8
mov dword [esi + 0x28], ecx
mov esp, ecx
push eax
mov dword [esi + 0x118], esp
push eax
mov edi, esp
push eax
mov dword [esi + 0x128], esp
sub esp, 0x10
mov ecx, esp
and ecx, 0xfffffff8
mov dword [esi + 0x20], ecx
mov esp, ecx
push eax
mov dword [esi + 0x120], esp
mov dword [esi + 0x12c], eax
mov byte [esi + 3], 0
mov al, byte [esi + 0x38]
mov byte [esi + 0x3c], al
mov byte [esi + 0xe8], 0xc5
mov byte [esi + 0xe9], 0xdc
mov byte [esi + 0xea], 0xcc
mov byte [esi + 0xeb], 0x34
mov byte [esi + 0xec], 0xc6
mov byte [esi + 0xed], 0xc6
mov byte [esi + 0xee], 0xda
mov byte [esi + 0xef], 0xd8
mov byte [esi + 0xf0], 0x7e
mov dword [esi + 0xf9], 0
mov dword [esi + 0xf5], 0
mov dword [esi + 0xf1], 0
mov dword [esi + 4], 0
mov eax, dword [esi + 4]
cmp eax, 0x15
jae 0x40b8ea
jmp 0x40b895
mov eax, dword [esi + 4]
mov ecx, dword [esi + 4]
movzx ecx, byte [esi + ecx + 0xe8]
mov edx, eax
add edx, 0x175e4ccf
add eax, 0xcf
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esi + 0x130], edx
mov eax, dword [esi + 0x130]
mov ecx, eax
xor ecx, 0x56
and eax, 0x56
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esi + 4]
mov byte [esi + ecx + 0xe8], al
mov eax, dword [esi + 4]
inc eax
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
cmp eax, 0x15
jb 0x40b895
jmp 0x40b8ea
mov dword [esi + 0xc8], edi
lea ebx, [esi + 0x14f]
lea eax, [esi + 0xe8]
mov edi, ebx
mov ecx, 2
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
add ebx, 8
lea edx, [esi + 0xe8]
add edx, 8
mov eax, edx
mov edi, ebx
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov ecx, 1
mov edi, edx
mov eax, ebx
add ecx, 0xffffffff
add edi, 1
mov dl, byte [edx]
add eax, 1
mov byte [ebx], dl
cmp ecx, 0
mov edx, edi
mov ebx, eax
jne 0x40b927
mov al, byte [esi + 0x34]
mov byte [esi + 0x40], al
mov byte [esi + 0x58], 0xdb
mov byte [esi + 0x59], 0xa1
mov byte [esi + 0x5a], 0x31
mov byte [esi + 0x5b], 0xa3
mov byte [esi + 0x5c], 0x34
mov byte [esi + 0x5d], 0xdd
mov byte [esi + 0x5e], 0x50
mov byte [esi + 0x5f], 0xdf
mov byte [esi + 0x60], 0x41
mov byte [esi + 0x61], 0xd9
mov byte [esi + 0x62], 0x4e
mov byte [esi + 0x63], 0xdb
mov byte [esi + 0x64], 0x56
mov byte [esi + 0x65], 0xd5
mov byte [esi + 0x66], 0x83
mov byte [esi + 0x67], 0xd7
mov byte [esi + 0x68], 0xba
mov byte [esi + 0x69], 0xd1
mov byte [esi + 0x6a], 0x5b
mov byte [esi + 0x6b], 0xd3
mov byte [esi + 0x6c], 0x42
mov byte [esi + 0x6d], 0xcd
mov byte [esi + 0x6e], 0x53
mov byte [esi + 0x6f], 0xcf
mov byte [esi + 0x70], 0x84
mov byte [esi + 0x71], 0xc9
mov byte [esi + 0x72], 0xe8
mov byte [esi + 0x73], 0xcb
mov byte [esi + 0x74], 0xa9
mov byte [esi + 0x75], 0xc5
mov byte [esi + 0x76], 0x54
mov byte [esi + 0x77], 0xc7
mov byte [esi + 0x78], 0x56
mov byte [esi + 0x79], 0xc1
mov byte [esi + 0x7a], 0x54
mov byte [esi + 0x7b], 0xc3
mov byte [esi + 0x7c], 0x59
mov byte [esi + 0x7d], 0xfd
mov byte [esi + 0x7e], 0x61
mov byte [esi + 0x7f], 0xff
mov byte [esi + 0x80], 0x9d
mov byte [esi + 0x81], 0xf9
mov byte [esi + 0x82], 0x74
mov byte [esi + 0x83], 0xfb
mov byte [esi + 0x84], 0x61
mov byte [esi + 0x85], 0xf5
mov byte [esi + 0x86], 0x65
mov byte [esi + 0x87], 0xf7
mov byte [esi + 0x88], 0x60
mov byte [esi + 0x89], 0xf1
mov byte [esi + 0x8a], 0xa1
mov byte [esi + 0x8b], 0xf3
mov byte [esi + 0x8c], 0x7a
mov byte [esi + 0x8d], 0xed
mov byte [esi + 0x8e], 0xbb
mov byte [esi + 0x8f], 0xef
mov byte [esi + 0x90], 0x67
mov byte [esi + 0x91], 0xe9
mov byte [esi + 0x92], 0x61
mov byte [esi + 0x93], 0xeb
mov byte [esi + 0x94], 0x63
mov byte [esi + 0x95], 0xe5
mov byte [esi + 0x96], 0xb3
mov byte [esi + 0x97], 0xe7
mov byte [esi + 0x98], pe_nt_image_headers32
mov byte [esi + 0x99], 0xe1
mov byte [esi + 0x9a], 0x71
mov byte [esi + 0x9b], 0xe3
mov byte [esi + 0x9c], 0x70
mov byte [esi + 0x9d], 0x1d
mov byte [esi + 0x9e], 0x8b
mov byte [esi + 0x9f], 0x1f
mov byte [esi + 0xa0], 0x49
mov byte [esi + 0xa1], 0x19
mov byte [esi + 0xa2], 0x97
mov byte [esi + 0xa3], 0x1b
mov byte [esi + 0xa4], 0x88
mov byte [esi + 0xa5], 0x15
mov byte [esi + 0xa6], 0x80
mov byte [esi + 0xa7], 0x17
mov byte [esi + 0xa8], 0x89
mov byte [esi + 0xa9], 0x11
mov byte [esi + 0xaa], 0x86
mov byte [esi + 0xab], 0x13
mov byte [esi + 0xac], 0x8f
mov byte [esi + 0xad], 0xd
mov byte [esi + 0xae], 0x9d
mov byte [esi + 0xaf], 0xf
mov byte [esi + 0xb0], 0x92
mov byte [esi + 0xb1], 9
mov byte [esi + 0xb2], 0x97
mov byte [esi + 0xb3], 0xb
mov byte [esi + 0xb4], 0x96
mov byte [esi + 0xb5], 5
mov byte [esi + 0xb6], 0x33
mov byte [esi + 0xb7], 7
mov byte [esi + 0xb8], 0x3c
mov byte [esi + 0xb9], 1
mov byte [esi + 0xba], 0
mov byte [esi + 0xbb], 3
lea eax, [esi + 0x58]
add eax, 0x64
xor ecx, ecx
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 9
call fcn.00409280
add esp, 0xc
call fcn.004099e0
mov dword [esi + 8], 0
mov eax, dword [esi + 8]
cmp eax, 0x6d
jae 0x40bc09
jmp 0x40bbc3
mov eax, dword [esi + 8]
mov ecx, dword [esi + 8]
movzx ecx, byte [esi + ecx + 0x58]
mov edx, eax
add edx, 0x1330623b
lea eax, [eax + ecx + 0x1330623b]
and edx, ecx
add edx, edx
sub eax, edx
mov dword [esi + 0x134], eax
mov eax, dword [esi + 0x134]
add al, 0x63
mov ecx, dword [esi + 8]
mov byte [esi + ecx + 0x58], al
mov eax, dword [esi + 8]
inc eax
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
cmp eax, 0x6d
jb 0x40bbc3
jmp 0x40bc09
jmp 0x40bc0b
jmp 0x40bc0d
jmp 0x40bc0f
mov al, byte [esi + 0x30]
mov byte [esi + 0x44], al
mov byte [esi + 0xd0], 0xd7
mov byte [esi + 0xd1], 0xf9
mov byte [esi + 0xd2], 0x5b
mov byte [esi + 0xd3], 0xfb
mov byte [esi + 0xd4], 0x6a
mov byte [esi + 0xd5], 0xfd
mov byte [esi + 0xd6], 0x67
mov byte [esi + 0xd7], 0xff
mov byte [esi + 0xd8], 0xfe
mov byte [esi + 0xd9], 0xf1
mov word [esi + 0xe6], 0
mov dword [esi + 0xe2], 0
mov dword [esi + 0xde], 0
mov dword [esi + 0xda], 0
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0xc]
cmp eax, 0x18
jae 0x40bcdf
jmp 0x40bc93
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0xc]
movzx ecx, byte [esi + ecx + 0xd0]
mov edx, eax
add edx, 0x4b2926bf
lea eax, [eax + ecx + 0x4b2926bf]
and edx, ecx
add edx, edx
sub eax, edx
mov dword [esi + 0x138], eax
mov eax, dword [esi + 0x138]
add al, 0xc7
mov ecx, dword [esi + 0xc]
mov byte [esi + ecx + 0xd0], al
mov eax, dword [esi + 0xc]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
cmp eax, 0x18
jb 0x40bc93
jmp 0x40bcdf
mov eax, dword [esi + 0x12c]
lea ecx, [esi + 0xd0]
lea edx, [esi + 0x58]
lea ebx, [esi + 0x24]
xor edi, edi
sub esp, 0x1c
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea eax, [esi + 0x14f]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0
call fcn.0040c8e0
add esp, 0x1c
test al, 1
jne 0x40bd30
jmp 0x40c142
mov al, byte [esi + 0x2c]
mov byte [esi + 0x48], al
mov byte [esi + 0x100], 0x27
mov byte [esi + 0x101], 0x28
mov byte [esi + 0x102], 0xd4
mov word [esi + 0x107], 0
mov dword [esi + 0x103], 0
mov dword [esi + 0x10], 0
mov eax, dword [esi + 0x10]
cmp eax, 9
mov edi, dword [esi + 0x11c]
jae 0x40bdc1
jmp 0x40bd75
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x10]
movzx edx, byte [esi + ecx + 0x100]
mov ecx, eax
add ecx, edx
add eax, 0x9d
and eax, edx
add eax, eax
sub ecx, eax
add ecx, 0xc9ac4b9d
mov dword [esi + 0x13c], ecx
mov eax, dword [esi + 0x13c]
add al, 0xb5
mov ecx, dword [esi + 0x10]
mov byte [esi + ecx + 0x100], al
mov eax, dword [esi + 0x10]
inc eax
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
cmp eax, 9
jb 0x40bd75
jmp 0x40bdc1
mov eax, dword [esi + 0x24]
lea ecx, [esi + 0x100]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040e2c0
add esp, 8
cmp eax, 0
jne 0x40bdea
mov byte [esi + 3], 1
jmp 0x40c131
mov eax, dword [esi + 0x114]
mov al, byte [eax]
mov byte [esi + 0x4c], al
mov byte [edi], 0xeb
mov byte [edi + 1], 0xe4
mov byte [edi + 2], 0xf9
mov byte [edi + 3], 0x17
mov byte [edi + 4], 0xed
mov byte [edi + 5], 0xe2
mov byte [edi + 6], 0xe0
mov byte [edi + 7], 0x97
mov byte [edi + 0xa], 0
mov word [edi + 8], 0
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x14]
cmp eax, 0xb
jae 0x40be73
jmp 0x40be2f
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x14]
movzx ecx, byte [edi + ecx]
mov edx, eax
add edx, 0x3b652494
lea eax, [eax + ecx + 0x3b652494]
and edx, ecx
add edx, edx
sub eax, edx
mov dword [esi + 0x140], eax
mov eax, dword [esi + 0x140]
add al, 0xf4
mov ecx, dword [esi + 0x14]
mov byte [edi + ecx], al
mov eax, dword [esi + 0x14]
inc eax
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
cmp eax, 0xb
jb 0x40be2f
jmp 0x40be73
mov eax, dword [esi + 0x24]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.0040c880
add esp, 8
cmp eax, 0
je 0x40c12f
call fcn.004099e0
mov eax, dword [esi + 0x118]
mov al, byte [eax]
mov byte [esi + 0x50], al
mov eax, dword [esi + 0x28]
mov byte [eax], 0x1e
mov byte [eax + 1], 0x2c
mov byte [eax + 2], 0x5f
mov byte [eax + 3], 0x56
mov byte [eax + 4], 0xad
mov byte [eax + 5], 0x97
mov byte [eax + 6], 0x57
mov byte [eax + 7], 0x63
mov byte [eax + 8], 0x67
mov byte [eax + 9], 0x5a
mov byte [eax + 0xa], 0x9c
mov byte [eax + 0xb], 0x9b
mov byte [eax + 0xc], 0x62
mov byte [eax + 0xd], 0x58
mov byte [eax + 0xe], 0x52
mov byte [eax + 0xf], 0x6a
mov byte [eax + 0x10], 0x59
mov byte [eax + 0x11], 0xa0
mov byte [eax + 0x12], 0x84
mov byte [eax + 0x13], 0xe3
mov dword [eax + 0x14], 0
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0x18]
cmp eax, 0x18
jae 0x40bf5c
jmp 0x40bf0b
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x28]
movzx edx, byte [edi + ecx]
mov ecx, eax
add ecx, 0x65a62abe
lea eax, [eax + edx + 0x65a62abe]
and ecx, edx
add ecx, ecx
mov edx, ecx
xor edx, eax
not ecx
and eax, ecx
add eax, eax
sub eax, edx
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x144]
add al, 0xce
mov ecx, dword [esi + 0x18]
mov byte [edi + ecx], al
mov eax, dword [esi + 0x18]
inc eax
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x18]
cmp eax, 0x18
jb 0x40bf0b
jmp 0x40bf5c
mov ebx, dword [esi + 0x28]
mov eax, ebx
mov edx, dword [esi + 0x124]
mov edi, edx
mov ecx, 5
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov edi, edx
add edi, 0x14
add ebx, 0x14
xor ecx, ecx
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov edi, dword [esi + 0xc8]
jmp 0x40bf8b
mov eax, dword [esi + 0x24]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040c880
add esp, 8
mov dword [edi], eax
jmp 0x40bfa4
cmp dword [edi], 0
setne al
test al, 1
jne 0x40bfb3
jmp 0x40c12d
mov eax, dword [edi]
add eax, 0x13
mov dword [edi], eax
mov eax, dword [esi + 0x120]
mov al, byte [eax]
mov byte [esi + 0x54], al
mov eax, dword [esi + 0x20]
mov byte [eax], 0x40
mov byte [eax + 1], 0x67
mov byte [eax + 2], 0x24
mov byte [eax + 0xf], 0
mov dword [eax + 0xb], 0
mov dword [eax + 7], 0
mov dword [eax + 3], 0
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x1c]
cmp eax, 0x10
jae 0x40c05b
jmp 0x40bffd
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
movzx edx, byte [edx + ecx]
mov ecx, eax
add ecx, 0x16ec5e85
mov edi, eax
add edi, 0x85
mov ebx, edi
and ebx, edx
or ecx, edi
and ecx, edx
lea eax, [eax + edx + 0x16ec5e85]
add ebx, ecx
sub eax, ebx
mov dword [esi + 0x148], eax
mov eax, dword [esi + 0x148]
add al, 0x5d
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
mov byte [edx + ecx], al
mov eax, dword [esi + 0x1c]
inc eax
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x1c]
cmp eax, 0x10
jb 0x40bffd
mov edi, dword [esi + 0xc8]
jmp 0x40c05b
mov eax, dword [edi]
sub esp, 8
mov dword [esp], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 4], eax
call fcn.0040c880
add esp, 8
mov ecx, dword [esi + 0x128]
mov dword [ecx], eax
mov eax, ecx
cmp dword [eax], 0
je 0x40c12d
mov byte [0x4477c0], 1
mov ebx, dword [eax]
mov edi, dword [edi]
cmp ebx, 0
jne 0x40c0ab
mov ecx, edi
jmp 0x40c099
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40c099
sub eax, edi
mov ebx, edi
add ebx, eax
mov dword [esi + 0xcc], 0
lea eax, [0x4477c2]
cmp ebx, edi
jbe 0x40c124
lea ecx, [0x4477c2]
jmp 0x40c0c7
cmp byte [edi], 0
jne 0x40c0d0
mov eax, ecx
jmp 0x40c124
sub esp, 0xc
lea eax, [esi + 0xcc]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esi + 0x110], ecx
call fcn.0040f4b0
add esp, 0xc
add edi, eax
mov cx, word [esi + 0xcc]
mov edx, dword [esi + 0x110]
mov eax, edx
add eax, 2
mov word [edx], cx
mov ecx, eax
sub ecx, 0x4479c0
setb cl
mov edx, edi
sub edx, ebx
setb dl
and cl, dl
test cl, 1
mov ecx, eax
jne 0x40c0c7
mov word [eax], 0
mov byte [esi + 3], 1
jmp 0x40c12f
jmp 0x40c131
mov eax, dword [esi + 0x24]
sub esp, 4
mov dword [esp], eax
call fcn.00437d10
add esp, 4
mov al, byte [esi + 3]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret