Function at 0x440c60
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 ebx, ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], 0x100000
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0x484b4a4d
mov byte [esp + 0x10], 0
xor eax, eax
nop
mov ecx, eax
add cl, 0x93
xor cl, byte [esp + eax + 0xc]
add cl, 0x21
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 5
jne 0x440cb0
mov eax, dword [esp + 0xc]
mov ecx, dword [0x451f80]
test ecx, ecx
je 0x440d1e
xor edx, edx
mov esi, dword [0x451f84]
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xf3285e74
je 0x440cf0
inc edx
cmp ecx, edx
jne 0x440ce0
jmp 0x440d1e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x440d1e
lea eax, [esp + 0x28]
lea edx, [esp + 0x18]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x451f88]
push ecx
call fcn.00442960
add esp, 0x24
test eax, eax
js 0x4413a2
cmp dword [ebx + 4], 0
je 0x441330
mov dword [esp + 0x24], 0
cmp dword [ebx + 4], 2
mov dword [esp + 0x50], 0x7fff
je 0x440d4e
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0xfffeffff
je 0x440d60
mov dword [esp + 0x4c], SysStringLen
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov esi, 0x10000
mov dword [esp + 0x20], 0
mov dword [esp], 0
mov dword [esp + 8], 0
mov dword [esp + 0x58], ebx
jmp 0x440df2
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [esp]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x38]
add esi, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
adc eax, dword [esp + 0x44]
cmp esi, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
sbb eax, dword [esp + 0x50]
jae 0x4412e1
mov ecx, ebx
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x34]
push esi
call fcn.004408b0
cmp eax, 0xbfffffff
ja 0x4412e1
mov dword [esp + 0x30], esi
test eax, eax
js 0x440dd0
cmp dword [esp + 0x60], 0x1000
jne 0x440dd0
test byte [esp + 0x5c], 0x66
je 0x440dd0
mov esi, dword [esp + 0x38]
cmp dword [esp + 0x28], esi
mov edi, dword [esp + 0x3c]
mov eax, 0
sbb eax, edi
mov edx, dword [esp + 0x30]
jae 0x440f7e
mov dword [esp + 0xc], 0x484b4a4d
mov byte [esp + 0x10], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x93
xor cl, byte [esp + eax + 0xc]
add cl, 0x21
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 5
jne 0x440e70
mov eax, dword [0x451f80]
test eax, eax
je 0x440eda
mov ecx, dword [esp + 0xc]
xor edx, edx
mov ebx, dword [0x451f84]
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x731cdbf3
je 0x440eb0
inc edx
cmp eax, edx
jne 0x440ea0
jmp 0x440eda
mov eax, dword [ebx + edx*8 + 4]
cmp eax, ecx
je 0x440eda
push 0x8000
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x20]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x451f88]
push eax
call fcn.00442960
add esp, 0x1c
mov dword [esp + 0x34], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], esi
mov dword [esp + 0xc], 0x484b4a4d
mov byte [esp + 0x10], 0
xor eax, eax
nop
nop
nop
mov ecx, eax
add cl, 0x93
xor cl, byte [esp + eax + 0xc]
add cl, 0x21
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 5
jne 0x440f00
mov eax, dword [esp + 0xc]
mov ecx, dword [0x451f80]
test ecx, ecx
je 0x440f6e
xor edx, edx
mov ebx, dword [0x451f84]
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0xf3285e74
je 0x440f40
inc edx
cmp ecx, edx
jne 0x440f30
jmp 0x440f6e
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, eax
je 0x440f6e
push 4
push 0x3000
lea eax, [esp + 0x30]
push eax
push 0
lea eax, [esp + 0x28]
push eax
push 0xffffffffffffffff
push 6
push dword [0x451f88]
push ecx
call fcn.00442960
add esp, 0x24
test eax, eax
mov ebx, dword [esp + 0x58]
mov edx, dword [esp + 0x30]
js 0x4412e1
mov ecx, ebx
lea eax, [esp + 0x78]
push eax
push edi
push esi
push dword [esp + 0x24]
push dword [esp + 0x34]
push edx
call fcn.00440b10
test eax, eax
jns 0x440fa4
cmp eax, 0x8000000d
jne 0x440dd0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov edx, dword [ebp + 0x10]
cmp eax, edx
sbb ecx, 0
jb 0x440dd0
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
call fcn.004413f0
add esp, 0x18
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
cmp eax, ecx
je 0x440db2
mov dword [esp + 0x64], eax
mov ecx, dword [esp]
mov edi, dword [esp + 8]
jmp 0x44103d
push ebx
push esi
push eax
call fcn.0040ca80
add esp, 0xc
mov ecx, dword [esp]
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0x70]
mov dword [ecx + ebx], eax
mov eax, dword [esp + 0x6c]
mov dword [ecx + ebx + 4], eax
mov edi, dword [esp + 8]
add edi, 8
mov eax, dword [esp + 0x74]
add eax, 4
cmp eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
je 0x44129b
mov ebx, ecx
mov dword [esp + 0x74], eax
mov ecx, dword [eax]
sub ecx, dword [esp + 0x18]
mov edx, ecx
sar edx, 0x1f
add ecx, dword [esp + 0x30]
adc edx, dword [esp + 0x24]
mov eax, ebx
xor eax, edi
mov esi, ebx
not esi
and esi, edi
add esi, esi
sub esi, eax
mov eax, ebx
cmp edi, dword [esp + 0x20]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6c], edx
je 0x441090
mov ebx, edi
sub ebx, eax
mov ecx, eax
mov dword [esp + 8], edi
cmp ebx, esi
jae 0x441012
jmp 0x44122b
mov dword [esp + 0x2c], edi
mov ecx, eax
sub edi, eax
mov dword [esp + 4], edi
mov eax, edi
sar eax, 3
mov ecx, eax
shr ecx, 1
add ecx, eax
mov dword [esp + 0x68], esi
mov eax, esi
mov esi, ecx
sar eax, 3
inc eax
cmp ecx, eax
ja 0x4410b9
mov esi, eax
mov eax, esi
and eax, 8
mov ecx, esi
or ecx, 8
imul ecx, eax
xor eax, 8
mov edx, esi
and edx, 0xfffffff7
imul edx, eax
add ecx, edx
push ecx
call fcn.0040ca00
add esp, 4
mov ecx, eax
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x441208
cmp ecx, edx
mov dword [esp], ecx
jbe 0x4411af
cmp dword [esp + 0x2c], ecx
jbe 0x4411af
cmp dword [esp + 4], 0
je 0x4411f9
mov eax, dword [esp]
mov edx, dword [esp + 4]
add eax, edx
dec eax
mov ecx, dword [esp + 0x1c]
add ecx, edx
dec ecx
mov edi, edx
and edi, 7
je 0x441144
neg edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [ecx + edx]
mov byte [eax + edx], bl
dec edx
cmp edi, edx
jne 0x441130
add ecx, edx
add eax, edx
add edx, dword [esp + 4]
mov edi, dword [esp + 0x1c]
sub edi, dword [esp + 0x2c]
cmp edi, 0xfffffff8
ja 0x4411f9
neg edx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [ecx + edi]
mov byte [eax + edi], bl
movzx ebx, byte [ecx + edi - 1]
mov byte [eax + edi - 1], bl
movzx ebx, byte [ecx + edi - 2]
mov byte [eax + edi - 2], bl
movzx ebx, byte [ecx + edi - 3]
mov byte [eax + edi - 3], bl
movzx ebx, byte [ecx + edi - 4]
mov byte [eax + edi - 4], bl
movzx ebx, byte [ecx + edi - 5]
mov byte [eax + edi - 5], bl
movzx ebx, byte [ecx + edi - 6]
mov byte [eax + edi - 6], bl
movzx ebx, byte [ecx + edi - 7]
mov byte [eax + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x441160
jmp 0x4411f9
mov ebx, ecx
mov ecx, dword [esp + 4]
shr ecx, 2
mov eax, edx
mov edi, ebx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
mov ecx, dword [esp + 4]
mov edx, ecx
and edx, 0xfffffffc
lea edi, [ebx + edx]
add edx, eax
mov ebx, ecx
shr ecx, 1
and ecx, 1
mov eax, edx
mov dword [esp + 8], edi
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
test bl, 1
je 0x4411f9
mov eax, dword [esp + 4]
and eax, 2
movzx ecx, byte [edx + eax]
mov edx, dword [esp + 8]
mov byte [edx + eax], cl
push dword [esp + 0x1c]
call fcn.0040ca10
add esp, 4
mov ecx, dword [esp]
lea eax, [ecx + esi*8]
mov dword [esp + 0x20], eax
mov eax, ecx
mov esi, dword [esp + 0x68]
add eax, esi
mov dword [esp + 8], eax
mov ebx, dword [esp + 4]
mov edi, dword [esp + 0x2c]
cmp ebx, esi
jae 0x441012
mov eax, ebx
mov ebx, dword [esp + 0x1c]
add ebx, esi
sub ebx, edi
lea esi, [ecx + eax]
mov dword [esp], ecx
mov dword [esp + 4], eax
add eax, ecx
add eax, 8
cmp ebx, 8
jg 0x441000
mov ecx, ebx
shr ecx, 2
mov edx, esi
mov edi, eax
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov edx, ebx
and edx, 0xfffffffc
add eax, edx
add edx, esi
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov esi, edx
mov edi, eax
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov esi, ebx
test bl, 1
mov ecx, dword [esp]
mov ebx, dword [esp + 4]
je 0x441012
and esi, 2
movzx ecx, byte [edx + esi]
mov byte [eax + esi], cl
mov ecx, dword [esp]
jmp 0x441012
mov eax, dword [ebp + 8]
mov dword [esp + 8], edi
mov dword [eax + 4], edi
mov dword [eax], ecx
mov edx, dword [esp + 0x20]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4412d9
mov dword [esp], ecx
cmp eax, dword [esp + 0x54]
je 0x440dd0
push eax
call fcn.0040ca10
add esp, 4
mov dword [esp + 0xc], 0
jmp 0x440dd0
mov dword [esp], ecx
jmp 0x440dd0
mov dword [esp + 0xc], 0x484b4a4d
mov byte [esp + 0x10], 0
xor eax, eax
mov ecx, eax
add cl, 0x93
xor cl, byte [esp + eax + 0xc]
add cl, 0x21
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 5
jne 0x4412f0
mov eax, dword [0x451f80]
test eax, eax
je 0x4413a2
mov ecx, dword [esp + 0xc]
xor edx, edx
mov esi, dword [0x451f84]
nop
cmp dword [esi + edx*8], 0x731cdbf3
je 0x441378
inc edx
cmp eax, edx
jne 0x441320
jmp 0x4413a2
push 0xf8eb88df
push dword [0x451f74]
call fcn.004451d0
add esp, 8
test eax, eax
je 0x4413af
mov ecx, dword [ebx]
test ecx, ecx
je 0x440d30
mov dword [esp + 0xc], 0
lea edx, [esp + 0xc]
push edx
push ecx
call eax
test eax, eax
je 0x4413bb
cmp dword [esp + 0xc], 0
je 0x4413bb
mov dword [ebx + 4], 3
jmp 0x440d30
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x4413a2
push 0x8000
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x20]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x451f88]
push eax
call fcn.00442960
add esp, 0x1c
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov dword [ebx + 4], 1
jmp 0x440d30
lea eax, [esp + 0x40]
push eax
call fcn.00445aa0
add esp, 4
test al, al
je 0x440d30
mov eax, dword [esp + 0x40]
mov ecx, 2
cmp eax, 3
je 0x4413e0
mov ecx, eax
mov dword [ebx + 4], ecx
jmp 0x440d30