Function at 0x43ebc0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4ebf08
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.0045ae70
xor edi, edi
mov dword [esi], 0x4f5430
mov dword [0xb65cbc], edi
push esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x14], edi
mov dword [esi + 8], str.drag_gump
mov dword [esi + 0x60], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0x9c], edi
call fcn.00479d00
mov ebx, 1
push str.framedata_for_CDragGump
push 8
mov dword [esi + 0x38], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], ebx
call fcn.00479630
xor ecx, ecx
mov dword [esi + 0x3c], eax
mov dword [eax], ecx
add esp, 0xc
mov dword [eax + 4], ecx
mov al, byte [0x547584]
test al, al
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
je 0x43ec66
mov dword [esi + 0xa0], edi
mov cx, word [0xcc53a0]
cmp cx, 0x3584
jb 0x43ed46
cmp cx, 0x35a1
ja 0x43ed46
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 + 0x54], eax
call fcn.004447f0
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.00479630
mov ecx, dword [esi + 0x3c]
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x3c]
mov cx, word [ebp]
mov eax, dword [edx + 4]
mov word [eax], cx
mov edx, dword [esi + 0x3c]
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 + 0x3c]
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 + 0x3c]
mov eax, dword [ebp]
push eax
mov edx, dword [ecx + 4]
add edx, 4
push edx
call fcn.004c03b0
mov eax, dword [0x741d64]
add esp, 0x10
test eax, eax
je 0x43ee80
xor eax, eax
mov ax, word [0xcc53a0]
push eax
call fcn.00483f60
add esp, 4
test eax, eax
je 0x43ee80
mov edi, 0x4bfdc0
jmp 0x43eec3
push ecx
call fcn.00488a50
add esp, 4
test eax, eax
je 0x43edc2
mov ax, word [0xcc53aa]
cmp ax, bx
ja 0x43ed7f
xor edx, edx
mov dx, word [0xcc53a0]
add edx, 0x4000
push edx
call fcn.004bfa50
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x43ee30
cmp ax, 5
ja 0x43eda4
xor eax, eax
mov ax, word [0xcc53a0]
add eax, 0x4001
push eax
call fcn.004bfa50
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x43ee30
xor ecx, ecx
mov cx, word [0xcc53a0]
add ecx, 0x4002
push ecx
call fcn.004bfa50
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x43ee30
cmp dword [0x741d60], edi
je 0x43ede7
xor edx, edx
mov dx, word [0xcc53a0]
push edx
call fcn.00483ec0
add esp, 4
test eax, eax
je 0x43ede7
push 0x6127
jmp 0x43edf5
xor eax, eax
mov ax, word [0xcc53a0]
add eax, 0x4000
push eax
call fcn.004bfa50
add esp, 4
cmp word [0xcc53aa], bx
mov dword [esp + 0x10], eax
jbe 0x43ee30
movsx eax, byte [0xcc53a3]
xor ecx, ecx
mov cx, word [0xcc53a0]
add eax, ecx
lea edx, [eax + eax*4]
mov eax, dword [0xcc53c0]
mov ecx, dword [eax + edx*8]
test ch, 8
je 0x43ee30
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x10], edi
jne 0x43ee47
push 0x4000
call fcn.004bfa50
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 0x43eca5
mov eax, edx
add ecx, 5
add eax, 5
mov dword [ebp], ecx
mov dword [ebx], eax
jmp 0x43eca5
mov ax, word [0xcc53a8]
test ax, ax
je 0x43eebe
xor ecx, ecx
mov cx, ax
xor eax, eax
mov ax, word [0xcc53a0]
dec ecx
mov dword [0xd15ad4], ecx
lea edx, [eax + eax*4]
mov eax, dword [0xcc53c0]
test dword [eax + edx*8], 0x40000
je 0x43eeb7
mov edi, 0x4bfe50
jmp 0x43eec3
mov edi, 0x4bfd60
jmp 0x43eec3
mov edi, fcn.004bfae0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x43eef9
mov ecx, dword [esp + 0x10]
push 0
push 0
push ecx
push edi
call fcn.004c05c0
mov eax, dword [esp + 0x24]
add esp, 0x10
test eax, eax
je 0x43ef25
mov edx, dword [esp + 0x10]
push 5
push 5
push edx
push edi
call fcn.004c05c0
add esp, 0x10
jmp 0x43ef25
mov eax, dword [esi + 0x3c]
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 + 0x54]
push 0
push 0
push eax
push fcn.004c00b0
call fcn.00444850
add esp, 0x1c
mov al, byte [0xcc9324]
test al, al
je 0x43ef67
mov eax, dword [ebx]
mov ecx, dword [esi + 0x3c]
imul eax, dword [ebp]
mov ecx, dword [ecx + 4]
xor edx, edx
add ecx, 4
test eax, eax
jle 0x43ef67
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 0x43ef43
lea ecx, [esp + 0x20]
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.0047a250
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.0045a530
push 0
call fcn.004d7db0
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.00459ab0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push ecx
push edx
mov ecx, esi
call fcn.0043f2f0
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