Function at 0x10bd550
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 + 0x10]
test esi, esi
push edi
mov edi, dword [ebp + 8]
mov edx, 1
je 0x10bd58a
lea ecx, [ecx]
mov ecx, dword [edi + 0x68]
cmp ecx, 8
jae 0x10bd587
mov bl, byte [eax]
mov byte [ecx + edi + 0x60], bl
add dword [edi + 0x68], edx
add eax, edx
sub esi, edx
jne 0x10bd570
mov dword [ebp + 0x10], esi
cmp dword [edi + 0x68], 8
jb 0x10bdd69
mov ecx, dword [edi + 0x78]
xor ecx, dword [edi + 0x60]
mov edx, dword [edi + 0x64]
xor edx, dword [edi + 0x7c]
mov ebx, ecx
shr esi, 3
shl ebx, 8
mov dword [ebp + 8], esi
mov esi, ecx
shl ecx, 8
shr esi, 8
xor esi, ebx
mov ebx, edx
and esi, 0xff00ff
xor esi, ecx
mov ecx, edx
shl ecx, 8
shl edx, 8
shr ebx, 8
xor ebx, ecx
mov ecx, dword [edi + 4]
and ebx, 0xff00ff
xor ebx, edx
mov edx, dword [edi]
rol esi, 0x10
rol ebx, 0x10
add edx, ebx
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x1024d98]
mov dword [ebp + 0xc], edx
and edx, 0xff
xor ecx, dword [edx*4 + 0x1025198]
mov edx, dword [ebp + 0xc]
shr edx, 0x10
and edx, 0xff
add ecx, dword [edx*4 + 0x1025998]
mov edx, ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 0x18
sub edx, dword [ecx*4 + 0x1025598]
mov ecx, dword [edi + 0xc]
xor esi, edx
mov edx, dword [edi + 8]
xor edx, esi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x1024d98]
mov dword [ebp + 0xc], edx
and edx, 0xff
sub ecx, dword [edx*4 + 0x1025198]
mov edx, dword [ebp + 0xc]
shr edx, 0x18
add ecx, dword [edx*4 + 0x1025598]
mov edx, ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xff
xor edx, dword [ecx*4 + 0x1025998]
mov ecx, dword [edi + 0x14]
xor ebx, edx
mov edx, dword [edi + 0x10]
sub edx, ebx
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x1024d98]
mov dword [ebp + 0xc], edx
and edx, 0xff
add ecx, dword [edx*4 + 0x1025198]
mov edx, dword [ebp + 0xc]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x1025598]
mov edx, ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xff
sub edx, dword [ecx*4 + 0x1025998]
xor esi, edx
mov edx, dword [edi + 0x18]
add edx, esi
mov ecx, dword [edi + 0x1c]
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x1024d98]
mov dword [ebp + 0xc], edx
and edx, 0xff
xor ecx, dword [edx*4 + 0x1025198]
mov edx, dword [ebp + 0xc]
shr edx, 0x10
and edx, 0xff
add ecx, dword [edx*4 + 0x1025998]
mov edx, ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 0x18
sub edx, dword [ecx*4 + 0x1025598]
mov ecx, dword [edi + 0x24]
xor ebx, edx
mov edx, dword [edi + 0x20]
xor edx, ebx
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x1024d98]
mov dword [ebp + 0xc], edx
and edx, 0xff
sub ecx, dword [edx*4 + 0x1025198]
mov edx, dword [ebp + 0xc]
shr edx, 0x18
add ecx, dword [edx*4 + 0x1025598]
mov edx, ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xff
xor edx, dword [ecx*4 + 0x1025998]
mov ecx, dword [edi + 0x2c]
xor esi, edx
mov edx, dword [edi + 0x28]
sub edx, esi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x1024d98]
mov dword [ebp + 0xc], edx
and edx, 0xff
add ecx, dword [edx*4 + 0x1025198]
mov edx, dword [ebp + 0xc]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x1025598]
mov edx, ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xff
sub edx, dword [ecx*4 + 0x1025998]
mov ecx, dword [edi + 0x34]
xor ebx, edx
mov edx, dword [edi + 0x30]
add edx, ebx
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x1024d98]
mov dword [ebp + 0xc], edx
and edx, 0xff
xor ecx, dword [edx*4 + 0x1025198]
mov edx, dword [ebp + 0xc]
shr edx, 0x10
and edx, 0xff
add ecx, dword [edx*4 + 0x1025998]
mov edx, ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 0x18
sub edx, dword [ecx*4 + 0x1025598]
mov ecx, dword [edi + 0x3c]
xor esi, edx
mov edx, dword [edi + 0x38]
xor edx, esi
rol edx, cl
mov dword [ebp + 0xc], edx
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x1024d98]
and edx, 0xff
sub ecx, dword [edx*4 + 0x1025198]
mov edx, dword [ebp + 0xc]
shr edx, 0x18
add ecx, dword [edx*4 + 0x1025598]
mov edx, ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xff
xor edx, dword [ecx*4 + 0x1025998]
mov ecx, dword [edi + 0x44]
xor ebx, edx
mov edx, dword [edi + 0x40]
sub edx, ebx
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x1024d98]
mov dword [ebp + 0xc], edx
and edx, 0xff
add ecx, dword [edx*4 + 0x1025198]
mov edx, dword [ebp + 0xc]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x1025598]
mov edx, ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xff
sub edx, dword [ecx*4 + 0x1025998]
mov ecx, dword [edi + 0x4c]
xor esi, edx
mov edx, dword [edi + 0x48]
add edx, esi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x1024d98]
mov dword [ebp + 0xc], edx
and edx, 0xff
xor ecx, dword [edx*4 + 0x1025198]
mov edx, dword [ebp + 0xc]
shr edx, 0x10
and edx, 0xff
add ecx, dword [edx*4 + 0x1025998]
mov edx, ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 0x18
sub edx, dword [ecx*4 + 0x1025598]
mov ecx, dword [edi + 0x54]
xor ebx, edx
mov edx, dword [edi + 0x50]
xor edx, ebx
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x1024d98]
mov dword [ebp + 0xc], edx
and edx, 0xff
sub ecx, dword [edx*4 + 0x1025198]
mov edx, dword [ebp + 0xc]
shr edx, 0x18
add ecx, dword [edx*4 + 0x1025598]
mov edx, ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xff
xor edx, dword [ecx*4 + 0x1025998]
mov ecx, dword [edi + 0x5c]
xor esi, edx
mov edx, dword [edi + 0x58]
sub edx, esi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x1024d98]
mov dword [ebp + 0xc], edx
and edx, 0xff
add ecx, dword [edx*4 + 0x1025198]
mov edx, dword [ebp + 0xc]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x1025598]
mov edx, dword [ebp + 0xc]
shr edx, 0x10
and edx, 0xff
sub ecx, dword [edx*4 + 0x1025998]
mov edx, esi
xor ecx, ebx
mov esi, ecx
shr esi, 8
mov ebx, ecx
shl ebx, 8
xor esi, ebx
shl ecx, 8
and esi, 0xff00ff
xor esi, ecx
mov ebx, edx
shr ebx, 8
mov ecx, edx
shl ecx, 8
xor ebx, ecx
and ebx, 0xff00ff
shl edx, 8
rol esi, 0x10
xor ebx, edx
rol ebx, 0x10
cmp dword [ebp + 8], 0
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
je 0x10bdd4c
lea ecx, [ecx]
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]
mov edx, ecx
sub dword [ebp + 8], 1
add eax, 8
shl edx, 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 esi, ecx
mov edx, ecx
shl ecx, 8
shl edx, 8
shr esi, 8
xor esi, edx
mov edx, dword [edi]
and esi, 0xff00ff
xor esi, ecx
mov ecx, dword [edi + 4]
rol eax, 0x10
rol esi, 0x10
add edx, esi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x1024d98]
mov ebx, edx
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x1025198]
mov ebx, edx
shr ebx, 0x10
and ebx, 0xff
add ecx, dword [ebx*4 + 0x1025998]
shr edx, 0x18
sub ecx, dword [edx*4 + 0x1025598]
mov edx, dword [edi + 8]
xor eax, ecx
mov ecx, dword [edi + 0xc]
xor edx, eax
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x1024d98]
mov ebx, edx
and ebx, 0xff
sub ecx, dword [ebx*4 + 0x1025198]
mov ebx, edx
shr ebx, 0x18
add ecx, dword [ebx*4 + 0x1025598]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0x1025998]
mov edx, dword [edi + 0x10]
xor esi, ecx
mov ecx, dword [edi + 0x14]
sub edx, esi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x1024d98]
mov ebx, edx
and ebx, 0xff
add ecx, dword [ebx*4 + 0x1025198]
mov ebx, edx
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x1025598]
shr edx, 0x10
and edx, 0xff
sub ecx, dword [edx*4 + 0x1025998]
mov edx, dword [edi + 0x18]
xor eax, ecx
mov ecx, dword [edi + 0x1c]
add edx, eax
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x1024d98]
mov ebx, edx
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x1025198]
mov ebx, edx
shr ebx, 0x10
and ebx, 0xff
add ecx, dword [ebx*4 + 0x1025998]
shr edx, 0x18
sub ecx, dword [edx*4 + 0x1025598]
mov edx, dword [edi + 0x20]
xor esi, ecx
mov ecx, dword [edi + 0x24]
xor edx, esi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x1024d98]
mov ebx, edx
and ebx, 0xff
sub ecx, dword [ebx*4 + 0x1025198]
mov ebx, edx
shr ebx, 0x18
add ecx, dword [ebx*4 + 0x1025598]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0x1025998]
mov edx, dword [edi + 0x28]
xor eax, ecx
mov ecx, dword [edi + 0x2c]
sub edx, eax
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x1024d98]
mov ebx, edx
and ebx, 0xff
add ecx, dword [ebx*4 + 0x1025198]
mov ebx, edx
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x1025598]
shr edx, 0x10
and edx, 0xff
sub ecx, dword [edx*4 + 0x1025998]
mov edx, dword [edi + 0x30]
xor esi, ecx
mov ecx, dword [edi + 0x34]
add edx, esi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x1024d98]
mov ebx, edx
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x1025198]
mov ebx, edx
shr ebx, 0x10
and ebx, 0xff
add ecx, dword [ebx*4 + 0x1025998]
shr edx, 0x18
sub ecx, dword [edx*4 + 0x1025598]
mov edx, dword [edi + 0x38]
xor eax, ecx
mov ecx, dword [edi + 0x3c]
xor edx, eax
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x1024d98]
mov ebx, edx
and ebx, 0xff
sub ecx, dword [ebx*4 + 0x1025198]
mov ebx, edx
shr ebx, 0x18
add ecx, dword [ebx*4 + 0x1025598]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0x1025998]
mov edx, dword [edi + 0x40]
xor esi, ecx
mov ecx, dword [edi + 0x44]
sub edx, esi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x1024d98]
mov ebx, edx
and ebx, 0xff
add ecx, dword [ebx*4 + 0x1025198]
mov ebx, edx
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x1025598]
shr edx, 0x10
and edx, 0xff
sub ecx, dword [edx*4 + 0x1025998]
mov edx, dword [edi + 0x48]
xor eax, ecx
mov ecx, dword [edi + 0x4c]
add edx, eax
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x1024d98]
mov ebx, edx
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x1025198]
mov ebx, edx
shr ebx, 0x10
and ebx, 0xff
add ecx, dword [ebx*4 + 0x1025998]
shr edx, 0x18
sub ecx, dword [edx*4 + 0x1025598]
mov edx, dword [edi + 0x50]
xor esi, ecx
mov ecx, dword [edi + 0x54]
xor edx, esi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x1024d98]
mov ebx, edx
and ebx, 0xff
sub ecx, dword [ebx*4 + 0x1025198]
mov ebx, edx
shr ebx, 0x18
add ecx, dword [ebx*4 + 0x1025598]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0x1025998]
mov edx, dword [edi + 0x58]
xor eax, ecx
mov ecx, dword [edi + 0x5c]
sub edx, eax
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x1024d98]
mov ebx, edx
and ebx, 0xff
add ecx, dword [ebx*4 + 0x1025198]
mov ebx, edx
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x1025598]
shr edx, 0x10
and edx, 0xff
sub ecx, dword [edx*4 + 0x1025998]
mov ebx, eax
xor ecx, esi
mov esi, ecx
shr esi, 8
mov edx, ecx
shl edx, 8
xor esi, edx
and esi, 0xff00ff
shl ecx, 8
xor esi, ecx
rol esi, 0x10
mov dword [ebp - 8], esi
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 + 0xc]
rol ebx, 0x10
cmp dword [ebp + 8], 0
mov dword [ebp - 4], ebx
jne 0x10bd980
mov ecx, dword [ebp + 0x10]
and ecx, 7
push ecx
push eax
lea eax, [edi + 0x60]
push eax
mov dword [edi + 0x68], ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [edi + 0x78], esi
mov dword [edi + 0x7c], ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc