Function at 0x40feae
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98c
push edi
mov dword [ebp - 0x284], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x28c], 1
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2b4], 0
mov eax, dword [str.____FLEXlm_v9.2.0__lmgr.lib___Copyright__c__1988_2003_by_Macrovision_Corporation._All_rights_reserved.]
movsx ecx, byte [eax]
mov dword [ebp - 0x2a0], ecx
mov dword [ebp - 0x288], 0
cmp dword [ebp + 8], 0
je 0x40ff91
push 0x1d
mov edx, dword [ebp + 8]
push edx
call fcn.00421740
add esp, 8
cmp eax, 0x9969
je 0x40ff91
mov eax, dword [ebp + 8]
cmp dword [eax], 0x67
je 0x40ff91
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0
je 0x40ff53
xor edx, edx
test edx, edx
je 0x40ff53
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x960], ecx
jmp 0x40ff5d
mov dword [ebp - 0x960], 0xffffffd3
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x960]
mov dword [edx + 0x14], eax
push 0
push 0xff
push 0
push 0
push 0xb2
push 0xffffffffffffffd3
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404a80
add esp, 0x1c
mov eax, 0xffffffd3
jmp 0x411429
cmp dword [ebp + 8], 0
je 0x40ffc6
mov edx, dword [ebp + 8]
cmp dword [edx + 0x6c], 0
je 0x40ffc6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6c]
movsx edx, word [ecx + 0xf44]
mov dword [ebp - 0x2a4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6c]
movsx edx, word [ecx + 0xf46]
mov dword [ebp - 0x28c], edx
cmp dword [0x471c88], 0
je 0x410034
call fcn.00431140
mov dword [0x484750], eax
cmp dword [0x484750], 0x40
jle 0x40ffec
mov dword [0x484750], 0x3f
mov dword [0x484748], 0x20
mov eax, dword [0x484750]
cdq
idiv dword [0x484748]
mov dword [0x48474c], eax
mov eax, dword [0x48474c]
imul eax, dword [0x484748]
cmp eax, dword [0x484750]
jge 0x41002a
mov ecx, dword [0x48474c]
add ecx, 1
mov dword [0x48474c], ecx
mov dword [0x471c88], 0
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], 0
push 1
push 0x598
call dword [sym.imp.MSVCRT.dll_calloc]
add esp, 8
mov dword [ebp - 0x294], eax
push 1
push 0x50
call dword [sym.imp.MSVCRT.dll_calloc]
add esp, 8
mov dword [ebp - 0x29c], eax
push 1
push 0xf78
call dword [sym.imp.MSVCRT.dll_calloc]
add esp, 8
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x2a0], 0
jmp 0x41009a
mov edx, dword [ebp - 0x2a0]
add edx, 1
mov dword [ebp - 0x2a0], edx
cmp dword [ebp - 0x2a0], 5
jge 0x4100fe
push 1
push 0x9c
call dword [sym.imp.MSVCRT.dll_calloc]
add esp, 8
mov dword [ebp - 0x2b0], eax
cmp dword [ebp - 0x2b0], 0
jne 0x4100c4
jmp 0x4100fe
cmp dword [ebp - 0x2a8], 0
jne 0x4100d9
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x2b4], 0
je 0x4100f0
mov ecx, dword [ebp - 0x2b4]
mov edx, dword [ebp - 0x2b0]
mov dword [ecx], edx
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x2b4], eax
jmp 0x41008b
cmp dword [ebp - 0x29c], 0
je 0x410128
cmp dword [ebp - 0x294], 0
je 0x410128
cmp dword [ebp - 0x2ac], 0
je 0x410128
cmp dword [ebp - 0x2b0], 0
je 0x410128
cmp dword [ebp + 0x14], 0
jne 0x410157
cmp dword [ebp + 0x14], 0
jne 0x410138
mov eax, 0xffffffd6
jmp 0x411429
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0x4846c0
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov dword [eax + 0x14], 0xffffffd8
mov eax, 0xffffffd8
jmp 0x411429
cmp dword [ebp + 0x14], 0
je 0x410168
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x294]
mov dword [ecx], edx
push 0x471cf4
mov eax, dword [ebp - 0x294]
push eax
call fcn.00417b05
add esp, 8
test eax, eax
je 0x4101ee
cmp dword [0x484a08], 0
jne 0x4101ee
mov byte [ebp - 0x6b4], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x6b3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call sub.MSVCRT.dll__getpid
push eax
call sub.MSVCRT.dll_abs
add esp, 4
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push str.flex_i.log
lea edx, [ebp - 0x6b4]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push 0x471d14
lea eax, [ebp - 0x6b4]
push eax
mov ecx, dword [ebp - 0x294]
push ecx
call fcn.00430540
add esp, 0xc
mov dword [0x484a08], eax
mov dword [ebp - 0x748], 0x94
lea edx, [ebp - 0x748]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x738], 1
jne 0x410218
mov dword [0x4884a4], 1
mov eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x2a8]
mov dword [eax + 0x328], ecx
mov edx, dword [ebp - 0x294]
mov dword [edx], 0x66
mov eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x29c]
mov dword [eax + 0x68], ecx
push 0xa
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x294]
add eax, 0x30c
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov ecx, dword [ebp - 0x294]
mov edx, dword [ebp - 0x2ac]
mov dword [ecx + 0x6c], edx
mov eax, dword [ebp - 0x294]
mov dword [eax + 0x80], 0
push 0x94
mov ecx, dword [ebp - 0x294]
push ecx
call fcn.0041ab90
add esp, 8
mov edx, dword [ebp - 0x294]
mov dword [edx + 0x3c8], eax
push 0x94
mov eax, dword [ebp - 0x294]
push eax
call fcn.0041ab90
add esp, 8
mov ecx, dword [ebp - 0x294]
mov dword [ecx + 0x3cc], eax
mov edx, dword [ebp - 0x294]
mov eax, dword [edx + 0x3f8]
push eax
mov ecx, dword [ebp - 0x294]
push ecx
call fcn.0042eea0
add esp, 8
mov edx, dword [ebp - 0x294]
mov dword [edx + 0x3f8], eax
mov eax, dword [ebp - 0x29c]
mov word [eax], 0x65
mov ecx, dword [ebp - 0x29c]
mov dword [ecx + 8], 1
mov edx, dword [ebp - 0x29c]
mov dword [edx + 0xc], 0xffffffff
mov eax, dword [ebp - 0x29c]
mov dword [eax + 0x34], 1
mov ecx, dword [ebp - 0x29c]
mov dword [ecx + 0x38], 3
mov edx, dword [ebp - 0x29c]
mov dword [edx + 0x44], 0xa8c
mov eax, dword [ebp - 0x29c]
mov dword [eax + 0x48], 0x1c20
mov ecx, dword [ebp - 0x2ac]
mov dword [ecx + 0x14], 0x4d2
mov edx, dword [ebp - 0x2ac]
mov dword [edx + 0xc], 0x78
mov eax, dword [ebp - 0x2ac]
mov dword [eax + 0x10], 0x3c
mov ecx, dword [ebp - 0x2ac]
mov dword [ecx + 0x18], 5
mov edx, dword [ebp - 0x2ac]
mov dword [edx + 0x1c], 0xa
mov eax, dword [ebp - 0x2ac]
mov word [eax + 0x20], 1
mov ecx, dword [ebp - 0x2ac]
mov dword [ecx + 0xc8c], 0xffffffff
mov edx, dword [ebp - 0x2ac]
mov dword [edx + 0xf38], 1
mov eax, dword [ebp - 0x2ac]
mov dword [eax + 0xc98], 0
mov ecx, dword [ebp - 0x2ac]
mov dword [ecx + 0xc9c], 0
mov edx, dword [ebp - 0x2ac]
mov ax, word [ebp - 0x2a4]
mov word [edx + 0xf44], ax
mov ecx, dword [ebp - 0x2ac]
mov dx, word [ebp - 0x28c]
mov word [ecx + 0xf46], dx
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [eax + 0xf54]
or ecx, 2
mov edx, dword [ebp - 0x2ac]
mov dword [edx + 0xf54], ecx
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [eax + 0xf54]
or ecx, 4
mov edx, dword [ebp - 0x2ac]
mov dword [edx + 0xf54], ecx
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [eax + 0xf54]
or ch, 4
mov edx, dword [ebp - 0x2ac]
mov dword [edx + 0xf54], ecx
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [eax + 0xf54]
or ch, 0x20
mov edx, dword [ebp - 0x2ac]
mov dword [edx + 0xf54], ecx
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [eax + 0xf54]
or ecx, 0x10
mov edx, dword [ebp - 0x2ac]
mov dword [edx + 0xf54], ecx
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [eax + 0xf54]
or ecx, 0x10000
mov edx, dword [ebp - 0x2ac]
mov dword [edx + 0xf54], ecx
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [eax + 0xf54]
or ecx, 0x20000
mov edx, dword [ebp - 0x2ac]
mov dword [edx + 0xf54], ecx
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [eax + 0xf54]
or ecx, 0x80000
mov edx, dword [ebp - 0x2ac]
mov dword [edx + 0xf54], ecx
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [eax + 0xf54]
or ecx, 0x80000000
mov edx, dword [ebp - 0x2ac]
mov dword [edx + 0xf54], ecx
mov eax, dword [ebp - 0x294]
mov ecx, dword [eax + 0x6c]
mov edx, dword [ecx + 0xf54]
and dh, 0xf7
mov eax, dword [ebp - 0x294]
mov ecx, dword [eax + 0x6c]
mov dword [ecx + 0xf54], edx
mov edx, dword [ebp - 0x294]
mov eax, dword [edx + 0x6c]
mov dword [eax + 0xf58], 0x66d8b337
push 0x471d18
mov ecx, dword [ebp - 0x2ac]
add ecx, 0xf61
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x471d20
mov edx, dword [ebp - 0x2ac]
add edx, 0xf5c
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x27c
push 0
mov eax, dword [ebp - 0x2ac]
add eax, 0xcbc
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x2ac]
mov dword [ecx + 0xf3c], 1
mov dword [ebp - 0x8dc], 0
push str.FLEXLM_COMM_TRANSPORT
mov edx, dword [ebp - 0x294]
push edx
call fcn.00417b05
add esp, 8
mov dword [ebp - 0x8dc], eax
cmp dword [ebp - 0x8dc], 0
je 0x4106df
mov eax, dword [ebp - 0x8dc]
push eax
push 0x471d40
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x410618
mov ecx, dword [ebp - 0x8dc]
push ecx
push str.LM_UDP
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x410618
mov edx, dword [ebp - 0x8dc]
push edx
push 0x471d4c
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x410618
mov eax, dword [ebp - 0x8dc]
push eax
push 0x471d50
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x41063d
mov ecx, dword [ebp - 0x2ac]
mov dword [ecx + 0xf40], 1
mov edx, dword [ebp - 0x2ac]
mov dword [edx + 0xf38], 2
jmp 0x4106df
mov eax, dword [ebp - 0x8dc]
push eax
push 0x471d54
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x41066d
mov ecx, dword [ebp - 0x8dc]
push ecx
push str.LM_TCP
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x41068f
mov edx, dword [ebp - 0x2ac]
mov dword [edx + 0xf40], 1
mov eax, dword [ebp - 0x2ac]
mov dword [eax + 0xf38], 1
jmp 0x4106df
mov ecx, dword [ebp - 0x8dc]
push ecx
push 0x471d60
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x4106bf
mov edx, dword [ebp - 0x8dc]
push edx
push 0x471d64
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x4106df
mov eax, dword [ebp - 0x2ac]
mov dword [eax + 0xf40], 1
mov ecx, dword [ebp - 0x2ac]
mov dword [ecx + 0xf38], 6
mov dword [ebp - 0x8e4], 0x15180
lea edx, [ebp - 0x8e4]
push edx
call dword [sym.imp.MSVCRT.dll_localtime]
add esp, 4
mov dword [ebp - 0x8e8], eax
mov eax, dword [ebp - 0x8e8]
mov ecx, dword [eax + 0x14]
sub ecx, 0x46
imul ecx, ecx, 0x2238
mov edx, dword [ebp - 0x8e8]
mov eax, dword [edx + 0x1c]
imul eax, eax, 0x18
add ecx, eax
mov edx, dword [ebp - 0x8e8]
add ecx, dword [edx + 8]
mov dword [ebp - 0x8e0], ecx
cmp dword [ebp - 0x8e0], 0x32
jg 0x410740
cmp dword [ebp - 0x8e0], 0
jge 0x4107a7
mov eax, dword [ebp - 0x294]
cmp dword [eax + 0x14], 0
je 0x410763
xor ecx, ecx
test ecx, ecx
je 0x410763
mov edx, dword [ebp - 0x294]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x964], eax
jmp 0x41076d
mov dword [ebp - 0x964], 0xffffffb9
mov ecx, dword [ebp - 0x294]
mov edx, dword [ebp - 0x964]
mov dword [ecx + 0x14], edx
push 0
push 0xff
push 0
push 0
push 0xb6
push 0xffffffffffffffb9
mov eax, dword [ebp - 0x294]
push eax
call fcn.00404a80
add esp, 0x1c
mov eax, 0xffffffb9
jmp 0x411429
cmp dword [ebp + 0x10], 0
je 0x410c0f
mov ecx, dword [ebp + 0x10]
movsx edx, word [ecx]
cmp edx, 1
jne 0x410842
push 0xc
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x90
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x294]
cmp dword [edx + 0x14], 0
je 0x4107fe
xor eax, eax
test eax, eax
je 0x4107fe
mov ecx, dword [ebp - 0x294]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x968], edx
jmp 0x410808
mov dword [ebp - 0x968], 0xffffffd5
mov eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x968]
mov dword [eax + 0x14], ecx
push 0
push 0xff
push 0
push 0
push 0xb7
push 0xffffffffffffffd5
mov edx, dword [ebp - 0x294]
push edx
call fcn.00404a80
add esp, 0x1c
mov eax, 0xffffffd5
jmp 0x411429
mov eax, dword [ebp + 0x10]
movsx ecx, word [eax]
cmp ecx, 2
je 0x410858
mov edx, dword [ebp + 0x10]
movsx eax, word [edx]
cmp eax, 3
jne 0x4108bf
mov ecx, dword [ebp - 0x294]
cmp dword [ecx + 0x14], 0
je 0x41087b
xor edx, edx
test edx, edx
je 0x41087b
mov eax, dword [ebp - 0x294]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x96c], ecx
jmp 0x410885
mov dword [ebp - 0x96c], 0xffffffb8
mov edx, dword [ebp - 0x294]
mov eax, dword [ebp - 0x96c]
mov dword [edx + 0x14], eax
push 0
push 0xff
push 0
push 0
push 0xb8
push 0xffffffffffffffb8
mov ecx, dword [ebp - 0x294]
push ecx
call fcn.00404a80
add esp, 0x1c
mov eax, 0xffffffb8
jmp 0x411429
mov edx, dword [ebp + 0x10]
movsx eax, word [edx]
cmp eax, 4
jne 0x410ba6
mov word [ebp - 0x8ec], 0
mov word [ebp - 0x8f0], 0
lea ecx, [ebp - 0x8ec]
push ecx
push 0x20
mov edx, dword [ebp - 0x294]
push edx
call fcn.0042fa6e
add esp, 0xc
lea eax, [ebp - 0x8f0]
push eax
push 0x21
mov ecx, dword [ebp - 0x294]
push ecx
call fcn.0042fa6e
add esp, 0xc
mov edx, dword [ebp + 0x10]
movsx eax, word [edx + 0x1c]
movsx ecx, word [ebp - 0x8ec]
cmp eax, ecx
jne 0x410934
mov edx, dword [ebp + 0x10]
movsx eax, word [edx + 0x1e]
movsx ecx, word [ebp - 0x8f0]
cmp eax, ecx
je 0x410991
mov edx, dword [ebp - 0x294]
cmp dword [edx + 0x14], 0
je 0x410957
xor eax, eax
test eax, eax
je 0x410957
mov ecx, dword [ebp - 0x294]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x970], edx
jmp 0x410961
mov dword [ebp - 0x970], 0xffffffbe
mov eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x970]
mov dword [eax + 0x14], ecx
push 0
push 0xff
push 0
push 0
push 0xeb
push 0xffffffffffffffbe
mov edx, dword [ebp - 0x294]
push edx
call fcn.00404a80
add esp, 0x1c
push 0x27c
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x90
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0xc], 0
jne 0x410a31
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x10], 0
jne 0x410a31
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x14], 0
jne 0x410a31
mov edx, dword [ebp - 0x294]
cmp dword [edx + 0x14], 0
je 0x4109ed
xor eax, eax
test eax, eax
je 0x4109ed
mov ecx, dword [ebp - 0x294]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x974], edx
jmp 0x4109f7
mov dword [ebp - 0x974], 0xffffffd4
mov eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x974]
mov dword [eax + 0x14], ecx
push 0
push 0xff
push 0
push 0
push 0x21f
push 0xffffffffffffffd4
mov edx, dword [ebp - 0x294]
push edx
call fcn.00404a80
add esp, 0x1c
mov eax, 0xffffffd4
jmp 0x411429
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x294]
push edx
call fcn.004217ba
add esp, 0xc
mov dword [ebp - 0x298], eax
cmp dword [ebp - 0x298], 0
je 0x410a62
mov eax, dword [ebp - 0x298]
jmp 0x411429
mov eax, dword [ebp - 0x294]
mov ecx, dword [eax + 0x6c]
mov edx, dword [ecx + 0xf54]
and edx, 0x8000
test edx, edx
jne 0x410b8e
mov eax, dword [ebp - 0x294]
add eax, 0x30c
test eax, eax
je 0x410ab9
mov ecx, 0x471d68
test ecx, ecx
je 0x410ab9
push 0x471d70
mov edx, dword [ebp - 0x294]
add edx, 0x30c
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x410b8e
push 0xe
mov eax, dword [ebp - 0x294]
push eax
call fcn.00421740
add esp, 8
cmp eax, 0xdead
je 0x410b8e
push 0x27c
mov ecx, dword [ebp - 0x294]
add ecx, 0x90
push ecx
lea edx, [ebp - 0x280]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x280]
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x30c
push ecx
mov edx, dword [ebp - 0x294]
push edx
call fcn.004089fb
add esp, 0xc
cmp dword [ebp - 0x27c], 0x87654321
je 0x410b31
cmp dword [ebp - 0x278], 0x12345678
jne 0x410b8e
mov eax, dword [ebp - 0x294]
cmp dword [eax + 0x14], 0
je 0x410b54
xor ecx, ecx
test ecx, ecx
je 0x410b54
mov edx, dword [ebp - 0x294]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x978], eax
jmp 0x410b5e
mov dword [ebp - 0x978], 0xffffffa5
mov ecx, dword [ebp - 0x294]
mov edx, dword [ebp - 0x978]
mov dword [ecx + 0x14], edx
push 0
push 0xff
push 0
push 0
push 0x13e
push 0xffffffffffffffa5
mov eax, dword [ebp - 0x294]
push eax
call fcn.00404a80
add esp, 0x1c
push 0x27c
push 0
lea ecx, [ebp - 0x280]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
jmp 0x410c0d
mov edx, dword [ebp - 0x294]
cmp dword [edx + 0x14], 0
je 0x410bc9
xor eax, eax
test eax, eax
je 0x410bc9
mov ecx, dword [ebp - 0x294]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x97c], edx
jmp 0x410bd3
mov dword [ebp - 0x97c], 0xffffffbf
mov eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x97c]
mov dword [eax + 0x14], ecx
push 0
push 0xff
push 0
push 0
push 0xba
push 0xffffffffffffffbf
mov edx, dword [ebp - 0x294]
push edx
call fcn.00404a80
add esp, 0x1c
mov eax, 0xffffffbf
jmp 0x411429
jmp 0x410c6c
mov eax, dword [ebp - 0x294]
cmp dword [eax + 0x14], 0
je 0x410c32
xor ecx, ecx
test ecx, ecx
je 0x410c32
mov edx, dword [ebp - 0x294]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x980], eax
jmp 0x410c3c
mov dword [ebp - 0x980], 0xffffffd5
mov ecx, dword [ebp - 0x294]
mov edx, dword [ebp - 0x980]
mov dword [ecx + 0x14], edx
push 0
push 0xff
push 0
push 0
push 0xbb
push 0xffffffffffffffd5
mov eax, dword [ebp - 0x294]
push eax
call fcn.00404a80
add esp, 0x1c
mov ecx, dword [ebp - 0x294]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x284], edx
mov eax, dword [ebp - 0x294]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x294]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x284], 0xffffffce
je 0x410cec
cmp dword [ebp - 0x284], 0xffffffd0
je 0x410cec
cmp dword [ebp - 0x284], 0xffffffd4
je 0x410cec
cmp dword [ebp - 0x284], 0xffffffd5
je 0x410cec
push 0x16
mov ecx, dword [ebp - 0x294]
push ecx
call fcn.00421740
add esp, 8
cmp eax, 0x1204
je 0x410cec
mov edx, dword [ebp - 0x2ac]
mov dword [edx + 0xc], 0xffffffff
mov eax, dword [ebp - 0x2ac]
mov dword [eax + 0x10], 0xffffffff
mov ecx, dword [ebp + 0x10]
add ecx, 0x22
push ecx
push 0x41
mov edx, dword [ebp - 0x294]
push edx
call fcn.0040d18e
add esp, 0xc
mov dword [ebp - 0x8f4], 0
cmp dword [0x484744], 0
je 0x410d24
cmp dword [0x484740], 0
je 0x410db2
cmp dword [0x484744], 0
je 0x410d3b
mov eax, dword [0x484744]
push eax
call fcn.0041ac76
add esp, 4
mov dword [0x484744], 0
push 0x471d78
mov ecx, dword [ebp - 0x294]
push ecx
call fcn.00417b05
add esp, 8
mov dword [ebp - 0x8f4], eax
cmp dword [ebp - 0x8f4], 0
je 0x410db2
mov edx, dword [ebp - 0x8f4]
movsx eax, byte [edx]
test eax, eax
je 0x410db2
mov ecx, dword [ebp - 0x8f4]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
add eax, 1
push eax
mov edx, dword [ebp - 0x294]
push edx
call fcn.0041ab90
add esp, 8
mov dword [0x484744], eax
mov eax, dword [ebp - 0x8f4]
push eax
mov ecx, dword [0x484744]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
cmp dword [0x484754], 0
je 0x410dc8
cmp dword [0x484740], 0
je 0x410e56
cmp dword [0x484754], 0
je 0x410de0
mov edx, dword [0x484754]
push edx
call fcn.0041ac76
add esp, 4
mov dword [0x484754], 0
push str.FLEXLM_BATCH
mov eax, dword [ebp - 0x294]
push eax
call fcn.00417b05
add esp, 8
mov dword [ebp - 0x8f4], eax
cmp dword [ebp - 0x8f4], 0
je 0x410e56
mov ecx, dword [ebp - 0x8f4]
movsx edx, byte [ecx]
test edx, edx
je 0x410e56
mov eax, dword [ebp - 0x8f4]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp - 0x294]
push ecx
call fcn.0041ab90
add esp, 8
mov dword [0x484754], eax
mov edx, dword [ebp - 0x8f4]
push edx
mov eax, dword [0x484754]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
cmp dword [0x484758], 0
je 0x410e6c
cmp dword [0x484740], 0
je 0x410f05
cmp dword [0x484758], 0
je 0x410e8e
mov ecx, dword [0x484758]
push ecx
call fcn.0041ac76
add esp, 4
mov dword [0x484758], 0
mov dword [0x484758], 0
push str.FLEXLM_NO_CKOUT_INSTALL_LIC
mov edx, dword [ebp - 0x294]
push edx
call fcn.00417b05
add esp, 8
mov dword [ebp - 0x8f4], eax
cmp dword [ebp - 0x8f4], 0
je 0x410f05
mov eax, dword [ebp - 0x8f4]
movsx ecx, byte [eax]
test ecx, ecx
je 0x410f05
mov edx, dword [ebp - 0x8f4]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
add eax, 1
push eax
mov eax, dword [ebp - 0x294]
push eax
call fcn.0041ab90
add esp, 8
mov dword [0x484758], eax
mov ecx, dword [ebp - 0x8f4]
push ecx
mov edx, dword [0x484758]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
cmp dword [0x484754], 0
je 0x410f47
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [eax + 0xf54]
and ch, 0xdf
mov edx, dword [ebp - 0x2ac]
mov dword [edx + 0xf54], ecx
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [eax + 0xf54]
and ecx, 0xfffdffff
mov edx, dword [ebp - 0x2ac]
mov dword [edx + 0xf54], ecx
cmp dword [0x484758], 0
je 0x410f6e
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [eax + 0xf54]
and ecx, 0xfffeffff
mov edx, dword [ebp - 0x2ac]
mov dword [edx + 0xf54], ecx
cmp dword [0x484744], 0
je 0x4111a8
mov dword [ebp - 0x8f8], 0
mov dword [ebp - 0x904], 0
mov dword [ebp - 0x908], 0
mov dword [ebp - 0x958], 0
mov dword [ebp - 0x900], 0
mov dword [ebp - 0x954], 0
mov eax, dword [0x484744]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp - 0x294]
push ecx
call fcn.0041ab90
add esp, 8
mov dword [ebp - 0x8f8], eax
mov edx, dword [0x484744]
push edx
mov eax, dword [ebp - 0x8f8]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
mov ecx, dword [ebp - 0x8f8]
mov dword [ebp - 0x904], ecx
push 0x3a
mov edx, dword [ebp - 0x904]
push edx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
mov dword [ebp - 0x958], eax
cmp dword [ebp - 0x958], 0
jne 0x411026
jmp 0x411199
mov eax, dword [ebp - 0x958]
mov byte [eax], 0
mov ecx, dword [ebp - 0x958]
add ecx, 1
mov dword [ebp - 0x958], ecx
mov edx, dword [ebp - 0x904]
push edx
mov eax, dword [ebp - 0x294]
push eax
call fcn.0041388d
add esp, 8
mov dword [ebp - 0x954], eax
lea ecx, [ebp - 0x954]
push ecx
call dword [sym.imp.MSVCRT.dll_localtime]
add esp, 4
mov dword [ebp - 0x8fc], eax
push 0x24
mov edx, dword [ebp - 0x8fc]
push edx
lea eax, [ebp - 0x950]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov dword [ebp - 0x900], eax
lea ecx, [ebp - 0x900]
push ecx
call dword [sym.imp.MSVCRT.dll_localtime]
add esp, 4
mov dword [ebp - 0x8fc], eax
push 0x24
mov edx, dword [ebp - 0x8fc]
push edx
lea eax, [ebp - 0x92c]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x934]
cmp ecx, dword [ebp - 0x910]
jne 0x4110e3
mov edx, dword [ebp - 0x93c]
cmp edx, dword [ebp - 0x918]
je 0x4110e8
jmp 0x411199
mov eax, dword [ebp - 0x958]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x4110fa
jmp 0x411199
push 0x3a
mov edx, dword [ebp - 0x958]
push edx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
mov dword [ebp - 0x908], eax
cmp dword [ebp - 0x908], 0
jne 0x41111d
jmp 0x411199
mov eax, dword [ebp - 0x908]
mov byte [eax], 0
mov ecx, dword [ebp - 0x908]
add ecx, 1
mov dword [ebp - 0x908], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x958]
push eax
mov ecx, dword [ebp - 0x294]
push ecx
call fcn.0041db80
add esp, 0xc
test eax, eax
jne 0x411172
mov edx, dword [ebp - 0x958]
push edx
push 0x471db0
mov eax, dword [ebp - 0x294]
push eax
call fcn.0041db80
add esp, 0xc
test eax, eax
je 0x41117f
mov ecx, dword [ebp - 0x908]
movsx edx, byte [ecx]
test edx, edx
jne 0x411181
jmp 0x411199
mov eax, dword [ebp - 0x908]
push eax
push 0x5d
mov ecx, dword [ebp - 0x294]
push ecx
call fcn.0040d18e
add esp, 0xc
mov edx, dword [ebp - 0x8f8]
push edx
call fcn.0041ac76
add esp, 4
push 0x1c
mov eax, dword [ebp - 0x294]
push eax
call fcn.00421740
add esp, 8
cmp eax, 0x336
je 0x4111cd
mov ecx, dword [ebp - 0x2ac]
mov dword [ecx + 0x18], 0xffffffff
mov edx, dword [ebp - 0x2ac]
mov word [edx + 0xf4c], 0xffff
mov eax, dword [ebp - 0x294]
cmp dword [eax + 0x14], 0
je 0x41121d
cmp dword [ebp - 0x284], 0xfffffff1
je 0x41120c
cmp dword [ebp - 0x284], 0xfffffffd
je 0x41120c
cmp dword [ebp - 0x284], 0xffffff9f
je 0x41120c
cmp dword [ebp - 0x284], 0xffffffa3
jne 0x41121d
mov ecx, dword [ebp - 0x294]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x984], edx
jmp 0x411229
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x984], eax
mov ecx, dword [ebp - 0x294]
mov edx, dword [ebp - 0x984]
mov dword [ecx + 0x14], edx
push 0
push 0xff
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x290]
push ecx
mov edx, dword [ebp - 0x284]
push edx
mov eax, dword [ebp - 0x294]
push eax
call fcn.00404a80
add esp, 0x1c
cmp dword [ebp - 0x294], 0
je 0x4112b5
cmp dword [ebp + 8], 0
je 0x4112a6
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x64], 0
je 0x411289
mov edx, dword [ebp - 0x294]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x64]
mov dword [edx + 0x64], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x294]
mov dword [edx + 0x64], eax
mov ecx, dword [ebp - 0x294]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
mov dword [ecx + 0x60], eax
jmp 0x4112b5
mov ecx, dword [ebp - 0x294]
mov edx, dword [ebp - 0x294]
mov dword [ecx + 0x60], edx
mov eax, dword [ebp - 0x294]
mov dword [eax + 0x540], 0x6981
mov dword [ebp - 0x95c], 0
mov dword [ebp - 0x2a0], 0
mov ecx, dword [ebp - 0x294]
add ecx, 0xcc
mov dword [ebp - 0x95c], ecx
jmp 0x41130d
mov edx, dword [ebp - 0x2a0]
add edx, 1
mov dword [ebp - 0x2a0], edx
mov eax, dword [ebp - 0x95c]
add eax, 0x90
mov dword [ebp - 0x95c], eax
cmp dword [ebp - 0x2a0], 4
jge 0x4113fa
mov ecx, dword [ebp - 0x95c]
cmp dword [ecx], 0
je 0x4113fa
mov edx, dword [ebp - 0x95c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x34]
mov dword [edx + 0x88], ecx
mov edx, dword [ebp - 0x95c]
cmp dword [edx + 0x88], 2
jl 0x41135e
mov eax, dword [ebp - 0x95c]
mov ecx, dword [eax + 0x84]
mov dword [ebp - 0x988], ecx
jmp 0x411368
mov dword [ebp - 0x988], 0
mov edx, dword [ebp - 0x95c]
cmp dword [edx + 0x88], 2
jl 0x41138b
mov eax, dword [ebp - 0x95c]
mov ecx, dword [eax + 0x84]
mov dword [ebp - 0x98c], ecx
jmp 0x411395
mov dword [ebp - 0x98c], 0
mov edx, dword [ebp - 0x95c]
mov eax, dword [edx + 0x88]
push eax
mov ecx, dword [ebp - 0x95c]
push ecx
mov edx, dword [ebp - 0x95c]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x95c]
push eax
push 8
mov ecx, dword [ebp - 0x95c]
mov edx, dword [ecx + 0x8c]
push edx
mov eax, dword [ebp - 0x988]
push eax
mov ecx, dword [ebp - 0x98c]
push ecx
mov edx, dword [ebp - 0x294]
push edx
call fcn.0040fd90
add esp, 0x24
mov eax, dword [ebp - 0x288]
add eax, 1
mov dword [ebp - 0x288], eax
jmp 0x4112ed
mov ecx, dword [ebp - 0x294]
mov edx, dword [ebp - 0x288]
cmp edx, dword [ecx + 0x51c]
jbe 0x411420
mov eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x288]
mov dword [eax + 0x51c], ecx
mov edx, dword [ebp - 0x294]
mov eax, dword [edx + 0x14]
pop edi
mov esp, ebp
pop ebp
ret