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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x80
mov eax, dword [esp + 0x9c]
mov edi, dword [esp + 0x98]
mov ecx, dword [eax + 4]
mov eax, 0xfffffffe
cmp word [ecx + eax + 2], 0
lea eax, [eax + 2]
jne 0x41ce40
mov ecx, 0xfffffffe
cmp word [edi + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x41ce50
sar eax, 1
sar ecx, 1
lea edx, [eax + ecx]
add edx, 0x3f
test edx, edx
jns 0x41ce70
mov eax, 0xffffffff
jmp 0x41ce79
add eax, ecx
lea eax, [eax*2 + 0x7e]
push eax
call fcn.00408210
add esp, 4
mov esi, eax
mov dword [esp + 0x44], 0x19a11bbe
mov dword [esp + 0x48], 0x65cd67a5
mov dword [esp + 0x4c], 0x612f63da
mov dword [esp + 0x50], 0x6ddc6fd1
mov dword [esp + 0x54], 0x69c16bd0
mov dword [esp + 0x58], 0x75ca77d0
mov dword [esp + 0x5c], 0x71de7323
mov dword [esp + 0x60], 0x7d027f33
mov dword [esp + 0x64], 0x793d7b02
mov dword [esp + 0x68], 0x45014704
mov dword [esp + 0x6c], 0x413b433e
mov dword [esp + 0x70], 0x4d094f3e
mov dword [esp + 0x74], 0x49ee4b37
mov dword [esp + 0x78], 0x55fa57ff
mov dword [esp + 0x7c], 0x515253fa
mov eax, 0xbb
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x77]
lea ebx, [eax - 0x7b4bd300]
or ebx, ecx
and ecx, eax
sub ebx, ecx
lea ecx, [ebx + 0x687b1b58]
mov ebp, ecx
xor ebp, 0xfe
mov edx, ecx
or edx, 1
and edx, ebp
mov ebp, 0x9784e4a7
sub ebp, ebx
mov ebx, ebp
not ebx
and ebp, 0xa4
and ecx, 0x5b
or ecx, ebp
xor ecx, 0xa5
and ebx, 1
or ebx, ecx
add ebx, edx
mov byte [esp + eax - 0x77], bl
inc eax
cmp eax, 0xf7
jne 0x41cf10
mov dword [esp], 0xcf59c964
mov dword [esp + 4], 0xc351cd58
mov dword [esp + 8], 0xc767c156
mov dword [esp + 0xc], 0xbb1fc55f
mov dword [esp + 0x10], 0xbf1ab914
mov dword [esp + 0x14], 0xb328bd19
mov dword [esp + 0x18], 0xb723b111
mov dword [esp + 0x1c], 0xab3eb528
mov dword [esp + 0x20], 0xaf33a904
mov dword [esp + 0x24], 0xa32cad3f
mov dword [esp + 0x28], 0xa703a17d
mov dword [esp + 0x2c], 0x9b0ea52c
mov dword [esp + 0x30], 0x9f0c993d
mov dword [esp + 0x34], 0x930b9d0b
mov dword [esp + 0x38], 0x97049103
mov dword [esp + 0x3c], 0x8b55954b
mov dword [esp + 0x40], 0x8f8e8957
mov eax, 0xf11fbe32
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0xee041ce]
xor ecx, eax
lea edx, [ecx + 5]
not ecx
and ecx, 1
xor edx, 1
lea ecx, [edx + ecx*2]
mov byte [esp + eax + 0xee041ce], cl
inc eax
cmp eax, 0xf11fbe76
jne 0x41d000
mov ebp, dword [esp + 0x9c]
mov ecx, dword [ebp + 4]
movzx edx, word [ecx]
mov eax, esi
test dx, dx
je 0x41d051
add ecx, 2
mov eax, esi
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41d040
mov word [eax], 0
movzx ecx, word [esp]
test cx, cx
je 0x41d081
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 0x41d070
mov word [eax], 0
movzx ecx, word [edi]
test cx, cx
je 0x41d0b1
add edi, 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 [edi]
add edi, 2
test cx, cx
jne 0x41d0a0
mov word [eax], 0
movzx ecx, word [esp + 0x44]
test cx, cx
je 0x41d0e1
lea edx, [esp + 0x46]
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 0x41d0d0
mov word [eax], 0
mov eax, dword [esp + 0xa0]
mov ebx, dword [eax]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x41d100
mov edx, dword [ebp]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x41d120
mov edi, dword [ebp + 8]
mov edx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + edx + 2], 0
lea edx, [edx + 2]
jne 0x41d140
sar eax, 1
sar ecx, 1
sar edx, 1
add ecx, eax
lea eax, [edx + ecx]
add eax, 0xb
test eax, eax
jns 0x41d164
mov eax, 0xffffffff
jmp 0x41d16d
add ecx, edx
lea eax, [ecx*2 + 0x16]
push eax
call fcn.00408210
add esp, 4
mov edi, eax
mov dword [esp], 0x79dd7bad
mov dword [esp + 4], 0x7de27fe4
mov dword [esp + 8], 0x71e673e7
mov dword [esp + 0xc], 0x752777e5
mov dword [esp + 0x10], 0x6b74
mov byte [esp + 0x14], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax]
lea ecx, [eax + 0x3f]
or ecx, edx
mov ebp, 0xc0
sub ebp, eax
or ebp, edx
add ebp, eax
sub ecx, ebp
add cl, 0x85
mov byte [esp + eax], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 0x15
jb 0x41d1b0
movzx ecx, word [esp]
mov eax, edi
test cx, cx
je 0x41d201
lea edx, [esp + 2]
mov eax, edi
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41d1f0
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
mov ebp, dword [esp + 0x9c]
je 0x41d231
add ebx, 2
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 0x41d220
mov word [eax], 0x5f
add eax, 2
mov ecx, dword [ebp]
movzx edx, word [ecx]
test dx, dx
je 0x41d261
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 0x41d250
mov word [eax], 0x5f
add eax, 2
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
test dx, dx
je 0x41d291
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 0x41d280
mov word [eax], 0
mov dword [esp], 0x191a1bea
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor eax, eax
nop
nop
nop
nop
nop
mov edx, eax
not edx
and edx, 5
mov ecx, eax
and ecx, 2
sub ecx, edx
xor cl, byte [esp + eax]
add cl, 0x19
mov byte [esp + eax], cl
inc eax
cmp eax, 7
jne 0x41d2b0
mov eax, esp
push 0
push 1
push 0
push eax
push esi
push edi
push dword [esp + 0xac]
call fcn.0041d570
add esp, 0x1c
mov ebx, eax
jmp dword [0x444334]