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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x3c3d3e3f
mov dword [esp + 0x1c], 0
mov dword [esp + 0x1f], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xa
ja 0x41f7a2
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x18]
lea edx, [eax - 0x27b75188]
lea esi, [eax + 0x78]
xor esi, edx
and edx, ecx
and esi, ecx
add eax, ecx
add eax, 0xd848ae78
lea ecx, [esi + edx*2]
sub eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0xb8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xb
jb 0x41f760
mov eax, dword [esp + 0x18]
mov ecx, dword [0x447094]
test ecx, ecx
je 0x41f7f4
xor edx, edx
mov esi, dword [0x447098]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xe4aa2089
je 0x41f7d0
inc edx
cmp ecx, edx
jne 0x41f7c0
jmp 0x41f7f4
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x41f7f4
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 5
push 4
push dword [0x44709c]
push ecx
call fcn.004366c0
add esp, 0x1c
cmp eax, 0xc0000004
jne 0x41f8b0
push dword [esp + 0x14]
call fcn.00434840
add esp, 4
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], 0x3c3d3e3f
mov dword [esp + 0x1c], 0
mov dword [esp + 0x1f], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xa
ja 0x41f882
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x18]
lea esi, [eax - 0x27b75188]
lea edi, [eax + 0x78]
xor edi, esi
and esi, edx
and edi, edx
add eax, edx
add eax, 0xd848ae78
lea edx, [edi + esi*2]
sub eax, edx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0xb8
mov edx, dword [esp]
mov byte [esp + edx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xb
jb 0x41f840
mov eax, dword [esp + 0x18]
mov edx, dword [0x447094]
test edx, edx
je 0x41f8d9
xor esi, esi
mov edi, dword [0x447098]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0xe4aa2089
je 0x41f8b7
inc esi
cmp edx, esi
jne 0x41f8a0
jmp 0x41f8d9
xor ebx, ebx
jmp 0x41fb97
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x41f8d9
push 0
push ecx
push dword [esp + 0x14]
push 5
push 4
push dword [0x44709c]
push edx
call fcn.004366c0
add esp, 0x1c
xor ebx, ebx
test eax, eax
js 0x41fb8b
mov edx, dword [esp + 0xc]
mov ecx, dword [edx]
xor eax, eax
nop
nop
nop
nop
nop
lea esi, [edx + ecx]
mov ecx, dword [edx + ecx]
add eax, 0x208
add ebx, 0x104
mov edx, esi
test ecx, ecx
jne 0x41f8f0
test ebx, ebx
jns 0x41f910
mov eax, 0xffffffff
push eax
call fcn.00408cd0
add esp, 4
mov edi, eax
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
mov dword [esp + 8], edi
jmp 0x41f93e
mov word [edi], 0xa
add edi, 2
mov edx, dword [eax]
test edx, edx
je 0x41f963
mov ecx, dword [eax + edx + 0x3c]
add eax, edx
movzx edx, word [ecx]
test dx, dx
je 0x41f930
add ecx, 2
nop
mov word [edi], dx
add edi, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41f950
jmp 0x41f930
xor ebx, ebx
mov eax, dword [esp + 8]
cmp edi, eax
je 0x41fb82
mov word [edi], 0
movzx ecx, word [eax]
test cx, cx
je 0x41f9cd
xor ebx, ebx
mov eax, dword [esp + 8]
jmp 0x41f99e
add ebx, esi
movzx ecx, word [eax + 2]
add eax, 2
test cx, cx
je 0x41f9cd
cmp eax, edi
jae 0x41f9cd
movzx edx, cx
xor ecx, ecx
cmp edx, 0x800
setb byte [esp + 0x10]
mov esi, 1
cmp edx, 0x80
jb 0x41f990
movzx edx, byte [esp + 0x10]
mov cl, dl
xor ecx, 3
mov esi, ecx
jmp 0x41f990
mov eax, ebx
and eax, 1
mov ecx, ebx
xor ecx, 1
lea eax, [ecx + eax*2]
push eax
call fcn.00408cd0
add esp, 4
mov dword [esp + 0x38], eax
test ebx, ebx
jle 0x41fad5
mov eax, dword [esp + 0x38]
lea ecx, [ebx + eax]
inc ecx
mov dword [esp + 0x40], ecx
mov esi, eax
add esi, ebx
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], esi
jmp 0x41fa28
mov byte [eax], cl
mov edx, 1
mov ecx, dword [esp + 0x10]
add ecx, 2
add eax, edx
cmp eax, esi
jae 0x41fad5
cmp ecx, edi
jae 0x41fad5
mov dword [esp + 0x10], ecx
movzx ecx, word [ecx]
test cx, cx
je 0x41fad5
cmp cx, 0x7f
jbe 0x41fa10
mov edx, dword [esp + 0x40]
sub edx, eax
mov esi, edx
or esi, 0xfffffffe
and edx, 0xfffffffe
add esi, edx
inc esi
cmp esi, 2
jb 0x41fa90
movzx edx, cx
cmp edx, 0x7ff
ja 0x41fa90
mov edx, ecx
shr edx, 6
add dl, 0xc0
mov byte [eax], dl
and cl, 0x3f
or cl, 0x80
mov byte [eax + 1], cl
mov edx, 2
mov esi, dword [esp + 0x3c]
jmp 0x41fa17
xor edx, edx
cmp esi, 3
mov esi, dword [esp + 0x3c]
jb 0x41fa17
movzx edx, cx
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x34]
shr edx, 0xc
or dl, 0xe0
mov byte [eax], dl
mov edx, dword [esp + 0x34]
shr edx, 6
and dl, 0x3f
or dl, 0x80
mov byte [eax + 1], dl
and cl, 0x3f
or cl, 0x80
mov byte [eax + 2], cl
mov edx, 3
jmp 0x41fa17
mov byte [eax], 0
mov dword [esp + 0x18], 0x5e696b36
mov dword [esp + 0x1c], 0x5869685d
mov dword [esp + 0x20], 0x7b64af6b
mov word [esp + 0x24], 0xf566
mov dword [esp + 0x26], 0
mov dword [esp + 0x2a], 0
mov byte [esp + 0x2e], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x16
ja 0x41fb60
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x18]
lea edx, [eax - 0x37b87e41]
mov esi, ecx
not esi
or esi, edx
and edx, ecx
add edx, esi
neg edx
add eax, edx
add eax, 0xc84781be
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0xc7
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x17
jb 0x41fb20
lea eax, [esp + 0x18]
mov ecx, dword [ebp + 8]
push ebx
mov esi, dword [esp + 0x3c]
push esi
push eax
call fcn.00409600
mov ebx, eax
push esi
call fcn.00408ce0
add esp, 4
mov eax, dword [esp + 8]
push eax
call fcn.00408ce0
add esp, 4
push dword [esp + 0xc]
call fcn.00434930
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret