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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4921c0
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x4ae7cc]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov eax, dword [0x4ae7cc]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov esi, edx
mov edx, dword [eax + 0x44]
mov dword [esp + 0x30], edi
call edx
mov dl, byte [ebx + 0x20]
mov dword [esp + 0x34], eax
test dl, dl
je 0x445807
mov ecx, dword [ebx + 0x24]
mov ecx, dword [ecx + 0x10]
cmp byte [ecx + 0x38], 0
je 0x445807
mov ecx, dword [ebx + 0x18]
cmp dword [ecx*4 + 0x49ab90], 0xa
jne 0x445807
cmp dword [ebx + 0x1c], 3
je 0x445807
push ebx
mov edx, esi
mov ecx, edi
call fcn.00446040
add esp, 4
jmp 0x445fcd
cmp dword [ebx + 0x1c], 3
mov edx, dword [eax]
push ebx
mov dword [esp + 0x44], 0
mov ecx, eax
push edi
jne 0x445826
mov eax, dword [edx + 0x14]
call eax
mov dword [esp + 0x40], eax
jmp 0x445837
mov eax, dword [edx + 0x10]
call eax
test al, al
je 0x445837
mov dword [esp + 0x40], 1
mov eax, dword [ebx + 0x38]
mov al, byte [eax + 0x1c]
mov byte [esp + 0x2f], al
test al, al
je 0x445874
cmp dword [esp + 0x40], 0
jle 0x445874
mov eax, dword [ebx + 0x14]
lea ecx, [eax*8]
or ecx, 2
push ecx
mov ecx, esi
call fcn.00449dc0
push edi
mov edi, ebx
call fcn.00446420
add esp, 4
push eax
mov ecx, esi
call fcn.00449dc0
cmp dword [esp + 0x40], 0
mov dword [esp + 0x38], 0
jle 0x445fcd
mov eax, dword [ebx + 0x18]
dec eax
cmp eax, 0x11
ja case.default.0x445894
jmp dword [eax*4 + 0x445ff0]
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x4458bc
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
push eax
mov eax, dword [esp + 0x34]
push ebx
push eax
call edx
jmp 0x4458c9
mov eax, dword [ecx]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 0x2c]
push ebx
push edx
call eax
cmp byte [esp + 0x2f], 0
je 0x4458ee
mov ecx, esi
test eax, eax
jns 0x4458e3
cdq
push edx
push eax
call fcn.00449fb0
jmp case.default.0x445894
push eax
call fcn.00449dc0
jmp case.default.0x445894
mov edi, eax
mov eax, dword [ebx + 0x14]
call fcn.00442f30
jmp case.default.0x445894
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x44591e
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x84]
push eax
mov eax, dword [esp + 0x34]
push ebx
push eax
call edx
jmp 0x44592b
mov eax, dword [ecx]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 0x30]
push ebx
push edx
call eax
cmp byte [esp + 0x2f], 0
push edx
push eax
je 0x445940
mov ecx, esi
call fcn.00449fb0
jmp case.default.0x445894
mov eax, dword [ebx + 0x14]
call fcn.00442c70
add esp, 8
jmp case.default.0x445894
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x445971
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
push eax
mov eax, dword [esp + 0x34]
push ebx
push eax
call edx
jmp 0x44597e
mov eax, dword [ecx]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 0x2c]
push ebx
push edx
call eax
cmp byte [esp + 0x2f], 0
je 0x44599c
mov ecx, eax
sar ecx, 0x1f
lea edx, [eax + eax]
xor ecx, edx
push ecx
mov ecx, esi
call fcn.00449dc0
jmp case.default.0x445894
mov edi, eax
mov eax, dword [ebx + 0x14]
call fcn.00442cc0
jmp case.default.0x445894
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x4459cc
mov edx, dword [esp + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
push edx
mov edx, dword [esp + 0x34]
push ebx
push edx
call eax
jmp 0x4459d9
mov edx, dword [ecx]
mov eax, dword [esp + 0x30]
mov edx, dword [edx + 0x30]
push ebx
push eax
call edx
cmp byte [esp + 0x2f], 0
je 0x4459f0
push esi
push edx
push eax
call fcn.00442880
add esp, 0xc
jmp case.default.0x445894
push edx
push eax
mov eax, dword [ebx + 0x14]
call fcn.00442cf0
add esp, 8
jmp case.default.0x445894
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x445a23
mov edx, dword [esp + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
push edx
mov edx, dword [esp + 0x34]
push ebx
push edx
call eax
jmp 0x445a30
mov edx, dword [ecx]
mov eax, dword [esp + 0x30]
mov edx, dword [edx + 0x34]
push ebx
push eax
call edx
cmp byte [esp + 0x2f], 0
mov edi, eax
mov ecx, esi
je 0x445a46
push edi
call fcn.00449dc0
jmp case.default.0x445894
mov eax, dword [ebx + 0x14]
add eax, eax
add eax, eax
add eax, eax
push eax
call fcn.00449dc0
push edi
mov ecx, esi
call fcn.00449dc0
jmp case.default.0x445894
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x445a83
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x8c]
push eax
mov eax, dword [esp + 0x34]
push ebx
push eax
call edx
jmp 0x445a90
mov eax, dword [ecx]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 0x38]
push ebx
push edx
call eax
cmp byte [esp + 0x2f], 0
push edx
push eax
je 0x445aa5
mov ecx, esi
call fcn.00449fb0
jmp case.default.0x445894
mov eax, dword [ebx + 0x14]
call fcn.00442c70
add esp, 8
jmp case.default.0x445894
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x445ad6
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x88]
push eax
mov eax, dword [esp + 0x34]
push ebx
push eax
call edx
jmp 0x445ae3
mov eax, dword [ecx]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 0x34]
push ebx
push edx
call eax
cmp byte [esp + 0x2f], 0
push eax
je 0x445afa
mov eax, esi
call fcn.004428b0
add esp, 4
jmp case.default.0x445894
mov eax, dword [ebx + 0x14]
mov ecx, esi
call fcn.00442d30
add esp, 4
jmp case.default.0x445894
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x445b2d
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x8c]
push eax
mov eax, dword [esp + 0x34]
push ebx
push eax
call edx
jmp 0x445b3a
mov eax, dword [ecx]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 0x38]
push ebx
push edx
call eax
cmp byte [esp + 0x2f], 0
push edx
push eax
je 0x445b52
mov ecx, esi
call fcn.004428f0
add esp, 8
jmp case.default.0x445894
mov ecx, dword [ebx + 0x14]
push ecx
mov ecx, esi
call fcn.00442d80
add esp, 0xc
jmp case.default.0x445894
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x445b86
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
push eax
mov eax, dword [esp + 0x34]
push ebx
push eax
call edx
jmp 0x445b93
mov eax, dword [ecx]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 0x2c]
push ebx
push edx
call eax
cmp byte [esp + 0x2f], 0
push eax
je 0x445baa
mov eax, esi
call fcn.004428b0
add esp, 4
jmp case.default.0x445894
mov eax, dword [ebx + 0x14]
mov ecx, esi
call fcn.00442d30
add esp, 4
jmp case.default.0x445894
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x445bdd
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x84]
push eax
mov eax, dword [esp + 0x34]
push ebx
push eax
call edx
jmp 0x445bea
mov eax, dword [ecx]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 0x30]
push ebx
push edx
call eax
cmp byte [esp + 0x2f], 0
push edx
push eax
je 0x445c02
mov ecx, esi
call fcn.004428f0
add esp, 8
jmp case.default.0x445894
mov ecx, dword [ebx + 0x14]
push ecx
mov ecx, esi
call fcn.00442d80
add esp, 0xc
jmp case.default.0x445894
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x445c36
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x90]
push eax
mov eax, dword [esp + 0x34]
push ebx
push eax
call edx
jmp 0x445c43
mov eax, dword [ecx]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 0x3c]
push ebx
push edx
call eax
cmp byte [esp + 0x2f], 0
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
push ecx
fstp dword [esp]
je 0x445c65
mov eax, esi
call fcn.00442960
add esp, 4
jmp case.default.0x445894
mov eax, dword [ebx + 0x14]
mov ecx, esi
call fcn.00442e10
add esp, 4
jmp case.default.0x445894
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x445c98
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x94]
push eax
mov eax, dword [esp + 0x34]
push ebx
push eax
call edx
jmp 0x445ca5
mov eax, dword [ecx]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 0x40]
push ebx
push edx
call eax
sub esp, 8
cmp byte [esp + 0x37], 0
fstp qword [esp]
je 0x445cc1
mov ecx, esi
call fcn.004429b0
add esp, 8
jmp case.default.0x445894
mov ecx, dword [ebx + 0x14]
push ecx
mov ecx, esi
call fcn.00442e70
add esp, 0xc
jmp case.default.0x445894
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x445cf5
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x98]
push eax
mov eax, dword [esp + 0x34]
push ebx
push eax
call edx
jmp 0x445d02
mov eax, dword [ecx]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 0x44]
push ebx
push edx
call eax
cmp byte [esp + 0x2f], 0
mov byte [esp + 0x44], al
je 0x445d21
xor ecx, ecx
test al, al
setne cl
push ecx
mov ecx, esi
call fcn.00449dc0
jmp case.default.0x445894
mov edx, dword [esp + 0x44]
mov eax, dword [ebx + 0x14]
push edx
call fcn.00442f00
add esp, 4
jmp case.default.0x445894
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x445d57
mov edx, dword [esp + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0xa4]
push edx
mov edx, dword [esp + 0x34]
push ebx
push edx
call eax
jmp 0x445d66
mov edx, dword [ecx]
mov eax, dword [esp + 0x30]
mov edx, dword [edx + 0x50]
push 0
push ebx
push eax
call edx
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x14]
lea edi, [eax*8]
mov eax, edi
or eax, 3
push eax
mov ecx, esi
call fcn.00449dc0
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
push esi
call eax
or edi, 4
push edi
mov ecx, esi
call fcn.00449dc0
jmp case.default.0x445894
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x445dbe
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0xa4]
push eax
mov eax, dword [esp + 0x34]
push ebx
push eax
call edx
jmp 0x445dcd
mov eax, dword [ecx]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 0x50]
push 0
push ebx
push edx
call eax
mov ecx, dword [ebx + 0x14]
add ecx, ecx
add ecx, ecx
add ecx, ecx
or ecx, 2
push ecx
mov ecx, esi
mov edi, eax
call fcn.00449dc0
mov edx, dword [edi]
mov eax, dword [edx + 0x2c]
mov ecx, edi
call eax
push eax
mov ecx, esi
call fcn.00449dc0
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
push esi
mov ecx, edi
call eax
jmp case.default.0x445894
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x445e24
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0xa0]
push eax
mov eax, dword [esp + 0x34]
push ebx
push eax
call edx
jmp 0x445e31
mov eax, dword [ecx]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 0x4c]
push ebx
push edx
call eax
cmp byte [esp + 0x2f], 0
je 0x445e40
mov eax, dword [eax + 8]
jmp 0x4458d0
mov edi, dword [eax + 8]
mov eax, dword [ebx + 0x14]
call fcn.00442f30
jmp case.default.0x445894
xor eax, eax
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], eax
mov byte [esp + 0x64], al
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc0], eax
cmp dword [ebx + 0x1c], 3
jne 0x445e8f
mov edx, dword [ecx]
mov edx, dword [edx + 0xa8]
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x38]
push ebx
push eax
call edx
jmp 0x445ea1
mov eax, dword [ecx]
mov eax, dword [eax + 0x54]
lea edx, [esp + 0x64]
push edx
mov edx, dword [esp + 0x34]
push ebx
push edx
call eax
mov edi, eax
mov eax, dword [ebx + 0x14]
lea ecx, [eax*8]
or ecx, 2
push ecx
mov ecx, esi
call fcn.00449dc0
mov eax, dword [edi + 0x10]
push eax
mov ecx, esi
call fcn.00449dc0
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x445ece
mov edi, dword [edi]
push edi
call fcn.00449c40
mov dword [esp + 0xc0], 0xffffffff
cmp dword [esp + 0x78], 0x10
jb case.default.0x445894
mov edx, dword [esp + 0x64]
push edx
call fcn.00475405
add esp, 4
jmp case.default.0x445894
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc0], 1
cmp dword [ebx + 0x1c], 3
jne 0x445f42
mov eax, dword [ecx]
mov eax, dword [eax + 0xa8]
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x38]
push ebx
push edx
call eax
jmp 0x445f54
mov edx, dword [ecx]
mov edx, dword [edx + 0x54]
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x34]
push ebx
push eax
call edx
mov edi, eax
mov eax, dword [ebx + 0x14]
add eax, eax
add eax, eax
add eax, eax
or eax, 2
push eax
mov ecx, esi
call fcn.00449dc0
mov eax, dword [edi + 0x10]
push eax
mov ecx, esi
call fcn.00449dc0
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x445f80
mov edi, dword [edi]
push edi
call fcn.00449c40
mov dword [esp + 0xc0], 0xffffffff
cmp dword [esp + 0x5c], 0x10
jb 0x445fa5
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00475405
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x40]
jl 0x445887
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00475410
mov esp, ebp
pop ebp
ret