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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
cmp dword [edi], 0
mov edx, 1
je 0x43518b
mov edi, edi
mov ecx, dword [esi + 0x68]
cmp ecx, 8
jae 0x43518b
mov bl, byte [eax]
mov byte [ecx + esi + 0x60], bl
add dword [esi + 0x68], edx
add dword [edi], 0xffffffff
add eax, edx
cmp dword [edi], 0
jne 0x435170
cmp dword [esi + 0x68], 8
jb 0x435996
mov edi, dword [edi]
mov ecx, dword [esi + 0x78]
xor ecx, dword [esi + 0x60]
mov edx, dword [esi + 0x64]
xor edx, dword [esi + 0x7c]
mov ebx, ecx
shr edi, 3
shl ebx, 8
mov dword [ebp + 8], edi
mov edi, ecx
shl ecx, 8
shr edi, 8
xor edi, ebx
mov ebx, edx
and edi, 0xff00ff
xor edi, ecx
mov ecx, edx
shl ecx, 8
shl edx, 8
shr ebx, 8
xor ebx, ecx
mov ecx, dword [esi + 4]
and ebx, 0xff00ff
xor ebx, edx
mov edx, dword [esi]
rol edi, 0x10
rol ebx, 0x10
add edx, ebx
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov dword [ebp + 0xc], edx
and edx, 0xff
xor ecx, dword [edx*4 + 0x403390]
mov edx, dword [ebp + 0xc]
shr edx, 0x10
and edx, 0xff
add ecx, dword [edx*4 + 0x403b90]
mov edx, ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 0x18
sub edx, dword [ecx*4 + 0x403790]
mov ecx, dword [esi + 0xc]
xor edi, edx
mov edx, dword [esi + 8]
xor edx, edi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov dword [ebp + 0xc], edx
and edx, 0xff
sub ecx, dword [edx*4 + 0x403390]
mov edx, dword [ebp + 0xc]
shr edx, 0x18
add ecx, dword [edx*4 + 0x403790]
mov edx, ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xff
xor edx, dword [ecx*4 + 0x403b90]
mov ecx, dword [esi + 0x14]
xor ebx, edx
mov edx, dword [esi + 0x10]
sub edx, ebx
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov dword [ebp + 0xc], edx
and edx, 0xff
add ecx, dword [edx*4 + 0x403390]
mov edx, dword [ebp + 0xc]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x403790]
mov edx, ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xff
sub edx, dword [ecx*4 + 0x403b90]
xor edi, edx
mov edx, dword [esi + 0x18]
add edx, edi
mov ecx, dword [esi + 0x1c]
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov dword [ebp + 0xc], edx
and edx, 0xff
xor ecx, dword [edx*4 + 0x403390]
mov edx, dword [ebp + 0xc]
shr edx, 0x10
and edx, 0xff
add ecx, dword [edx*4 + 0x403b90]
mov edx, ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 0x18
sub edx, dword [ecx*4 + 0x403790]
mov ecx, dword [esi + 0x24]
xor ebx, edx
mov edx, dword [esi + 0x20]
xor edx, ebx
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov dword [ebp + 0xc], edx
and edx, 0xff
sub ecx, dword [edx*4 + 0x403390]
mov edx, dword [ebp + 0xc]
shr edx, 0x18
add ecx, dword [edx*4 + 0x403790]
mov edx, ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xff
xor edx, dword [ecx*4 + 0x403b90]
mov ecx, dword [esi + 0x2c]
xor edi, edx
mov edx, dword [esi + 0x28]
sub edx, edi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov dword [ebp + 0xc], edx
and edx, 0xff
add ecx, dword [edx*4 + 0x403390]
mov edx, dword [ebp + 0xc]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x403790]
mov edx, ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xff
sub edx, dword [ecx*4 + 0x403b90]
mov ecx, dword [esi + 0x34]
xor ebx, edx
mov edx, dword [esi + 0x30]
add edx, ebx
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov dword [ebp + 0xc], edx
and edx, 0xff
xor ecx, dword [edx*4 + 0x403390]
mov edx, dword [ebp + 0xc]
shr edx, 0x10
and edx, 0xff
add ecx, dword [edx*4 + 0x403b90]
mov edx, ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 0x18
sub edx, dword [ecx*4 + 0x403790]
mov ecx, dword [esi + 0x3c]
xor edi, edx
mov edx, dword [esi + 0x38]
xor edx, edi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov dword [ebp + 0xc], edx
and edx, 0xff
sub ecx, dword [edx*4 + 0x403390]
mov edx, dword [ebp + 0xc]
shr edx, 0x18
add ecx, dword [edx*4 + 0x403790]
mov edx, ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xff
xor edx, dword [ecx*4 + 0x403b90]
mov ecx, dword [esi + 0x44]
xor ebx, edx
mov edx, dword [esi + 0x40]
sub edx, ebx
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov dword [ebp + 0xc], edx
and edx, 0xff
add ecx, dword [edx*4 + 0x403390]
mov edx, dword [ebp + 0xc]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x403790]
mov edx, ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xff
sub edx, dword [ecx*4 + 0x403b90]
mov ecx, dword [esi + 0x4c]
xor edi, edx
mov edx, dword [esi + 0x48]
add edx, edi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov dword [ebp + 0xc], edx
and edx, 0xff
xor ecx, dword [edx*4 + 0x403390]
mov edx, dword [ebp + 0xc]
shr edx, 0x10
and edx, 0xff
add ecx, dword [edx*4 + 0x403b90]
mov edx, ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 0x18
sub edx, dword [ecx*4 + 0x403790]
mov ecx, dword [esi + 0x54]
xor ebx, edx
mov edx, dword [esi + 0x50]
xor edx, ebx
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov dword [ebp + 0xc], edx
and edx, 0xff
sub ecx, dword [edx*4 + 0x403390]
mov edx, dword [ebp + 0xc]
shr edx, 0x18
add ecx, dword [edx*4 + 0x403790]
mov edx, ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xff
xor edx, dword [ecx*4 + 0x403b90]
mov ecx, dword [esi + 0x5c]
xor edi, edx
mov edx, dword [esi + 0x58]
sub edx, edi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov dword [ebp + 0xc], edx
and edx, 0xff
add ecx, dword [edx*4 + 0x403390]
mov edx, dword [ebp + 0xc]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x403790]
mov edx, dword [ebp + 0xc]
shr edx, 0x10
and edx, 0xff
sub ecx, dword [edx*4 + 0x403b90]
mov edx, edi
xor ecx, ebx
mov edi, ecx
mov ebx, ecx
shl ebx, 8
shr edi, 8
xor edi, ebx
shl ecx, 8
and edi, 0xff00ff
xor edi, ecx
mov ebx, edx
shr ebx, 8
mov ecx, edx
shl ecx, 8
xor ebx, ecx
mov ecx, dword [ebp + 0x10]
and ebx, 0xff00ff
shl edx, 8
rol edi, 0x10
xor ebx, edx
rol ebx, 0x10
mov dword [ecx], edi
mov dword [ecx + 4], ebx
add ecx, 8
cmp dword [ebp + 8], 0
mov dword [ebp - 8], edi
mov dword [ebp - 4], ebx
mov dword [ebp + 0x10], ecx
je 0x43596a
mov edi, edi
movzx ecx, byte [eax + 1]
xor byte [ebp - 7], cl
movzx edx, byte [eax]
xor byte [ebp - 8], dl
movzx ecx, byte [eax + 3]
xor byte [ebp - 5], cl
movzx edx, byte [eax + 2]
xor byte [ebp - 6], dl
movzx ecx, byte [eax + 5]
xor byte [ebp - 3], cl
movzx edx, byte [eax + 4]
xor byte [ebp - 4], dl
movzx ecx, byte [eax + 7]
xor byte [ebp - 1], cl
movzx edx, byte [eax + 6]
xor byte [ebp - 2], dl
mov ecx, dword [ebp - 8]
sub dword [ebp + 8], 1
mov edx, ecx
shl edx, 8
add eax, 8
mov dword [ebp + 0xc], eax
mov eax, ecx
shl ecx, 8
shr eax, 8
xor eax, edx
and eax, 0xff00ff
xor eax, ecx
mov ecx, dword [ebp - 4]
mov edi, ecx
mov edx, ecx
shl edx, 8
shl ecx, 8
shr edi, 8
xor edi, edx
mov edx, dword [esi]
and edi, 0xff00ff
xor edi, ecx
mov ecx, dword [esi + 4]
rol eax, 0x10
rol edi, 0x10
add edx, edi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov ebx, edx
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x403390]
mov ebx, edx
shr ebx, 0x10
and ebx, 0xff
add ecx, dword [ebx*4 + 0x403b90]
mov ebx, dword [esi + 8]
shr edx, 0x18
sub ecx, dword [edx*4 + 0x403790]
xor eax, ecx
mov ecx, dword [esi + 0xc]
xor ebx, eax
rol ebx, cl
movzx edx, bh
mov edx, dword [edx*4 + 0x402f90]
mov ecx, ebx
and ecx, 0xff
sub edx, dword [ecx*4 + 0x403390]
mov ecx, ebx
shr ecx, 0x18
add edx, dword [ecx*4 + 0x403790]
mov ecx, dword [esi + 0x14]
shr ebx, 0x10
and ebx, 0xff
xor edx, dword [ebx*4 + 0x403b90]
xor edi, edx
mov edx, dword [esi + 0x10]
sub edx, edi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov ebx, edx
and ebx, 0xff
add ecx, dword [ebx*4 + 0x403390]
mov ebx, edx
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x403790]
shr edx, 0x10
and edx, 0xff
sub ecx, dword [edx*4 + 0x403b90]
mov edx, dword [esi + 0x18]
xor eax, ecx
mov ecx, dword [esi + 0x1c]
add edx, eax
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov ebx, edx
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x403390]
mov ebx, edx
shr ebx, 0x10
and ebx, 0xff
add ecx, dword [ebx*4 + 0x403b90]
shr edx, 0x18
sub ecx, dword [edx*4 + 0x403790]
mov edx, dword [esi + 0x20]
xor edi, ecx
mov ecx, dword [esi + 0x24]
xor edx, edi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov ebx, edx
and ebx, 0xff
sub ecx, dword [ebx*4 + 0x403390]
mov ebx, edx
shr ebx, 0x18
add ecx, dword [ebx*4 + 0x403790]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0x403b90]
mov edx, dword [esi + 0x28]
xor eax, ecx
mov ecx, dword [esi + 0x2c]
sub edx, eax
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov ebx, edx
and ebx, 0xff
add ecx, dword [ebx*4 + 0x403390]
mov ebx, edx
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x403790]
shr edx, 0x10
and edx, 0xff
sub ecx, dword [edx*4 + 0x403b90]
mov edx, dword [esi + 0x30]
xor edi, ecx
mov ecx, dword [esi + 0x34]
add edx, edi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov ebx, edx
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x403390]
mov ebx, edx
shr ebx, 0x10
and ebx, 0xff
add ecx, dword [ebx*4 + 0x403b90]
shr edx, 0x18
sub ecx, dword [edx*4 + 0x403790]
mov edx, dword [esi + 0x38]
xor eax, ecx
mov ecx, dword [esi + 0x3c]
xor edx, eax
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov ebx, edx
and ebx, 0xff
sub ecx, dword [ebx*4 + 0x403390]
mov ebx, edx
shr ebx, 0x18
add ecx, dword [ebx*4 + 0x403790]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0x403b90]
mov edx, dword [esi + 0x40]
xor edi, ecx
mov ecx, dword [esi + 0x44]
sub edx, edi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov ebx, edx
and ebx, 0xff
add ecx, dword [ebx*4 + 0x403390]
mov ebx, edx
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x403790]
shr edx, 0x10
and edx, 0xff
sub ecx, dword [edx*4 + 0x403b90]
mov edx, dword [esi + 0x48]
xor eax, ecx
mov ecx, dword [esi + 0x4c]
add edx, eax
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov ebx, edx
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x403390]
mov ebx, edx
shr ebx, 0x10
and ebx, 0xff
add ecx, dword [ebx*4 + 0x403b90]
shr edx, 0x18
sub ecx, dword [edx*4 + 0x403790]
mov edx, dword [esi + 0x50]
xor edi, ecx
mov ecx, dword [esi + 0x54]
xor edx, edi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov ebx, edx
and ebx, 0xff
sub ecx, dword [ebx*4 + 0x403390]
mov ebx, edx
shr ebx, 0x18
add ecx, dword [ebx*4 + 0x403790]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0x403b90]
mov edx, dword [esi + 0x58]
xor eax, ecx
mov ecx, dword [esi + 0x5c]
sub edx, eax
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov ebx, edx
and ebx, 0xff
add ecx, dword [ebx*4 + 0x403390]
mov ebx, edx
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x403790]
shr edx, 0x10
and edx, 0xff
sub ecx, dword [edx*4 + 0x403b90]
mov ebx, eax
xor ecx, edi
mov edi, ecx
shr edi, 8
mov edx, ecx
shl edx, 8
xor edi, edx
and edi, 0xff00ff
shl ecx, 8
xor edi, ecx
rol edi, 0x10
mov dword [ebp - 8], edi
shr ebx, 8
mov ecx, eax
shl ecx, 8
xor ebx, ecx
shl eax, 8
and ebx, 0xff00ff
xor ebx, eax
mov eax, dword [ebp + 0x10]
rol ebx, 0x10
mov dword [eax], edi
mov dword [eax + 4], ebx
add eax, 8
cmp dword [ebp + 8], 0
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
jne 0x435590
mov edx, dword [ebp + 0x14]
mov ecx, dword [edx]
and ecx, 7
push ecx
push eax
lea eax, [esi + 0x60]
push eax
mov dword [esi + 0x68], ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 0x14]
mov ecx, 8
sub ecx, dword [esi + 0x68]
add esp, 0xc
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], ebx
add dword [eax], ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10