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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x88
mov eax, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa0]
mov ecx, dword [eax + 4]
mov eax, 0xfffffffe
cmp word [ecx + eax + 2], 0
lea eax, [eax + 2]
jne 0x41fe20
mov ecx, 0xfffffffe
cmp word [ebx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x41fe30
sar eax, 1
sar ecx, 1
lea edx, [eax + ecx]
add edx, 0x3f
test edx, edx
jns 0x41fe50
mov eax, 0xffffffff
jmp 0x41fe59
add eax, ecx
lea eax, [eax*2 + 0x7e]
push eax
call fcn.0040ca10
add esp, 4
mov esi, eax
mov dword [esp + 0x48], 0xd1b9cf92
mov dword [esp + 0x4c], 0xd5b5d3a5
mov dword [esp + 0x50], 0xd993d7a6
mov dword [esp + 0x54], 0xddb4dba9
mov dword [esp + 0x58], 0xe1b9dfa8
mov dword [esp + 0x5c], 0xe596e398
mov dword [esp + 0x60], 0xe982e7af
mov dword [esp + 0x64], 0xeddeebd7
mov dword [esp + 0x68], 0xf1d5efde
mov dword [esp + 0x6c], 0xf5c9f3c4
mov dword [esp + 0x70], 0xf9cff7c2
mov dword [esp + 0x74], 0xfdc1fbca
mov dword [esp + 0x78], 0x1a2ffcb
mov dword [esp + 0x7c], 0x566036b
mov dword [esp + 0x80], 0x9060766
mov word [esp + 0x84], 0
mov byte [esp + 0x86], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xcd
xor cl, byte [esp + eax + 0x48]
dec cl
mov byte [esp + eax + 0x48], cl
inc eax
cmp eax, 0x3f
jne 0x41ff00
mov dword [esp], 0x21ab2780
mov dword [esp + 4], 0x3d9323ac
mov dword [esp + 8], 0x399d3f8e
mov dword [esp + 0xc], 0x35853b81
mov dword [esp + 0x10], 0x318a3790
mov dword [esp + 0x14], 0xd8c338f
mov dword [esp + 0x18], 0x9810faf
mov dword [esp + 0x1c], 0x5860bbc
mov dword [esp + 0x20], 0x1b107a0
mov dword [esp + 0x24], 0x1d8803b1
mov dword [esp + 0x28], 0x19a11f6b
mov dword [esp + 0x2c], 0x15961b90
mov dword [esp + 0x30], 0x11a017ab
mov dword [esp + 0x34], 0x6da9139d
mov dword [esp + 0x38], 0x69d86fdd
mov dword [esp + 0x3c], 0x651f6b1d
mov dword [esp + 0x40], 0x61666711
mov byte [esp + 0x46], 0
mov word [esp + 0x44], 0
mov eax, esp
mov ecx, 0x247d8276
nop
movzx ebp, byte [eax]
lea edx, [ecx - 0x247d8200]
mov edi, ebp
not edi
or edi, edx
lea edx, [edi + ebp]
inc edx
or ebp, ecx
mov edi, edx
not edi
or edi, ebp
sub edx, ebp
add edx, edi
add dl, 0x53
mov byte [eax], dl
inc eax
dec ecx
cmp ecx, 0x247d822f
jne 0x41ffb0
mov ebp, dword [esp + 0xa4]
mov ecx, dword [ebp + 4]
movzx edx, word [ecx]
mov eax, esi
test dx, dx
je 0x420011
add ecx, 2
mov eax, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x420000
mov word [eax], 0
movzx ecx, word [esp]
test cx, cx
je 0x420041
lea edx, [esp + 2]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x420030
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x420071
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x420060
mov word [eax], 0
movzx ecx, word [esp + 0x48]
test cx, cx
je 0x4200a1
lea edx, [esp + 0x4a]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x420090
mov word [eax], 0
mov eax, dword [esp + 0xa8]
mov ebx, dword [eax]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x4200c0
sar ecx, 1
lea edx, [ecx*2 + 0x12]
add ecx, 9
xor ecx, 1
mov edi, dword [ebp]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x4200f0
and edx, 2
add edx, ecx
sar eax, 1
add eax, edx
lea edx, [eax + eax]
xor eax, 1
mov edi, dword [ebp + 8]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x420120
and edx, 2
add edx, eax
sar ecx, 1
add ecx, edx
jns 0x42013d
mov ecx, 0xffffffff
jmp 0x42013f
add ecx, ecx
push ecx
call fcn.0040ca10
add esp, 4
mov edi, eax
mov dword [esp], 0x39953b85
mov dword [esp + 4], 0x25b227ac
mov dword [esp + 8], 0x21be238f
mov dword [esp + 0xc], 0x2dff2fbd
mov dword [esp + 0x10], 0x2b2c
mov byte [esp + 0x14], 0
mov eax, 0x56fc50cb
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x56fc50cb]
xor ecx, eax
mov edx, ecx
and edx, 8
xor ecx, 8
lea ecx, [ecx + edx*2]
inc cl
mov byte [esp + eax - 0x56fc50cb], cl
inc eax
cmp eax, 0x56fc50e0
jne 0x420180
movzx ecx, word [esp]
mov eax, edi
test cx, cx
je 0x4201d1
lea edx, [esp + 2]
mov eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x4201c0
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x420201
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x4201f0
mov word [eax], 0x5f
add eax, 2
mov ecx, dword [ebp]
movzx edx, word [ecx]
test dx, dx
je 0x420231
add ecx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x420220
mov word [eax], 0x5f
add eax, 2
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
test dx, dx
je 0x420261
add ecx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x420250
mov word [eax], 0
mov dword [esp], 0xf10e0fe6
mov byte [esp + 4], 0
mov eax, 0xd754aefd
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x28ab5103]
xor ecx, eax
mov edx, ecx
or edx, 1
and ecx, 1
sub edx, ecx
lea ecx, [edx + ecx*2]
add cl, 0xe
mov byte [esp + eax + 0x28ab5103], cl
inc eax
cmp eax, 0xd754af02
jne 0x420280
mov eax, esp
push 0
push 1
push 0
push eax
push esi
push edi
push dword [esp + 0xb4]
call fcn.004205a0
add esp, 0x1c
mov ebx, eax
jmp dword [0x444ef0]