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

Disassembly:
push 0xffffffffffffffff
push 0x47752c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push ebp
push esi
push edi
push 6
push 0x48ad1c
lea ecx, [esp + 0x48]
call fcn.00447db0
xor esi, esi
push 6
push 0x48ad4c
lea ecx, [esp + 0x3c]
mov dword [esp + 0xb0], esi
call fcn.00447db0
push 6
push 0x48adf4
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], 1
call fcn.00447db0
push 6
push 0x48adec
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb0], 2
call fcn.00447db0
push 6
push 0x48ade4
lea ecx, [esp + 0x28]
mov byte [esp + 0xb0], 3
call fcn.00447db0
push 6
push 0x48acf4
lea ecx, [esp + 0x24]
mov byte [esp + 0xb0], 4
call fcn.00447db0
lea ecx, [esp + 0x54]
mov byte [esp + 0xa8], 5
mov dword [esp + 0x7c], 0x48ade0
mov dword [esp + 0x80], 0x48addc
mov dword [esp + 0x84], 0x48add8
mov dword [esp + 0x88], 0x48add4
mov dword [esp + 0x8c], 0x48add0
mov dword [esp + 0x90], 0x48adcc
mov dword [esp + 0x94], 0x48adc8
mov dword [esp + 0x98], 0x48adc4
mov dword [esp + 0x9c], esi
call fcn.0044e530
lea ecx, [esp + 0x64]
mov byte [esp + 0xa8], 6
call fcn.00447d10
mov al, byte [esp + 0x13]
mov dword [esp + 0x28], esi
mov byte [esp + 0x24], al
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov cl, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
mov edi, 0x494de8
xor eax, eax
mov dword [esp + 0x4c], esp
mov byte [ebp], cl
or ecx, 0xffffffff
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0xbc], 8
mov ebx, ecx
push ebx
mov ecx, ebp
call fcn.00401c20
test al, al
je 0x41554e
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, 0x494de8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 8], ebx
mov ebp, dword [ebp + 4]
add ebp, ebx
mov byte [ebp], 0
push 1
lea ecx, [esp + 0x7c]
call fcn.00448ff0
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0x34]
push eax
push 5
mov byte [esp + 0xb0], 9
call fcn.00448120
mov bl, 0x10
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00447d20
mov ecx, dword [0x4987fc]
call fcn.0045a2d0
push 0
push ecx
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00447d20
mov ecx, dword [0x4987fc]
call fcn.0045a450
push 0
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00447d20
mov ecx, dword [0x4987fc]
call fcn.0045a450
sub esp, 0x10
lea eax, [esp + 0x30]
mov esi, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00447d20
push esi
call fcn.0044bc90
add esp, 4
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0xc0], 0xa
call fcn.00447d20
mov ecx, dword [0x4987fc]
mov byte [esp + 0xbc], 9
call fcn.0045a4d0
mov ecx, dword [0x4987fc]
call fcn.0045a8b0
lea ecx, [esp + 0x54]
mov dword [esp + 0x14], eax
call fcn.0044f070
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
mov ebp, eax
mov edi, ecx
mov esi, eax
je 0x415658
mov ecx, esi
call fcn.00447e50
add esi, 4
cmp esi, edi
jne 0x415646
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x2c], ebp
and ecx, 0xffff
jl 0x415576
cmp ecx, 5
jle 0x415acf
cmp ecx, 6
jne 0x415576
mov ecx, dword [esp + 0x14]
xor ebp, ebp
cmp cx, bp
jne 0x415ac0
push ebp
push ebp
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00447d20
push ecx
mov byte [esp + 0xb8], 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x48adbc
call fcn.00447db0
mov ecx, 0x4987f0
mov byte [esp + 0xb8], 9
call fcn.00449ba0
push 0xbb8
call fcn.00445810
add esp, 4
mov byte [esp + 0x13], 0
push 3
push 0x48adc8
lea ecx, [esp + 0x58]
call fcn.00447db0
push ecx
lea edx, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0xb0], 0xd
call fcn.00447d20
lea ecx, [esp + 0x58]
call fcn.0044e780
lea eax, [esp + 0x24]
push 1
lea ecx, [esp + 0x58]
push eax
push ecx
mov ecx, 0x498660
call fcn.00412790
push 0
push 0
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00447d20
push ecx
mov byte [esp + 0xb8], 0xe
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x48adb4
call fcn.00447db0
mov ecx, 0x4987f0
mov byte [esp + 0xb8], 0xd
call fcn.00449ba0
push 0x1388
call fcn.00445810
add esp, 4
lea ecx, [esp + 0x54]
call fcn.0044f070
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
mov edi, eax
mov ebp, ecx
mov esi, eax
je 0x4157a2
mov ecx, esi
call fcn.00447e50
add esi, 4
cmp esi, ebp
jne 0x415794
mov eax, dword [esp + 0x98]
push 3
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x34], edi
call fcn.00447db0
push ecx
lea edx, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0xb0], 0xf
call fcn.00447d20
lea ecx, [esp + 0x58]
call fcn.0044e780
lea eax, [esp + 0x24]
push 1
lea ecx, [esp + 0x58]
push eax
push ecx
mov ecx, 0x498660
call fcn.00412790
lea ecx, [esp + 0x54]
call fcn.0044f070
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
mov edi, eax
mov ebp, ecx
mov esi, eax
je 0x41581a
mov ecx, esi
call fcn.00447e50
add esi, 4
cmp esi, ebp
jne 0x41580c
push 3
push 0x48adc8
lea ecx, [esp + 0x50]
mov dword [esp + 0x34], edi
call fcn.00447db0
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0xb0], bl
call fcn.00447d20
lea ecx, [esp + 0x58]
call fcn.0044e780
lea eax, [esp + 0x24]
push 1
lea ecx, [esp + 0x58]
push eax
push ecx
mov ecx, 0x498660
call fcn.00412790
push 0x1388
mov edi, eax
call fcn.00445810
add esp, 4
lea edx, [esp + 0x1c]
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00447d20
push ecx
mov byte [esp + 0xb8], 0x11
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x48adac
call fcn.00447db0
mov ecx, 0x4987f0
mov byte [esp + 0xb8], bl
call fcn.00449ba0
mov esi, 9
push 0
push 0
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00447d20
push ecx
mov byte [esp + 0xb8], 0x12
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x48ada4
call fcn.00447db0
mov ecx, 0x4987f0
mov byte [esp + 0xb8], bl
call fcn.00449ba0
push 0x5dc
call fcn.00445810
add esp, 4
lea edx, [esp + 0x1c]
push 0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00447d20
push ecx
mov byte [esp + 0xb8], 0x13
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x48ad9c
call fcn.00447db0
mov ecx, 0x4987f0
mov byte [esp + 0xb8], bl
call fcn.00449ba0
push 0xbb8
call fcn.00445810
add esp, 4
dec esi
jne 0x4158ba
push 0
push 1
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00447d20
push ecx
mov byte [esp + 0xb8], 0x14
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x48ad94
call fcn.00447db0
mov ecx, 0x4987f0
mov byte [esp + 0xb8], bl
call fcn.00449ba0
push 0
push 0
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00447d20
push ecx
mov byte [esp + 0xb8], 0x15
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x48ad8c
call fcn.00447db0
mov ecx, 0x4987f0
mov byte [esp + 0xb8], bl
call fcn.00449ba0
push 0xbb8
call fcn.00445810
add esp, 4
cmp di, 0xff9b
jne 0x4159f6
push 4
jmp 0x4159f8
push 0
push 5
lea ecx, [esp + 0x28]
call fcn.00448120
push 0
push 4
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00447d20
push ecx
mov byte [esp + 0xb8], 0x16
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x48ad84
call fcn.00447db0
mov ecx, 0x4987f0
mov byte [esp + 0xb8], bl
call fcn.00449ba0
cmp ax, 4
mov byte [esp + 0xa8], 0xf
lea ecx, [esp + 0x48]
je 0x415a94
call fcn.00447e50
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa8], 0xd
call fcn.00447e50
lea ecx, [esp + 0x50]
mov byte [esp + 0xa8], 9
call fcn.00447e50
mov al, byte [esp + 0x13]
inc al
cmp al, 5
mov byte [esp + 0x13], al
jb 0x4156e2
jmp 0x415576
call fcn.00447e50
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa8], 0xd
call fcn.00447e50
lea ecx, [esp + 0x50]
mov byte [esp + 0xa8], 9
call fcn.00447e50
jmp 0x415576
cmp cx, 1
je 0x415b6d
jmp 0x415576
mov edx, dword [esp + 0x14]
xor ebp, ebp
cmp dx, bp
jne 0x415b62
mov ecx, dword [esp + ecx*4 + 0x7c]
push 3
push ecx
lea ecx, [esp + 0x44]
call fcn.00447db0
push ecx
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0xb0], 0xb
call fcn.00447d20
lea ecx, [esp + 0x58]
call fcn.0044e780
lea eax, [esp + 0x24]
push 1
lea ecx, [esp + 0x58]
push eax
push ecx
mov ecx, 0x498660
call fcn.00412790
push 0x1388
mov esi, eax
call fcn.00445810
add esp, 4
cmp si, 0xff9b
jne 0x415b3f
push 4
jmp 0x415b41
push 3
push 5
lea ecx, [esp + 0x28]
call fcn.00448120
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa8], 9
call fcn.00447e50
jmp 0x415576
cmp dx, 1
je 0x415bc2
jmp 0x415576
mov ecx, dword [esp + 0x70]
cmp ecx, ebp
je 0x415b94
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x415b87
cmp al, 0xff
je 0x415b87
dec al
mov byte [ecx], al
jmp 0x415b90
push ecx
call fcn.00469f00
add esp, 4
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x70], ebp
cmp eax, edi
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov byte [esp + 0xa8], 7
mov esi, eax
je 0x415c19
mov ecx, esi
call fcn.00447e50
add esi, 4
cmp esi, edi
jne 0x415bb2
jmp 0x415c15
mov ecx, dword [esp + 0x70]
cmp ecx, ebp
je 0x415be9
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x415bdc
cmp al, 0xff
je 0x415bdc
dec al
mov byte [ecx], al
jmp 0x415be5
push ecx
call fcn.00469f00
add esp, 4
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x70], ebp
cmp eax, edi
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov byte [esp + 0xa8], 7
mov esi, eax
je 0x415c19
mov ecx, esi
call fcn.00447e50
add esi, 4
cmp esi, edi
jne 0x415c07
mov eax, dword [esp + 0x28]
push eax
call fcn.00469f00
add esp, 4
lea ecx, [esp + 0x64]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov byte [esp + 0xa8], 6
call fcn.00447e50
lea ecx, [esp + 0x54]
mov byte [esp + 0xa8], 5
call fcn.0044e550
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8], 4
call fcn.00447e50
lea ecx, [esp + 0x20]
mov byte [esp + 0xa8], 3
call fcn.00447e50
lea ecx, [esp + 0x44]
mov byte [esp + 0xa8], 2
call fcn.00447e50
lea ecx, [esp + 0x38]
mov byte [esp + 0xa8], 1
call fcn.00447e50
lea ecx, [esp + 0x34]
mov byte [esp + 0xa8], 0
call fcn.00447e50
lea ecx, [esp + 0x40]
mov dword [esp + 0xa8], 0xffffffff
call fcn.00447e50
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
mov ax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x9c
ret 8