Function at 0x41bea0
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5236ab
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x616718]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], esi
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x34], esi
call fcn.004058a0
push 0xa0
mov dword [ebp - 4], 0
mov dword [esi], 0x543b84
mov dword [esi + 8], 0x543c54
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x244], 0
mov dword [esi + 0x248], 0
mov dword [esi + 0x24c], 0
mov dword [esi + 0x250], 0
mov dword [esi + 0x254], 0
mov dword [esi + 0x258], 0
call fcn.0051f6e8
add esp, 4
mov dword [esi + 0x18], eax
mov ecx, eax
push esi
call fcn.004204b0
cmp byte [0x61a8e9], 0
jne 0x41c005
mov eax, dword [esi + 0x18]
push 0
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [esi + 0x18]
push 0
mov ecx, dword [eax + 0x34]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [esi + 0x18]
push 0
mov ecx, dword [eax + 0x5c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [esi + 0x18]
push 0
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [esi + 0x18]
push 0
mov ecx, dword [eax + 0x48]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [esi + 0x18]
push 0
mov ecx, dword [eax + 0x54]
mov eax, dword [ecx]
call dword [eax + 0x2c]
push 0xffffffffffffffff
push 0
push str.File_Associations
lea eax, [ebp - 0x2c]
mov ecx, 0x5404ec
push eax
call dword [0x53d784]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call dword [0x53e384]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call dword [0x53d84c]
mov edi, dword [0x53d80c]
push 0x17
push str.KsomiscShowPdfAssociate
call edi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
call dword [0x53e818]
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
mov bl, al
call dword [0x53d84c]
test bl, bl
jne 0x41c048
mov eax, dword [esi + 0x18]
push 0
mov ecx, dword [eax + 0x78]
mov eax, dword [ecx]
call dword [eax + 0x2c]
push 0x12
push str.OfdComponentEnable
call edi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
call dword [0x53e818]
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
mov bl, al
call dword [0x53d84c]
test bl, bl
jne 0x41c088
mov eax, dword [esi + 0x18]
push 0
mov ecx, dword [eax + 0x84]
mov eax, dword [ecx]
call dword [eax + 0x2c]
lea eax, [ebp - 0x28]
push str.photo
push eax
call fcn.0045bd70
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x28]
push eax
call dword [0x53d15c]
cmp eax, 0xffffffff
jne 0x41c0c1
mov eax, dword [esi + 0x18]
push 0
mov ecx, dword [eax + 0x7c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
call fcn.0041fa90
push 0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xa4]
test eax, eax
je 0x41c0e3
mov eax, dword [esi + 0x18]
push 0
mov ecx, dword [eax + 0x7c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, esi
call fcn.004201b0
push 0
call fcn.00493a20
add esp, 4
call dword [0x53e814]
mov ecx, dword [esi + 0x18]
push 0
test al, al
je 0x41c110
mov ecx, dword [ecx + 0x80]
mov eax, dword [ecx]
call dword [eax + 0x2c]
jmp 0x41c137
push str.1onEpubCheckChanged_bool_
push esi
push str.2toggled_bool_
push dword [ecx + 0x80]
lea eax, [ebp - 0x2c]
push eax
call dword [0x53d64c]
add esp, 0x18
lea ecx, [ebp - 0x2c]
call dword [0x53d650]
call dword [0x53e7f8]
test al, al
je 0x41c15b
mov eax, dword [esi + 0x18]
push 0
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [esi + 0x18]
push 0
mov ecx, dword [eax + 0x60]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x18]
mov edi, dword [0x53e36c]
mov ecx, dword [ecx + 0x34]
call edi
movzx eax, al
mov dword [esi + 0x254], eax
test eax, eax
je 0x41c1ad
mov ecx, dword [esi + 0x18]
mov ecx, dword [ecx + 0x3c]
call edi
test al, al
je 0x41c186
xor eax, eax
jmp 0x41c1b2
mov ecx, dword [esi + 0x18]
mov ecx, dword [ecx + 0x48]
call edi
test al, al
je 0x41c199
mov eax, 1
jmp 0x41c1b2
mov ecx, dword [esi + 0x18]
mov ecx, dword [ecx + 0x54]
call edi
movzx eax, al
neg eax
sbb eax, eax
add eax, 3
jmp 0x41c1b2
mov eax, 3
mov dword [esi + 0x258], eax
xor edi, edi
lea ebx, [ebx]
mov eax, edi
sub eax, 0
je 0x41c1f3
sub eax, 1
je 0x41c1e2
sub eax, 1
jne 0x41c202
push 2
mov ecx, esi
call fcn.0041d3d0
mov dword [esi + 0x250], eax
jmp 0x41c202
push 1
mov ecx, esi
call fcn.0041d3d0
mov dword [esi + 0x24c], eax
jmp 0x41c202
push 0
mov ecx, esi
call fcn.0041d3d0
mov dword [esi + 0x248], eax
inc edi
cmp edi, 3
jl 0x41c1c0
xor edi, edi
lea ebx, [ebx]
cmp edi, 5
ja case.default.0x41c215
jmp dword [edi*4 + 0x41c2d8]
push 0
mov ecx, esi
call fcn.0041d4f0
mov dword [esi + 0x1c], eax
jmp case.default.0x41c215
push 1
mov ecx, esi
call fcn.0041d4f0
mov dword [esi + 0x24], eax
jmp case.default.0x41c215
push 2
mov ecx, esi
call fcn.0041d4f0
mov dword [esi + 0x28], eax
jmp case.default.0x41c215
push 3
mov ecx, esi
call fcn.0041d4f0
mov dword [esi + 0x20], eax
jmp case.default.0x41c215
push 4
mov ecx, esi
call fcn.0041d4f0
mov dword [esi + 0x30], eax
jmp case.default.0x41c215
push 5
mov ecx, esi
call fcn.0041d4f0
mov dword [esi + 0x34], eax
inc edi
cmp edi, 6
jl 0x41c210
mov ecx, esi
call fcn.00421b50
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41c2b7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c2ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41c2ad
call dword [0x53e610]
push edx
push ecx
call fcn.0051f6b7
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051f6a1
mov esp, ebp
pop ebp
ret 4