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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x49d7e0
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x4bc7dc]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov eax, dword [0x4bc7dc]
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 0x4465a7
mov ecx, dword [ebx + 0x24]
mov ecx, dword [ecx + 0x10]
cmp byte [ecx + 0x38], 0
je 0x4465a7
mov ecx, dword [ebx + 0x18]
cmp dword [ecx*4 + 0x4a6880], 0xa
jne 0x4465a7
cmp dword [ebx + 0x1c], 3
je 0x4465a7
push ebx
mov edx, esi
mov ecx, edi
call fcn.00446de0
add esp, 4
jmp 0x446d6d
cmp dword [ebx + 0x1c], 3
mov edx, dword [eax]
push ebx
mov dword [esp + 0x44], 0
mov ecx, eax
push edi
jne 0x4465c6
mov eax, dword [edx + 0x14]
call eax
mov dword [esp + 0x40], eax
jmp 0x4465d7
mov eax, dword [edx + 0x10]
call eax
test al, al
je 0x4465d7
mov dword [esp + 0x40], 1
mov eax, dword [ebx + 0x38]
mov al, byte [eax + 0x1c]
mov byte [esp + 0x2f], al
test al, al
je 0x446614
cmp dword [esp + 0x40], 0
jle 0x446614
mov eax, dword [ebx + 0x14]
lea ecx, [eax*8]
or ecx, 2
push ecx
mov ecx, esi
call fcn.004656c0
push edi
mov edi, ebx
call fcn.004471c0
add esp, 4
push eax
mov ecx, esi
call fcn.004656c0
cmp dword [esp + 0x40], 0
mov dword [esp + 0x38], 0
jle 0x446d6d
mov eax, dword [ebx + 0x18]
dec eax
cmp eax, 0x11
ja case.default.0x446634
jmp dword [eax*4 + 0x446d90]
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x44665c
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 0x446669
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 0x44668e
mov ecx, esi
test eax, eax
jns 0x446683
cdq
push edx
push eax
call fcn.004658b0
jmp case.default.0x446634
push eax
call fcn.004656c0
jmp case.default.0x446634
mov edi, eax
mov eax, dword [ebx + 0x14]
call fcn.0046c290
jmp case.default.0x446634
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x4466be
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 0x4466cb
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 0x4466e0
mov ecx, esi
call fcn.004658b0
jmp case.default.0x446634
mov eax, dword [ebx + 0x14]
call fcn.0046c2f0
add esp, 8
jmp case.default.0x446634
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x446711
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 0x44671e
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 0x44673c
mov ecx, eax
sar ecx, 0x1f
lea edx, [eax + eax]
xor ecx, edx
push ecx
mov ecx, esi
call fcn.004656c0
jmp case.default.0x446634
mov edi, eax
mov eax, dword [ebx + 0x14]
call fcn.0046c320
jmp case.default.0x446634
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x44676c
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 0x446779
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 0x446790
push esi
push edx
push eax
call fcn.00443f70
add esp, 0xc
jmp case.default.0x446634
push edx
push eax
mov eax, dword [ebx + 0x14]
call fcn.0046c350
add esp, 8
jmp case.default.0x446634
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x4467c3
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 0x4467d0
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 0x4467e6
push edi
call fcn.004656c0
jmp case.default.0x446634
mov eax, dword [ebx + 0x14]
add eax, eax
add eax, eax
add eax, eax
push eax
call fcn.004656c0
push edi
mov ecx, esi
call fcn.004656c0
jmp case.default.0x446634
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x446823
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 0x446830
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 0x446845
mov ecx, esi
call fcn.004658b0
jmp case.default.0x446634
mov eax, dword [ebx + 0x14]
call fcn.0046c2f0
add esp, 8
jmp case.default.0x446634
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x446876
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 0x446883
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 0x44689a
mov eax, esi
call fcn.00443fa0
add esp, 4
jmp case.default.0x446634
mov eax, dword [ebx + 0x14]
mov ecx, esi
call fcn.0046c390
add esp, 4
jmp case.default.0x446634
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x4468cd
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 0x4468da
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 0x4468f2
mov ecx, esi
call fcn.00443fe0
add esp, 8
jmp case.default.0x446634
mov ecx, dword [ebx + 0x14]
push ecx
mov ecx, esi
call fcn.0046c3e0
add esp, 0xc
jmp case.default.0x446634
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x446926
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 0x446933
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 0x44694a
mov eax, esi
call fcn.00443fa0
add esp, 4
jmp case.default.0x446634
mov eax, dword [ebx + 0x14]
mov ecx, esi
call fcn.0046c390
add esp, 4
jmp case.default.0x446634
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x44697d
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 0x44698a
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 0x4469a2
mov ecx, esi
call fcn.00443fe0
add esp, 8
jmp case.default.0x446634
mov ecx, dword [ebx + 0x14]
push ecx
mov ecx, esi
call fcn.0046c3e0
add esp, 0xc
jmp case.default.0x446634
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x4469d6
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 0x4469e3
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 0x446a05
mov eax, esi
call fcn.00444050
add esp, 4
jmp case.default.0x446634
mov eax, dword [ebx + 0x14]
mov ecx, esi
call fcn.0046c470
add esp, 4
jmp case.default.0x446634
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x446a38
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 0x446a45
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 0x446a61
mov ecx, esi
call fcn.004440a0
add esp, 8
jmp case.default.0x446634
mov ecx, dword [ebx + 0x14]
push ecx
mov ecx, esi
call fcn.0046c4d0
add esp, 0xc
jmp case.default.0x446634
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x446a95
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 0x446aa2
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 0x446ac1
xor ecx, ecx
test al, al
setne cl
push ecx
mov ecx, esi
call fcn.004656c0
jmp case.default.0x446634
mov edx, dword [esp + 0x44]
mov eax, dword [ebx + 0x14]
push edx
call fcn.0046c560
add esp, 4
jmp case.default.0x446634
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x446af7
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 0x446b06
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.004656c0
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.004656c0
jmp case.default.0x446634
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x446b5e
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 0x446b6d
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.004656c0
mov edx, dword [edi]
mov eax, dword [edx + 0x2c]
mov ecx, edi
call eax
push eax
mov ecx, esi
call fcn.004656c0
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
push esi
mov ecx, edi
call eax
jmp case.default.0x446634
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x34]
jne 0x446bc4
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 0x446bd1
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 0x446be0
mov eax, dword [eax + 8]
jmp 0x446670
mov edi, dword [eax + 8]
mov eax, dword [ebx + 0x14]
call fcn.0046c290
jmp case.default.0x446634
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 0x446c2f
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 0x446c41
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.004656c0
mov eax, dword [edi + 0x10]
push eax
mov ecx, esi
call fcn.004656c0
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x446c6e
mov edi, dword [edi]
push edi
call fcn.00465540
mov dword [esp + 0xc0], 0xffffffff
cmp dword [esp + 0x78], 0x10
jb case.default.0x446634
mov edx, dword [esp + 0x64]
push edx
call fcn.0047fe1e
add esp, 4
jmp case.default.0x446634
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 0x446ce2
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 0x446cf4
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.004656c0
mov eax, dword [edi + 0x10]
push eax
mov ecx, esi
call fcn.004656c0
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x446d20
mov edi, dword [edi]
push edi
call fcn.00465540
mov dword [esp + 0xc0], 0xffffffff
cmp dword [esp + 0x5c], 0x10
jb 0x446d45
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0047fe1e
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 0x446627
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.0047fe29
mov esp, ebp
pop ebp
ret