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

Disassembly:
sub esp, 0x130
push esi
mov esi, dword [esp + 0x138]
push edi
push 0xfc
mov edi, eax
lea eax, [esp + 0x40]
push 0
push eax
mov dword [esp + 0x44], 0
call fcn.0042fdd0
add esp, 0xc
test esi, esi
je 0x41bdee
test edi, edi
je 0x41bdee
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0xc]
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 0x18]
push ebx
mov ebx, dword [esi + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x28]
push ebp
mov ebp, dword [esi + 0x24]
lea esi, [esp + 0x42]
sub esi, edi
mov dword [esp + 0x34], esi
lea esi, [esp + 0x46]
sub esi, edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ecx
lea esi, [esp + 0x4a]
xor ecx, ecx
sub esi, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebp
lea eax, [edi + 2]
mov dword [esp + 0x38], esi
movzx esi, byte [eax - 2]
movzx edi, byte [eax - 1]
shl esi, 8
or esi, edi
movzx edi, byte [eax]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 1]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 3]
mov dword [esp + ecx*4 + 0x40], esi
movzx esi, byte [eax + 2]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 4]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 5]
shl esi, 8
or esi, edi
mov edi, dword [esp + 0x34]
mov dword [eax + edi], esi
movzx esi, byte [eax + 6]
movzx edi, byte [eax + 7]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 8]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 9]
shl esi, 8
or esi, edi
mov edi, dword [esp + 0x30]
mov dword [eax + edi], esi
movzx esi, byte [eax + 0xa]
movzx edi, byte [eax + 0xb]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xc]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xd]
shl esi, 8
or esi, edi
mov edi, dword [esp + 0x38]
mov dword [eax + edi], esi
add ecx, 4
add eax, 0x10
cmp ecx, 0x10
jl 0x41b9f2
lea eax, [esp + 0x78]
mov dword [esp + 0x34], 0xc
mov ecx, dword [eax]
mov esi, ecx
ror esi, 0x13
mov edi, ecx
shr ecx, 0xa
ror edi, 0x11
xor esi, edi
xor esi, ecx
mov ecx, dword [eax - 0x34]
mov edi, ecx
ror edi, 0x12
ror ecx, 7
xor edi, ecx
mov ecx, dword [eax - 0x34]
shr ecx, 3
xor edi, ecx
add esi, edi
add esi, dword [eax - 0x38]
mov ecx, dword [eax - 0x14]
add ecx, esi
mov dword [esp + 0x38], ecx
mov dword [eax + 8], ecx
mov ecx, dword [eax - 0x30]
mov esi, ecx
ror esi, 0x12
mov edi, ecx
shr ecx, 3
ror edi, 7
xor esi, edi
xor esi, ecx
mov ecx, dword [eax + 4]
mov edi, ecx
ror edi, 0x13
ror ecx, 0x11
xor edi, ecx
mov ecx, dword [eax + 4]
shr ecx, 0xa
xor edi, ecx
mov ecx, dword [eax - 0x34]
add esi, edi
add esi, dword [eax - 0x10]
add ecx, esi
mov dword [esp + 0x3c], ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov esi, ecx
ror esi, 0x13
mov edi, ecx
ror edi, 0x11
xor esi, edi
shr ecx, 0xa
xor esi, ecx
mov ecx, dword [eax - 0x2c]
mov edi, ecx
ror edi, 0x12
ror ecx, 7
xor edi, ecx
mov ecx, dword [eax - 0x2c]
shr ecx, 3
xor edi, ecx
mov ecx, dword [esp + 0x3c]
add esi, edi
add esi, dword [eax - 0xc]
mov edi, ecx
add esi, dword [eax - 0x30]
mov dword [eax + 0x10], esi
mov esi, ecx
ror esi, 0x13
ror edi, 0x11
xor esi, edi
shr ecx, 0xa
xor esi, ecx
mov ecx, dword [eax - 0x28]
mov edi, ecx
ror edi, 0x12
ror ecx, 7
xor edi, ecx
mov ecx, dword [eax - 0x28]
shr ecx, 3
xor edi, ecx
add esi, edi
add esi, dword [eax - 8]
add eax, 0x10
add esi, dword [eax - 0x3c]
sub dword [esp + 0x34], 1
mov dword [eax + 4], esi
jne 0x41baa1
xor ecx, ecx
mov edi, edi
mov eax, ebx
ror eax, 0x19
mov esi, ebx
ror esi, 0xb
xor eax, esi
mov esi, ebx
ror esi, 6
xor eax, esi
mov esi, dword [esp + 0x24]
xor esi, ebp
and esi, ebx
xor esi, ebp
add eax, esi
add eax, dword [ecx + 0x52a888]
mov ebp, dword [esp + 0x14]
add eax, dword [esp + ecx + 0x40]
mov esi, edx
add eax, dword [esp + 0x2c]
mov edi, edx
and ebp, edx
ror esi, 0x16
ror edi, 0xd
xor esi, edi
mov edi, edx
ror edi, 2
xor esi, edi
mov edi, dword [esp + 0x14]
xor edi, edx
and edi, dword [esp + 0x18]
xor edi, ebp
mov ebp, dword [esp + 0x1c]
add ebp, eax
add esi, edi
mov edi, dword [esp + 0x28]
add esi, eax
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x24], ebx
mov ebx, ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x14], edx
mov eax, ebx
ror eax, 0x19
mov edx, ebx
ror edx, 0xb
xor eax, edx
mov edx, ebx
ror edx, 6
xor eax, edx
mov edx, dword [esp + 0x24]
xor edx, edi
and edx, ebx
xor edx, edi
add eax, edx
add eax, dword [ecx + 0x52a88c]
mov dword [esp + 0x28], edi
add eax, dword [esp + ecx + 0x44]
mov edi, esi
add eax, dword [esp + 0x2c]
ror edi, 0x16
mov edx, esi
ror edx, 0xd
xor edi, edx
mov edx, esi
ror edx, 2
xor edi, edx
mov edx, dword [esp + 0x14]
xor edx, esi
and edx, ebp
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x14]
and ebp, esi
xor edx, ebp
mov ebp, dword [esp + 0x28]
add edi, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x24]
add edx, eax
mov dword [esp + 0x24], ebx
mov ebx, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], edx
lea edx, [edi + eax]
mov eax, ebx
ror eax, 0x19
mov edi, ebx
ror edi, 0xb
xor eax, edi
mov edi, ebx
ror edi, 6
xor eax, edi
mov edi, dword [esp + 0x24]
xor edi, ebp
and edi, ebx
xor edi, ebp
add eax, edi
add eax, dword [ecx + 0x52a890]
mov dword [esp + 0x28], ebp
add eax, dword [esp + ecx + 0x48]
mov edi, edx
add eax, dword [esp + 0x2c]
ror edi, 0x16
mov ebp, edx
ror ebp, 0xd
xor edi, ebp
mov dword [esp + 0x14], esi
xor esi, edx
and esi, dword [esp + 0x18]
mov ebp, edx
ror ebp, 2
xor edi, ebp
mov ebp, dword [esp + 0x14]
and ebp, edx
xor esi, ebp
mov ebp, dword [esp + 0x28]
add edi, esi
mov esi, dword [esp + 0x1c]
add esi, eax
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x24], ebx
mov ebx, esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], esi
lea esi, [edi + eax]
mov eax, ebx
ror eax, 0x19
mov edi, ebx
ror edi, 0xb
xor eax, edi
mov edi, ebx
ror edi, 6
xor eax, edi
mov edi, dword [esp + 0x24]
xor edi, ebp
and edi, ebx
xor edi, ebp
add eax, edi
add eax, dword [ecx + 0x52a894]
mov dword [esp + 0x28], ebp
add eax, dword [esp + ecx + 0x4c]
mov edi, esi
add eax, dword [esp + 0x2c]
ror edi, 0x16
mov ebp, esi
ror ebp, 0xd
xor edi, ebp
mov ebp, esi
ror ebp, 2
mov dword [esp + 0x14], edx
xor edi, ebp
mov ebp, dword [esp + 0x14]
xor edx, esi
and edx, dword [esp + 0x18]
and ebp, esi
xor edx, ebp
mov ebp, dword [esp + 0x28]
add edi, edx
mov edx, dword [esp + 0x1c]
add edx, eax
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x24], ebx
mov ebx, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
add ecx, 0x10
cmp ecx, 0x100
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x14], esi
lea edx, [edi + eax]
jl 0x41bb90
mov eax, dword [esp + 0x144]
add dword [eax + 0xc], edx
add dword [eax + 0x24], ebp
mov edx, dword [esp + 0x18]
add dword [eax + 0x1c], ebx
add dword [eax + 0x14], edx
mov edx, dword [esp + 0x24]
add dword [eax + 0x20], edx
mov ecx, esi
add dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x1c]
add dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x2c]
add dword [eax + 0x28], ecx
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x130
ret
pop edi
mov eax, 1
pop esi
add esp, 0x130
ret