Function at 0x10049f3e
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100822c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
push esi
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1004aaff
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x8c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x12c], eax
push 2
lea ecx, [ebp - 0x17c]
call fcn.1000e8cf
and dword [ebp - 4], 0
mov dword [ebp - 0x100], 1
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x17c]
push eax
push 1
push 0x6b67
call fcn.10047f03
add esp, 0x10
push 0x125b
push 1
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x17c]
push eax
push 0x3214
push 0x76f
call fcn.10047f82
add esp, 0x18
push 0x6090
push 0x108f
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x100]
push eax
push 1
call fcn.1004893b
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x17c]
call fcn.1000e937
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x28], 0x76820624
mov dword [ebp - 0x114], 0x628aea38
mov dword [ebp - 0x154], 1
mov dword [ebp - 0x48], 0
jmp 0x1004a045
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jge 0x1004a058
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x54], 0xd976ff55
jmp 0x1004a03e
mov dword [ebp - 0x28], 0
jmp 0x1004a068
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xfffffff9
jl 0x1004a234
mov dword [ebp - 0x10], 0x2961c0f8
mov dword [ebp - 0x84], 0x7d660f18
mov dword [ebp - 0x10], 0
jmp 0x1004a093
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1004a22f
mov dword [ebp - 0xfc], 0xce1a812c
mov dword [ebp - 0x7c], 5
mov dword [ebp - 0x11c], 4
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x54], 0xeb59
je 0x1004a0d1
mov dword [ebp - 0xdc], 1
jmp 0x1004a0d8
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x54], 1
jne 0x1004a0eb
mov dword [ebp - 0x64], 1
jmp 0x1004a0ef
and dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0x38d9
jne 0x1004a101
mov dword [ebp - 0x6c], 1
jmp 0x1004a105
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0xdc]
cmp eax, dword [ebp - 0x6c]
jg 0x1004a11c
mov dword [ebp - 0xe4], 1
jmp 0x1004a123
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xe4], eax
jle 0x1004a137
mov dword [ebp - 0x74], 1
jmp 0x1004a13b
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x74], eax
jge 0x1004a14f
mov dword [ebp - 0xec], 1
jmp 0x1004a156
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xec]
sub ecx, 0x8a27
cmp dword [ebp + eax*4 - 0x54], ecx
jg 0x1004a174
mov eax, 0xd004
test eax, eax
je 0x1004a1a5
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x1004a191
push 0
push 0
push 0x1e95
push 0
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x54], 0
je 0x1004a1a0
jmp 0x1004a22f
jmp 0x1004a22a
mov dword [ebp - 0xf4], 0xb141
push 0
lea eax, [ebp - 0x7c]
push eax
push 0x448e
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x2605
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.10049448
add esp, 0x24
lea eax, [ebp - 0x28]
push eax
push 1
lea eax, [ebp - 0x7c]
push eax
push 0x464e
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x154]
push eax
push 0x2597
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.100489ef
add esp, 0x2c
jmp 0x1004a08c
jmp 0x1004a061
push 0x43c0
push 0xd06
push 1
push 0x11d0
call fcn.10048b76
add esp, 0x10
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax]
push 8
pop ecx
imul ecx, ecx, 5
lea eax, [eax + ecx + 0x78]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x44], 0x92443250
mov dword [ebp - 0x94], 0xc9e53e58
mov dword [ebp - 0xa0], 1
push 3
lea ecx, [ebp - 0x194]
call fcn.1000e8cf
mov dword [ebp - 4], 1
mov dword [ebp - 0x58], 7
push 1
lea ecx, [ebp - 0x170]
call fcn.1000e8cf
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 0
jmp 0x1004a2bc
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1004a2d8
push dword [ebp - 0x14]
lea ecx, [ebp - 0x194]
call fcn.1000e93c
mov dword [eax], 0x6c4a87fc
jmp 0x1004a2b5
mov dword [ebp - 0x14], 0
jmp 0x1004a2e8
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x1004a304
push dword [ebp - 0x14]
lea ecx, [ebp - 0x170]
call fcn.1000e93c
mov dword [eax], 0xc7127b1a
jmp 0x1004a2e1
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x94]
push eax
push 1
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.100492e1
add esp, 0x14
mov dword [ebp - 0x44], 0
jmp 0x1004a337
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x1a
jl 0x1004a515
push 2
lea ecx, [ebp - 0x110]
call fcn.1000e8cf
mov byte [ebp - 4], 3
push 2
lea ecx, [ebp - 0x1a0]
call fcn.1000e8cf
mov byte [ebp - 4], 4
mov dword [ebp - 0x124], 0x6a83cd0
mov dword [ebp - 0x40], 0
jmp 0x1004a37d
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jge 0x1004a399
push dword [ebp - 0x40]
lea ecx, [ebp - 0x110]
call fcn.1000e93c
mov dword [eax], 0xfffffff7
jmp 0x1004a376
push 0
push 0x4d4c
push 0x4785
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.1004b514
add esp, 0x14
push 0
lea ecx, [ebp - 0x110]
call fcn.1000e93c
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
jne 0x1004a3e9
push 0
lea ecx, [ebp - 0x110]
call fcn.1000e93c
cmp dword [eax], 0
jne 0x1004a3e9
and dword [ebp - 0x104], 0
jmp 0x1004a3f3
mov dword [ebp - 0x104], 1
push 0
lea ecx, [ebp - 0x170]
call fcn.1000e93c
mov ecx, dword [ebp - 0x104]
mov dword [eax], ecx
push 0
lea ecx, [ebp - 0x1a0]
call fcn.1000e93c
mov dword [ebp - 0x98], eax
push 0
lea ecx, [ebp - 0x170]
call fcn.1000e93c
mov ecx, dword [ebp - 0x98]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x98]
cmp dword [eax], 0
jge 0x1004a449
mov dword [ebp - 0xd0], 1
jmp 0x1004a450
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0xd0]
jne 0x1004a46a
mov dword [ebp - 0x138], 1
jmp 0x1004a471
and dword [ebp - 0x138], 0
push 1
lea ecx, [ebp - 0x110]
call fcn.1000e93c
push 0
lea ecx, [ebp - 0x110]
call fcn.1000e93c
cmp dword [eax], 0xad31
jle 0x1004a49f
mov dword [ebp - 0xf8], 1
jmp 0x1004a4a6
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xa0]
add eax, dword [ebp - 0xf8]
je 0x1004a4c5
xor eax, eax
inc eax
je 0x1004a4c5
mov dword [ebp - 0xa8], 1
jmp 0x1004a4cc
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x124], eax
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x1004a4f2
push 1
push 0x48dc
call fcn.10049418
pop ecx
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1a0]
call fcn.1000e937
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x110]
call fcn.1000e937
jmp 0x1004a330
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x170]
call fcn.1000e937
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x194]
call fcn.1000e937
mov eax, dword [ebp - 0xb0]
cmp dword [eax + 4], 0
jbe 0x1004aafd
mov dword [ebp - 0x2c], 8
mov dword [ebp - 0xd8], 9
mov dword [ebp - 0x134], 0xffffffff
push 2
lea ecx, [ebp - 0x188]
call fcn.1000e8cf
mov dword [ebp - 4], 5
mov dword [ebp - 0x140], 1
push 1
push 0x4353
lea eax, [ebp - 0x1b4]
push eax
push 0x4a6
push 0x8fe
push 0x2d45
lea eax, [ebp - 0x188]
push eax
push 0x40de
push 0x3be1
call fcn.10049448
add esp, 0x24
mov dword [ebp - 0x2c], 4
jmp 0x1004a5c2
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffea
jne 0x1004a627
mov dword [ebp - 0x130], 0x39ecf4a
mov dword [ebp - 0x148], 0x2f144811
mov dword [ebp - 0x158], 0xe4f9dbc9
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0xd8]
push eax
push 1
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.100495a3
add esp, 0x24
jmp 0x1004a5bb
lea eax, [ebp - 0xd8]
push eax
push 0x7480
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x188]
push eax
push 0x6889
push 0x3881
push 0x5d27
push 0x4d8d
push 1
call fcn.10049722
add esp, 0x24
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x188]
call fcn.1000e937
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x88]
add ecx, dword [eax]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x38], 2
mov dword [ebp - 0x38], 0x19
jmp 0x1004a693
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xfffffff9
jne 0x1004a6bd
cmp dword [ebp - 0x38], 0
je 0x1004a6a1
jmp 0x1004a6bd
mov byte [ebp - 0x23], 0
movzx eax, byte [ebp - 0x23]
test eax, eax
je 0x1004a6bb
push 0x71c9
push 1
call fcn.10049da1
pop ecx
pop ecx
jmp 0x1004a68c
mov eax, dword [ebp - 0x80]
cmp dword [eax], 0
jbe 0x1004aafd
mov dword [ebp - 0x1c], 0xe52d
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x50], 0xf8b5131d
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x1c], 0
jne 0x1004a6fa
cmp dword [ebp - 0x1c], 0
jne 0x1004a6fa
and dword [ebp - 0xb8], 0
jmp 0x1004a704
mov dword [ebp - 0xb8], 1
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x1c], eax
jg 0x1004a718
mov dword [ebp - 0xf0], 1
jmp 0x1004a71f
and dword [ebp - 0xf0], 0
cmp dword [ebp - 0xf0], 0xdbea
jg 0x1004a737
mov dword [ebp - 0xe0], 1
jmp 0x1004a73e
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0xe0]
jne 0x1004a762
mov dword [ebp - 0xc0], 1
jmp 0x1004a769
and dword [ebp - 0xc0], 0
cmp dword [ebp - 0xc0], 0x3fa3
jl 0x1004a77e
mov dword [ebp - 0x5c], 1
jmp 0x1004a782
and dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 0xffffffff
jle 0x1004a794
mov dword [ebp - 0xc8], 1
jmp 0x1004a79b
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x1c], 0
jmp 0x1004a7b4
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xfffffff4
jne 0x1004aad2
mov dword [ebp - 0x18], 0x8d9a
mov dword [ebp - 0x30], 0x4067bc62
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x144], 0x1262954f
mov dword [ebp - 0x4c], 0
jmp 0x1004a7ed
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 4
jge 0x1004a803
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x1c4], 0xffffffff
jmp 0x1004a7e6
mov dword [ebp - 0x20], 0xb
jmp 0x1004a813
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x18
jle 0x1004a9d8
mov dword [ebp - 0x13c], 0xfffffffd
mov dword [ebp - 0x14c], 0x253674f9
mov byte [ebp - 0x24], 0
movzx eax, byte [ebp - 0x24]
test eax, eax
je 0x1004a851
push 0x7b0
push 1
push 0x5524
call fcn.10049e26
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x18], 0
je 0x1004a918
cmp dword [ebp - 0x18], 0xffffffff
jge 0x1004a876
mov dword [ebp - 0xe8], 1
jmp 0x1004a87d
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xe8], eax
je 0x1004a894
mov dword [ebp - 0x90], 1
jmp 0x1004a89b
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x90], eax
jne 0x1004a8b2
mov dword [ebp - 0x9c], 1
jmp 0x1004a8b9
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 5
jb 0x1004a8ce
mov dword [ebp - 0xa4], 1
jmp 0x1004a8d5
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x13c]
cmp dword [ebp - 0xa4], eax
jg 0x1004a8ef
mov dword [ebp - 0xac], 1
jmp 0x1004a8f6
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xac]
imul eax, eax, 0
add eax, 0x413f
mov dword [ebp - 0x30], eax
je 0x1004a918
mov dword [ebp - 0xb4], 1
jmp 0x1004a91f
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
add eax, 0xfff7
cmp eax, dword [ebp - 0x50]
jl 0x1004a941
mov eax, 0x4b71808a
test eax, eax
jne 0x1004a941
and dword [ebp - 0xbc], 0
jmp 0x1004a94b
mov dword [ebp - 0xbc], 1
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xbc]
mov dword [ebp + eax - 0x1c4], ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1b0], eax
cmp dword [ebp - 0x18], 0
jne 0x1004a975
cmp dword [ebp - 0x14c], 0
je 0x1004a987
cmp dword [ebp - 0x50], 0
je 0x1004a987
mov dword [ebp - 0xc4], 1
jmp 0x1004a98e
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xc4], eax
je 0x1004a9a5
mov dword [ebp - 0xcc], 1
jmp 0x1004a9ac
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0xcc], eax
jge 0x1004a9c3
mov dword [ebp - 0xd4], 1
jmp 0x1004a9ca
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x60], eax
jmp 0x1004a80c
mov dword [ebp - 0x30], 0
jmp 0x1004a9e8
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffea
jne 0x1004aacd
push 3
lea ecx, [ebp - 0x164]
call fcn.1000e8cf
mov dword [ebp - 4], 6
mov dword [ebp - 0x150], 0xcb25bb54
lea eax, [ebp - 0x164]
push eax
push 1
lea eax, [ebp - 0x1ac]
push eax
push 0x7b67
push 0xf72
call fcn.10049e94
add esp, 0x14
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x144], eax
jl 0x1004aa46
mov dword [ebp - 0x70], 1
jmp 0x1004aa4a
and dword [ebp - 0x70], 0
mov esi, dword [ebp - 0x1c]
push 2
lea ecx, [ebp - 0x164]
call fcn.1000e93c
imul esi, dword [eax]
cmp esi, 0xfffffffb
jge 0x1004aa6b
mov dword [ebp - 0x68], 1
jmp 0x1004aa6f
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0xa02a909f
ja 0x1004aa81
mov dword [ebp - 0x78], 1
jmp 0x1004aa85
and dword [ebp - 0x78], 0
imul eax, dword [ebp - 0x70], 0x15e
add eax, dword [ebp - 0x78]
mov dword [ebp - 0x3c], eax
mov esi, dword [ebp - 0x3c]
push 2
lea ecx, [ebp - 0x164]
call fcn.1000e93c
cmp esi, dword [eax]
je 0x1004aaaa
cmp dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x150], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x164]
call fcn.1000e937
jmp 0x1004a9e1
jmp 0x1004a7ad
mov eax, dword [ebp - 0x12c]
push dword [eax]
push 0
push 0x2b5f
push 0x2849
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x88]
call fcn.10047f82
add esp, 0x18
jmp 0x1004a6bd
jmp 0x1004ab59
mov eax, dword [ebp + 8]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x34]
mov dword [eax], 0
jmp 0x1004ab3c
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax], 2
jge 0x1004ab59
mov eax, dword [ebp - 0x34]
push dword [eax]
mov ecx, dword [ebp - 0x120]
call fcn.1000e93c
and dword [eax], 0
jmp 0x1004ab31
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret