Function at 0x453b60
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4fc3a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x2c], esi
call fcn.0046b880
xor edi, edi
mov dword [esi], 0x50567c
mov dword [0x80bedc], edi
push esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x14], edi
mov dword [esi + 8], str.drag_gump
mov dword [esi + 0x64], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xa0], edi
call fcn.004bb6e0
mov ebx, 1
push str.framedata_for_CDragGump
push 8
mov dword [esi + 0x38], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], ebx
call fcn.004b9f50
xor ecx, ecx
mov dword [esi + 0x40], eax
mov dword [eax], ecx
add esp, 0xc
mov dword [eax + 4], ecx
mov al, byte [0x55ff7c]
test al, al
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
je 0x453c06
mov dword [esi + 0xa4], edi
mov cx, word [0xcf3eea]
cmp cx, 0x3584
jb 0x453ce6
cmp cx, 0x35a1
ja 0x453ce6
xor eax, eax
mov dword [esp + 0x18], ebx
mov ax, cx
lea ebx, [esi + 0x24]
lea ebp, [esi + 0x20]
add eax, 0xffffd397
push ebx
push ebp
push eax
mov dword [esi + 0x58], eax
call fcn.004a9760
add esp, 0xc
mov eax, dword [ebp]
mov ecx, dword [ebx]
imul ecx, eax
push str.drag_gump
mov dword [esi + 0x1c], eax
lea edx, [ecx + ecx + 4]
push edx
call fcn.004b9f50
mov ecx, dword [esi + 0x40]
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x40]
mov cx, word [ebp]
mov eax, dword [edx + 4]
mov word [eax], cx
mov edx, dword [esi + 0x40]
mov cx, word [ebx]
mov eax, dword [edx + 4]
mov word [eax + 2], cx
mov ecx, dword [ebx]
imul ecx, dword [ebp]
mov edx, dword [esi + 0x40]
xor eax, eax
shl ecx, 1
mov edi, dword [edx + 4]
mov edx, ecx
add edi, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x40]
mov eax, dword [ebp]
push eax
mov edx, dword [ecx + 4]
add edx, 4
push edx
call fcn.004d55c0
mov eax, dword [0x9f42ec]
add esp, 0x10
test eax, eax
je 0x453e20
xor eax, eax
mov ax, word [0xcf3eea]
push eax
call fcn.004c6bf0
add esp, 4
test eax, eax
je 0x453e20
mov edi, 0x4d4fd0
jmp 0x453e63
push ecx
call fcn.004cbfc0
add esp, 4
test eax, eax
je 0x453d62
mov ax, word [0xcf3ef8]
cmp ax, bx
ja 0x453d1f
xor edx, edx
mov dx, word [0xcf3eea]
add edx, 0x4000
push edx
call fcn.004d4c60
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x453dd0
cmp ax, 5
ja 0x453d44
xor eax, eax
mov ax, word [0xcf3eea]
add eax, 0x4001
push eax
call fcn.004d4c60
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x453dd0
xor ecx, ecx
mov cx, word [0xcf3eea]
add ecx, 0x4002
push ecx
call fcn.004d4c60
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x453dd0
cmp dword [0x9f42e8], edi
je 0x453d87
xor edx, edx
mov dx, word [0xcf3eea]
push edx
call fcn.004c6b50
add esp, 4
test eax, eax
je 0x453d87
push 0x6127
jmp 0x453d95
xor eax, eax
mov ax, word [0xcf3eea]
add eax, 0x4000
push eax
call fcn.004d4c60
add esp, 4
cmp word [0xcf3ef8], bx
mov dword [esp + 0x10], eax
jbe 0x453dd0
movsx eax, byte [0xcf3eed]
xor ecx, ecx
mov cx, word [0xcf3eea]
add eax, ecx
lea edx, [eax + eax*4]
mov eax, dword [0xcf3f10]
mov ecx, dword [eax + edx*8]
test ch, 8
je 0x453dd0
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x10], edi
jne 0x453de7
push 0x4000
call fcn.004d4c60
add esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
xor ecx, ecx
lea ebp, [esi + 0x20]
xor edx, edx
mov cx, word [eax + 4]
lea ebx, [esi + 0x24]
mov dword [ebp], ecx
mov dx, word [eax + 6]
mov eax, dword [esp + 0x14]
mov dword [ebx], edx
cmp eax, edi
je 0x453c45
mov eax, edx
add ecx, 5
add eax, 5
mov dword [ebp], ecx
mov dword [ebx], eax
jmp 0x453c45
mov ax, word [0xcf3ef6]
test ax, ax
je 0x453e5e
xor ecx, ecx
mov cx, ax
xor eax, eax
mov ax, word [0xcf3eea]
dec ecx
mov dword [0xd413c0], ecx
lea edx, [eax + eax*4]
mov eax, dword [0xcf3f10]
test dword [eax + edx*8], 0x40000
je 0x453e57
mov edi, 0x4d5060
jmp 0x453e63
mov edi, 0x4d4f70
jmp 0x453e63
mov edi, fcn.004d4cf0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x453e99
mov ecx, dword [esp + 0x10]
push 0
push 0
push ecx
push edi
call fcn.004d57d0
mov eax, dword [esp + 0x24]
add esp, 0x10
test eax, eax
je 0x453ec5
mov edx, dword [esp + 0x10]
push 5
push 5
push edx
push edi
call fcn.004d57d0
add esp, 0x10
jmp 0x453ec5
mov eax, dword [esi + 0x40]
xor ecx, ecx
xor edx, edx
mov eax, dword [eax + 4]
mov cx, word [eax + 2]
mov dx, word [eax]
push ecx
add eax, 4
push edx
push eax
mov eax, dword [esi + 0x58]
push 0
push 0
push eax
push fcn.004d52c0
call fcn.004a97c0
add esp, 0x1c
mov al, byte [0xcf7e69]
test al, al
je 0x453f07
mov eax, dword [ebx]
mov ecx, dword [esi + 0x40]
imul eax, dword [ebp]
mov ecx, dword [ecx + 4]
xor edx, edx
add ecx, 4
test eax, eax
jle 0x453f07
mov ax, word [ecx]
add ecx, 2
mov edi, eax
and eax, 0x1f
and edi, 0xffe0
shl edi, 1
or edi, eax
inc edx
mov word [ecx - 2], di
mov eax, dword [ebx]
imul eax, dword [ebp]
cmp edx, eax
jl 0x453ee3
lea ecx, [esp + 0x20]
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.004bbc30
mov eax, dword [ebp]
mov ecx, dword [esp + 0x24]
cdq
sub eax, edx
add esp, 8
sar eax, 1
sub ecx, eax
mov eax, dword [ebx]
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
mov dword [esi + 0x30], ecx
sub edx, eax
push 1
push 0
mov ecx, esi
mov dword [esi + 0x34], edx
call fcn.0046af30
push 0
call fcn.004e77c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x28], eax
lea edx, [esp + 0x24]
lea eax, [esp + 0x28]
mov dword [esp + 0x24], ecx
push edx
push eax
mov ecx, esi
call fcn.0046a4b0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push ecx
push edx
mov ecx, esi
call fcn.00454290
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret