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

Disassembly:
cmp byte [ecx + 0x3c], 0
je 0x417f07
ret
push ebp
push ebx
push edi
push esi
sub esp, 0xa8
mov edi, ecx
mov byte [ecx + 0x3c], 1
mov esi, dword [ecx + 0x38]
mov eax, dword [esi]
mov dword [esp], esi
lea ecx, [esp + 0x54]
call dword [eax + 0xb0]
sub esp, 4
mov eax, dword [esi]
lea ecx, [esp + 0x9c]
mov dword [esp], esi
call dword [eax + 0xb4]
sub esp, 4
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x98], eax
movsd xmm0, qword [esp + 0x54]
movsd qword [esp + 0x90], xmm0
mov dword [esp + 0x28], eax
movsd qword [esp + 0x20], xmm0
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x74], eax
movsd xmm0, qword [esp + 0x9c]
movsd qword [esp + 0x6c], xmm0
lea ebp, [edi + 0x40]
lea ebx, [esp + 0x20]
lea esi, [esp + 0x2c]
mov dword [esp + 0x48], edi
jmp 0x41804b
add ebp, 4
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
movsd xmm0, qword [esp + 0x78]
movsd qword [esp + 0x10], xmm0
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xc], eax
movsd xmm0, qword [esp + 0x84]
movsd qword [esp + 4], xmm0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 0x1c], edi
mov ecx, ebp
call fcn.004181c0
sub esp, 0x20
lea eax, [esp + 0x38]
mov dword [esp], eax
mov ebp, ebx
mov ecx, ebx
call fcn.0041a270
sub esp, 4
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, edx
sub eax, ecx
sar eax, 2
imul eax, eax, 0xaaaaaaab
bsr eax, eax
xor eax, 0x1f
add eax, eax
xor eax, 0x3e
cmp edx, ecx
mov edi, 0
cmove eax, edi
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004185a0
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
lea ebx, [esp + 0x20]
mov dword [esp], ebx
call dword [eax + 0x44]
sub esp, 4
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x28], eax
jne 0x41806d
mov eax, dword [esp + 0x20]
xor eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x24]
xor ecx, dword [esp + 0x70]
or ecx, eax
je 0x4181ac
mov ecx, dword [edi + 0x38]
mov dword [esp], ebx
call fcn.0054a798
sub esp, 4
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
mov dword [esp], eax
mov ebx, ebp
mov ecx, ebp
call fcn.0041a270
sub esp, 4
mov ebp, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov edx, dword [eax]
movsd xmm0, qword [esp + 0x2c]
movsd qword [esp + 4], xmm0
mov dword [esp], eax
lea ecx, [esp + 0x3c]
call dword [edx + 0x88]
sub esp, 0xc
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov edx, dword [eax]
movsd xmm0, qword [esp + 0x2c]
movsd qword [esp + 4], xmm0
mov dword [esp], eax
lea edi, [esp + 0x60]
mov ecx, edi
call dword [edx + 0x8c]
sub esp, 0xc
mov eax, dword [esp + 0x44]
mov dword [esp + 0x5c], eax
movsd xmm0, qword [esp + 0x3c]
movsd qword [esp + 0x54], xmm0
mov ecx, dword [ebp + 8]
mov dword [esp + 0x34], eax
movsd qword [esp + 0x2c], xmm0
mov eax, dword [edi + 8]
mov dword [esp + 0x44], eax
movsd xmm0, qword [edi]
movsd qword [esp + 0x3c], xmm0
mov dword [esp + 0x50], ecx
movsd xmm0, qword [esp + 0x54]
movsd qword [esp + 0x84], xmm0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x8c], eax
movsd xmm0, qword [edi]
movsd qword [esp + 0x78], xmm0
mov eax, dword [edi + 8]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x2c]
xor eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
xor ecx, dword [esp + 0x40]
xor edi, edi
or ecx, eax
je 0x417fa0
nop dword [eax + eax]
inc edi
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov dword [esp], esi
call dword [eax + 0x94]
sub esp, 4
mov eax, dword [esp + 0x2c]
xor eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
xor ecx, dword [esp + 0x40]
or ecx, eax
jne 0x418180
jmp 0x417fa0
add esp, 0xa8
pop esi
pop edi
pop ebx
pop ebp
ret