Function at 0x4a640f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f816
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
push esi
push edi
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0x28], 0
cmp dword [ebp + 8], 0x111
jne 0x4a6479
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xdc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xdc]
call dword [eax + 0x80]
test eax, eax
je 0x4a6472
mov dword [ebp - 0x28], 1
jmp 0x4a6fba
xor eax, eax
jmp 0x4a6fcd
cmp dword [ebp + 8], 0x4e
jne 0x4a64bd
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
cmp dword [edx], 0
je 0x4a64b6
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xdc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xdc]
call dword [edx + 0x84]
test eax, eax
je 0x4a64b6
jmp 0x4a6fba
xor eax, eax
jmp 0x4a6fcd
cmp dword [ebp + 8], 6
jne 0x4a64dd
mov eax, dword [ebp + 0x10]
push eax
call fcn.004a4123
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xdc]
push edx
call fcn.004a3d04
cmp dword [ebp + 8], 0x20
jne 0x4a6515
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
and eax, 0xffff
push eax
movsx ecx, word [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xdc]
push edx
call fcn.004a3d88
test eax, eax
je 0x4a6515
mov dword [ebp - 0x28], 1
jmp 0x4a6fba
mov eax, dword [ebp - 0xdc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xdc]
call dword [edx + 0x30]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
and eax, 0xffff
xor eax, dword [ebp + 8]
and eax, 0x1ff
mov dword [ebp - 0x18], eax
push 7
call fcn.00516f4a
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0xc
add ecx, 0x62da28
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
cmp eax, dword [edx]
jne 0x4a6597
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ecx + 8]
jne 0x4a6597
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
push 7
call fcn.0051707c
cmp dword [ebp - 0x20], 0
jne 0x4a6584
xor eax, eax
jmp 0x4a6fcd
cmp dword [ebp + 8], 0xc000
jae 0x4a6592
jmp 0x4a66e4
jmp 0x4a6f7a
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov dword [edx], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 8], edx
jmp 0x4a65b2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
je 0x4a66a9
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edx]
jne 0x4a65da
push 0x68b
push str.wincore.cpp
call fcn.004fed10
test eax, eax
je 0x4a65da
int3
xor ecx, ecx
test ecx, ecx
jne 0x4a65bc
cmp dword [ebp + 8], 0xc000
jae 0x4a6620
push 0
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
push ecx
call fcn.004a6319
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4a661b
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
mov dword [edx + 4], eax
push 7
call fcn.0051707c
jmp 0x4a66e4
jmp 0x4a66a4
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x20], edx
push 0
push 0
push 0xc000
mov eax, dword [ebp - 0x20]
push eax
call fcn.004a6319
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4a66a4
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0xc000
jae 0x4a6674
mov ecx, dword [ebp - 0x30]
cmp dword [ecx], 0
je 0x4a6674
push 0x6a0
push str.wincore.cpp
call fcn.004fed10
test eax, eax
je 0x4a6674
int3
xor edx, edx
test edx, edx
jne 0x4a664d
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
cmp ecx, dword [ebp + 8]
jne 0x4a6699
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
mov dword [edx + 4], eax
push 7
call fcn.0051707c
jmp 0x4a6f7a
mov ecx, dword [ebp - 0x20]
add ecx, 0x18
mov dword [ebp - 0x20], ecx
jmp 0x4a6629
jmp 0x4a65aa
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], 0
push 7
call fcn.0051707c
xor eax, eax
jmp 0x4a6fcd
cmp dword [ebp + 8], 0xc000
jb 0x4a6701
push 0x6b4
push str.wincore.cpp
call fcn.004fed10
test eax, eax
je 0x4a6701
int3
xor edx, edx
test edx, edx
jne 0x4a66e4
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 8], 0x1a
jne 0x4a6749
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
and edx, 0xff
cmp edx, 4
jl 0x4a6742
mov dword [ebp - 0x24], 0x2f
jmp 0x4a6749
mov dword [ebp - 0x24], 0x1f
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
sub ecx, 1
mov dword [ebp - 0xe0], ecx
cmp dword [ebp - 0xe0], 0x30
ja case.0x4a6770.37
mov edx, dword [ebp - 0xe0]
jmp dword [edx*4 + 0x4a6fe0]
mov eax, 1
test eax, eax
je 0x4a6794
push 0x6c9
push str.wincore.cpp
call fcn.004fed10
test eax, eax
je 0x4a6794
int3
xor ecx, ecx
test ecx, ecx
jne case.0x4a6770.37
jmp 0x4a6f78
mov edx, dword [ebp + 0xc]
push edx
call fcn.004bbe74
push eax
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
jmp 0x4a6f78
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
jmp 0x4a6f78
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
and ecx, 0xffff
push ecx
movsx edx, word [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004a4123
push eax
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
jmp 0x4a6f78
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004a4123
push eax
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
jmp 0x4a6f78
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
jmp 0x4a6f78
cmp dword [ebp + 8], 0x19
je 0x4a6850
push 0x6e5
push str.wincore.cpp
call fcn.004fed10
test eax, eax
je 0x4a6850
int3
xor ecx, ecx
test ecx, ecx
jne case.0x4a6770.3
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x80], edx
lea ecx, [ebp - 0x90]
call fcn.004bbcef
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x8c], ecx
lea ecx, [ebp - 0x7c]
call fcn.004a3ac7
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x60]
push eax
call fcn.004a41a8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x4a68e8
mov ecx, dword [ebp - 0xdc]
cmp dword [ecx + 0x34], 0
je 0x4a68e2
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 0x34]
add ecx, 0x20
call fcn.0049bda7
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
je 0x4a68e2
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x44], ecx
lea edx, [ebp - 0x7c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
lea edx, [ebp - 0x90]
push edx
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.004a4efe
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.004bc017
jmp 0x4a6f78
cmp dword [ebp + 8], 0xbc19
je 0x4a695a
push 0x704
push str.wincore.cpp
call fcn.004fed10
test eax, eax
je 0x4a695a
int3
xor ecx, ecx
test ecx, ecx
jne case.0x4a6770.4
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xa0], edx
lea ecx, [ebp - 0xb0]
call fcn.004bbcef
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 8]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
push ecx
lea edx, [ebp - 0xb0]
push edx
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.004bc017
jmp 0x4a6f78
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xffff
and ecx, 0xffff
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.004a4123
push eax
mov eax, dword [ebp + 0xc]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
jmp 0x4a6f78
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xffff
and ecx, 0xffff
push ecx
mov edx, dword [ebp + 0xc]
and edx, 0xffff
push edx
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
jmp 0x4a6f78
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
and eax, 0xffff
push eax
movsx ecx, word [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004a4123
push eax
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
jmp 0x4a6f78
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
jmp 0x4a6f78
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
jmp 0x4a6f78
mov eax, dword [ebp + 0x10]
push eax
call fcn.004b3719
push eax
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xffff
and ecx, 0xffff
push ecx
mov edx, dword [ebp + 0xc]
and edx, 0xffff
push edx
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
jmp 0x4a6f78
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
push ecx
movsx edx, word [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
and eax, 0xffff
push eax
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
and eax, 0xffff
push eax
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
mov edx, dword [ebp + 0xc]
push edx
call fcn.004a4123
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.004a4123
push eax
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ecx + 0x1c]
xor eax, eax
cmp edx, dword [ebp + 0x10]
sete al
push eax
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004bbe74
push eax
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
mov edx, dword [ebp + 0xc]
push edx
call fcn.004b3719
push eax
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
and eax, 0xffff
push eax
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004b3719
push eax
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
mov eax, dword [ebp + 0xc]
push eax
call fcn.004a4123
push eax
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004a4123
push eax
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
and edx, 0xffff
push edx
mov eax, dword [ebp + 0x10]
and eax, 0xffff
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004a4123
push eax
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0xb8]
call fcn.00508519
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xb8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004a4123
push eax
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004a4123
push eax
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
mov edx, dword [ebp + 0x10]
push edx
call fcn.004a4123
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xffff
and ecx, 0xffff
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.004a4123
push eax
mov eax, dword [ebp + 0xc]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
cmp dword [ebp + 8], 0x115
je 0x4a6d78
cmp dword [ebp + 8], 0x114
je 0x4a6d78
cmp dword [ebp + 8], 0xbd15
je 0x4a6d78
cmp dword [ebp + 8], 0xbd14
je 0x4a6d78
push 0x780
push str.wincore.cpp
call fcn.004fed10
test eax, eax
je 0x4a6d78
int3
xor ecx, ecx
test ecx, ecx
jne case.0x4a6770.28
movsx edx, word [ebp + 0xc]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp + 0xc]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x10], 0x1d
jne 0x4a6dc8
mov eax, dword [ebp + 0x10]
push eax
call fcn.004a4123
push eax
mov ecx, dword [ebp - 0xbc]
push ecx
mov edx, dword [ebp - 0xc0]
push edx
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6ddf
mov eax, dword [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 0xc0]
push ecx
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
mov dword [ebp - 0x28], 1
jmp 0x4a6f78
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
jmp 0x4a6f78
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xc8]
call fcn.00508519
mov ecx, dword [ebp - 0xc4]
push ecx
mov edx, dword [ebp - 0xc8]
push edx
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
jmp 0x4a6f78
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
jmp 0x4a6f78
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xffff
and ecx, 0xffff
push ecx
mov edx, dword [ebp + 0xc]
and edx, 0xffff
push edx
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00508519
mov ecx, dword [ebp - 0xcc]
push ecx
mov edx, dword [ebp - 0xd0]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
jmp 0x4a6f78
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
mov dword [ebp - 0x28], 1
jmp 0x4a6f78
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
and eax, 0xffff
push eax
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
push ecx
lea ecx, [ebp - 0xd8]
call fcn.005084bc
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xffff
push ecx
mov edx, dword [ebp + 0xc]
and edx, 0xffff
push edx
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4a6f78
xor eax, eax
jmp 0x4a6fcd
jmp 0x4a6fba
cmp dword [ebp + 8], 0xc000
jae 0x4a6f97
push 0x7c7
push str.wincore.cpp
call fcn.004fed10
test eax, eax
je 0x4a6f97
int3
xor eax, eax
test eax, eax
jne 0x4a6f7a
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
cmp dword [ebp + 0x14], 0
je 0x4a6fc8
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10