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

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, dword [esp + 0x78]
xor ebx, ebx
mov dword [esp + 0x14], ecx
lea eax, [esi + 7]
mov byte [esp + 0x1c], bl
cdq
and edx, 7
mov byte [esp + 0x1d], bl
add eax, edx
mov byte [esp + 0x1e], bl
mov ebp, eax
xor eax, eax
mov byte [esp + 0x1f], bl
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], bl
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x38], eax
push edi
mov edi, dword [esp + 0x80]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], eax
or ecx, 0xffffffff
xor edx, edx
sar ebp, 3
repne scasb al, byte es:[edi]
mov dword [esp + 0x30], edx
mov dword [esp + 0x44], eax
not ecx
mov dword [esp + 0x34], edx
dec ecx
cmp ebp, ebx
mov word [esp + 0x38], dx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], ebx
jle 0x4111c2
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x78], esi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
lea eax, [ebp - 1]
cmp ecx, eax
mov ecx, dword [esp + 0x78]
je 0x41109d
mov ecx, 8
mov esi, dword [esp + 0x14]
xor edx, edx
mov eax, ecx
mov dword [esp + 0x28], edx
lea edi, [esp + 0x28]
mov dword [esp + 0x2c], edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov cl, byte [esp + eax + 0x28]
mov dl, byte [esp + eax + 0x20]
xor cl, dl
mov byte [esp + eax + 0x30], cl
inc eax
cmp eax, 8
jl 0x4110bf
xor edx, edx
xor esi, esi
mov dword [esp + 0x48], edx
lea edi, [esp + 0x48]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edx
xor eax, eax
mov al, byte [esp + esi + 0x30]
push eax
push 0x4a9338
push edi
mov dword [esp + 0x88], eax
call fcn.0043fea8
add esp, 0xc
inc esi
add edi, 2
cmp esi, 8
jl 0x4110ef
xor eax, eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x5c], eax
push 0x45
mov dword [esp + 0x64], eax
lea edx, [esp + 0x60]
mov dword [esp + 0x68], eax
push ecx
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x24]
cmp eax, 0x10
lea eax, [esp + 0x50]
push edx
push eax
jne 0x411152
call fcn.00410da0
jmp 0x411157
call fcn.00410ed0
xor esi, esi
lea edi, [esp + 0x5c]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], ebx
push ecx
push 0x4a85d0
push edi
call fcn.0043fe74
mov dl, byte [esp + 0x88]
add esp, 0xc
mov byte [esp + esi + 0x3c], dl
inc esi
add edi, 2
cmp esi, 8
jl 0x41115d
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x78]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov ecx, 8
inc eax
sub esi, ecx
add edx, ecx
cmp eax, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x14], edx
jl 0x411089
mov edi, dword [esp + 0x74]
xor esi, esi
xor eax, eax
mov al, byte [esp + esi + 0x3c]
push eax
push 0x4a9338
push edi
mov dword [esp + 0x88], eax
call fcn.0043fea8
add esp, 0xc
inc esi
add edi, 2
cmp esi, 8
jl 0x4111c8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x10