Function at 0x49a2b0
Capabilities:
Check os version

Disassembly:
sub esp, 0x2b4
mov eax, dword [0x5bd254]
xor eax, esp
mov dword [esp + 0x2b0], eax
mov eax, dword [esp + 0x2b8]
push ebx
push ebp
push edi
xor ebx, ebx
lea ebp, [esi + 0x108]
push ebp
mov dword [esp + 0x10], eax
mov edi, 0x580cbb
mov dword [esi + 0x430], ebx
mov dword [esi + 0x434], ebx
mov dword [esi + 0x440], ebx
call sym.convertifd.exe_GetCurrentPath
mov eax, dword [0x6a2684]
add esp, 4
cmp eax, 0x2680
jne 0x49a32f
mov dword [esi], str.OpenCopyFile
mov dword [esi + 0x430], 0xfffff2b8
mov dword [esi + 0x434], 0xfffff284
mov dword [esi + 0x440], 1
jmp 0x49a7ac
cmp eax, 0x24ce
jne 0x49a35a
mov dword [esi], 0x583164
mov edi, 0x580cbb
mov dword [esi + 0x430], 0xfffff2aa
mov dword [esi + 0x434], 0xfffff27f
jmp 0x49a7ac
cmp eax, 0x26e6
jne 0x49a385
mov dword [esi], str.OpenSchemaFile
mov edi, str..SDF
mov dword [esi + 0x430], 0xfffff2b7
mov dword [esi + 0x434], 0xfffff285
jmp 0x49a780
cmp eax, 0x200e
jne 0x49a3b0
mov dword [esi], str.OpenHPProjectFile
mov edi, str..CPJ
mov dword [esi + 0x430], 0xfffff2a1
mov dword [esi + 0x434], 0xfffff278
jmp 0x49a780
mov eax, dword [sym.convertifd.exe_i_control]
cmp eax, 0x2708
jne 0x49a42f
push 0x7d3
push 2
mov dword [esi], 0x582f5c
call sym.convertifd.exe_IpModeDisableFeatureSet
add esp, 8
test dword [0x6a2a48], eax
je 0x49a3e0
mov edi, str..GIF
jmp 0x49a403
push 0x3f3
push 2
call sym.convertifd.exe_IpModeDisableFeatureSet
xor ecx, ecx
add esp, 8
cmp dword [0x6a2a48], ebx
sete cl
test ecx, eax
je 0x49a403
mov edi, str..TIF
push 0x7d4
push 2
call sym.convertifd.exe_IpModeDisableFeatureSet
and eax, dword [0x6a2a48]
add esp, 8
neg eax
sbb eax, eax
and eax, 0xffffffed
add eax, 0xfffff2b6
mov dword [esi + 0x430], eax
jmp 0x49a772
cmp eax, 0x269c
jne 0x49a45a
mov dword [esi], 0x583110
mov edi, str..TPL
mov dword [esi + 0x430], 0xfffff2b5
mov dword [esi + 0x434], 0xfffff283
jmp 0x49a780
cmp eax, 0x26e2
je 0x49a73e
cmp eax, 0x2686
je 0x49a73e
cmp eax, 0x1e21
jne 0x49a49b
mov dword [esi], str.OpenMdfFile
mov edi, str..JTP
mov dword [esi + 0x430], 0xfffff2b3
mov dword [esi + 0x440], 1
jmp 0x49a780
cmp eax, 0x1e0b
jne 0x49a4ed
lea edx, [esp + 0x14]
push edx
mov dword [esi], str.OpenMdfFile
mov dword [esp + 0x18], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, 1
cmp dword [esp + 0x24], eax
jne 0x49a4d3
cmp dword [esp + 0x1c], 0xa
jae 0x49a4d3
mov dword [esi], str.OpenMdfFile95
mov edi, str..JTP
mov dword [esi + 0x430], 0xfffff2b3
mov dword [esi + 0x440], eax
jmp 0x49a780
cmp eax, 0x1e45
je 0x49a477
cmp eax, 0x2500
jne 0x49a51f
mov dword [esi], str.OpenFormSetFile
mov edi, str..FST
mov dword [esi + 0x430], 0xfffff2b2
mov dword [esi + 0x440], 1
jmp 0x49a780
cmp eax, 0x2674
jne 0x49a5e7
push 0x6a251c
lea eax, [esp + 0xac]
push str.._s
push eax
mov dword [esi], 0x5830c0
call fcn.005135ca
push 0x88
lea ecx, [esp + 0x24]
push ebx
push ecx
mov edi, 0x580cbb
call fcn.00511e90
add esp, 0x18
push 0x104
lea edx, [esp + 0xb8]
push edx
push edi
push 0x581a4c
push 0x5830b8
call sym.convertifd.exe_GetJetFormIniStr
lea eax, [esp + 0xb4]
push sym.convertifd.exe_i_ifd
push eax
call sym.convertifd.exe_ReplacePathKeywords
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0x1c4]
push str._sWinRdi.EXE
push edx
call fcn.005135ca
add esp, 0x14
push 0x4000
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x1c0]
push ecx
call dword [sym.imp.KERNEL32.dll_OpenFile]
sub eax, 0xffffffff
neg eax
sbb eax, eax
and eax, 0xffffffec
add eax, 0xfffff2b1
mov dword [esi + 0x430], eax
mov dword [esi + 0x440], 1
jmp 0x49a7ac
cmp eax, 0x2645
jne 0x49a612
mov dword [esi], 0x58309c
mov edi, 0x583094
mov dword [esi + 0x430], 0xfffff29f
mov dword [esi + 0x440], 1
jmp 0x49a780
cmp eax, 0x250b
je 0x49a71d
cmp eax, 0x250a
je 0x49a71d
cmp eax, 0x2510
je 0x49a71d
cmp eax, 0x24c9
jne 0x49a65e
mov dword [esi], str.CirculationList
mov edi, str..CLS
mov dword [esi + 0x430], 0xfffff2ab
mov dword [esi + 0x434], 0xfffff281
jmp 0x49a780
cmp eax, 0x1e60
jne 0x49a689
mov dword [esi], str.Attachments
mov edi, 0x581f14
mov dword [esi + 0x430], 0xfffff2a9
mov dword [esi + 0x434], 0xfffff27d
jmp 0x49a780
cmp eax, 0x24f8
jne 0x49a6a0
mov dword [esi], str.SelectMdfFile
mov edi, str..MDF
jmp 0x49a482
cmp eax, 0x2334
jne 0x49a6d1
mov dword [esi], str.OpenMenuFile
mov edi, str..JMU
mov dword [esi + 0x430], 0xfffff2a8
mov dword [0x606c84], ebx
mov dword [esi + 0x440], 1
jmp 0x49a780
cmp eax, 0x48f
jne 0x49a6fc
mov dword [esi], str.OpenDocvarFile
mov edi, str..JCP
mov dword [esi + 0x430], 0xfffff2a2
mov dword [esi + 0x434], 0xfffff27a
jmp 0x49a780
mov dword [esi], 0x58301c
mov edi, str..TXT
mov dword [esi + 0x430], 0xfffff2b8
mov dword [esi + 0x434], 0xfffff286
jmp 0x49a780
mov dword [esi], str.OpenSAFFile
mov edi, str..SAF
mov dword [esi + 0x430], 0xfffff2b0
mov dword [esi + 0x440], 1
jmp 0x49a780
cmp dword [0x6a2918], ebx
je 0x49a75d
mov dword [esi], 0x581f20
mov edi, 0x582ff8
mov dword [esi + 0x430], 0xfffff2b4
jmp 0x49a772
mov dword [esi], str.OpenMdfFile
mov edi, str..MDF
mov dword [esi + 0x430], 0xfffff2b3
mov dword [esi + 0x440], 1
cmp byte [edi], bl
je 0x49a7ac
push edi
push ebp
push 0x581974
push ebp
call fcn.005135ca
lea edx, [esi + 0x414]
add esp, 0x10
mov eax, edi
sub edx, edi
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x49a7a0
mov edx, dword [esi]
lea ebx, [esi + 0x310]
push ebx
push 0x580cbb
push sym.convertifd.exe_i_ifd
push edx
call sym.convertifd.exe_GetAndProcessFileDirectory
mov eax, ebx
add esp, 0x10
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x49a7d0
sub eax, edx
je 0x49a828
lea ebp, [esi + 0x414]
push ebp
lea eax, [esi + 0x20c]
push eax
push ebx
call sym.convertifd.exe_getPathInfo
add esp, 0xc
cmp byte [edi], 0
je 0x49a80c
mov edx, ebp
mov eax, edi
sub edx, edi
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x49a800
cmp dword [sym.convertifd.exe_i_control], 0x1e60
jne 0x49a8cc
mov dword [ebp], 0x2a2e2a
jmp 0x49a8cc
mov eax, dword [sym.convertifd.exe_i_control]
cmp eax, 0x1e45
je 0x49a842
cmp eax, 0x1e21
je 0x49a842
cmp eax, 0x1e0b
jne 0x49a898
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x49a850
sub eax, edx
je 0x49a898
mov ecx, dword [esp + 0xc]
lea ebx, [esi + 0x20c]
push ebx
push ecx
call sym.convertifd.exe_UtGetPath
mov eax, ebx
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x49a876
sub eax, edx
test eax, eax
jle 0x49a8ae
cmp byte [esi + eax + 0x20b], 0x5c
jne 0x49a8ae
mov byte [esi + eax + 0x20b], cl
jmp 0x49a8ae
lea edx, [esi + 0x20c]
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x49a8a2
lea ebp, [esi + 0x414]
mov edx, ebp
mov eax, edi
sub edx, edi
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x49a8c0
lea edx, [esi + 0x421]
pop edi
mov eax, ebp
sub edx, ebp
pop ebp
pop ebx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x49a8e0
mov ecx, dword [esp + 0x2b0]
xor ecx, esp
mov dword [esi + 0x43c], 0
mov eax, 1
call fcn.00511a80
add esp, 0x2b4
ret