Function at 0x40b2b0
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, 0x150
mov esi, esp
mov eax, dword [ebp + 8]
push eax
sub esp, 0xc
mov ecx, esp
and ecx, 0xfffffff8
mov dword [esi + 0x104], ecx
mov esp, ecx
push eax
mov dword [esi + 0xfc], esp
sub esp, 0x10
mov ebx, esp
and ebx, 0xfffffff8
mov esp, ebx
push eax
mov dword [esi + 0x100], esp
sub esp, 0x14
mov dword [esi + 0x110], esp
sub esp, 0x20
mov ecx, esp
and ecx, 0xfffffff8
mov dword [esi + 0x90], ecx
mov esp, ecx
push eax
mov dword [esi + 0x108], esp
push eax
mov edi, esp
push eax
mov dword [esi + 0x114], esp
sub esp, 0x10
mov ecx, esp
and ecx, 0xfffffff8
mov dword [esi + 0x94], ecx
mov esp, ecx
push eax
mov dword [esi + 0x10c], esp
mov dword [esi + 0x11c], eax
mov byte [esi + 7], 0
mov al, byte [esi + 0xa0]
mov byte [esi + 0xa4], al
mov byte [esi + 0xc0], 0xf9
mov byte [esi + 0xc1], 0xfa
mov byte [esi + 0xc2], 0xd6
mov byte [esi + 0xc3], 0x1e
mov byte [esi + 0xc4], 0xe0
mov byte [esi + 0xc5], 0xec
mov byte [esi + 0xc6], 0xe8
mov byte [esi + 0xc7], 0xea
mov byte [esi + 0xc8], 0x50
mov byte [esi + 0xd5], 0
mov dword [esi + 0xd1], 0
mov dword [esi + 0xcd], 0
mov dword [esi + 0xc9], 0
mov dword [esi + 8], 0
mov eax, dword [esi + 8]
cmp eax, 0x16
jae 0x40b405
jmp 0x40b3b9
mov eax, dword [esi + 8]
mov ecx, dword [esi + 8]
movzx ecx, byte [esi + ecx + 0xc0]
mov edx, eax
add edx, 0xc5297974
lea eax, [eax + ecx - 0x3ad6868c]
and edx, ecx
add edx, edx
sub eax, edx
mov dword [esi + 0x120], eax
mov eax, dword [esi + 0x120]
add al, 0xd4
mov ecx, dword [esi + 8]
mov byte [esi + ecx + 0xc0], al
mov eax, dword [esi + 8]
inc eax
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
cmp eax, 0x16
jb 0x40b3b9
jmp 0x40b405
mov dword [esi + 0x118], edi
lea edi, [esi + 0x13f]
lea edx, [esi + 0xc0]
mov ecx, 2
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esi + 0x147]
lea edx, [esi + 0xc8]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov cl, byte [esi + 0xc8]
mov byte [esi + 0x147], cl
mov cl, byte [esi + 0x9c]
mov byte [esi + 0xa8], cl
mov byte [esi + 0x28], 3
mov byte [esi + 0x29], 0xc1
mov byte [esi + 0x2a], 0x6d
mov byte [esi + 0x2b], 0xc3
mov byte [esi + 0x2c], 0x6a
mov byte [esi + 0x2d], 0xc5
mov byte [esi + 0x2e], 0x72
mov byte [esi + 0x2f], 0xc7
mov byte [esi + 0x30], 0x6d
mov byte [esi + 0x31], 0xc9
mov byte [esi + 0x32], 0x64
mov byte [esi + 0x33], 0xcb
mov byte [esi + 0x34], pe_nt_image_headers32
mov byte [esi + 0x35], 0xcd
mov byte [esi + 0x36], 0x23
mov byte [esi + 0x37], 0xcf
mov byte [esi + 0x38], 4
mov byte [esi + 0x39], 0xd1
mov byte [esi + 0x3a], 0x6b
mov byte [esi + 0x3b], 0xd3
mov byte [esi + 0x3c], 0x64
mov byte [esi + 0x3d], 0xd5
mov byte [esi + 0x3e], 0x73
mov byte [esi + 0x3f], 0xd7
mov byte [esi + 0x40], 0x22
mov byte [esi + 0x41], 0xd9
mov byte [esi + 0x42], 0x3a
mov byte [esi + 0x43], 0xdb
mov byte [esi + 0x44], 0x7d
mov byte [esi + 0x45], 0xdd
mov byte [esi + 0x46], 0x6e
mov byte [esi + 0x47], 0xdf
mov byte [esi + 0x48], 0x10
mov byte [esi + 0x49], 0xa1
mov byte [esi + 0x4a], 0xe
mov byte [esi + 0x4b], 0xa3
mov byte [esi + 0x4c], 0xd
mov byte [esi + 0x4d], 0xa5
mov byte [esi + 0x4e], 5
mov byte [esi + 0x4f], 0xa7
mov byte [esi + 0x50], 9
mov byte [esi + 0x51], 0xa9
mov byte [esi + 0x52], 0x1e
mov byte [esi + 0x53], 0xab
mov byte [esi + 0x54], 5
mov byte [esi + 0x55], 0xad
mov byte [esi + 0x56], 1
mov byte [esi + 0x57], 0xaf
mov byte [esi + 0x58], 0x1e
mov byte [esi + 0x59], 0xb1
mov byte [esi + 0x5a], 0x5d
mov byte [esi + 0x5b], 0xb3
mov byte [esi + 0x5c], 0xc
mov byte [esi + 0x5d], 0xb5
mov byte [esi + 0x5e], 0x5b
mov byte [esi + 0x5f], 0xb7
mov byte [esi + 0x60], 0xf
mov byte [esi + 0x61], 0xb9
mov byte [esi + 0x62], 0xd
mov byte [esi + 0x63], 0xbb
mov byte [esi + 0x64], 0xb
mov byte [esi + 0x65], 0xbd
mov byte [esi + 0x66], 0x53
mov byte [esi + 0x67], 0xbf
mov byte [esi + 0x68], 0x26
mov byte [esi + 0x69], 0x81
mov byte [esi + 0x6a], 0x2d
mov byte [esi + 0x6b], 0x83
mov byte [esi + 0x6c], 0x36
mov byte [esi + 0x6d], 0x85
mov byte [esi + 0x6e], 0x2b
mov byte [esi + 0x6f], 0x87
mov byte [esi + 0x70], 0x65
mov byte [esi + 0x71], 0x89
mov byte [esi + 0x72], 0x3f
mov byte [esi + 0x73], 0x8b
mov byte [esi + 0x74], 0x3e
mov byte [esi + 0x75], 0x8d
mov byte [esi + 0x76], 0x22
mov byte [esi + 0x77], 0x8f
mov byte [esi + 0x78], 0x35
mov byte [esi + 0x79], 0x91
mov byte [esi + 0x7a], 0x3c
mov byte [esi + 0x7b], 0x93
mov byte [esi + 0x7c], 0x37
mov byte [esi + 0x7d], 0x95
mov byte [esi + 0x7e], 0x39
mov byte [esi + 0x7f], 0x97
mov byte [esi + 0x80], 0x3c
mov byte [esi + 0x81], 0x99
mov byte [esi + 0x82], 0x3f
mov byte [esi + 0x83], 0x9b
mov byte [esi + 0x84], 0x38
mov byte [esi + 0x85], 0x9d
mov byte [esi + 0x86], 0x93
mov byte [esi + 0x87], 0x9f
mov byte [esi + 0x88], 0x6a
mov byte [esi + 0x89], 0x61
mov byte [esi + 0x8a], 0x62
mov byte [esi + 0x8b], 0x63
mov dword [esi + 0x8c], 0
mov dword [esi + 0xc], 0
mov ecx, dword [esi + 0xc]
cmp ecx, 0x68
jae 0x40b679
jmp 0x40b61e
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0xc]
movzx edi, byte [esi + edx + 0x28]
mov edx, ecx
add edx, 0x6ebe6320
lea ecx, [ecx + edi + 0x6ebe6320]
and edx, edi
add edx, edx
mov edi, edx
xor edi, ecx
not edx
and ecx, edx
add ecx, ecx
sub ecx, edi
mov dword [esi + 0x124], ecx
mov ecx, dword [esi + 0x124]
mov edx, ecx
xor edx, 0x1f
and ecx, 0x1f
lea ecx, [edx + ecx*2]
inc cl
mov edx, dword [esi + 0xc]
mov byte [esi + edx + 0x28], cl
mov ecx, dword [esi + 0xc]
inc ecx
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0xc]
cmp ecx, 0x68
jb 0x40b61e
jmp 0x40b679
mov cl, byte [esi + 0x98]
mov byte [esi + 0xac], cl
mov byte [esi + 0xe0], 0x4f
mov byte [esi + 0xe1], 0x19
mov byte [esi + 0xe2], 0x7b
mov byte [esi + 0xe3], 0x1b
mov byte [esi + 0xe4], 0x84
mov byte [esi + 0xe5], 0x15
mov byte [esi + 0xe6], 0x8f
mov byte [esi + 0xe7], 0x17
mov byte [esi + 0xe8], 0x10
mov byte [esi + 0xe9], 0x11
mov dword [esi + 0xf1], 0
mov dword [esi + 0xee], 0
mov dword [esi + 0xea], 0
mov dword [esi + 0x10], 0
mov ecx, dword [esi + 0x10]
cmp ecx, 0x15
jae 0x40b748
jmp 0x40b6fa
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x10]
movzx edi, byte [esi + edx + 0xe0]
mov edx, ecx
add edx, edi
add ecx, 0x84
and ecx, edi
add ecx, ecx
sub edx, ecx
add edx, 0xb7804384
mov dword [esi + 0x128], edx
mov ecx, dword [esi + 0x128]
add cl, 0x64
mov edx, dword [esi + 0x10]
mov byte [esi + edx + 0xe0], cl
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x10]
cmp ecx, 0x15
jb 0x40b6fa
jmp 0x40b748
mov edi, ebx
mov ecx, dword [esi + 0x11c]
lea edx, [esi + 0xe0]
lea eax, [esi + 0x28]
xor ebx, ebx
sub esp, 0x1c
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
lea eax, [esi + 0x13f]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 8
lea eax, [esi + 0x24]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
call fcn.0040c320
add esp, 0x1c
test al, 1
jne 0x40b79b
jmp 0x40bba2
mov ebx, edi
call fcn.0040f140
mov eax, dword [esi + 0xfc]
mov al, byte [eax]
mov byte [esi + 0xb0], al
mov edi, dword [esi + 0x104]
mov byte [edi], 0xbf
mov byte [edi + 1], 0xba
mov byte [edi + 2], 0x2a
mov word [edi + 0xb], 0
mov dword [edi + 7], 0
mov dword [edi + 3], 0
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x14]
cmp eax, 0xd
jae 0x40b827
jmp 0x40b7e6
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x14]
movzx ecx, byte [edi + ecx]
mov edx, eax
add edx, 0x7a
add eax, ecx
and edx, ecx
add edx, edx
sub eax, edx
add eax, 0x44e9cf7a
mov dword [esi + 0x12c], eax
mov eax, dword [esi + 0x12c]
add al, 0xaa
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, 0xd
jb 0x40b7e6
jmp 0x40b827
mov eax, dword [esi + 0x24]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.0040dd10
add esp, 8
cmp eax, 0
sete al
test al, 1
jne 0x40b848
jmp 0x40b851
mov byte [esi + 7], 1
jmp 0x40bb8f
mov eax, dword [esi + 0x100]
mov al, byte [eax]
mov byte [esi + 0xb4], al
mov byte [ebx], 0xf3
mov byte [ebx + 1], 0xc4
mov byte [ebx + 2], 0xc1
mov byte [ebx + 3], 0xf7
mov byte [ebx + 4], 0xcd
mov byte [ebx + 5], 0xca
mov byte [ebx + 6], 0xc8
mov byte [ebx + 7], 0x67
mov word [ebx + 0xc], 0
mov dword [ebx + 8], 0
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0x18]
cmp eax, 0xe
jae 0x40b8f0
jmp 0x40b89c
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x18]
movzx edi, byte [ebx + eax]
mov eax, edx
add eax, 0x987f4510
and eax, edi
lea ecx, [edx + edi - 0x6780baf0]
add edx, 0x10
and edx, edi
add eax, edx
mov edx, ecx
not edx
mov edi, eax
and edi, edx
not eax
and ecx, eax
sub ecx, edi
mov dword [esi + 0x130], ecx
mov eax, dword [esi + 0x130]
add al, 0x90
mov ecx, dword [esi + 0x18]
mov byte [ebx + ecx], al
mov eax, dword [esi + 0x18]
inc eax
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x18]
cmp eax, 0xe
jb 0x40b89c
jmp 0x40b8f0
mov eax, dword [esi + 0x24]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0040c2d0
add esp, 8
cmp eax, 0
je 0x40bb8d
mov eax, dword [esi + 0x108]
mov al, byte [eax]
mov byte [esi + 0xb8], al
mov eax, dword [esi + 0x90]
mov byte [eax], 0x7e
mov byte [eax + 1], 0x6c
mov byte [eax + 2], 0x7f
mov byte [eax + 3], 0x76
mov byte [eax + 4], 0x8d
mov byte [eax + 5], 0xb7
mov byte [eax + 6], 0x67
mov byte [eax + 7], 0x4b
mov byte [eax + 8], 0x77
mov byte [eax + 9], 0x72
mov byte [eax + 0xa], 0xbc
mov byte [eax + 0xb], 0xa3
mov byte [eax + 0xc], 0x4a
mov byte [eax + 0xd], 0x60
mov byte [eax + 0xe], 0x6a
mov byte [eax + 0xf], 0x52
mov byte [eax + 0x10], 0x61
mov byte [eax + 0x11], 0x98
mov byte [eax + 0x12], 0xa4
mov byte [eax + 0x13], 0xdb
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x1c]
cmp eax, 0x1c
jae 0x40b9da
jmp 0x40b990
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x1c]
mov edi, dword [esi + 0x90]
movzx ecx, byte [edi + ecx]
mov edx, eax
add edx, 0xe2
add eax, ecx
and edx, ecx
add edx, edx
sub eax, edx
add eax, 0xb5071e2
mov dword [esi + 0x134], eax
mov eax, dword [esi + 0x134]
add al, 0xd2
mov ecx, dword [esi + 0x1c]
mov byte [edi + ecx], al
mov eax, dword [esi + 0x1c]
inc eax
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x1c]
cmp eax, 0x1c
jb 0x40b990
jmp 0x40b9da
mov ecx, 5
mov ebx, dword [esi + 0x90]
mov eax, ebx
mov edx, dword [esi + 0x110]
mov edi, edx
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 eax, dword [esi + 0x24]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040c2d0
add esp, 8
mov edi, dword [esi + 0x118]
mov dword [edi], eax
cmp dword [edi], 0
je 0x40bb8d
mov eax, dword [edi]
add eax, 0x13
mov dword [edi], eax
mov eax, dword [esi + 0x10c]
mov al, byte [eax]
mov byte [esi + 0xbc], al
mov eax, dword [esi + 0x94]
mov byte [eax], 0x42
mov byte [eax + 1], 0xbf
mov byte [eax + 2], 0x62
mov word [eax + 7], 0
mov dword [eax + 3], 0
mov dword [esi + 0x20], 0
mov eax, dword [esi + 0x20]
cmp eax, 9
jae 0x40bab8
jmp 0x40ba6e
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x20]
mov ebx, dword [esi + 0x94]
movzx ecx, byte [ebx + ecx]
mov edx, eax
add edx, 0xccbad5b0
lea eax, [eax + ecx - 0x33452a50]
and edx, ecx
add edx, edx
sub eax, edx
mov dword [esi + 0x138], eax
mov eax, dword [esi + 0x138]
add al, 0x30
mov ecx, dword [esi + 0x20]
mov byte [ebx + ecx], al
mov eax, dword [esi + 0x20]
inc eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x20]
cmp eax, 9
jb 0x40ba6e
jmp 0x40bab8
mov eax, dword [edi]
sub esp, 8
mov dword [esp], eax
mov eax, dword [esi + 0x94]
mov dword [esp + 4], eax
call fcn.0040c2d0
add esp, 8
mov ecx, dword [esi + 0x114]
mov dword [ecx], eax
mov eax, ecx
cmp dword [eax], 0
je 0x40bb8d
mov byte [0x4486d8], 1
mov ebx, dword [eax]
mov edi, dword [edi]
cmp ebx, 0
jne 0x40bb0b
mov ecx, edi
jmp 0x40baf9
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40baf9
sub eax, edi
mov ebx, edi
add ebx, eax
mov dword [esi + 0xdc], 0
lea eax, [0x4486da]
cmp ebx, edi
jbe 0x40bb84
lea ecx, [0x4486da]
jmp 0x40bb27
cmp byte [edi], 0
jne 0x40bb30
mov eax, ecx
jmp 0x40bb84
sub esp, 0xc
lea eax, [esi + 0xdc]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esi + 0xf8], ecx
call fcn.0040ef90
add esp, 0xc
add edi, eax
mov cx, word [esi + 0xdc]
mov edx, dword [esi + 0xf8]
mov eax, edx
add eax, 2
mov word [edx], cx
mov ecx, eax
sub ecx, 0x4488d8
setb cl
mov edx, edi
sub edx, ebx
setb dl
and cl, dl
test cl, 1
mov ecx, eax
jne 0x40bb27
mov word [eax], 0
mov byte [esi + 7], 1
jmp 0x40bb8f
mov eax, dword [esi + 0x24]
sub esp, 4
mov dword [esp], eax
call fcn.00438940
add esp, 4
jmp 0x40bba2
mov al, byte [esi + 7]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret