Function at 0x40aad0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18c
mov eax, dword [0x442c4c]
mov dword [esp + 0xc], 0xf1a50f95
mov dword [esp + 0x10], 0xf55af35e
mov dword [esp + 0x14], 0xf962f760
mov dword [esp + 0x18], 0xfd14fb68
mov dword [esp + 0x1c], 0xe152ff58
mov dword [esp + 0x20], 0xe5e2e34c
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x17
ja 0x40ab56
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0xc]
add ecx, 0xb703c37d
xor ecx, edx
mov dword [esp + 0x10c], ecx
mov ecx, dword [esp + 0x10c]
add cl, 0x8f
mov edx, dword [esp]
mov byte [esp + edx + 0xc], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x18
jb 0x40ab20
lea esi, [esp + 0xc]
push 0x800
push 0
push esi
call eax
mov ecx, 0x442c14
push eax
call fcn.00435520
xor ebx, ebx
test al, al
je 0x40b228
push 0xe2bceb04
push dword [0x442c14]
call fcn.00437c90
add esp, 8
mov dword [0x442c1c], eax
push 0x248106fa
push dword [0x442c14]
call fcn.00437c90
add esp, 8
mov dword [0x442c20], eax
push 0x89b8457d
push dword [0x442c14]
call fcn.00437c90
add esp, 8
mov dword [0x442c24], eax
push 0x44f824fb
push dword [0x442c14]
call fcn.00437c90
add esp, 8
mov dword [0x442c28], eax
push 0xf072343c
push dword [0x442c14]
call fcn.00437c90
add esp, 8
mov dword [0x442c2c], eax
push 0x638f2392
push dword [0x442c14]
call fcn.00437c90
add esp, 8
mov dword [0x442c30], eax
push 0xd711af57
push dword [0x442c14]
call fcn.00437c90
add esp, 8
mov dword [0x442c34], eax
push 0x1ad145e2
push dword [0x442c14]
call fcn.00437c90
add esp, 8
mov dword [0x442c38], eax
push 0xedb83653
push dword [0x442c14]
call fcn.00437c90
add esp, 8
mov dword [0x442c3c], eax
push 0xe9e47300
push dword [0x442c14]
call fcn.00437c90
add esp, 8
mov dword [0x442c40], eax
push 0x6b702a5b
push dword [0x442c14]
call fcn.00437c90
add esp, 8
mov dword [0x442c44], eax
push 0xc135ffae
push dword [0x442c14]
call fcn.00437c90
add esp, 8
mov dword [0x442c48], eax
lea edi, [esp + 0x10b]
lea eax, [esp + 0x10c]
push eax
push dword [ebx + 0x43b3e4]
call fcn.00431310
add esp, 8
mov ebp, edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp byte [ebp + 1], 0
lea ebp, [ebp + 1]
jne 0x40acc0
mov dword [esp], 0
mov eax, esi
lea ecx, [esp + 0x10c]
cmp ecx, ebp
jae 0x40ad41
xor esi, esi
lea edi, [esp + 0x10c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp byte [edi], 0
je 0x40ad30
mov eax, esp
push eax
push ebp
push edi
call fcn.0040d220
add esp, 0xc
movzx edx, word [esp]
lea ecx, [esi + 2]
mov word [esp + esi + 0xc], dx
cmp esi, 0xfb
ja 0x40ad1e
add edi, eax
mov esi, ecx
cmp edi, ebp
jb 0x40acf0
lea eax, [esp + ecx]
add eax, 0xc
jmp 0x40ad36
lea eax, [esp + esi]
add eax, 0xc
lea esi, [esp + 0xc]
lea edi, [esp + 0x10b]
mov word [eax], 0
push esi
call fcn.0040b240
add esp, 4
test al, al
jne 0x40af94
add ebx, 4
cmp ebx, 0x24
jne 0x40aca0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x57ea49e0
mov dword [esp + 0x10], 0x53e255e8
mov dword [esp + 0x14], 0x5f1851ef
mov dword [esp + 0x18], 0x5b295d2f
mov dword [esp + 0x1c], 0xa71a59e7
mov dword [esp + 0x20], 0xa303a509
mov dword [esp + 0x24], 0xaf01a115
mov dword [esp + 0x28], 0xab1fad1f
mov dword [esp + 0x2c], 0xb70ba91d
mov dword [esp + 0x30], 0xb31bb506
mov dword [esp + 0x34], 0xbf07b10c
mov dword [esp + 0x38], 0xbb15bdce
mov dword [esp + 0x3c], 0x8733b90b
mov dword [esp + 0x40], 0x833285f7
mov dword [esp + 0x44], 0x8f3d813e
mov dword [esp + 0x48], 0x8b238d26
mov dword [esp + 0x4c], 0x973b893c
mov dword [esp + 0x50], 0x93e1952b
mov dword [esp + 0x54], 0x9fe491eb
mov dword [esp + 0x58], 0x9be09de1
mov dword [esp + 0x5c], 0xe79799e9
mov dword [esp + 0x60], 0xe39be59d
mov dword [esp + 0x64], 0xef90e19b
mov dword [esp + 0x68], 0xeb95ed90
mov dword [esp + 0x6c], 0xf787e997
mov dword [esp + 0x70], 0xf382f58d
mov dword [esp + 0x74], 0xfffef180
mov byte [esp + 0x78], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x6c
ja 0x40ae94
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0xc]
add eax, 0xa1f93aee
xor eax, ecx
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x10c]
add al, 0x5a
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x6d
jb 0x40ae60
lea eax, [esp + 8]
lea ecx, [esp + 4]
lea edi, [esp + 0xc]
push eax
push ecx
push edi
call fcn.0040b860
add esp, 0xc
test al, al
je 0x40afcd
mov dword [esp + 0xc], 0x2166a20
mov dword [esp + 0x10], 0x91fc316
mov dword [esp + 0x14], 0x3e73721f
mov dword [esp + 0x18], 0x790718da
mov dword [esp + 0x1c], 0x1002147b
mov dword [esp + 0x20], 0xc00
mov dword [esp + 0x24], 0x686d797d
mov dword [esp + 0x28], 0x7a7d687e
mov word [esp + 0x2c], 0x41a6
mov byte [esp + 0x2e], 0x86
mov word [esp + 0x2f], 0
mov byte [esp + 0x31], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x25
ja 0x40af54
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0xc]
add eax, 0x563e2d29
xor eax, ecx
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x10c]
add al, 0x33
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x26
jb 0x40af20
mov ecx, dword [esp + 4]
movzx ebx, byte [esp + 0xc]
test bl, bl
je 0x40afd4
mov edx, edi
mov eax, ecx
jmp 0x40af77
movzx ebx, byte [edx]
test bl, bl
je 0x40afd6
mov bh, byte [ecx]
test bh, bh
je 0x40b21a
inc ecx
inc edx
lea esi, [eax + 1]
cmp bh, bl
je 0x40af8e
mov eax, esi
mov ecx, esi
je 0x40af70
mov edx, edi
jmp 0x40af70
movzx ecx, word [esp + 0xc]
mov eax, 0x442c50
test cx, cx
je 0x40afc1
lea edx, [esp + 0xe]
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x40afb0
mov word [eax], 0
mov bl, 1
jmp 0x40b228
xor ebx, ebx
jmp 0x40b228
mov eax, ecx
test eax, eax
je 0x40b21a
mov dword [esp + 0xc], 0x59479a88
mov dword [esp + 0x10], 0xc5845557
mov word [esp + 0x14], 0
mov byte [esp + 0x16], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0xa
ja 0x40b046
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0xc]
add ecx, 0x619756d3
xor ecx, edx
mov dword [esp + 0x10c], ecx
mov ecx, dword [esp + 0x10c]
add cl, 0xe1
mov edx, dword [esp]
mov byte [esp + edx + 0xc], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0xb
jb 0x40b010
movzx edx, byte [esp + 0xc]
mov ecx, eax
test dl, dl
je 0x40b084
lea ebp, [esp + 0xc]
mov edi, ebp
mov ebx, eax
mov ecx, eax
jmp 0x40b067
movzx edx, byte [edi]
test dl, dl
je 0x40b084
mov dh, byte [ebx]
test dh, dh
je 0x40b21a
inc ebx
inc edi
lea esi, [ecx + 1]
cmp dh, dl
je 0x40b07e
mov ecx, esi
mov ebx, esi
je 0x40b060
mov edi, ebp
jmp 0x40b060
test ecx, ecx
je 0x40b21a
mov byte [ecx], 0
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp byte [eax + ecx + 0x24], 0
lea ecx, [ecx + 1]
jne 0x40b0a0
mov edx, ecx
inc edx
je 0x40b155
test ecx, ecx
je 0x40b121
mov esi, edx
and edx, 0xfffffffe
mov edi, edx
xor edx, edx
jmp 0x40b0d7
add bh, 0x61
mov bl, bh
mov byte [esp + edx + 0x10d], bl
add edx, 2
mov ebx, edi
cmp edi, edx
je 0x40b125
movzx ebx, byte [eax + edx + 0x22]
mov bh, bl
add bh, 0x9f
cmp bh, 0x19
ja 0x40b0fa
mov bh, bl
add bh, 0xae
cmp bh, 0x1a
jb 0x40b0f5
add bl, 0x94
mov bh, bl
add bh, 0x61
mov bl, bh
mov byte [esp + edx + 0x10c], bl
movzx ebx, byte [eax + edx + 0x23]
mov bh, bl
add bh, 0x9f
cmp bh, 0x19
ja 0x40b0c7
mov bh, bl
add bh, 0xae
cmp bh, 0x1a
jb 0x40b0c2
add bl, 0x94
mov bh, bl
jmp 0x40b0c2
mov esi, edx
xor edx, edx
mov ebx, esi
test bl, 1
je 0x40b155
movzx eax, byte [eax + edx + 0x22]
mov ah, al
add ah, 0x9f
cmp ah, 0x19
ja 0x40b14e
mov ah, al
add ah, 0xae
cmp ah, 0x1a
jb 0x40b149
add al, 0x94
mov ah, al
add ah, 0x61
mov al, ah
mov byte [esp + edx + 0x10c], al
mov byte [esp + ecx + 0x10d], 0
lea ebx, [esp + 0x10b]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp byte [ebx + 1], 0
lea ebx, [ebx + 1]
jne 0x40b170
mov dword [esp], 0
lea edi, [esp + 0xc]
lea ebp, [esp + 0x10c]
mov eax, edi
cmp ebp, ebx
jae 0x40b1cd
xor esi, esi
cmp byte [ebp], 0
je 0x40b1c7
mov eax, esp
push eax
push ebx
push ebp
call fcn.0040d220
add esp, 0xc
movzx edx, word [esp]
lea ecx, [esi + 2]
mov word [esp + esi + 0xc], dx
cmp esi, 0x7b
ja 0x40b1bf
add ebp, eax
mov esi, ecx
cmp ebp, ebx
jb 0x40b193
lea eax, [esp + ecx]
add eax, 0xc
jmp 0x40b1cd
lea eax, [esp + esi]
add eax, 0xc
mov word [eax], 0
push edi
call fcn.0040b240
add esp, 4
test al, al
je 0x40b21a
movzx ecx, word [esp + 0xc]
mov eax, 0x442c50
test cx, cx
je 0x40b211
lea edx, [esp + 0xe]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x40b200
mov word [eax], 0
mov bl, 1
jmp 0x40b21c
xor ebx, ebx
push dword [esp + 4]
call fcn.004340c0
add esp, 4
mov eax, ebx
add esp, 0x18c
pop esi
pop edi
pop ebx
pop ebp
ret