Function at 0x440580
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, 0x88
mov dword [esp + 0x24], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x30], 0x100000
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x54554a4b
xor ecx, ecx
mov eax, 0xffffffff
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 0x10]
mov edx, eax
or edx, 0x438376e
add edx, ecx
mov edi, ecx
xor edi, 0x8438376e
lea edx, [edi + edx*2]
add edx, 2
mov edi, edx
and edi, esi
mov ebx, edx
not ebx
and ebx, esi
xor edx, esi
add edx, esi
not edx
add edx, ebx
or edx, edi
lea esi, [edx + edx]
not esi
add esi, edx
mov edx, esi
and edx, 0x59
xor esi, 0x6ae6ead9
lea edx, [esi + edx*2]
and esi, 1
xor edx, 1
lea edx, [edx + esi*2]
mov byte [esp + ecx + 0x10], dl
inc ecx
dec eax
cmp ecx, 4
jne 0x4405e0
mov eax, dword [esp + 0x10]
mov ecx, dword [0x452d58]
test ecx, ecx
je 0x44068e
xor edx, edx
mov esi, dword [0x452d5c]
cmp dword [esi + edx*8], 0xf3285e74
je 0x440660
inc edx
cmp ecx, edx
jne 0x440650
jmp 0x44068e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x44068e
lea eax, [esp + 0x30]
lea edx, [esp + 0xc]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x452d60]
push ecx
call fcn.004427e0
add esp, 0x24
test eax, eax
mov esi, dword [esp + 0x24]
js 0x440e02
cmp dword [esi + 4], 0
je 0x440d90
xor edx, edx
cmp dword [esi + 4], 2
mov ebx, 0x7fff
je 0x4406b6
mov ebx, 0
mov dword [esp + 0x60], 0xfffeffff
je 0x4406c8
mov dword [esp + 0x60], SysReAllocString
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov edi, 0x10000
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x34], ebx
jmp 0x440741
mov edi, dword [esp + 0x20]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x48]
add edi, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
adc edx, dword [esp + 0x54]
cmp edi, dword [esp + 0x60]
mov eax, edx
sbb eax, ebx
jae 0x440cee
mov dword [esp + 0x40], edx
mov ecx, esi
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x5c]
push eax
push edx
push edi
call fcn.004400c0
mov edx, dword [esp + 0x40]
cmp eax, 0xbfffffff
ja 0x440cee
mov dword [esp + 0x3c], edi
test eax, eax
js 0x440723
cmp dword [esp + 0x68], 0x1000
jne 0x440723
mov eax, dword [esp + 0x64]
mov ecx, eax
xor ecx, 0xffffff99
or eax, 0x66
test eax, ecx
je 0x440723
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x30], eax
mov ecx, dword [esp + 0x4c]
mov eax, 0
mov dword [esp + 0x28], ecx
sbb eax, ecx
mov edi, dword [esp + 0x3c]
jae 0x44097e
mov dword [esp + 0x10], 0x54554a4b
xor ecx, ecx
mov eax, 0xffffffff
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + ecx + 0x10]
mov edx, eax
or edx, 0x438376e
add edx, ecx
mov ebx, ecx
xor ebx, 0x8438376e
lea edx, [ebx + edx*2]
add edx, 2
mov ebx, edx
and ebx, edi
mov esi, edx
not esi
and esi, edi
xor edx, edi
add edx, edi
not edx
add edx, esi
or edx, ebx
lea edi, [edx + edx]
not edi
add edi, edx
mov edx, edi
and edx, 0x59
xor edi, 0x6ae6ead9
lea edx, [edi + edx*2]
and edi, 1
xor edx, 1
lea edx, [edx + edi*2]
mov byte [esp + ecx + 0x10], dl
inc ecx
dec eax
cmp ecx, 4
jne 0x4407d0
mov eax, dword [0x452d58]
test eax, eax
je 0x44087a
mov ecx, dword [esp + 0x10]
xor edx, edx
mov edi, dword [0x452d5c]
nop
cmp dword [edi + edx*8], 0x731cdbf3
je 0x440850
inc edx
cmp eax, edx
jne 0x440840
jmp 0x44087a
mov eax, dword [edi + edx*8 + 4]
cmp eax, ecx
je 0x44087a
push 0x8000
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x452d60]
push eax
call fcn.004427e0
add esp, 0x1c
mov dword [esp + 0x44], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0x54554a4b
xor ecx, ecx
mov eax, 0xffffffff
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + ecx + 0x10]
mov edx, eax
or edx, 0x438376e
add edx, ecx
mov esi, ecx
xor esi, 0x8438376e
lea edx, [esi + edx*2]
add edx, 2
mov ebx, edx
and ebx, edi
mov esi, edx
not esi
and esi, edi
xor edx, edi
add edx, edi
not edx
add edx, esi
or edx, ebx
lea edi, [edx + edx]
not edi
add edi, edx
mov edx, edi
and edx, 0x59
xor edi, 0x6ae6ead9
lea edx, [edi + edx*2]
and edi, 1
xor edx, 1
lea edx, [edx + edi*2]
mov byte [esp + ecx + 0x10], dl
inc ecx
dec eax
cmp ecx, 4
jne 0x4408b0
mov eax, dword [esp + 0x10]
mov ecx, dword [0x452d58]
test ecx, ecx
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
je 0x44096e
xor edx, edx
mov edi, dword [0x452d5c]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0xf3285e74
je 0x440940
inc edx
cmp ecx, edx
jne 0x440930
jmp 0x44096e
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x44096e
push 4
push 0x3000
lea eax, [esp + 0x38]
push eax
push 0
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
push 6
push dword [0x452d60]
push ecx
call fcn.004427e0
add esp, 0x24
test eax, eax
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
js 0x440cee
mov ecx, esi
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x2c]
push dword [esp + 0x34]
push dword [esp + 0x18]
push edx
push edi
call fcn.004403c0
test eax, eax
jns 0x4409a7
cmp eax, 0x8000000d
jne 0x44071b
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov edx, dword [ebp + 0x10]
cmp eax, edx
sbb ecx, 0
mov edi, dword [esp + 0x20]
jb 0x44071f
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
call fcn.00440e50
add esp, 0x18
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
cmp eax, ecx
je 0x440cc5
mov dword [esp + 0x6c], eax
mov esi, eax
mov ecx, dword [esp + 8]
jmp 0x440a44
push dword [esp + 8]
call fcn.0040cbd0
add esp, 4
mov ebx, dword [esp + 0x70]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x74]
lea eax, [ecx + eax*8]
mov dword [esp + 4], eax
mov edi, ecx
add edi, ebx
mov edx, ebx
mov ebx, dword [esp + 0x2c]
mov dword [ecx + edx], ebx
mov eax, dword [esp + 0x20]
mov dword [ecx + edx + 4], eax
add edi, 8
add esi, 4
cmp esi, dword [esp + 0x28]
je 0x440c82
mov ebx, dword [esi]
sub ebx, dword [esp + 0xc]
mov eax, ebx
sar eax, 0x1f
add ebx, dword [esp + 0x3c]
mov dword [esp + 0x2c], ebx
adc eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov ebx, edi
sub ebx, ecx
cmp edi, dword [esp + 4]
jne 0x440a23
mov edx, edi
not edx
and edx, ecx
mov dword [esp + 8], ecx
not ecx
and ecx, edi
mov dword [esp + 0x38], ecx
mov eax, ecx
mov dword [esp + 0x1c], edx
sub eax, edx
mov dword [esp + 4], eax
sar eax, 3
mov ecx, eax
shr ecx, 1
mov edx, ecx
and edx, eax
xor ecx, eax
lea ecx, [ecx + edx*2]
mov eax, ebx
sar eax, 3
inc eax
cmp ecx, eax
ja 0x440aa3
mov ecx, eax
mov dword [esp + 0x74], ecx
lea eax, [ecx*8]
push eax
call fcn.0040cbc0
add esp, 4
mov ecx, eax
mov edx, dword [esp + 8]
test edx, edx
je 0x440a14
mov dword [esp + 0x70], ebx
cmp ecx, edx
mov edi, dword [esp + 4]
mov dword [esp + 0x5c], ecx
jbe 0x440b1b
lea eax, [edx + edi]
cmp eax, ecx
jbe 0x440b1b
test edi, edi
je 0x440a00
mov eax, dword [esp + 8]
add eax, edi
dec eax
mov ecx, dword [esp + 0x5c]
add ecx, edi
dec ecx
and edi, 7
je 0x440c12
neg edi
xor edx, edx
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x440b00
add eax, edx
add ecx, edx
mov edi, dword [esp + 4]
add edi, edx
jmp 0x440c16
mov ebx, ecx
mov ecx, edi
shr ecx, 2
mov eax, edx
mov edi, ebx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov ecx, edx
mov edx, dword [esp + 4]
and edx, 0xfffffffc
lea eax, [ebx + edx]
add edx, ecx
mov ecx, dword [esp + 4]
and ecx, 3
mov ebx, ecx
not ebx
or ebx, 1
add ebx, ecx
shr ecx, 1
mov dword [esp + 0x1c], edx
mov edi, eax
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x1c]
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 4]
mov dword [esp + 0x1c], ebx
inc ebx
je 0x440a00
and ecx, 2
add edx, ecx
add eax, ecx
mov ecx, ebx
and ecx, 7
je 0x440ba6
mov dword [esp + 4], ebx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [edx + edi]
mov byte [eax + edi], bl
inc edi
cmp ecx, edi
jne 0x440b90
add edx, edi
add eax, edi
mov ebx, dword [esp + 4]
sub ebx, edi
cmp dword [esp + 0x1c], 7
jb 0x440a00
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [edx + edi]
mov byte [eax + edi], cl
movzx ecx, byte [edx + edi + 1]
mov byte [eax + edi + 1], cl
movzx ecx, byte [edx + edi + 2]
mov byte [eax + edi + 2], cl
movzx ecx, byte [edx + edi + 3]
mov byte [eax + edi + 3], cl
movzx ecx, byte [edx + edi + 4]
mov byte [eax + edi + 4], cl
movzx ecx, byte [edx + edi + 5]
mov byte [eax + edi + 5], cl
movzx ecx, byte [edx + edi + 6]
mov byte [eax + edi + 6], cl
movzx ecx, byte [edx + edi + 7]
mov byte [eax + edi + 7], cl
add edi, 8
cmp ebx, edi
jne 0x440bc0
jmp 0x440a00
mov edi, dword [esp + 4]
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x38]
cmp edx, 0xfffffff8
ja 0x440a00
neg edi
xor edx, edx
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
movzx ebx, byte [eax + edx - 1]
mov byte [ecx + edx - 1], bl
movzx ebx, byte [eax + edx - 2]
mov byte [ecx + edx - 2], bl
movzx ebx, byte [eax + edx - 3]
mov byte [ecx + edx - 3], bl
movzx ebx, byte [eax + edx - 4]
mov byte [ecx + edx - 4], bl
movzx ebx, byte [eax + edx - 5]
mov byte [ecx + edx - 5], bl
movzx ebx, byte [eax + edx - 6]
mov byte [ecx + edx - 6], bl
movzx ebx, byte [eax + edx - 7]
mov byte [ecx + edx - 7], bl
add edx, 0xfffffff8
cmp edi, edx
jne 0x440c30
jmp 0x440a00
mov eax, dword [ebp + 8]
mov dword [eax + 4], edi
mov dword [eax], ecx
mov edx, dword [esp + 4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x440cdd
mov dword [esp + 8], ecx
cmp eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
je 0x44071f
push eax
call fcn.0040cbd0
add esp, 4
mov dword [esp + 0x10], 0
jmp 0x44071f
mov eax, dword [ebp + 8]
mov dword [eax + 4], edi
mov ecx, dword [esp + 8]
mov dword [eax], ecx
mov ecx, dword [esp + 4]
mov dword [eax + 8], ecx
jmp 0x44071f
mov dword [esp + 8], ecx
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
jmp 0x44071f
mov dword [esp + 0x10], 0x54554a4b
xor ecx, ecx
mov eax, 0xffffffff
nop
nop
nop
movzx esi, byte [esp + ecx + 0x10]
mov edx, eax
or edx, 0x438376e
add edx, ecx
mov edi, ecx
xor edi, 0x8438376e
lea edx, [edi + edx*2]
add edx, 2
mov edi, edx
and edi, esi
mov ebx, edx
not ebx
and ebx, esi
xor edx, esi
add edx, esi
not edx
add edx, ebx
or edx, edi
lea esi, [edx + edx]
not esi
add esi, edx
mov edx, esi
and edx, 0x59
xor esi, 0x6ae6ead9
lea edx, [esi + edx*2]
and esi, 1
xor edx, 1
lea edx, [edx + esi*2]
mov byte [esp + ecx + 0x10], dl
inc ecx
dec eax
cmp ecx, 4
jne 0x440d00
mov eax, dword [0x452d58]
test eax, eax
je 0x440e02
mov ecx, dword [esp + 0x10]
xor edx, edx
mov esi, dword [0x452d5c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x731cdbf3
je 0x440dd8
inc edx
cmp eax, edx
jne 0x440d80
jmp 0x440e02
push 0xf8eb88df
push dword [0x452d4c]
call fcn.004451d0
add esp, 8
test eax, eax
je 0x440e0f
mov ecx, dword [esi]
test ecx, ecx
je 0x4406a4
mov dword [esp + 0x10], 0
lea edx, [esp + 0x10]
push edx
push ecx
call eax
test eax, eax
je 0x440e1b
cmp dword [esp + 0x10], 0
je 0x440e1b
mov dword [esi + 4], 3
jmp 0x4406a4
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x440e02
push 0x8000
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x452d60]
push eax
call fcn.004427e0
add esp, 0x1c
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov dword [esi + 4], 1
jmp 0x4406a4
lea eax, [esp + 0x50]
push eax
call fcn.004459a0
add esp, 4
test al, al
je 0x4406a4
mov eax, dword [esp + 0x50]
mov ecx, 2
cmp eax, 3
je 0x440e40
mov ecx, eax
mov dword [esi + 4], ecx
jmp 0x4406a4